Re: NMU version number and native packages

2003-07-27 Thread Adrian Bunk
On Sat, Jul 26, 2003 at 10:13:09PM +0900, Junichi Uekawa wrote:
> 
> The 'standard process' that I know of is this:
> 
> > * On other side some people on #d-d says that the standard way is to add
> >   .1 to the number.
> > 
> 
> Thus, a package with a version number '1.5' will be versioned
> '1.5.1'
> 
> Then, an exception follows that if the previous upload was a NMU,
> in which case the last number is increased. (i.e. after 1.5.1,
> 1.5.2 is used).
> 
> In that respect, developers-reference's statement of
> 'Adding 0.1' is not quite precisely documenting the current practice.
> 
> Binary-only NMUs add a '0.1', which result in 1.5.0.1.
> Binary-only NMU after a NMU will result in 1.5.1.1.

Developer's Reference says you have to give to the NMU of version 1.5 
the version 1.5-0.1 .

Giving the NMU the version 1.5.1 hijacks a valid non-NMU version number.
It might even happen that someone uploads a NMU 1.5.1 to delayed and the
original author one hour later uploads a version 1.5.0.0.0.1 - the NMU
will replace the maintainer upload!

Any NMU version that is not lower than the lowest possible next 
maintainer upload version number is simply broken.

The NMU versioning scheme in the Developer's Reference might sound 
strange, but it's needed for exactly this reason.

> regards,
>   junichi

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed




Re: NMU version number and native packages

2003-07-26 Thread Junichi Uekawa

The 'standard process' that I know of is this:

> * On other side some people on #d-d says that the standard way is to add
>   .1 to the number.
> 

Thus, a package with a version number '1.5' will be versioned
'1.5.1'


Then, an exception follows that if the previous upload was a NMU,
in which case the last number is increased. (i.e. after 1.5.1,
1.5.2 is used).





In that respect, developers-reference's statement of
'Adding 0.1' is not quite precisely documenting the current practice.





Binary-only NMUs add a '0.1', which result in 1.5.0.1.
Binary-only NMU after a NMU will result in 1.5.1.1.



regards,
junichi




NMU version number and native packages

2003-07-26 Thread seb128

Hi,

I've a little question about version number and NMU on debian native
packages.

What's the standard way to modify this number ? 

* On one side the developer's reference says:

"If there is no debian-revision component in the version number then one
should be created, starting at `0.1'."

So adding -0.1 to the number


* On other side some people on #d-d says that the standard way is to add
  .1 to the number.


So, what's the best way to process ?



Cheers,

seb128