On Wed, Dec 20, 2023 at 09:44:31AM +0100 Nicolas Schier wrote: > Date: Wed, 20 Dec 2023 09:44:31 +0100 > From: Nicolas Schier <[email protected]> > To: [email protected] > Cc: [email protected], [email protected] > Subject: golang-k8s-apimachinery: Please remove protected references from > salsa repo > Message-ID: <[email protected]> > Organization: AVM GmbH > > Hi, > > while attempting to take-over ITP #1012720 for golang-k8s-apimachinery, I am > struggling with the current repository state at salsa [1]. The current state > was auto-generated by dh-make-golang but has (at least) these flaws: > > * upstream branch contains non-upstream commit, preventing fast-forward on > the upstream branch > > * dh-make-golang did not choose the correct upstream version tag: in [1] we > have 1.x but we need it to be 0.x. Upstream provides kind of dual-tags > for > both version schemes.
ah, I forgot to mention that 'uscan' does choose the "correct" upstream version
tag automatically:
$ uscan --report-status
uscan info: uscan (version 2.21.3+deb11u1) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="golang-k8s-apimachinery" version="0.30.0~alpha0-1" (as
seen in debian/changelog)
uscan info: package="golang-k8s-apimachinery" version="0.30.0~alpha0" (no
epoch/revision)
uscan info: ./debian/changelog sets package="golang-k8s-apimachinery"
version="0.30.0~alpha0"
uscan info: Process watch file at: debian/watch
package = golang-k8s-apimachinery
version = 0.30.0~alpha0
pkg_dir = .
uscan info: opts:
filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%golang-k8s-apimachinery-$1.tar.gz%,uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/
uscan info: line: https://github.com/kubernetes/apimachinery/tags
.*/v?(\d\S*)\.tar\.gz debian
uscan info: Parsing
filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%golang-k8s-apimachinery-$1.tar.gz%
uscan info: Parsing
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/
uscan info: line: https://github.com/kubernetes/apimachinery/tags
.*/v?(\d\S*)\.tar\.gz debian
uscan info: Last orig.tar.* tarball version (from debian/changelog):
0.30.0~alpha0
uscan info: Last orig.tar.* tarball version (dversionmangled): 0.30.0~alpha0
uscan info: Requesting URL:
https://github.com/kubernetes/apimachinery/tags
uscan info: Matching pattern:
(?:(?:https://github.com)?\/kubernetes\/apimachinery\/)?.*/v?(\d\S*)\.tar\.gz
uscan info: Found the following matching hrefs on the web page (newest
first):
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.30.0-alpha.0.tar.gz
(0.30.0~alpha0) index=0.30.0~alpha0-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.30.0-alpha.0.tar.gz
(0.30.0~alpha0) index=0.30.0~alpha0-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0.tar.gz
(0.29.0) index=0.29.0-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0.tar.gz
(0.29.0) index=0.29.0-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0-rc.2.tar.gz
(0.29.0~rc2) index=0.29.0~rc2-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0-rc.2.tar.gz
(0.29.0~rc2) index=0.29.0~rc2-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0-rc.1.tar.gz
(0.29.0~rc1) index=0.29.0~rc1-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0-rc.1.tar.gz
(0.29.0~rc1) index=0.29.0~rc1-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0-rc.0.tar.gz
(0.29.0~rc0) index=0.29.0~rc0-1
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.29.0-rc.0.tar.gz
(0.29.0~rc0) index=0.29.0~rc0-1
uscan info: Looking at $base =
https://github.com/kubernetes/apimachinery/tags with
$filepattern = .*/v?(\d\S*)\.tar\.gz found
$newfile =
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.30.0-alpha.0.tar.gz
$newversion = 0.30.0~alpha0
$lastversion = 0.30.0~alpha0
uscan info: Matching target for downloadurlmangle:
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.30.0-alpha.0.tar.gz
uscan info: Upstream URL(+tag) to download is identified as
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.30.0-alpha.0.tar.gz
uscan info: Matching target for filenamemangle:
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.30.0-alpha.0.tar.gz
uscan info: Filename (filenamemangled) for downloaded file:
golang-k8s-apimachinery-0.tar.gz
uscan info: Newest version of golang-k8s-apimachinery on remote site is
0.30.0~alpha0, local version is 0.30.0~alpha0
uscan info: => Package is up to date from:
=>
https://github.com/kubernetes/apimachinery/archive/refs/tags/v0.30.0-alpha.0.tar.gz
uscan info: Scan finished
Kind regards,
Nicolas
> Can someone please remove the protected branch 'upstream' as well as the
> upstream tag 'upstream/1.25.0_alpha0'?
>
> (Or remove the whole repo to allow re-creating it?)
>
> Kind regards,
> Nicolas
>
>
> [1]: https://salsa.debian.org/go-team/packages/golang-k8s-apimachinery.git
--
epost|xmpp: [email protected] irc://oftc.net/nsc
↳ gpg: 18ed 52db e34f 860e e9fb c82b 7d97 0932 55a0 ce7f
-- frykten for herren er opphav til kunnskap --
signature.asc
Description: PGP signature
