[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49149] [PATCH 0/7] Add deb format for guix pack.
From: |
Ludovic Courtès |
Subject: |
[bug#49149] [PATCH 0/7] Add deb format for guix pack. |
Date: |
Wed, 30 Jun 2021 12:13:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> Instead of just naming them by their pack type, add information from the
> package(s) they contain to make it easier to differentiate them.
>
> * guix/scripts/pack.scm (define-with-source): New macro.
> (manifest->friendly-name): Extract procedure from ...
> (docker-image): ... here, now defined via the above macro. Adjust REPOSITORY
> argument value accordingly.
> (guix-pack): Derive NAME using MANIFEST->FRIENDLY-NAME.
[...]
> - (define tag
> - ;; Compute a meaningful "repository" name, which will show up
> in
> - ;; the output of "docker images".
> - (let ((manifest (profile-manifest #$profile)))
> - (let loop ((names (map manifest-entry-name
> - (manifest-entries manifest))))
> - (define str (string-join names "-"))
> - (if (< (string-length str) 40)
> - str
> - (match names
> - ((_) str)
> - ((names ... _) (loop names))))))) ;drop one entry
I think this should not be factorized because the requirements are very
Docker-dependent. Once factorized, it becomes easy to overlook this.
Ludo’.
- [bug#49149] [PATCH 3/7] pack: Fix typo., (continued)
- [bug#49149] [PATCH 3/7] pack: Fix typo., Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH 4/7] pack: Improve naming of the packs store file names., Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH 4/7] pack: Improve naming of the packs store file names., Maxime Devos, 2021/06/21
- [bug#49149] [PATCH 4/7] pack: Improve naming of the packs store file names., Maxim Cournoyer, 2021/06/22
- [bug#49149] [PATCH 4/7] pack: Improve naming of the packs store file names., Maxime Devos, 2021/06/23
- [bug#49149] [PATCH v2 1/7] pack: Extract builder code from self-contained-tarball., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH v2 2/7] pack: Factorize base tar options., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH v2 3/7] pack: Fix typo., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH v2 4/7] pack: Improve naming of the packs store file names., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH 0/7] Add deb format for guix pack., Maxim Cournoyer, 2021/06/26
- [bug#49149] [PATCH 0/7] Add deb format for guix pack.,
Ludovic Courtès <=
- [bug#49149] [PATCH 0/7] Add deb format for guix pack., Maxim Cournoyer, 2021/06/30
- [bug#49149] [PATCH v2 6/7] tests: pack: Fix compressor extension., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH v2 7/7] pack: Add support for the deb format., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH v2 7/7] pack: Add support for the deb format., Maxime Devos, 2021/06/26
- bug#49149: [PATCH 0/7] Add deb format for guix pack., Maxim Cournoyer, 2021/06/29
- [bug#49149] [PATCH 0/7] Add deb format for guix pack., Ludovic Courtès, 2021/06/30
- [bug#49149] [PATCH v2 5/7] pack: Prevent duplicate files in tar archives., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH 4/7] pack: Improve naming of the packs store file names., Maxim Cournoyer, 2021/06/24
- [bug#49149] [PATCH 0/7] Add deb format for guix pack., Ludovic Courtès, 2021/06/23
[bug#49149] [PATCH 5/7] pack: Prevent duplicate files in tar archives., Maxim Cournoyer, 2021/06/21