On 08/05/2014 07:42 PM, Jaromír Mikeš wrote:
> 2014-08-05 18:16 GMT+02:00 Sebastiaan Couwenberg <sebastic@xs4all.nl>:
I see, that's a good reason for an explicit version requirement.
Do you intent to support backports?
> This way of getting orig source repacked is becoming standard inThe wget route seems to be a good enough workaround for the uscan issue.
> pkg-multimedia team where I co-maintain some packages.
> Some I am used to it moreover uscan currently doesn't work with bitbucket :(
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749225
>
> So this solution allows me get orig source via wget.
I would still use `tar --delete` to remove the .hg directory, e.g. with
something like the following patch (note: untested):
diff --git a/debian/rules b/debian/rules
index ec21e31..1dd2bd4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,11 +15,4 @@ get-orig-source:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749225
# uscan --noconf --force-download --rename --debug --destdir=.
wget
https://bitbucket.org/maproom/qmapshack/downloads/$(pkg)-$(upstream_version).tar.gz
- mv $(pkg)-$(upstream_version).tar.gz
$(pkg)_$(upstream_version).orig.tar.gz
- tar -xf $(pkg)_$(upstream_version).orig.tar.gz
- mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version)
-# find $(pkg)-$(dfsg_version)/ -name '.hg' -delete
- rm -R $(pkg)-$(dfsg_version)/.hg
- tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)-$(dfsg_version)
- gzip $(pkg)_$(dfsg_version).orig.tar
- rm -rf $(pkg)-$(dfsg_version)
+ gunzip -c ../$(pkg)-$(upstream_version).tar.gz | tar --delete
--wildcards -vf - $(pkg)-$(upstream_version)/.hg\* | GZIP="--best
--no-name" gzip -c > ../$(pkg)_$(upstream_version)+ds.orig.tar.gz
What do you mean by this exactly?
Just commit your changes in git and prepare a new release, upload it to
mentors and request sponsorship. Add an entry to the SoB wiki page to
notify our awesome sponsor.