[ replying to bugreport - please keep conversation public ] Quoting Michel Le Bihan (2020-12-20 16:57:36) > Yes. I wasn't able to find doc on that on my own. tarpman and wRAR > from #debian-mentors helped me with that and pointed me to > file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.upstream- > git.html#gbp.import.upstream.git.tarball
Thanks for (sort of) confirming that such usage comment might be of help. I will continue my practice of adding it to packages I maintain. > I actually used: > ``` > git remote add upstream https://lab.louiz.org/louiz/biboumi.git > git fetch upstream > gbp import-orig --pristine-tar --upstream-vcs-tag=9.0 > https://lab.louiz.org/louiz/biboumi/-/archive/9.0/biboumi-9.0.tar.bz2 > ``` Thanks for sharing. Your commands lead to same result in the git shared among maintainers, so not bad. My command is shorter (option --pristine-tar is already defined in config file) and smarter (option --uscan resolved upstream tarball URL from the watch file hint): gbp import-orig --upstream-vcs-tag=9.0 --uscan Also, beware that naming the _remote_ "upstream" is easily confused with _branch_ name "upstream" (or the recommended branch name "upstream/latest" not yet used in biboumi package - see https://dep-team.pages.debian.net/deps/dep14/ ). I name it "upstream-git" to disambiguate. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature