hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guo Gang <paul...@gmail.com>
Subject Re: HAWQ 795,796,797
Date Wed, 22 Jun 2016 07:16:17 GMT
This is a good question and concern. One of the solution is to auto-switch
the "git submodule" command to "git clone"+"git reset --hard" command in
the source tarball.  It means we do not ship previous submodule code in our
source tarball and we do not ask users to download themselves also.

A simple design:

For source tarball, we provide an extra file (not in git repo) which
includes previous submodule info (e.g. github address, destination path
commit number), and we modify configure files on github to set a
environment variable to auto-determine (e.g. by checking whether it is a
git repo or checking whether the extra file exists or not) the "submodule"
and "clone" cases, and then the environment variable could be used in
makefile to determine which way to download the previous submodule

2016-06-22 7:57 GMT+08:00 Roman Shaposhnik <roman@shaposhnik.org>:

> On Tue, Jun 21, 2016 at 4:37 PM, Lei Chang <lei_chang@apache.org> wrote:
> > we are working on some other items. it will be added soon...
> >
> > git submodule is like a link for external repo (it has been mentioned in
> > another mail sent by Roman before). similar method is used for orca et
> al.
> > If you have better method, let's discuss.
> So let me ask the build logic question: once you produce your source
> release
> tarball how do you plan to build from that tarball alone? Will you require
> an
> ORC library be available on the system as a pre-requisite?
> Thanks,
> Roman.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message