Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Joseph S. Myers" <joseph@codesourcery.com>
To: Hans-Peter Nilsson <hp@bitrange.com>
Cc: Tom Tromey <tromey@redhat.com>,
	GDB Development <gdb@sourceware.org>,
	Binutils Development <binutils@sourceware.org>
Subject: Re: A Proposal to Move to Git
Date: Fri, 30 Aug 2013 23:37:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1308302322360.22363@digraph.polyomino.org.uk> (raw)
In-Reply-To: <alpine.BSF.2.02.1308301744330.46991@arjuna.pair.com>

On Fri, 30 Aug 2013, Hans-Peter Nilsson wrote:

> Sorry, but I have to react on that.  I waited a bit, but I
> really must say it: you say "all of us" like a the majority, but
> I doubt that there are more of "all of you" than "all of us"
> working on trees checked out as separate projects.  Also, how is
> that a change worth mentioning?  *Your* work-flow isn't changed,
> as you already check out gdb+binutils.  I can accept the
> inconvenience of the changed default thing that happens for "all
> of us" remaining, and having to adjust my work-flow somewhat,
> but I refuse to smile and call it good.  For example, we'll now
> each by default (when just going "make" after configure, not
> "make all-foo all-bar all-baz" for the bits in our project) be
> exposed to breakages in "the other" project, breakages unrelated
> to "our own" project.  Ok, now that I've got that out, over to
> some more constructive comments.

To build just one project, use --disable-<directory> options (this is 
already generically supported at toplevel).  It would be useful for there 
to be documentation listing sets of such options to use for building 
particular subsets of projects.

> At first I thought there was a huge inconvenience to projects
> left in the cold with CVS, but it it's less huge, it seems they
> will still be able to continue as they were - *except* they
> won't be able to update the shared files like configure.ac.

Rather, changing shared files now needs three repositories rather than two 
to change.  If we can get agreement on GCC as the master, this could be 
automated as it is for libiberty (check into GCC and let the automatic 
process merge to the others).  (Actually, my analysis suggests a master 
toplevel.git repository from which merges to all the others happen.  But 
that's not required and can always be added later.)

> local "src" tree?  Ok, now that you read and disliked that, how
> about the obvious alternative; offering to add them later to the
> binutils+gdb git?  Then I think it would be preferred to *not*
> name the git repo "the gdb+binutils repo", but (ehhh...) the src
> repo!

No, I think it should be binutils+gdb and other projects should not be 
added to it.  Most of the problems with the combined repository have been 
because it combines logically unrelated projects.  A key goal as I see it 
is that checkouts, updates, branching, tagging etc. work in the ordinary 
way for the version control system being used, without any further special 
steps or oddities - the existing use of CVS modules fails that ("cvs 
update -d" checks out things that aren't wanted in your partial checkouts) 
and so do things such as git submodules - which indicates avoiding such 
things in git arrangements.  Given how BFD is an integral part of both 
binutils and GDB, a binutils+gdb repository seems to be the smallest 
convenient unit.

> To summarize the actions I want:
> - Git migrations and work-flow offered for remaining projects
> (like newlib and cgen).

By design, it's for each project to choose to migrate or not, to its own 
repository, independently, including choosing whether git is the version 
control system they want at all.

As I noted in <http://gcc.gnu.org/ml/gcc/2011-03/msg00486.html>, cgen 
doesn't appear to use the shared toplevel at all, so if it moves out of 
src, it would just be the cgen directory moving without a copy of anything 
at toplevel; with regard to binutils+gdb, it's just another build tool.

If all active projects move out, we really ought then to try to sort out 
the Unix groups on sourceware (replace the "src" group by putting the 
people writing to each project in a group for that project which controls 
access to just the relevant repository - so a binutils+gdb group, a newlib 
group, etc.).

-- 
Joseph S. Myers
joseph@codesourcery.com


  reply	other threads:[~2013-08-30 23:37 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 21:12 Tom Tromey
2013-08-20 21:16 ` Andrew Pinski
2013-08-20 21:26   ` Joseph S. Myers
2013-08-20 21:19 ` Joel Brobecker
2013-08-20 21:21 ` Paul_Koning
2013-08-20 22:59 ` Phil Muldoon
2013-08-21 15:05 ` Eli Zaretskii
2013-08-21 15:32   ` Andreas Schwab
2013-08-21 15:54     ` Eli Zaretskii
2013-08-26  8:05       ` Andreas Schwab
2013-08-21 18:40   ` Steinar Bang
2013-08-21 20:05     ` Eli Zaretskii
2013-08-21 20:38       ` Andreas Schwab
2013-08-22 18:56   ` Florian Weimer
2013-08-21 15:38 ` Steve Ellcey
2013-08-21 15:50   ` Joel Brobecker
2013-08-22  6:10     ` Tristan Gingold
2013-08-22 14:16   ` Richard Earnshaw
2013-08-22 14:25     ` Joel Brobecker
2013-08-22 14:39       ` Fred Cooke
2013-08-22 20:10 ` Mark Kettenis
2013-08-22 20:21   ` Fred Cooke
2013-08-22 20:22   ` David Miller
2013-08-22 20:48     ` Andrew Pinski
2013-08-22 21:07   ` Andreas Schwab
2013-08-22 21:10   ` Tom Tromey
2013-08-23 15:40     ` H.J. Lu
2013-08-23 15:55       ` Joel Brobecker
2013-08-23 16:03         ` Paul_Koning
2013-08-23 16:05           ` H.J. Lu
2013-08-26 12:37             ` NightStrike
     [not found]               ` <upzc38pvcv1w.fsf@dod.no>
2013-08-27 16:21                 ` asmwarrior
2013-08-23 16:03         ` H.J. Lu
2013-08-23 16:09           ` Joel Brobecker
2013-08-23 16:24       ` Matt Rice
2013-08-23 16:37         ` H.J. Lu
2013-08-23 16:47           ` Matt Rice
2013-08-23 17:01             ` H.J. Lu
     [not found]       ` <87siy070su.fsf@dod.no>
2013-08-24  0:27         ` Doug Evans
2013-08-22 23:55   ` Alan Modra
2013-08-30 22:58 ` Hans-Peter Nilsson
2013-08-30 23:37   ` Joseph S. Myers [this message]
2013-08-31  2:05     ` Hans-Peter Nilsson
2013-08-31 16:58       ` Joseph S. Myers
2013-09-04 16:55       ` Doug Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.1308302322360.22363@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=binutils@sourceware.org \
    --cc=gdb@sourceware.org \
    --cc=hp@bitrange.com \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox