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

Bug#1054255: qa.debian.org: UDD/upstream: consider using d/watch from source repository when available



Package: qa.debian.org
User: qa.debian.org@packages.debian.org
Severity: wishlist
Usertags: udd
X-Debbugs-Cc: none, Xiyue Deng <manphiz@gmail.com>

The uscan results provided by UDD are based on d/watch file from the
latest released version of the package which it fetches using .dsc[1].
While this works, it also means that fixing any existing uscan errors
requires a new release of the package.  This shouldn't be a big issue if
the upstream provides regular releases.  However, for upstream that is
not very active, making a new release just to fix uscan errors may be a
bit overkill.

Alternatively, I wonder whether it can be considered that if the
d/control provides the location of Debian packaging source repository
either through Vcs-* or Dgit, UDD can optionally use that information to
checkout the repository and use the d/watch file there to update uscan
results so that any errors can be fixed through a commit only.

Of course this adds some more complexities and points of failure such as
- invalid Vcs-* or Dgit, or
- broken d/watch in the repo.
In such cases we may just fall back to the old ways to use the d/watch
in the release package which effectively reverts to the current
behavior.

Just wondering whether this is a direction that's worth considering.

[1] https://salsa.debian.org/qa/udd/-/blob/master/rimporters/upstream.rb#L20-35


Reply to: