unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40597] [PATCH] doc: Mention update-guix-package in guix-binary tarball, rebuild instructions.
@ 2020-04-13 12:34 Vincent Legoll
  2020-04-13 13:41 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent Legoll @ 2020-04-13 12:34 UTC (permalink / raw)
  To: 40597

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

Hello,

following the discussion in guix-devel, here is a small doc
addition to explain how binary-tarball modifications can
be built and then tested...

WDYT ?

-- 
Vincent Legoll


[-- Attachment #2: 0001-doc-Mention-update-guix-package-in-guix-binary-tarba.patch --]
[-- Type: text/x-patch, Size: 1441 bytes --]

From dd961656d9bd98d11ba5e38be89cd1952fefc263 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Mon, 13 Apr 2020 14:25:57 +0200
Subject: [PATCH] doc: Mention update-guix-package in guix-binary tarball
 rebuild instructions.

* doc/guix.texi (Binary Installation): Mention 'make update-guix-package'.
---
 doc/guix.texi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 891e2693f6..8bf4ef9b74 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -77,6 +77,7 @@ Copyright @copyright{} 2020 Jakub Kądziołka@*
 Copyright @copyright{} 2020 Jack Hill@*
 Copyright @copyright{} 2020 Naga Malleswari@*
 Copyright @copyright{} 2020 Brice Waegeneire@*
+Copyright @copyright{} 2020 Vincent Legoll@*
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -736,6 +737,16 @@ guix pack -s @var{system} --localstatedir \
 
 @xref{Invoking guix pack}, for more info on this handy tool.
 
+If you have local modifications you want to include in the resulting
+tarball, you have to run the following command in your modified Guix
+source tree before doing the above:
+
+@example
+make update-guix-package
+git commit -m'NOT_FOR_UPSTREAM:allow testing a modified guix-binary' \
+  gnu/packages/package-management.scm
+@end example
+
 @node Requirements
 @section Requirements
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#40597] [PATCH] doc: Mention update-guix-package in guix-binary tarball, rebuild instructions.
  2020-04-13 12:34 [bug#40597] [PATCH] doc: Mention update-guix-package in guix-binary tarball, rebuild instructions Vincent Legoll
@ 2020-04-13 13:41 ` Ludovic Courtès
  2020-04-13 13:43   ` Vincent Legoll
  2021-07-14  3:19   ` bug#40597: " Maxim Cournoyer
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-04-13 13:41 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: 40597

Hi Vincent,

Vincent Legoll <vincent.legoll@gmail.com> skribis:

>>From dd961656d9bd98d11ba5e38be89cd1952fefc263 Mon Sep 17 00:00:00 2001
> From: Vincent Legoll <vincent.legoll@gmail.com>
> Date: Mon, 13 Apr 2020 14:25:57 +0200
> Subject: [PATCH] doc: Mention update-guix-package in guix-binary tarball
>  rebuild instructions.
>
> * doc/guix.texi (Binary Installation): Mention 'make update-guix-package'.

I agree this needs to be documented, but I don’t think this is the right
place: “Binary Installation” is for users who want to install.  Instead,
we should document it in a section explicitly targeting Guix developers,
maybe under “Contributing”?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#40597] [PATCH] doc: Mention update-guix-package in guix-binary tarball, rebuild instructions.
  2020-04-13 13:41 ` Ludovic Courtès
@ 2020-04-13 13:43   ` Vincent Legoll
  2021-07-14  3:19   ` bug#40597: " Maxim Cournoyer
  1 sibling, 0 replies; 4+ messages in thread
From: Vincent Legoll @ 2020-04-13 13:43 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40597


On 13/04/2020 15:41, Ludovic Courtès wrote:
> Vincent Legoll <vincent.legoll@gmail.com> skribis:
>
>> * doc/guix.texi (Binary Installation): Mention 'make update-guix-package'.
> I agree this needs to be documented, but I don’t think this is the right
> place: “Binary Installation” is for users who want to install.  Instead,
> we should document it in a section explicitly targeting Guix developers,
> maybe under “Contributing”?

OK, I'll see what I can do.

-- 
Vincent Legoll

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40597: [PATCH] doc: Mention update-guix-package in guix-binary tarball, rebuild instructions.
  2020-04-13 13:41 ` Ludovic Courtès
  2020-04-13 13:43   ` Vincent Legoll
@ 2021-07-14  3:19   ` Maxim Cournoyer
  1 sibling, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2021-07-14  3:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Vincent Legoll, 40597-done

Hi Vincent and Ludovic,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Vincent,
>
> Vincent Legoll <vincent.legoll@gmail.com> skribis:
>
>>>>From dd961656d9bd98d11ba5e38be89cd1952fefc263 Mon Sep 17 00:00:00 2001
>> From: Vincent Legoll <vincent.legoll@gmail.com>
>> Date: Mon, 13 Apr 2020 14:25:57 +0200
>> Subject: [PATCH] doc: Mention update-guix-package in guix-binary tarball
>>  rebuild instructions.
>>
>> * doc/guix.texi (Binary Installation): Mention 'make update-guix-package'.
>
> I agree this needs to be documented, but I don’t think this is the right
> place: “Binary Installation” is for users who want to install.  Instead,
> we should document it in a section explicitly targeting Guix developers,
> maybe under “Contributing”?

A "Updating the Guix Package" subsection has since been added to the
Contributing section, which I believe covers this.

Thank you,

Closing.

Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-14  3:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 12:34 [bug#40597] [PATCH] doc: Mention update-guix-package in guix-binary tarball, rebuild instructions Vincent Legoll
2020-04-13 13:41 ` Ludovic Courtès
2020-04-13 13:43   ` Vincent Legoll
2021-07-14  3:19   ` bug#40597: " Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).