[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download.
From: |
Ludovic Courtès |
Subject: |
[bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download. |
Date: |
Fri, 08 Oct 2021 00:09:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New files.
> * Makefile.am (MODULES): Add them.
This looks OK, except it’s undocumented:
https://guix.gnu.org/manual/en/html_node/Build-Systems.html
I’d be in favor of reverting until we can see the doc.
Also, I would have suggested not adding new build systems on ‘master’:
they’ll have to be adjusted on ‘core-updates-frozen’, and I’d rather
distribute the workload on this and avoid merge issues.
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
Is Ricardo involved?
> + (for-each
> + (lambda (pkg)
> + (for-each
> + (lambda (dirname)
> + (let ((src-dir (string-append build-dir "/" pkg "/" dirname))
> + (dst-dir (string-append pkg-dir "/" dirname)))
> + (when (file-exists? src-dir)
> + (copy-recursively src-dir dst-dir #:follow-symlinks? #t))
> + (false-if-exception
> + (delete-file (string-append dst-dir "/.gitignore")))))
> + '("ebin" "include" "priv")))
Regarding the style, please avoid abbreviations: ‘source’, not
‘src-dir’, etc.
https://guix.gnu.org/manual/en/html_node/Formatting-Code.html
The root of a package directory should follow the usual layout: bin,
sbin, share, lib, libexec. I think we should not have “ebin” and
“priv”, unless there’s a very good justification.
Thanks,
Ludo’.
- [bug#42180] [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system., (continued)
- [bug#42180] [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system., Maxime Devos, 2021/10/06
- [bug#42180] [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system., Hartmut Goebel, 2021/10/06
- [bug#42180] [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system., Maxime Devos, 2021/10/06
- [bug#42180] [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system., Hartmut Goebel, 2021/10/06
- [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system., Maxime Devos, 2021/10/06
- [bug#42180] [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system., Hartmut Goebel, 2021/10/07
- [bug#51061] [PATCH v2 01/23] guix: Add extracting-download., Ludovic Courtès, 2021/10/07
- [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download., Hartmut Goebel, 2021/10/08
- [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download., Ludovic Courtès, 2021/10/09
- [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download., Hartmut Goebel, 2021/10/08
[bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download.,
Ludovic Courtès <=
[bug#42180] [PATCH v2 04/23] gnu: Add erlang-cf., Hartmut Goebel, 2021/10/06
[bug#42180] [PATCH v2 08/23] gnu: Add erlang-bbmustache., Hartmut Goebel, 2021/10/06
[bug#42180] [PATCH v2 05/23] gnu: Add erlang-certifi., Hartmut Goebel, 2021/10/06
[bug#42180] [PATCH v2 09/23] gnu: Add erlang-getopt., Hartmut Goebel, 2021/10/06
[bug#42180] [PATCH v2 06/23] gnu: Add erlang-erlware-commons., Hartmut Goebel, 2021/10/06
[bug#42180] [PATCH v2 07/23] gnu: Add erlang-cth-readable., Hartmut Goebel, 2021/10/06
[bug#51061] [PATCH v2 12/23] gnu: Add erlang-parse-trans., Hartmut Goebel, 2021/10/06
[bug#51061] [PATCH v2 15/23] gnu: Add erlang-relx., Hartmut Goebel, 2021/10/06
[bug#51061] [PATCH v2 10/23] gnu: Add erlang-eunit-formatters., Hartmut Goebel, 2021/10/06
[bug#51061] [PATCH v2 17/23] gnu: Add erlang-edown., Hartmut Goebel, 2021/10/06