Thread: cloning postgres-xc
Does somone know the object overlap likely between pg and pgxc repositories? I ask because I could just git clone pgxc, or I could add a remote for pgxc to my pg git clone, and make sure the branches are added, and fetch that remote. And in this way, common files/ objects are properly shared in one repo, rather than duplicated. Thoughts? TIA Zenaan
This may not be the best place to ask these questions and you could have considered using postgres-xc-general mailing list from the Postgres-XC project site. Anyways, see my comments below. On Tue, Feb 12, 2013 at 11:06 AM, Zenaan Harkness <zen@freedbms.net> wrote: > Does somone know the object overlap likely between pg and pgxc repositories? There is quite a lot overlap. Even though Postgres-XC has changed many files and added many other, there is still plenty of common code. > I ask because I could just git clone pgxc, or I could add a remote for > pgxc to my pg git clone, and make sure the branches are added, and > fetch that remote. > And in this way, common files/ objects are properly shared in one > repo, rather than duplicated. > > Thoughts? > ISTM that's the right way, especially if you're interested in keeping PG code as well. This way, you will avoid a lot of duplicates and can also quickly do a "git diff" between files of these two projects. I find that very convenient at times. Thanks, Pavan -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee
Yes, this ML is not a right place to discuss this. Could you raise this issue at postgres-xc-general ML? Regards; ---------- Koichi Suzuki 2013/2/12 Pavan Deolasee <pavan.deolasee@gmail.com>: > This may not be the best place to ask these questions and you could > have considered using postgres-xc-general mailing list from the > Postgres-XC project site. Anyways, see my comments below. > > On Tue, Feb 12, 2013 at 11:06 AM, Zenaan Harkness <zen@freedbms.net> wrote: >> Does somone know the object overlap likely between pg and pgxc repositories? > > There is quite a lot overlap. Even though Postgres-XC has changed many > files and added many other, there is still plenty of common code. > >> I ask because I could just git clone pgxc, or I could add a remote for >> pgxc to my pg git clone, and make sure the branches are added, and >> fetch that remote. >> And in this way, common files/ objects are properly shared in one >> repo, rather than duplicated. >> >> Thoughts? >> > > ISTM that's the right way, especially if you're interested in keeping > PG code as well. This way, you will avoid a lot of duplicates and can > also quickly do a "git diff" between files of these two projects. I > find that very convenient at times. > > Thanks, > Pavan > > -- > Pavan Deolasee > http://www.linkedin.com/in/pavandeolasee > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general
On Tue, Feb 12, 2013 at 2:36 PM, Zenaan Harkness <zen@freedbms.net> wrote: > Does somone know the object overlap likely between pg and pgxc > repositories? > > I ask because I could just git clone pgxc, or I could add a remote for > pgxc to my pg git clone, and make sure the branches are added, and > fetch that remote. > And in this way, common files/ objects are properly shared in one > repo, rather than duplicated. > PG and PGXC share 99.9% of a common commit history, so yes simply adding a remote to PGXC in your existing PG folder is good. This is how I do for my own dev, and I believe that most of the people in this project do the same. Doing that is particularly helpful when you want to merge PG code directly in XC or when you need to have a look at the code diffs between both projects. -- Michael