Re: [Package Fastaq] - uscan won't find upstream source - Regex in watch file not working as expected
On Thu, Oct 09, 2014 at 11:01:33AM +0100, Jorge Sebastião Soares wrote:
> Source format 1.0 detected, adding exclude flags
Please use source format 3.0 (quilt) (if you do not have good reasons
not to use it).
> dpkg-source -i(?:^|/)\.git(attributes)?(?:$|/.*$) -I.git --before-build
> fastaq
> dpkg-source: error: source package name 'Fastaq' is illegal: character 'F'
> not allowed
Dpkg-source is just telling you the problem: Debian packages have lower
case names.
> js21@builder:~/deb_alioth/current/fastaq_packaging/fastaq$ uscan --verbose
> --force-download
As always you can find the answer to your question in the Debian Med policy
document. You should seek for "package_template". Check out the example
watch file and adapt it. You will easily get the same as me, which works
nicely and is pushed.
> It seems to have replaced the uppercase F with the lowercase f but now it
> can't get the source tarball.
>
> I also tried differenl iterations of the filenamemangle regex:
>
> opts=filenamemangle=s/F/f/ \
NNOOOOOO, please don't try to be more clever than uscan!
> and
>
> opts=filenamemangle=s/(.*)F(.*)/$1f$2/
>
> And others... But I still get the same error.
Sure. B-)
Hope this helps
Andreas.
--
http://fam-tille.de
Reply to: