On 05/12/2016 11:46, Pirate Praveen wrote:
> On തിങ്കള്‍ 05 ഡിസംബര്‍ 2016 04:07 വൈകു, Jérémy Lal wrote:
>> Add this to debian/watch params:
>> repacksuffix=~dfsg
> 
> I think +dfsg is better here, else any module depending on it has to add
> a ~ at the end to its version. May be we make npm2deb do it
> automatically https://github.com/LeoIannacone/npm2deb/issues/40

BTW2, can you elaborate on the difference between ~dfsg and +dfsg ?

I could not find any policy / standard on that.

What I found is:
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
which states that:
version = [epoch:]upstream_version[-debian_revision]
epoch=unsigned integer or 0 if missing
upstream_version=A-Za-z0-9.+-:~
debian_revision=A-Za-z0-9+.~ or 0 if missing

Empirical research shows that people add dfsg, ds or debian in many
different ways to the upstream_version.

Looking at the packages in sid with architecture and64, they are added
resp. 71, 16 and 9 times without separator, for example:

4.8.0dfsg
1.06.dfsg
0.2.dfsg1
6.02.dfsg.1
0.62.dfsg2
0.12.10dfsg2
...
0.5.ds
1.45.ds2
2002.04.10ds1
3.0.19.ds1
...
0.4.2.debian1
1.2debian
5.6.debian.1
0.10.32.debian

The most popular suffix separator for dfsg is + (694 times), last comes
~dfsg (79 times) and finally -dfsg (15 times).

?

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to