From 5e8d457e69dfc927d31d8dc0dce4ad80e88afd48 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 19:48:09 +0200 Subject: Adding debian version 0.14.0+ds1-2. Signed-off-by: Daniel Baumann --- debian/changelog | 11 ++ debian/control | 47 +++++++ debian/copyright | 356 +++++++++++++++++++++++++++++++++++++++++++++++ debian/gbp.conf | 3 + debian/gitlab-ci.yml | 6 + debian/rules | 11 ++ debian/source/format | 1 + debian/upstream/metadata | 5 + debian/watch | 5 + 9 files changed, 445 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/gitlab-ci.yml create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..405289a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +go-containerregistry (0.14.0+ds1-2) unstable; urgency=medium + + * Upload to unstable + + -- Reinhard Tartler Tue, 18 Jul 2023 19:39:02 -0400 + +go-containerregistry (0.14.0+ds1-1) experimental; urgency=medium + + * Initial release (Closes: #1034480) + + -- Reinhard Tartler Sun, 16 Apr 2023 14:50:05 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..87be82b --- /dev/null +++ b/debian/control @@ -0,0 +1,47 @@ +Source: go-containerregistry +Maintainer: Debian Go Packaging Team +Uploaders: Reinhard Tartler +Section: golang +Testsuite: autopkgtest-pkg-go +Priority: optional +Build-Depends: debhelper-compat (= 13), + dh-golang, + golang-any, + golang-github-containerd-stargz-snapshotter-dev, + golang-github-docker-distribution-dev, + golang-github-docker-docker-dev, + golang-github-google-go-cmp-dev, + golang-github-klauspost-compress-dev, + golang-github-mitchellh-go-homedir-dev, + golang-github-opencontainers-go-digest-dev, + golang-github-opencontainers-image-spec-dev, + golang-github-spf13-cobra-dev, + golang-golang-x-oauth2-google-dev, + golang-golang-x-sync-dev, + golang-golang-x-tools-dev +Standards-Version: 4.6.0 +Vcs-Browser: https://salsa.debian.org/go-team/packages/go-containerregistry +Vcs-Git: https://salsa.debian.org/go-team/packages/go-containerregistry.git +Homepage: https://github.com/google/go-containerregistry +Rules-Requires-Root: no +XS-Go-Import-Path: github.com/google/go-containerregistry + +Package: golang-github-google-go-containerregistry-dev +Architecture: any +Depends: golang-github-containerd-stargz-snapshotter-dev, + golang-github-docker-distribution-dev, + golang-github-docker-docker-dev, + golang-github-google-go-cmp-dev, + golang-github-klauspost-compress-dev, + golang-github-mitchellh-go-homedir-dev, + golang-github-opencontainers-go-digest-dev, + golang-github-opencontainers-image-spec-dev, + golang-github-spf13-cobra-dev, + golang-golang-x-oauth2-google-dev, + golang-golang-x-sync-dev, + golang-golang-x-tools-dev, + ${misc:Depends}, + ${shlibs:Depends} +Built-Using: ${misc:Built-Using} +Description: Go library and CLIs for working with container registries (program) + This library contains golang code for interacting with container registries diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7b63214 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,356 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: go-containerregistry +Upstream-Contact: https://github.com/google/go-containerregistry/issues +Source: https://github.com/google/go-containerregistry +Files-Excluded: + vendor + +Files: * +Copyright: 2018, Google +License: Apache-2.0 + +Files: cmd/crane/cmd/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: cmd/crane/depcheck_test.go + cmd/crane/main.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: cmd/crane/help/main.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: cmd/gcrane/cmd/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: cmd/gcrane/depcheck_test.go + cmd/gcrane/main.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: cmd/krane/main.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: cmd/registry/main.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: debian/* +Copyright: 2023, Reinhard Tartler +License: Apache-2.0 +Comment: Debian packaging is licensed under the same terms as upstream + +Files: hack/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: hack/update-dots.sh +Copyright: 2019, The original author or authors +License: Apache-2.0 + +Files: internal/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: internal/retry/wait/* +Copyright: 2014, The Kubernetes Authors. +License: Apache-2.0 + +Files: pkg/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/authn/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/authn/anon.go + pkg/authn/anon_test.go + pkg/authn/auth.go + pkg/authn/authn.go + pkg/authn/authn_test.go + pkg/authn/basic.go + pkg/authn/basic_test.go + pkg/authn/bearer.go + pkg/authn/bearer_test.go + pkg/authn/doc.go + pkg/authn/keychain.go + pkg/authn/keychain_test.go + pkg/authn/multikeychain.go + pkg/authn/multikeychain_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/authn/github/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/authn/k8schain/doc.go + pkg/authn/k8schain/k8schain.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/authn/k8schain/tests/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/authn/kubernetes/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/authn/kubernetes/go.mod +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/legacy/tarball/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/legacy/tarball/doc.go + pkg/legacy/tarball/write.go + pkg/legacy/tarball/write_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/name/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/name/check.go + pkg/name/digest.go + pkg/name/digest_test.go + pkg/name/doc.go + pkg/name/errors.go + pkg/name/errors_test.go + pkg/name/options.go + pkg/name/ref.go + pkg/name/ref_test.go + pkg/name/registry.go + pkg/name/registry_test.go + pkg/name/repository.go + pkg/name/repository_test.go + pkg/name/tag.go + pkg/name/tag_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/name/internal/* +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/registry/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/registry/blobs.go + pkg/registry/compatibility_test.go + pkg/registry/depcheck_test.go + pkg/registry/error.go + pkg/registry/manifest.go + pkg/registry/registry.go + pkg/registry/registry_test.go + pkg/registry/tls.go + pkg/registry/tls_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/daemon/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/daemon/doc.go + pkg/v1/daemon/image.go + pkg/v1/daemon/image_test.go + pkg/v1/daemon/options.go + pkg/v1/daemon/write.go + pkg/v1/daemon/write_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/empty/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/empty/doc.go + pkg/v1/empty/image.go + pkg/v1/empty/image_test.go + pkg/v1/empty/index.go + pkg/v1/empty/index_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/fake/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/google/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/google/auth.go + pkg/v1/google/auth_test.go + pkg/v1/google/doc.go + pkg/v1/google/keychain.go + pkg/v1/google/list.go + pkg/v1/google/list_test.go + pkg/v1/google/options.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/layout/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/layout/blob.go + pkg/v1/layout/doc.go + pkg/v1/layout/image.go + pkg/v1/layout/image_test.go + pkg/v1/layout/index.go + pkg/v1/layout/index_test.go + pkg/v1/layout/options.go + pkg/v1/layout/write.go + pkg/v1/layout/write_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/layout/layoutpath.go + pkg/v1/layout/read.go + pkg/v1/layout/read_test.go +Copyright: 2019, The original author or authors +License: Apache-2.0 + +Files: pkg/v1/mutate/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/mutate/doc.go + pkg/v1/mutate/image.go + pkg/v1/mutate/index.go + pkg/v1/mutate/index_test.go + pkg/v1/mutate/mutate.go + pkg/v1/mutate/mutate_test.go + pkg/v1/mutate/rebase.go + pkg/v1/mutate/rebase_test.go + pkg/v1/mutate/whiteout_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/partial/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/partial/compressed.go + pkg/v1/partial/compressed_test.go + pkg/v1/partial/configlayer_test.go + pkg/v1/partial/doc.go + pkg/v1/partial/image.go + pkg/v1/partial/index.go + pkg/v1/partial/index_test.go + pkg/v1/partial/uncompressed.go + pkg/v1/partial/uncompressed_test.go + pkg/v1/partial/with.go + pkg/v1/partial/with_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/remote/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/remote/catalog.go + pkg/v1/remote/catalog_test.go + pkg/v1/remote/check.go + pkg/v1/remote/check_e2e_test.go + pkg/v1/remote/check_test.go + pkg/v1/remote/delete.go + pkg/v1/remote/delete_test.go + pkg/v1/remote/descriptor.go + pkg/v1/remote/descriptor_test.go + pkg/v1/remote/doc.go + pkg/v1/remote/error_roundtrip_test.go + pkg/v1/remote/image.go + pkg/v1/remote/image_test.go + pkg/v1/remote/index.go + pkg/v1/remote/index_test.go + pkg/v1/remote/layer.go + pkg/v1/remote/layer_test.go + pkg/v1/remote/list.go + pkg/v1/remote/list_test.go + pkg/v1/remote/mount.go + pkg/v1/remote/mount_test.go + pkg/v1/remote/multi_write.go + pkg/v1/remote/multi_write_test.go + pkg/v1/remote/options.go + pkg/v1/remote/progress.go + pkg/v1/remote/progress_test.go + pkg/v1/remote/referrers.go + pkg/v1/remote/referrers_test.go + pkg/v1/remote/write.go + pkg/v1/remote/write_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/remote/transport/basic.go + pkg/v1/remote/transport/basic_test.go + pkg/v1/remote/transport/bearer.go + pkg/v1/remote/transport/bearer_test.go + pkg/v1/remote/transport/doc.go + pkg/v1/remote/transport/error.go + pkg/v1/remote/transport/error_test.go + pkg/v1/remote/transport/logger.go + pkg/v1/remote/transport/logger_test.go + pkg/v1/remote/transport/ping.go + pkg/v1/remote/transport/ping_test.go + pkg/v1/remote/transport/retry.go + pkg/v1/remote/transport/retry_test.go + pkg/v1/remote/transport/schemer.go + pkg/v1/remote/transport/scope.go + pkg/v1/remote/transport/transport.go + pkg/v1/remote/transport/transport_test.go + pkg/v1/remote/transport/useragent.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/stream/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/stream/layer.go + pkg/v1/stream/layer_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +Files: pkg/v1/tarball/* +Copyright: 2018, Google +License: Apache-2.0 + +Files: pkg/v1/tarball/doc.go + pkg/v1/tarball/image.go + pkg/v1/tarball/image_test.go + pkg/v1/tarball/layer.go + pkg/v1/tarball/layer_test.go + pkg/v1/tarball/progress_test.go + pkg/v1/tarball/write.go + pkg/v1/tarball/write_test.go +Copyright: 2018-2023, Google LLC +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +Comment: + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..3d450c2 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +debian-branch = debian/sid +dist = DEP14 diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000..594e14e --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,6 @@ +# auto-generated, DO NOT MODIFY. +# The authoritative copy of this file lives at: +# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go +--- +include: + - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b9fc7ae --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +# no CLI, k8s, require additional dependencies +export DH_GOLANG_EXCLUDES := go-containerregistry/cmd pkg/authn/k8schain pkg/authn/kubernetes + +%: + dh $@ --builddirectory=_build --buildsystem=golang --with=golang + +override_dh_auto_test: +# FIXME: investigate build failures in the google package + -dh_auto_test diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..84d5312 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/google/go-containerregistry/issues +Bug-Submit: https://github.com/google/go-containerregistry/issues/new +Repository: https://github.com/google/go-containerregistry.git +Repository-Browse: https://github.com/google/go-containerregistry diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..90178c4 --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,\ + uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/,\ + dversionmangle=s/\+ds\d*$//,repacksuffix=+ds1" \ + https://github.com/google/go-containerregistry/tags .*/v?(\d\S*)\.tar\.gz debian -- cgit v1.2.3