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

Re: Dep14 Workflow - how to deal with no upstream releases



On Sat, Apr 4, 2020 at 10:30 AM Tong Sun
<suntong001@users.sourceforge.net> wrote:
>
> On Sat, Apr 4, 2020 at 9:51 AM Tong Sun
> <suntong001@users.sourceforge.net> wrote:
> >
> > Hi,
> >
> > on my upstream's github-page there aren't any releases, thus I'm
> > having problem with updating the package:
> >
> > ---------------------------
> > $ gbp import-orig --sign-tags --uscan
> > gbp:info: Launching uscan...
> > uscan warn: Filename pattern missing version delimiters () without
> > filenamemangle
> >   in debian/watch, skipping:
> >   https://github.com/tonistiigi/fsutil.git HEAD debian
> > gbp:error: Uscan failed: Filename pattern missing version delimiters
> > () without filenamemangle
> >   in debian/watch, skipping:
> >   https://github.com/tonistiigi/fsutil.git HEAD debian
> >
> > $ cat debian/watch
> > version=4
> > opts="mode=git, pgpmode=none" \
> >   https://github.com/tonistiigi/fsutil.git \
> >   HEAD debian
> >
> > # Use the following when upstream starts to tag releases:
> > #
> > #version=4
> > #opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%golang-github-tonistiigi-fsutil-$1.tar.gz%,\
> > #      uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/"
> > \
> > #  https://github.com/tonistiigi/fsutil/tags .*/v?(\d\S*)\.tar\.gz debian
> >
> > $ gbp import-orig --sign-tags --uscan --upstream-vcs-tag=f427cf1
> > gbp:info: Launching uscan...
> > uscan warn: Filename pattern missing version delimiters () without
> > filenamemangle
> >   in debian/watch, skipping:
> >   https://github.com/tonistiigi/fsutil.git HEAD debian
> > gbp:error: Uscan failed: Filename pattern missing version delimiters
> > () without filenamemangle
> >   in debian/watch, skipping:
> >   https://github.com/tonistiigi/fsutil.git HEAD debian
> > ---------------------------
> >
> > Again,
> >
> > The upstream is https://github.com/tonistiigi/fsutil
> > and my repo is at
> > https://salsa.debian.org/go-team/packages/golang-github-tonistiigi-fsutil
>
> So I did a bit more reading and experimenting, and it seems that
> `--uscan` cannot be used with `gbp import-orig` under the case of no
> upstream releases. I.e., now the problem turns to,
>
> How to deal with no upstream releases with Dep14 Workflow?

Sorry, I fix it. There is nothing wrong with my debian/watch file.
-- I should have ran it within my docker but not outside it.


Reply to: