[Pkg-javascript-devel] Bug#976813: Bug#976813: Bug#976813: node-cosmiconfig: missing Breaks+Replaces: jest (<< 26.6.3+repack)

Jonas Smedegaard jonas at jones.dk
Tue Dec 8 09:32:33 GMT 2020


Quoting Jonas Smedegaard (2020-12-08 10:04:13)
> Quoting Xavier (2020-12-08 09:44:00)
> > what is wrong in "Breaks: jest (<< 2.26.3+repack~), node-jest-debbundle
> > (<< 2.26.3+repack~)" ? Jest version in unstable is
> > "26.6.3+repack+~cs61.38.31-1"
> 
> 7.0.0+~cs8.3.2-1 is higher than 2.26.3+repack~
> 
> ...because 3.2 is higher than 3+
> 
> ...because + means "just above" so beats only nothing or 0.

Please ignore above - totally crazy of me to compare _node-cosmiconfig_ 
version with Breaks value of jest.

As Andreas posted a moment ago, problem is that the jest version of 
26.6.3+ds+~cs64.28.30-1 is lower than 2.26.3+repack~.

Seem you forgot to include the +ds suffix, i.e. this should work:

  Breaks: jest (<< 2.26.3+ds+repack~), node-jest-debbundle (<< 2.26.3+ds+repack~)

On a related note, I can recommend to generally use suffix ~ds or ~dfsg 
for repackaging, to leave room eventually dropping it later it turns out 
to be unneeded.  If ~ds were used for jest then forgetting to include 
the suffix in Breaks would work, but that is just accidental: Correct is 
to always include whatever suffix is on the original package version and 
then at the end of _full_ version add ~ to cover custom extensions like 
~bpo.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201208/d0ad2804/attachment.sig>


More information about the Pkg-javascript-devel mailing list