Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1179442 > unrolled thread

Bug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo

Started byNicolas Schier <nicolas@fjasle.eu>
First post2023-12-20 09:50 +0100
Last post2023-12-23 07:10 +0100
Articles 5 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo Nicolas Schier <nicolas@fjasle.eu> - 2023-12-20 09:50 +0100
    Bug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo Nicolas Schier <nicolas@fjasle.eu> - 2023-12-20 10:00 +0100
      Bug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo Nilesh Patra <nilesh@debian.org> - 2023-12-21 18:40 +0100
        Bug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo Nicolas Schier <nicolas@fjasle.eu> - 2023-12-22 06:20 +0100
          Bug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo Nilesh Patra <nilesh@debian.org> - 2023-12-23 07:10 +0100

#1179442 — Bug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo

FromNicolas Schier <nicolas@fjasle.eu>
Date2023-12-20 09:50 +0100
SubjectBug#1012720: golang-k8s-apimachinery: Please remove protected references from salsa repo
Message-ID<HN0r7-eOUp-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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.

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 

[toc] | [next] | [standalone]


#1179443

FromNicolas Schier <nicolas@fjasle.eu>
Date2023-12-20 10:00 +0100
Message-ID<HN0AN-eOXz-1@gated-at.bofh.it>
In reply to#1179442

[Multipart message — attachments visible in raw view] — view raw

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 <nicolas@fjasle.eu>
> To: debian-go@lists.debian.org
> Cc: 1012720@bugs.debian.org, n.schier@avm.de
> Subject: golang-k8s-apimachinery: Please remove protected references from
>  salsa repo
> Message-ID: <ZYKpbzUSo6fWVCTi@fjasle.eu>
> 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: nicolas@fjasle.eu          irc://oftc.net/nsc
↳ gpg: 18ed 52db e34f 860e e9fb  c82b 7d97 0932 55a0 ce7f
     -- frykten for herren er opphav til kunnskap --

[toc] | [prev] | [next] | [standalone]


#1179668

FromNilesh Patra <nilesh@debian.org>
Date2023-12-21 18:40 +0100
Message-ID<HNvbz-f8fU-11@gated-at.bofh.it>
In reply to#1179443

[Multipart message — attachments visible in raw view] — view raw

On Wed, Dec 20, 2023 at 09:49:48AM +0100, Nicolas Schier wrote:
> On Wed, Dec 20, 2023 at 09:44:31AM +0100 Nicolas Schier wrote:
> ah, I forgot to mention that 'uscan' does choose the "correct" upstream version
> tag automatically:
> [...]
> > 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?)

Do you still want the repo to be pruned or remove the upstream branch?

> > [1]: https://salsa.debian.org/go-team/packages/golang-k8s-apimachinery.git 

Best,
Nilesh

[toc] | [prev] | [next] | [standalone]


#1179732

FromNicolas Schier <nicolas@fjasle.eu>
Date2023-12-22 06:20 +0100
Message-ID<HNG6Z-feZR-1@gated-at.bofh.it>
In reply to#1179668

[Multipart message — attachments visible in raw view] — view raw

On Thu, Dec 21, 2023 at 11:01:23PM +0530 Nilesh Patra wrote:
> On Wed, Dec 20, 2023 at 09:49:48AM +0100, Nicolas Schier wrote:
> > On Wed, Dec 20, 2023 at 09:44:31AM +0100 Nicolas Schier wrote:
> > ah, I forgot to mention that 'uscan' does choose the "correct" upstream version
> > tag automatically:
> > [...]
> > > 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?)
> 
> Do you still want the repo to be pruned or remove the upstream branch?

yes, please.

> > > [1]: https://salsa.debian.org/go-team/packages/golang-k8s-apimachinery.git 
> 
> Best,
> Nilesh

[toc] | [prev] | [next] | [standalone]


#1179880

FromNilesh Patra <nilesh@debian.org>
Date2023-12-23 07:10 +0100
Message-ID<HO3mV-fwT9-1@gated-at.bofh.it>
In reply to#1179732

[Multipart message — attachments visible in raw view] — view raw

On Fri, Dec 22, 2023 at 06:03:11AM +0100, Nicolas Schier wrote:
> On Thu, Dec 21, 2023 at 11:01:23PM +0530 Nilesh Patra wrote:
> > On Wed, Dec 20, 2023 at 09:49:48AM +0100, Nicolas Schier wrote:
> > > On Wed, Dec 20, 2023 at 09:44:31AM +0100 Nicolas Schier wrote:
> > > ah, I forgot to mention that 'uscan' does choose the "correct" upstream version
> > > tag automatically:
> > > [...]
> > > > 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?)
> > 
> > Do you still want the repo to be pruned or remove the upstream branch?
> 
> yes, please.

Pruned the repo. HTH

> > > > [1]: https://salsa.debian.org/go-team/packages/golang-k8s-apimachinery.git

Best,
Nilesh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web