<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts.scm, branch merge-deploy</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=merge-deploy</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=merge-deploy'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-04-10T15:09:47Z</updated>
<entry>
<title>scripts: GC hint suggests 'guix gc -d 1m'.</title>
<updated>2019-04-10T15:09:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-06T21:19:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9c074f61ef1883ae01fcb9daa0c199c46b1ea584'/>
<id>urn:sha1:9c074f61ef1883ae01fcb9daa0c199c46b1ea584</id>
<content type='text'>
* guix/scripts.scm (warn-about-disk-space): Suggest 'guix gc -d'.
</content>
</entry>
<entry>
<title>scripts: Skip 'guix pull' suggestion when running code from a checkout.</title>
<updated>2019-03-27T10:54:06Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-27T10:52:47Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9e5f2060ad9204def8d1eb249f053f1fd0bbf212'/>
<id>urn:sha1:9e5f2060ad9204def8d1eb249f053f1fd0bbf212</id>
<content type='text'>
* guix/scripts.scm (warn-about-old-distro): Do not warn when
GUIX_UNINSTALLED is set.
</content>
</entry>
<entry>
<title>scripts: 'warn-about-old-distro' looks at the age of the running Guix.</title>
<updated>2019-03-17T21:55:01Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-17T16:02:15Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=55da450a1fc9969d9e791d7d94da90df3aa284db'/>
<id>urn:sha1:55da450a1fc9969d9e791d7d94da90df3aa284db</id>
<content type='text'>
This fixes a discrepancy that could be seen when running:

  sudo guix system …

where 'guix' would warn about the age of root's Guix, even though the
running Guix is the user's, not root's.

* guix/scripts.scm (warn-about-old-distro)[false-if-not-found]: Remove.
Obtain the profile date by calling 'current-profile-date' instead of
stat'ing "current-guix".
</content>
</entry>
<entry>
<title>scripts: Suggest running 'guix gc' when we're short on disk space.</title>
<updated>2018-10-22T23:04:39Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-22T22:56:25Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=62a14bd26f2ed7cf416183528dcca4b1b29aaf0a'/>
<id>urn:sha1:62a14bd26f2ed7cf416183528dcca4b1b29aaf0a</id>
<content type='text'>
* guix/scripts.scm (%disk-space-warning): New variable.
(warn-about-disk-space): New procedure.
* guix/scripts/package.scm (build-and-use-profile): Use it.
* guix/scripts/system.scm (process-action): Likewise.
</content>
</entry>
<entry>
<title>pull: Turn ~/.config/guix/current into a symlink to /var/guix/profiles.</title>
<updated>2018-10-11T16:29:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-09T09:51:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=795d430d90e41eb172315bfccf79c9f13fc0ebfa'/>
<id>urn:sha1:795d430d90e41eb172315bfccf79c9f13fc0ebfa</id>
<content type='text'>
This is more consistent with what 'guix package' does, more pleasant for
users (we no longer clobber ~/.config/guix), and more
cluster-friendly (since /var/guix/profiles is usually an NFS share
already.)

* guix/scripts/pull.scm (%current-profile, %user-profile-directory): New
variables.
(migrate-generations, ensure-default-profile): New procedures.
(guix-pull): Use %CURRENT-PROFILE by default.  Call
'ensure-default-profile'.
* doc/guix.texi (Invoking guix pull): Adjust 'guix package -p
~/.config/guix/current' example.
* guix/scripts.scm (warn-about-old-distro): Check %PROFILE-DIRECTORY
"/current-guix".
</content>
</entry>
<entry>
<title>pull: Install the new Guix in a profile.</title>
<updated>2018-06-09T10:02:27Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-30T15:50:21Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=75e24d7b0e19ab2164aecb340e82d07d2b9714e7'/>
<id>urn:sha1:75e24d7b0e19ab2164aecb340e82d07d2b9714e7</id>
<content type='text'>
* guix/scripts/pull.scm (%pull-version): New variable.
(build-from-source): Pass #:pull-version to BUILD.
(whole-package-for-legacy, derivation-&gt;manifest-entry): New procedure.
(build-and-install): Rewrite in terms of 'build-and-use-profile'.
* guix/scripts/system.scm (maybe-suggest-running-guix-pull)[latest]:
Switch to "/current".
* scripts/guix.in (augment-load-paths!): Remove use of
~/.config/guix/latest.
* build-aux/compile-as-derivation.scm: Replace "/guix/latest/" with
"/current/share/guile/site/X.Y"
* guix/scripts.scm (warn-about-old-distro)[age]: Check "/current"
instead of "/latest".
* doc/guix.texi (Invoking guix pull): Document it.
* doc/contributing.texi (Running Guix Before It Is Installed): Remove
footnote about abusing ~/.config/guix/latest.
</content>
</entry>
<entry>
<title>scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'.</title>
<updated>2017-10-28T07:45:53Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-27T20:28:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a1ff7e1d8dfb86ae1817d4e0db4ddeebd2083e83'/>
<id>urn:sha1:a1ff7e1d8dfb86ae1817d4e0db4ddeebd2083e83</id>
<content type='text'>
* guix/scripts.scm (parse-command-line): Add #:build-options? parameter
and honor it.
* guix/scripts/challenge.scm (guix-challenge): Use 'parse-command-line'
with #:build-options? #f instead of 'args-fold*'.
* guix/scripts/gc.scm (guix-gc): Likewise.
* guix/scripts/graph.scm (guix-graph): Likewise.
* guix/scripts/hash.scm (guix-hash): Likewise.
* guix/scripts/lint.scm (guix-lint): Likewise.
* guix/scripts/refresh.scm (guix-refresh): Likewise.
* guix/scripts/size.scm (guix-size): Likewise.
* guix/scripts/weather.scm (guix-weather): Likewise.
</content>
</entry>
<entry>
<title>scripts: Do not create the config directory.</title>
<updated>2017-05-12T22:03:46Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-12T20:39:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=e06ca952ed150c50109b1a29cd0e3645a80023a2'/>
<id>urn:sha1:e06ca952ed150c50109b1a29cd0e3645a80023a2</id>
<content type='text'>
This fixes runs of 'guix package' and 'guix system' tests in
environments where $HOME is read-only.

* guix/ui.scm (config-directory): Add #:ensure? parameter and honor it.
* guix/scripts.scm (warn-about-old-distro): Pass #:ensure? #f to
'config-directory'.
</content>
</entry>
<entry>
<title>scripts: Fix singular/plural message mismatch.</title>
<updated>2017-05-10T21:38:04Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-10T21:28:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=bc0e6c9312f5f755e1ccd7d8c43b58974e6f7d38'/>
<id>urn:sha1:bc0e6c9312f5f755e1ccd7d8c43b58974e6f7d38</id>
<content type='text'>
* guix/scripts.scm (warn-about-old-distro): Swap singular and plural
forms in 'N_' call.
</content>
</entry>
<entry>
<title>scripts: Warn about old distro.</title>
<updated>2017-05-10T20:09:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-10T13:25:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=7fd952e05203d975fcb6cdabd2f742ade1b31b66'/>
<id>urn:sha1:7fd952e05203d975fcb6cdabd2f742ade1b31b66</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/25852&gt;.
Suggested by Mark H Weaver &lt;mhw@netris.org&gt;.

* guix/scripts.scm (%distro-age-warning): New variable.
(warn-about-old-distro): New procedure.
* guix/scripts/package.scm (process-actions): Call
'warn-about-old-distro'.
* guix/scripts/system.scm (process-action): Likewise.
</content>
</entry>
</feed>
