[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: News from devscripts



>- a "searchmode=plain" line option can be used to parse the full
>   content of a web page instead of searching only <a href*> tags
>   (#897382), useful for JSON contents. Example:

Cool, I just wrote a hack for such a functionality in one of my project :-)

Cyr


On Wed, Oct 3, 2018 at 5:42 PM Xavier <yadd@debian.org> wrote:
Dear fellow developers,

devscripts 2.18.5 has been released and brings some new uscan features
for developers:
 - in git mode, uscan is now able to verify signed tags (#827065).
   Example:

    version=4
    opts="mode=git,pgpmode=gittag" \
      https://github.com/rs/net-server-mail refs/tags/v([\d\.]+) debian

 - a "searchmode=plain" line option can be used to parse the full
   content of a web page instead of searching only <a href*> tags
   (#897382), useful for JSON contents. Example:

     version=4
     opts="searchmode=plain" \
       https://registry.npmjs.org/aes-js \
     https://registry.npmjs.com/aes-js/-/aes-js-(\d[\d\.]*)@ARCHIVE_EXT@

 - new macro @DEB_EXT@ (#908528). Example:

     dversionmangle=~s/[\+~](debian|dfsg|ds|deb)(\.)?(\d+)?$//

   becomes:

     dversionmangle=~s/@DEB_EXT@//

 - new "auto" value for dversionmangle (#908528). The above example
   becomes simply:

     dversionmangle=auto

Hope this will be useful for you all !

A big thank you to Mattia for accepting these changes and for his
patience in this long work.

NB: While making these changes uscan underwent a huge refactor, so
please file any bug you may find in this new version, and we shall fix
them for the next release.

Cheers,
Xavier


Reply to: