all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] doc: Add footnote about pointing ~/.config/guix/latest at user's checkout
Date: Fri, 11 Mar 2016 14:41:01 +0100	[thread overview]
Message-ID: <idj7fh9w2s2.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <87egbi1aoh.fsf@dustycloud.org>


Christopher Allan Webber <cwebber@dustycloud.org> writes:

> Ricardo Wurmus writes:
>
>> You can create a link “~/.config/guix/latest” pointing to, say,
>> “~/dev/guix” (if that’s the directory holding the cloned repository).
>>
>> When you update with “git pull” you’ll only have to download recent
>> changes, not the whole Guix code.
>
> This is a nice feature that few people know about.  I figured it might
> be nice to document it.  Here's a patch that attempts to do so!

> From 96a7b39ae17f5628bdebec95630af722e1b11561 Mon Sep 17 00:00:00 2001
> From: Christopher Allan Webber <cwebber@dustycloud.org>
> Date: Thu, 10 Mar 2016 09:52:18 -0800
> Subject: [PATCH] doc: Add footnote about pointing ~/.config/guix/latest at
>  user's checkout

> * doc/contributing.texi (Running Guix Before It Is Installed): New footnote.
> ---
>  doc/contributing.texi | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

> diff --git a/doc/contributing.texi b/doc/contributing.texi
> index 3dbd3db..2e13ee3 100644
> --- a/doc/contributing.texi
> +++ b/doc/contributing.texi
> @@ -140,7 +140,13 @@ necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}.
>  Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the
>  local source tree; it simply updates the @file{~/.config/guix/latest}
>  symlink (@pxref{Invoking guix pull}).  Run @command{git pull} instead if
> -you want to upgrade your local source tree.
> +you want to upgrade your local source tree.@footnote{If you would like
> +to set up @command{guix} to use your git checkout, you can point the
> +@file{~/.config/guix/latest} symlink to your git checkout directory.
> +If you are the sole user of your system, you may also consider pointing
> +the @file{/root/.config/guix/latest} symlink to point to
> +@file{~/.config/guix/latest}; this way it will always use the same
> +@command{guix} your user does.}

In the last sentence, do you miss an “as”?

  “this way it will always use the same @command{guix} [as] your user
  does.”

Otherwise looks good to me.  Thanks!

~~ Ricardo

  reply	other threads:[~2016-03-11 13:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 11:31 Malconnected machines & guix pull Marco van Zwetselaar
2016-03-10 15:44 ` Ricardo Wurmus
2016-03-10 17:04   ` Pjotr Prins
2016-03-11 13:39     ` Ricardo Wurmus
2016-03-10 17:53   ` [PATCH] doc: Add footnote about pointing ~/.config/guix/latest at user's checkout Christopher Allan Webber
2016-03-11 13:41     ` Ricardo Wurmus [this message]
2016-03-11 16:42       ` Christopher Allan Webber
2016-03-11 14:40     ` Ludovic Courtès
2016-03-23  8:52   ` Malconnected machines & guix pull Marco van Zwetselaar
2016-03-23 11:06     ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=idj7fh9w2s2.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=cwebber@dustycloud.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.