GNU bug report logs -
#31766
[PATCH 3/3] gnu: Add skopeo.
Previous Next
Reported by: 宋文武 <iyzsong <at> member.fsf.org>
Date: Sat, 9 Jun 2018 11:23:01 UTC
Severity: normal
Tags: patch
Done: iyzsong <at> member.fsf.org (宋文武)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31766 in the body.
You can then email your comments to 31766 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#31766
; Package
guix-patches
.
(Sat, 09 Jun 2018 11:23:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
宋文武 <iyzsong <at> member.fsf.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 09 Jun 2018 11:23:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/virtualization.scm (skopeo): New variable.
---
gnu/packages/virtualization.scm | 65 +++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index d5be45b1e..0861037df 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -45,6 +45,7 @@
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
@@ -52,6 +53,7 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
+ #:use-module (gnu packages package-management)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
@@ -71,6 +73,7 @@
#:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module ((guix licenses) #:select (gpl2 gpl2+ gpl3+ lgpl2.1 lgpl2.1+
asl2.0))
#:use-module (guix packages)
@@ -909,3 +912,65 @@ Open Container Initiative specification.")
"@command{umoci} is a tool that allows for high-level modification of an
OCI image layout and its tagged images.")
(license asl2.0)))
+
+(define-public skopeo
+ (package
+ (name "skopeo")
+ (version "0.1.28")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/projectatomic/skopeo")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "068nwrr3nr27alravcq1sxyhdd5jjr24213vdgn1dqva3885gbi0"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("btrfs-progs" ,btrfs-progs)
+ ("eudev" ,eudev)
+ ("libassuan" ,libassuan)
+ ("libselinux" ,libselinux)
+ ("libostree" ,libostree)
+ ("lvm2" ,lvm2)
+ ("glib" ,glib)
+ ("gpgme" ,gpgme)))
+ (arguments
+ '(#:import-path "github.com/projectatomic/skopeo"
+ #:install-source? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key import-path #:allow-other-keys)
+ (chdir (string-append "src/" import-path))
+ ;; TODO: build manpages with 'go-md2man'.
+ (invoke "make" "binary-local")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (invoke "make" "install-binary" "install-completions"
+ (string-append "PREFIX=" out))))))))
+ (home-page "https://github.com/projectatomic/skopeo")
+ (synopsis "Interact with container images and container image registries")
+ (description
+ "@command{skopeo} is a command line utility providing various operations
+with container images and container image registries. It can:
+@enumerate
+
+@item Copy container images between various containers image stores,
+converting them as necessary.
+
+@item Convert a Docker schema 2 or schema 1 container image to an OCI image.
+
+@item Inspect a repository on a container registry without needlessly pulling
+the image.
+
+@item Sign and verify container images.
+
+@item Delete container images from a remote container registry.
+
+@end enumerate")
+ (license asl2.0)))
--
2.17.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31766
; Package
guix-patches
.
(Mon, 11 Jun 2018 12:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 31766 <at> debbugs.gnu.org (full text, mbox):
宋文武 <iyzsong <at> member.fsf.org> skribis:
> * gnu/packages/virtualization.scm (skopeo): New variable.
LGTM, thanks!
Ludo'.
Reply sent
to
iyzsong <at> member.fsf.org (宋文武)
:
You have taken responsibility.
(Tue, 12 Jun 2018 11:37:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
宋文武 <iyzsong <at> member.fsf.org>
:
bug acknowledged by developer.
(Tue, 12 Jun 2018 11:37:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 31766-done <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) writes:
> 宋文武 <iyzsong <at> member.fsf.org> skribis:
>
>> * gnu/packages/virtualization.scm (skopeo): New variable.
>
> LGTM, thanks!
Pushed, thank you!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 11 Jul 2018 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.