Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-11 Thread Sean Whitton
Hello, On Thu 09 May 2019 at 01:23PM +01, Ian Jackson wrote: > For your workflow, I see broadly two possibilities, depending what > representation you use for upstream source code: > > (i) You use upstream tarballs as your representation of the upstream > source code, and do not use

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-11 Thread Sean Whitton
Hello Ansgar, On Tue 07 May 2019 at 06:30PM +02, Ansgar wrote: > So in a way the problem is that the documentation needs to exist. git- > debrebase or dgit (to a lesser extend) implement a Debian-specific > version control system on top of Git. git-debrebase makes this most > obvious: the Git

Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]

2019-05-09 Thread Ian Jackson
Holger Levsen writes ("Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]"): > On Thu, May 09, 2019 at 01:46:19PM +0100, Ian Jackson wrote: > > debcheckout *certainly* doesn't do this. It just gives you the > > current maste

Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]

2019-05-09 Thread Ian Campbell
On Thu, 2019-05-09 at 12:51 +, Holger Levsen wrote: > On Thu, May 09, 2019 at 01:46:19PM +0100, Ian Jackson wrote: > > debcheckout *certainly* doesn't do this. It just gives you the > > current master which may not have been uploaded anywhere. > > nope: > > $ debcheckout munin > declared

Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]

2019-05-09 Thread Holger Levsen
On Thu, May 09, 2019 at 01:46:19PM +0100, Ian Jackson wrote: > debcheckout *certainly* doesn't do this. It just gives you the > current master which may not have been uploaded anywhere. nope: $ debcheckout munin declared git repository at https://salsa.debian.org/debian/munin.git -b debian git

Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]

2019-05-09 Thread Ian Jackson
Holger Levsen writes ("Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]"): > On Wed, May 08, 2019 at 04:14:00PM +0100, Ian Jackson wrote: > > * Debian should provide source code as git branches which: > - can be buil

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-09 Thread Ian Jackson
(adding #903392) Ben Finney writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > What I remain unconvinced of is the worth of abandoning the clean > separation between an upstream source repository (whether Git repository > or not) a

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-09 Thread Ian Jackson
Ansgar writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Thu, 2019-05-09 at 10:33 +0100, Ian Campbell wrote: > > I think there's a common misconception here which has cropped up > > several times in this thread. (NB: I've n

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-09 Thread Ansgar
On Thu, 2019-05-09 at 10:33 +0100, Ian Campbell wrote: > On Thu, 2019-05-09 at 11:19 +1000, Ben Finney wrote: > > What I remain unconvinced of is the worth of abandoning the clean > > separation between an upstream source repository (whether Git repository > > or not) and a VCS repository for

Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]

2019-05-09 Thread Colin Watson
On Wed, May 08, 2019 at 03:26:32PM +, Holger Levsen wrote: > thanks for the pointer, but I don't see the string debcheckout in that > message and vcs-git only once, where you write: > > ---begin quote--- > > >From these we can conclude: > > * Debian should provide source code as git

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-09 Thread Ian Campbell
On Thu, 2019-05-09 at 11:19 +1000, Ben Finney wrote: > What I remain unconvinced of is the worth of abandoning the clean > separation between an upstream source repository (whether Git repository > or not) and a VCS repository for Debian packaging (typically in Git). I think there's a common

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ben Finney
Ian Jackson writes: > So far I have gained the impression that the kind of people who are > using packaging-only git trees tend to be very conservative, and very > comfortable with .dsc/tarball/patch/quilt based tools, and not really > convinced of the usefulness of git. Let me counter that

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ian Jackson
Simon McVittie writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Sat, 04 May 2019 at 21:10:34 +0100, Ian Jackson wrote: > > So far I have gained the impression that > > the kind of people who are using packaging-only git

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ian Jackson
Simon McVittie writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Tue, 07 May 2019 at 19:25:39 +0100, Ian Jackson wrote: > > What I am primarily advocating for in this thread is that maintainers > > should choose `dgit push-s

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ian Jackson
Simon McVittie writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Wed, 08 May 2019 at 12:18:41 +0100, Ian Jackson wrote: > > Indeed, you yourself say you avoid gbp but for many packages, the > > Vcs-Git header gives you a patch

Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]

2019-05-08 Thread Holger Levsen
On Wed, May 08, 2019 at 04:14:00PM +0100, Ian Jackson wrote: > > > [Ian Jackson:] > > > > You should use dgit for the benefit of users. See my other mail which > > > > answers why Vcs-Git and debcheckout is not enough. > > > > > > could you be so kind and provide a pointer, this thread is rather

Re: Preferred git branch structure when upstream moves from tarballs to git [and 1 more messages]

2019-05-08 Thread Ian Jackson
Holger Levsen writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > could you be so kind and provide a pointer, this thread is rather long > already? (Maybe this is also worth an FAQ entry somewhere..) Jonathan Carter writes ("Re:

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Holger Levsen
On Wed, May 08, 2019 at 03:57:08PM +0100, Ian Jackson wrote: > > both. > For packaging-only, dgit does not properly support that. Do you have > the upstream source in git form too, and if so how do you combine > them ? Do you manipulate patches using quilt ? [1] hm/i'm sorry, I cannot really

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ian Jackson
Holger Levsen writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Wed, May 08, 2019 at 12:18:41PM +0100, Ian Jackson wrote: > > I'm not sure what git branch format you are using. (Maybe you said it > > earlier in this thread.) Pa

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ian Jackson
Matthew Vernon writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > Scott Kitterman writes: > > For what it's worth, when you start calling me names (unethical) > > because I'm not using your shiny new toy, my immediate reaction i

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Simon McVittie
On Sat, 04 May 2019 at 21:10:34 +0100, Ian Jackson wrote: > So far I have gained the impression that > the kind of people who are using packaging-only git trees tend to be > very conservative, and very comfortable with .dsc/tarball/patch/quilt > based tools, and not really convinced of the

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Simon McVittie
On Tue, 07 May 2019 at 19:25:39 +0100, Ian Jackson wrote: > What I am primarily advocating for in this thread is that maintainers > should choose `dgit push-source' over `dput' (where this is possible). > This is the only way for a maintainer to provide users with the git > history in a sensible

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Matthew Vernon
Scott Kitterman writes: > On May 7, 2019 8:50:57 PM UTC, Sam Hartman wrote: >>> "Ian" == Ian Jackson writes: >>Ian> The latter point is because using dgit push is an ethical >>Ian> imperative, not because the two somehow have some deep >> Ian> technical linkage. IMO almost *any*

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Simon McVittie
On Wed, 08 May 2019 at 12:18:41 +0100, Ian Jackson wrote: > Indeed, you yourself say you avoid gbp but for many packages, the > Vcs-Git header gives you a patches-unapplied format which requires[1] > gbp pq to switch to a patches-applied view before you build it. This step is not required: for

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Jonathan Carter
On 2019/05/08 13:23, Holger Levsen wrote: >> You should use dgit for the benefit of users. See my other mail which >> answers why Vcs-Git and debcheckout is not enough. > > could you be so kind and provide a pointer, this thread is rather long > already? (Maybe this is also worth an FAQ entry

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Holger Levsen
On Wed, May 08, 2019 at 12:18:41PM +0100, Ian Jackson wrote: > I'm not sure what git branch format you are using. (Maybe you said it > earlier in this thread.) Packaging-only ? git-merge ? both. > You should use dgit for the benefit of users. See my other mail which > answers why Vcs-Git

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ian Jackson
Holger Levsen writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > as a data point: I never really got my head around gbp, too many times > it came in the way, did things I didnt expect to do (or couldnt easily > figure out what it did),

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Holger Levsen
On Tue, May 07, 2019 at 07:25:39PM +0100, Ian Jackson wrote: > A maintainer who is currently using gbp pq can (and IMO generally > should) use `dgit push' to do their uploads, rather than dput/dupload. as a data point: I never really got my head around gbp, too many times it came in the way, did

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-08 Thread Ian Jackson
Sam Hartman writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > Ian Jackson writes: > > The latter point is because using dgit push is an ethical > > imperative, not because the two somehow have some deep > > technical link

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Scott Kitterman
On May 7, 2019 8:50:57 PM UTC, Sam Hartman wrote: >>>>>> "Ian" == Ian Jackson writes: > >Ian> Sam Hartman writes ("Re: Preferred git branch structure when >Ian> upstream moves from tarballs to git"): >>> I'm aware I'm m

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Sam Hartman
>>>>> "Ian" == Ian Jackson writes: Ian> Sam Hartman writes ("Re: Preferred git branch structure when Ian> upstream moves from tarballs to git"): >> I'm aware I'm making a typing error, and speaking in >> generalities. I agree

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Ian Jackson
Sam Hartman writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > I'm aware I'm making a typing error, and speaking in generalities. I > agree that my statement is true for debrebase, but I meant the dgit > ecosystem. I don't think this

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Sune Vuorela
On 2019-05-07, Ansgar wrote: > The concept behind 3.0 (quilt) is much easier to explain: extract > tarballs, optionally apply some patches provided. With the bonus that > users who have used other distributions before might already know about > most of this which lowers barrier of entry.

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Ian Jackson
Sam Hartman writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > I was going to argue that I thought teaching gbp pq was easier than > dgit, and that's true up until you have to update a patch. I'm sorry not to really deal with

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Sam Hartman
> "Ian" == Ian Campbell writes: Ian> On Tue, 2019-05-07 at 11:01 -0400, Sam Hartman wrote: >> That said, I think Ansgar has some really valid points. I think >> that dgit (or git-dpm) are the hardest work flows to teach. Ian> I think perhaps you meant `git-debrebase` rather

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Ansgar
On Tue, 2019-05-07 at 12:51 +0100, Ian Jackson wrote: > Ansgar Burchardt writes ("Re: Preferred git branch structure when > upstream moves from tarballs to git"): > > Sam Hartman writes: > > > OK, I didn't hear that as an answer but think I'm coming to the > >

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Ian Campbell
On Tue, 2019-05-07 at 11:01 -0400, Sam Hartman wrote: > That said, I think Ansgar has some really valid points. I think that > dgit (or git-dpm) are the hardest work flows to teach. I think perhaps you meant `git-debrebase` rather than `dgit` throughout the remainder of your mail, since

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Sam Hartman
>>>>> "Ian" == Ian Jackson writes: Ian> Ansgar Burchardt writes ("Re: Preferred git branch structure Ian> when upstream moves from tarballs to git"): >> Sam Hartman writes: > OK, I didn't hear >> that as an answer but think

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-07 Thread Ian Jackson
Ansgar Burchardt writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > Sam Hartman writes: > > OK, I didn't hear that as an answer but think I'm coming to the same > > conclusion that Ian did after reading your mail. > > It so

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-06 Thread Ansgar Burchardt
Sam Hartman writes: >> "Ansgar" == Ansgar writes: > > Ansgar> Sam Hartman writes: > >> I'm having a bit of trouble here and am hoping you can help us > >> out. Ian asked what git workflow it is that you're talking about > >> where people can deal with commit push and pull

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-06 Thread Sam Hartman
> "Ansgar" == Ansgar writes: Ansgar> Sam Hartman writes: >> I'm having a bit of trouble here and am hoping you can help us >> out. Ian asked what git workflow it is that you're talking about >> where people can deal with commit push and pull and don't need to >> know

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-06 Thread Ansgar
Sam Hartman writes: > I'm having a bit of trouble here and am hoping you can help us out. > Ian asked what git workflow it is that you're talking about where people > can deal with commit push and pull and don't need to know more. > > I didn't see a clear answer to that. > Which debian packaging

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-06 Thread Sam Hartman
>>>>> "Ansgar" == Ansgar writes: Ansgar> On Fri, 2019-05-03 at 17:39 +0100, Ian Jackson wrote: >> Ansgar writes ("Re: Preferred git branch structure when upstream >> moves from tarballs to git"): >> > On Fri, 2019-05-03

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-04 Thread Ian Jackson
Ben Finney writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > Ian Jackson writes: > > [...] I have not taught dgit how to convert [separate Debian > > packaging-only repository and upstream source repository] into a git > > t

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-03 Thread Ben Finney
Ian Jackson writes: > […] I have not taught dgit how to convert [separate Debian > packaging-only repository and upstream source repository] into a git > tree that contains the [combined] source code. One interpretation of “convert [separate repositories] into [one Git tree]” is that it's a

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-03 Thread Ansgar
On Fri, 2019-05-03 at 17:39 +0100, Ian Jackson wrote: > Ansgar writes ("Re: Preferred git branch structure when upstream > moves from tarballs to git"): > > On Fri, 2019-05-03 at 15:59 +0100, Ian Jackson wrote: > > > Ansgar writes ("Re: Preferred git branch stru

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-03 Thread Ian Jackson
Ansgar writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Fri, 2019-05-03 at 15:59 +0100, Ian Jackson wrote: > > Ansgar writes ("Re: Preferred git branch structure when upstream moves from > > tarballs to git"):

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-03 Thread Ansgar
On Fri, 2019-05-03 at 15:59 +0100, Ian Jackson wrote: > Ansgar writes ("Re: Preferred git branch structure when upstream moves from > tarballs to git"): > > On Thu, 2019-05-02 at 09:15 -0700, Russ Allbery wrote: > > > Ansgar writes: > > > > Havi

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-03 Thread Ian Jackson
Ansgar writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Thu, 2019-05-02 at 09:15 -0700, Russ Allbery wrote: > > Ansgar writes: > > > Having to know about branches, merging, dealing with multiple remotes, > > &g

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Ian Jackson
Ben Hutchings writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Thu, 2019-05-02 at 11:23 +0100, Ian Jackson wrote: > > Sorry for shouting, but, really. It is kind of frustrating to have > > designed and implemented and

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Russ Allbery
Ansgar writes: > On Thu, 2019-05-02 at 09:15 -0700, Russ Allbery wrote: >> I'm confused. I'm a happy user of dgit and don't have to think about >> any of those things as part of using dgit. I choose to use branches, >> but I certainly wouldn't have to, and merging, multiple remotes, and so >>

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Ansgar
On Thu, 2019-05-02 at 09:15 -0700, Russ Allbery wrote: > Ansgar writes: > > > Having to know about branches, merging, dealing with multiple remotes, > > ... *is* an entry barrier compared to not having to know about it. Now > > you have to teach people that before you even get to how to write a

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Russ Allbery
Ansgar writes: > Having to know about branches, merging, dealing with multiple remotes, > ... *is* an entry barrier compared to not having to know about it. Now > you have to teach people that before you even get to how to write a > build recipe. I'm confused. I'm a happy user of dgit and

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Ben Hutchings
On Thu, 2019-05-02 at 11:23 +0100, Ian Jackson wrote: [...] > Sorry for shouting, but, really. It is kind of frustrating to have > designed and implemented and deployed a complex piece of software > which solves a lot of problems, and constantly hear people > - proposing solutions which do not

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Ansgar
On Thu, 2019-05-02 at 13:45 +0100, Ian Jackson wrote: > Ansgar Burchardt writes ("Re: Preferred git branch structure when > upstream moves from tarballs to git"): > > On Tue, 2019-04-30 at 16:00 -0700, Sean Whitton wrote: > > > As a package maintainer, if you don'

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Ian Jackson
Ansgar Burchardt writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Tue, 2019-04-30 at 16:00 -0700, Sean Whitton wrote: > > As a package maintainer, if you don't keep the whole source package in > > git, you're giving up on

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Ansgar Burchardt
On Tue, 2019-04-30 at 16:00 -0700, Sean Whitton wrote: > > On Tue 30 Apr 2019 at 08:05AM +02, Ansgar wrote: > > > As an example: to update to a new upstream release, I ideally just have > > to drop the new upstream tarball, update d/changelog and am done. > > Compare with [1] which is much more

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Gard Spreemann
My initial question resulted in a lot of useful advice and opinions, and spurred quite an interesting discussion. Thanks to everyone who contributed, and apologies for not contributing myself.

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Ian Jackson
Philipp Kern writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On 5/2/2019 7:11 AM, Ben Finney wrote: > > Conversely, I think it does a disservice to downstream users to mix in > > Debian packaging changes with upstream changes.

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-02 Thread Philipp Kern
On 5/2/2019 7:11 AM, Ben Finney wrote: > Conversely, I think it does a disservice to downstream users to mix in > Debian packaging changes with upstream changes. The separation is useful > and much easier to maintain when the repositories are separate. To be honest the greatest disservice is that

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-01 Thread Ben Finney
Sean Whitton writes: > Hello, > > On Tue 30 Apr 2019 at 08:05AM +02, Ansgar wrote: > > > As an example: to update to a new upstream release, I ideally just > > have to drop the new upstream tarball, update d/changelog and am > > done. > > As a package maintainer, if you don't keep the whole

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-01 Thread Sean Whitton
Hello, On Wed 01 May 2019 at 09:53PM +0200, Adam Borowski wrote: > On Wed, May 01, 2019 at 08:14:24AM +0200, Thomas Goirand wrote: >> It's basically useless, since upstream repository is just one command >> away, with the upstream URL documented in debian/rules. > > This assumes the upstream URL

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-01 Thread Adam Borowski
On Wed, May 01, 2019 at 08:14:24AM +0200, Thomas Goirand wrote: > It's basically useless, since upstream repository is just one command > away, with the upstream URL documented in debian/rules. This assumes the upstream URL lives forever. But what if the upstream repo's hoster (let's call it

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-01 Thread Gabriel F. T. Gomes
Oh, only now I noticed that this has become a long thread. Sorry for the out-of-context reply. :) On 01 May 2019, Gabriel F. T. Gomes wrote: >On 29 Apr 2019, Gard Spreemann wrote: > >>For one of my packages, I maintain two public git branches: one is >>upstream/latest, where I've been importing

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-01 Thread Gabriel F. T. Gomes
On 29 Apr 2019, Gard Spreemann wrote: >For one of my packages, I maintain two public git branches: one is >upstream/latest, where I've been importing upstream's released tarballs, >and the other is debian/sid that contains the packaging. > >Recently, upstream has finally started using git. What

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-05-01 Thread Thomas Goirand
On 4/30/19 9:55 AM, Adam Borowski wrote: > On Tue, Apr 30, 2019 at 09:04:09AM +0200, Thomas Goirand wrote: >> What I found the most easy way is to just use whatever branching names >> upstream is using, and *never* store them in Salsa. If you need upstream >> repository, you can simply run a

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-30 Thread Sean Whitton
Hello, On Tue 30 Apr 2019 at 08:05AM +02, Ansgar wrote: > As an example: to update to a new upstream release, I ideally just have > to drop the new upstream tarball, update d/changelog and am done. > Compare with [1] which is much more complicated, even ignoring the extra > complexity using dgit

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-30 Thread Ian Campbell
On Tue, 2019-04-30 at 12:05 +0100, Ian Jackson wrote: > Sean Whitton writes ("Re: Preferred git branch structure when upstream moves > from tarballs to git"): > > On Mon 29 Apr 2019 at 02:12PM +01, Ian Campbell wrote: > > > > > > I think (but don't kno

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-30 Thread Ian Jackson
Sean Whitton writes ("Re: Preferred git branch structure when upstream moves from tarballs to git"): > On Mon 29 Apr 2019 at 02:12PM +01, Ian Campbell wrote: > > Are there any docs/advice on switching back and forth between these (or > > at least switching between

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-30 Thread Ian Campbell
On Mon, 2019-04-29 at 13:50 -0700, Sean Whitton wrote: > > dgit-maint-merge -> dgit-maint-debrebase would indeed be the > convert-from-dgit-view subcommand. If I were dealing with this, for > simplicity, I would start from the point of just having made an upload. > That way you know your HEAD is

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-30 Thread Adam Borowski
On Tue, Apr 30, 2019 at 09:04:09AM +0200, Thomas Goirand wrote: > What I found the most easy way is to just use whatever branching names > upstream is using, and *never* store them in Salsa. If you need upstream > repository, you can simply run a ./debian/rules fetch-upstream-remote, > and most of

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-30 Thread Thomas Goirand
On 4/29/19 11:18 AM, Gard Spreemann wrote: > Hi, > > For one of my packages, I maintain two public git branches: one is > upstream/latest, where I've been importing upstream's released tarballs, > and the other is debian/sid that contains the packaging. > > Recently, upstream has finally started

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-30 Thread Ansgar
Russell Stuart writes: > On Tue, 2019-04-30 at 09:25 +0800, Paul Wise wrote: >> I like this option because it still works well if we ever decide to >> fix a fundamental flaw in the Debian source package layout. > > I suspect whether that's a fundamentally is a matter or personal taste. > On this

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Russell Stuart
On Tue, 2019-04-30 at 09:25 +0800, Paul Wise wrote: > I like this option because it still works well if we ever decide to > fix a fundamental flaw in the Debian source package layout. I suspect whether that's a fundamentally is a matter or personal taste. On this point my taste aligns with

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Paul Wise
On Tue, Apr 30, 2019 at 9:03 AM Ben Finney wrote: > My opinionated recommendation: Track the Debian packaging in a separate > repository (which contains only the ‘debian/’ directory tree). When it's > time to build the Debian source package for testing, export the upstream > source to a temporary

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Ben Finney
Gard Spreemann writes: > Recently, upstream has finally started using git. What is the > recommended way for me to maintain a sane branch structure for the > packaging repository while starting to use upstream's git master as > the upstream branch to follow? My opinionated recommendation: Track

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Sean Whitton
Hello, On Mon 29 Apr 2019 at 02:12PM +01, Ian Campbell wrote: > Are there any docs/advice on switching back and forth between these (or > at least switching between dgit-maint-merge and one of the patch > queueish ones)? > > When trying to chose I seem to find myself thinking along the lines >

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Sean Whitton
Hello, On Mon 29 Apr 2019 at 11:18AM +02, Gard Spreemann wrote: > For one of my packages, I maintain two public git branches: one is > upstream/latest, where I've been importing upstream's released tarballs, > and the other is debian/sid that contains the packaging. > > Recently, upstream has

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Russ Allbery
Gard Spreemann writes: > For one of my packages, I maintain two public git branches: one is > upstream/latest, where I've been importing upstream's released tarballs, > and the other is debian/sid that contains the packaging. > Recently, upstream has finally started using git. What is the >

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Ian Campbell
On Mon, 2019-04-29 at 13:25 +0100, Ian Jackson wrote: > Look at the intro to each of these and see which one you think might > be best: > https://manpages.debian.org/stretch-backports/dgit/dgit-maint-merge.7.en.html > >

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Ian Jackson
Gard Spreemann writes ("Preferred git branch structure when upstream moves from tarballs to git"): > Recently, upstream has finally started using git. What is the > recommended way for me to maintain a sane branch structure for the > packaging repository while starting to

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Adam Borowski
On Mon, Apr 29, 2019 at 11:18:48AM +0200, Gard Spreemann wrote: > For one of my packages, I maintain two public git branches: one is > upstream/latest, where I've been importing upstream's released tarballs, > and the other is debian/sid that contains the packaging. > > Recently, upstream has

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Andrey Rahmatullin
On Mon, Apr 29, 2019 at 11:18:48AM +0200, Gard Spreemann wrote: > For one of my packages, I maintain two public git branches: one is > upstream/latest, where I've been importing upstream's released tarballs, > and the other is debian/sid that contains the packaging. > > Recently, upstream has

Re: Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Andrey Rahmatullin
On Mon, Apr 29, 2019 at 11:40:39AM +0200, Adam Borowski wrote: > that's a monstrosity -- my personal preference is raw git, where updating to > a new upstream is "git merge v3.14.15" gbp allows this too, of course. -- WBR, wRAR signature.asc Description: PGP signature

Preferred git branch structure when upstream moves from tarballs to git

2019-04-29 Thread Gard Spreemann
Hi, For one of my packages, I maintain two public git branches: one is upstream/latest, where I've been importing upstream's released tarballs, and the other is debian/sid that contains the packaging. Recently, upstream has finally started using git. What is the recommended way for me to