Help!

Merging between unstable and experimental; changelog handl..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> GTK-GNOME RSS
Next:  hunting for Debian developer  
Author Message
Loïc
External


Since: Nov 11, 2004
Posts: 475



PostPosted: Mon Apr 09, 2007 4:30 pm    Post subject: Merging between unstable and experimental; changelog handling
Archived from groups: linux>debian>maint>gtk>gnome (more info?)

Hi,

I had plenty of different discussions on the handling of merges and
changelog entries on IRC with various people, so I want to discuss
and/or propose the way which seems the most logical to me. Ultimately,
this should end up documented on the pkg-gnome web pages when someone
finds enough motivation to. Razz

I don't want changelog entries to be lost as they represent actual
uploads; hence, in the past, I've merged changelog entries between
experimental and unstable so that all experimental and unstable uploads
appear in the changelog of the latest version; this is sometimes weird
as it can shows two versions doing the same set of changes when we did
them separately.

So merging full changelog entries between dists seems bad.

But wouldn't we merge changelogs, and declare an experimental branch as
to be uploaded for unstable (svn rm unstable/source && svn mv
experimental/source unstable), we would erase any "history" in the
changelog which wouldn't have been merged before this.

Some people also told me that the experimental changelog entries are
just technical details which shouldn't be displayed to the consumers of
changelogs in unstable.


The only way I could reconcile everything above is the proposal below:
- merge branches, never "svn mv" them
- create a new entry in each dist with all the new merged changes after
each merge

Here's an example:
unstable/:
foo (2.14-2) dist=unstable
* change 2
--
foo (2.14-1) dist=unstable
* change 1
--

experimental/:
foo (2.18-1) dist=experimental
* new upstream
--
foo (2.16-2) dist=experimental
* change 2
--
foo (2.16-1) dist=experimental
* new upstream
--
foo (2.14-1) dist=unstable
* change 1
--


=> we decide to upload 2.18:
1) "svn merge" the experimental branch into unstable from the date of
the branching (after 2.14-1) up to the latest version, this includes
superfluous changes
2) resolve conflicts and resolve changelog conflicts by creating a new
entry:
unstable/:
foo (2.18-2) dist=unstable
* new upstream
* new upstream
--
foo (2.14-2) dist=unstable
* change 2
--
foo (2.14-1) dist=unstable
* change 1
--


=> we update 2.18
unstable/
foo (2.18.2-1) dist=unstable
* new stable upstream
--
foo (2.18-2) dist=unstable
* new upstream
* new upstream
--
foo (2.14-2) dist=unstable
* change 2
--
foo (2.14-1) dist=unstable
* change 1
--

=> we decide to prepare 2.19
1) "svn merge" the unstable branch from the date of the merge up to the
latest version
2) resolve conflicts and resolve changelog conflicts by creating a new
entry:
experimental/:
foo (2.19-1) dist=experimental
* new stable upstream
* new development upstream
--
foo (2.18-1) dist=experimental
* new upstream
--
foo (2.18-1) dist=experimental
* new upstream
--
foo (2.16-2) dist=experimental
* change 2
--
foo (2.16-1) dist=experimental
* new upstream
--
foo (2.14-1) dist=unstable
* change 1
--


I expect this to be painful, but I satisfies the two constraints to not
lose changelog entries nor have superfluous changelog entries.

What do you think?

Bye,
--
Loïc Minier
"For subalterns, saying something intelligent is as risky as saying something
stupid."


--
To UNSUBSCRIBE, email to debian-gtk-gnome-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Loïc
External


Since: Nov 11, 2004
Posts: 475



PostPosted: Tue Apr 10, 2007 11:50 am    Post subject: Re: Merging between unstable and experimental; changelog handling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Apr 09, 2007, Marc 'HE' Brockschmidt wrote:
> Loïc Minier <lool+debian@via.ecp.fr> writes:
> > I don't want changelog entries to be lost as they represent actual
> > uploads; hence, in the past, I've merged changelog entries between
> > experimental and unstable so that all experimental and unstable uploads
> > appear in the changelog of the latest version; this is sometimes weird
> > as it can shows two versions doing the same set of changes when we did
> > them separately.
> Which I think is a problem. I believe that changelog entries should only
> be merged when the related chages were merged. There is seldom more
> development on a stable (ie, uploaded to unstable) branch of a package
> than on the experimental version, so I think a useful way to handle
> this problem is to merge all changes made to the unstable version into
> the experimental version (and include the fitting changelog entries). If
> a package is moved from experimental to unstable, it should be done with
> svn mv [1].

So you want to keep experimental uploads in the unstable changelog? Or
do we edit the changelog after the svn mv to create a new unstable
version?

> I firmly believe that the changelog should only reflect development done
> on the branch that is actually uploaded, and not contain what was done
> to other branches. Remember, we do non-linear development, but
> changelogs only provide a linear way to represent changes, so we should
> document the actual line of development in the changelog of the package
> that we are uploading.

Sure, how does the proposal I made contradict the above?

--
Loïc Minier
"For subalterns, saying something intelligent is as risky as saying something
stupid."


--
To UNSUBSCRIBE, email to debian-gtk-gnome-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Loïc
External


Since: Nov 11, 2004
Posts: 475



PostPosted: Tue Apr 10, 2007 5:50 pm    Post subject: Re: Merging between unstable and experimental; changelog handling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Apr 10, 2007, Marc 'HE' Brockschmidt wrote:
> Merging unstable changelog entries that were relevant to a version that
> is not the base of the current version contradicts that.

I think you refer here to the second paragraph of my mail, which says
"in the past"; I don't think I suggest doing so in the proposal
starting below "the proposal below".

--
Loïc Minier


--
To UNSUBSCRIBE, email to debian-gtk-gnome-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Loïc
External


Since: Nov 11, 2004
Posts: 475



PostPosted: Wed Apr 11, 2007 10:21 am    Post subject: Re: Merging between unstable and experimental; changelog handling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Apr 09, 2007, Loïc Minier wrote:
> The only way I could reconcile everything above is the proposal below:
> - merge branches, never "svn mv" them
> - create a new entry in each dist with all the new merged changes after
> each merge

This did not fly with HE or sjoerd, they both think this is unnatural,
so I bow before them and will "svn mv" stuff around, like we did in the
past.

--
Loïc Minier
"For subalterns, saying something intelligent is as risky as saying something
stupid."


--
To UNSUBSCRIBE, email to debian-gtk-gnome-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> GTK-GNOME All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum