Hi Peter,

Thanks for pointing this out.

The Kubernetes upstream some time ago started splitting some of their
libraries into their own repository.

It works like a mirror where they use to track issues, but all the source
code and tags are there too.

https://github.com/kubernetes/kubernetes/tree/master/staging

https://github.com/kubernetes/kubectl

This facilitated the process of packaging and maintaining individual
libraries into debian, since the kubernetes monorepo it's very hard to keep
it together and was using a vendor folder to store their libs.

Probably that was the reason why it has been unmaintained for almost 3
years now with some CVEs, and removed from testing.

But your reply to this bug got me thinking that maybe I can try to fix the
kubernetes package on debian, resolving the opened bugs and bringing it to
a new  version.

For that I've tested today an approach of doing a repack of that big mono
repo using Files-Excluded inside d/copyright and leaving only the kubectl
stuff in it.

Doing that cleanup will reduce the number of dependencies to build the
package and make the license declaration minimal.

I've imported the dscs and created a Salsa repo for the current state of
Debian Kubernetes package under the Kubernetes Team, since it was not using
VCS yet.

https://salsa.debian.org/kubernetes-team/packages/kubernetes

I'm still doing some tests and will try to raise a Merge Request with this
new repack logic.

After that I will consult some other DD's to make sure I'm not breaking
anything. And then will close this bug.

Will keep this bug open for now until I sort this out.

Cheers!







On Sun, 26 Jan 2025 at 14:33, Peter Wienemann <wi...@debian.org> wrote:

> Hi Arthur,
>
> On 2025-01-25 21:47:58, Arthur Diniz wrote:
> > Package: wnpp
> > Severity: wishlist
> > Owner: Arthur Diniz <arthurbdi...@gmail.com>
> >
> > * Package name    : kubectl
> >    Version         : 0.31.4
> >    Upstream Author : Kubernetes
> > * URL             : https://github.com/kubernetes/kubectl
> > * License         : Apache-2.0
> >    Programming Lang: Go
> >    Description     : Command-line tool for controlling Kubernetes
> clusters
> >
> >   The official command-line tool for interacting with Kubernetes
> clusters.
> >   .
> >   It allows users to manage and configure Kubernetes resources, deploy
> >   applications, inspect and troubleshoot workloads, and automate cluster
> >   operations.
> >   .
> >   With kubectl, you can perform actions such as scaling deployments,
> rolling
> >   out updates, debugging services, and viewing cluster logs.
> >   .
> >   The tool supports a wide range of commands for managing pods, nodes,
> services,
> >   config maps, persistent volumes, and more. It also integrates with
> custom
> >   plugins and supports client-side filtering and resource scripting for
> advanced
> >   use cases.
>
> is this different from
>
> https://tracker.debian.org/pkg/kubernetes ?
>
> Best regards,
>
> Peter
>

Reply via email to