All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] About the versioning scheme in the repository
@ 2006-03-06  6:59 Romain Lenglet
  2006-03-06  8:11 ` Philippe Gerum
  0 siblings, 1 reply; 4+ messages in thread
From: Romain Lenglet @ 2006-03-06  6:59 UTC (permalink / raw)
  To: xenomai

Hi,

When is the version number changed in the config/version file?
Is that value the version 1) of the next release being prepared, 
or 2) of the last release?

This is a concern for packaging. I would like to make two series 
of Debian packages: xenomai, libxenomai, etc. for the official 
releases, and xenomai-svn, libxenomai-svn, etc. for periodical 
extracts from the svn repository after releases.
The problem is: what versions to give to the *-svn packages? For 
instance, the current value in config/version is 2.0.93.
The current xenomai-svn package would then have version 
2.0.93+svn20060306 (or something like that).

Using versioning scheme 1), the next xenomai package would have 
version 2.0.93. This is bad, because the xenomai-svn could not 
be replaced by the next xenomai package:
2.0.93 < 2.0.93+svn20060306.
Even if xenomai (official release package) is more recent.

Using versioning scheme 2) works, because the next xenomai 
package would have version 2.0.94 (or 2.1 or...), and hence 
would have priority over the older xenomai-svn packages.


So, could someone confirm that what is currently done is scheme 
2), i.e. the version in config/version is modified just before 
tagging the repository and releasing?

-- 
Romain LENGLET


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] About the versioning scheme in the repository
  2006-03-06  6:59 [Xenomai-core] About the versioning scheme in the repository Romain Lenglet
@ 2006-03-06  8:11 ` Philippe Gerum
  2006-03-06  8:20   ` Romain Lenglet
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2006-03-06  8:11 UTC (permalink / raw)
  To: Romain Lenglet; +Cc: xenomai

Romain Lenglet wrote:
> Hi,
> 
> When is the version number changed in the config/version file?
> Is that value the version 1) of the next release being prepared, 
> or 2) of the last release?
> 
> This is a concern for packaging. I would like to make two series 
> of Debian packages: xenomai, libxenomai, etc. for the official 
> releases, and xenomai-svn, libxenomai-svn, etc. for periodical 
> extracts from the svn repository after releases.
> The problem is: what versions to give to the *-svn packages? For 
> instance, the current value in config/version is 2.0.93.
> The current xenomai-svn package would then have version 
> 2.0.93+svn20060306 (or something like that).

Adding the atomic commit number would be useful.

> 
> Using versioning scheme 1), the next xenomai package would have 
> version 2.0.93.

2.0.94, or 2.1.0 actually.

  This is bad, because the xenomai-svn could not
> be replaced by the next xenomai package:
> 2.0.93 < 2.0.93+svn20060306.
> Even if xenomai (official release package) is more recent.
> 
> Using versioning scheme 2) works, because the next xenomai 
> package would have version 2.0.94 (or 2.1 or...), and hence 
> would have priority over the older xenomai-svn packages.
> 
> 
> So, could someone confirm that what is currently done is scheme 
> 2), i.e. the version in config/version is modified just before 
> tagging the repository and releasing?
> 

There is no current scheme for managing the version file; it's updated when I 
happen to think about bumping the version number. I could enforce 2) from now on 
though, and only change the version stamp just before a release.

-- 

Philippe.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] About the versioning scheme in the repository
  2006-03-06  8:11 ` Philippe Gerum
@ 2006-03-06  8:20   ` Romain Lenglet
  2006-03-06 12:13     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 4+ messages in thread
From: Romain Lenglet @ 2006-03-06  8:20 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai

...
> > The current xenomai-svn package would then have version
> > 2.0.93+svn20060306 (or something like that).
>
> Adding the atomic commit number would be useful.

Good idea, that makes more sense.

...
> > So, could someone confirm that what is currently done is
> > scheme 2), i.e. the version in config/version is modified
> > just before tagging the repository and releasing?
>
> There is no current scheme for managing the version file; it's
> updated when I happen to think about bumping the version
> number. I could enforce 2) from now on though, and only change
> the version stamp just before a release.

That would be nice, thanks!

-- 
Romain LENGLET


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] About the versioning scheme in the repository
  2006-03-06  8:20   ` Romain Lenglet
@ 2006-03-06 12:13     ` Gilles Chanteperdrix
  0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2006-03-06 12:13 UTC (permalink / raw)
  To: Romain Lenglet; +Cc: xenomai

Romain Lenglet wrote:
 > ...
 > > > The current xenomai-svn package would then have version
 > > > 2.0.93+svn20060306 (or something like that).
 > >
 > > Adding the atomic commit number would be useful.
 > 
 > Good idea, that makes more sense.

Please do not forget to re-run bootstrap when modifying config/version.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-06 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06  6:59 [Xenomai-core] About the versioning scheme in the repository Romain Lenglet
2006-03-06  8:11 ` Philippe Gerum
2006-03-06  8:20   ` Romain Lenglet
2006-03-06 12:13     ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.