News from devscripts

2018-10-03 Thread Xavier
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  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



Re: News from devscripts

2018-10-03 Thread Roberto C . Sánchez
On Wed, Oct 03, 2018 at 05:42:16PM +0200, Xavier 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
> 
Wow!  That is very nice.  Thanks for the hard work.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: News from devscripts

2018-10-03 Thread Paul Wise
On Wed, Oct 3, 2018 at 11:42 PM Xavier wrote:

> devscripts 2.18.5 has been released and brings some new uscan features
> for developers:

These seem like a candidate for DevNews:

https://wiki.debian.org/DeveloperNews

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



Re: News from devscripts

2018-10-04 Thread Cyr Bol
>- a "searchmode=plain" line option can be used to parse the full
>   content of a web page instead of searching only  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  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  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
>
>