[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gbp import-orig --uscan for the non-trivial cases



On 28/08/2025 09:54, Marc Haber wrote:
Where does uscan get the 0.6.1+git20250616 version from? Is that what it guesses from debian/changelog?

Yes, everything gets the current version from there (uscan, gbp dch, etc..).

$ uscan -dd
$ ls ..
sniproxy_0.6.1+git20240702.orig.tar.xz -> sniproxy-0.6.1+git20240702.tar.xz
sniproxy-0.6.1+git20240702.tar.xz

That's the upstream tarball that is already in Debian, probably generated from upstream/latest and pristine-tar.

That was downloaded from scratch. -dd forces the download.
When `uscan` doesn't work, I use `uscan -dd` which downloads a tarball then proceed to build.
Only then dpkg complains about a missing orig tarball.
That points me to d/changelog having an incorrect version :)


--
Regards,
Ahmad


Reply to: