Re: Any idea why bitbucket watch file does not work?

2016-08-31 Thread Andreas Tille
Hi,

On Wed, Aug 31, 2016 at 12:51:57PM +0500, Andrey Rahmatullin wrote:
> On Wed, Aug 31, 2016 at 09:44:59AM +0200, Andreas Tille wrote:
> > I was following the Wiki[1] to get a bitbucket watch for metaphlan2[2].
> > Unfortunately uscan does not detect any match and after starring on the
> > code and trying several other regexp I failed finding the mistake.
> There is no tarballs on that page, right? If you want to use tags it looks
> like you need to point it to
> https://bitbucket.org/biobakery/metaphlan2/downloads?tab=tags and the wiki
> page needs to be updated.

OK, I was assuming some magic like in other cases.  Assuming that this
works in general for projects on bitbucket I updated the Wiki page.

Thanks for the hint

 Andreas.

-- 
http://fam-tille.de



Re: Any idea why bitbucket watch file does not work?

2016-08-31 Thread Christian Seiler
On 08/31/2016 09:44 AM, Andreas Tille wrote:
> I was following the Wiki[1] to get a bitbucket watch for metaphlan2[2].
> Unfortunately uscan does not detect any match and after starring on the
> code and trying several other regexp I failed finding the mistake.
> 
> Any idea how to get the watch file working and reporting 2.6.0 as latest
> version?

Well, uscan isn't psychic, it just uses what's available on a given
download page.

If you go to

https://bitbucket.org/biobakery/metaphlan2/downloads

you'll see that there are three links:

 - bitbucket's autogenerated link for downloading the entire
   repository

 - two .txt files that have nothing to do with the release

In fact, there don't appear to be any upstream tarballs available.

However, they do appear to tag their releases, so (not tested though)
the following watch file should work for the autogenerated tarballs
from bitbucket based on tags:

https://bitbucket.org/biobakery/metaphlan2/downloads?tab=tags 
.*/(\d\S*)\.tar\.gz

HTH.

Regards,
Christian



Re: Any idea why bitbucket watch file does not work?

2016-08-31 Thread Andrey Rahmatullin
On Wed, Aug 31, 2016 at 09:44:59AM +0200, Andreas Tille wrote:
> I was following the Wiki[1] to get a bitbucket watch for metaphlan2[2].
> Unfortunately uscan does not detect any match and after starring on the
> code and trying several other regexp I failed finding the mistake.
There is no tarballs on that page, right? If you want to use tags it looks
like you need to point it to
https://bitbucket.org/biobakery/metaphlan2/downloads?tab=tags and the wiki
page needs to be updated.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Any idea why bitbucket watch file does not work?

2016-08-31 Thread Andreas Tille
Hi,

I was following the Wiki[1] to get a bitbucket watch for metaphlan2[2].
Unfortunately uscan does not detect any match and after starring on the
code and trying several other regexp I failed finding the mistake.

Any idea how to get the watch file working and reporting 2.6.0 as latest
version?

Thanks for opening my eyes

 Andreas.

[1] https://wiki.debian.org/debian/watch#Bitbucket
[2] 
https://anonscm.debian.org/viewvc/debian-med/trunk/packages/metaphlan2/trunk/debian/watch?revision=22031=markup

-- 
http://fam-tille.de