<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/upstream.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-03-27T13:59:42Z</updated>
<entry>
<title>refresh: Update the source code URL.</title>
<updated>2019-03-27T13:59:42Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-27T13:56:23Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=42314ffa072f31cc1cb44df38b1f8fcca19d9d3c'/>
<id>urn:sha1:42314ffa072f31cc1cb44df38b1f8fcca19d9d3c</id>
<content type='text'>
Reported by Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
in &lt;https://bugs.gnu.org/35010&gt;.

* guix/upstream.scm (update-package-source): Take 'source' instead of
'version' as the second argument.
[update-expression]: Change to take 'replacements', a list of
replacement pairs.
Compute OLD-URL and NEW-URL and replace the dirname of the OLD-URL with
that of NEW-URL.
* guix/scripts/refresh.scm (update-package): Adjust call to
'update-package-source' accordingly.
</content>
</entry>
<entry>
<title>upstream: 'package-update' returns the &lt;upstream-source&gt; object.</title>
<updated>2019-03-27T13:59:41Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-27T13:42:07Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2'/>
<id>urn:sha1:1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2</id>
<content type='text'>
Fixes a regression introduced in
abd4d6b33dba4de228e90ad15a8efb456fcf7b6e, where CHANGES would no longer
be a thunk.

Reported by Ricardo Wurmus.

* guix/upstream.scm (package-update/url-fetch): Return SOURCE as the
third value instead of CHANGES.
* guix/scripts/refresh.scm (update-package): Adjust accordingly.
</content>
</entry>
<entry>
<title>upstream: Correctly report failure to update Git checkouts.</title>
<updated>2019-03-08T22:21:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-08T22:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=0bd1498fc40820be35125cc0a62482d015b58e9b'/>
<id>urn:sha1:0bd1498fc40820be35125cc0a62482d015b58e9b</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/34778&gt;.
Reported by Gábor Boskovits &lt;boskovits@gmail.com&gt;.

* guix/upstream.scm (package-update/url-fetch): New procedure, with code
formerly in 'package-update'.
(%method-updates): New variable.
(package-update): Check the method to download PACKAGE's source, and
look up a corresponding update method in %METHOD-UPDATES, and raise an
error if none was found.
</content>
</entry>
<entry>
<title>refresh: Suggest input changes when updating.</title>
<updated>2019-01-12T22:35:11Z</updated>
<author>
<name>Ricardo Wurmus</name>
<email>rekado@elephly.net</email>
</author>
<published>2019-01-11T08:26:44Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7e634c2f530767c63d0c5773b5aad2351034ede4'/>
<id>urn:sha1:7e634c2f530767c63d0c5773b5aad2351034ede4</id>
<content type='text'>
* guix/upstream.scm (&lt;upstream-source&gt;)[input-changes]: New field.
(&lt;upstream-input-change&gt;): New record.
(upstream-input-change?, upstream-input-change-name,
upstream-input-change-type, upstream-input-change-action, changed-inputs): New
procedures.
(package-update): Pass along input changes.
* guix/script/refresh.scm (update-package): Process input changes.
</content>
</entry>
<entry>
<title>discovery: Remove dependency on (guix ui).</title>
<updated>2018-04-08T15:48:33Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-26T21:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3c0128b035ae00462f1b0a4427d9525d750e5575'/>
<id>urn:sha1:3c0128b035ae00462f1b0a4427d9525d750e5575</id>
<content type='text'>
This reduces the closure of (guix discovery) from 28 to 8 modules.

* guix/discovery.scm (scheme-files): Use 'format' instead of 'warning'.
(scheme-modules): Add #:warn parameter.  Use it instead of
'warn-about-load-error'.
(fold-modules): Add #:warn and pass it to 'scheme-modules'.
(all-modules): Likewise.
* gnu/bootloader.scm (bootloader-modules): Pass #:warn to 'all-modules'.
* gnu/packages.scm (fold-packages): Likewise.
* gnu/services.scm (all-service-modules): Likewise.
* guix/upstream.scm (importer-modules): Likewise.
</content>
</entry>
<entry>
<title>upstream: Reject bogus archive type guesses.</title>
<updated>2017-12-19T17:16:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2017-12-19T16:57:15Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=618f0582b49edb0a5f633c953b00fc93d03c077a'/>
<id>urn:sha1:618f0582b49edb0a5f633c953b00fc93d03c077a</id>
<content type='text'>
This would crash 'guix refresh -u' with source URLs ending in
"…/v1.2.3".

* guix/upstream.scm (package-update): Be stricter when determining
ARCHIVE-TYPE.
</content>
</entry>
<entry>
<title>guix: lint: Add checker for new upstream versions.</title>
<updated>2017-10-09T11:05:17Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2017-07-06T06:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=adf0c531a845fb03c92e1f28e26e5c31adb95e4a'/>
<id>urn:sha1:adf0c531a845fb03c92e1f28e26e5c31adb95e4a</id>
<content type='text'>
* guix/scripts/lint.scm (check-for-updates): New procedure.
(%checkers): Add it.
* guix/scripts/refresh.scm (importer-modules, %updaters): Move
from here ...
* guix/upstream.scm: ... to here.
</content>
</entry>
<entry>
<title>upstream: Add 'url-prefix-predicate'.</title>
<updated>2017-09-25T22:35:06Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-09-25T15:34:26Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=97abc90733270c4be5ce1f51e5e757d43787950b'/>
<id>urn:sha1:97abc90733270c4be5ce1f51e5e757d43787950b</id>
<content type='text'>
* guix/gnu-maintenance.scm (url-prefix-predicate): Move to...
* guix/upstream.scm (url-prefix-predicate): ... here.
</content>
</entry>
<entry>
<title>ui: Rename '_' to 'G_'.</title>
<updated>2017-05-03T14:16:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-03T13:57:02Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=69daee23af49aeafcb1d250c90860f9253da719e'/>
<id>urn:sha1:69daee23af49aeafcb1d250c90860f9253da719e</id>
<content type='text'>
This avoids collisions with '_' when the latter is used as a 'match'
pattern for instance.  See
&lt;https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html&gt;.

* guix/ui.scm: Rename '_' to 'G_'.
* po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* build-aux/compile-all.scm (warnings): Remove 'format'.
* gnu/packages.scm,
gnu/services.scm,
gnu/services/shepherd.scm,
gnu/system.scm,
gnu/system/shadow.scm,
guix/gnupg.scm,
guix/http-client.scm,
guix/import/cpan.scm,
guix/import/elpa.scm,
guix/import/pypi.scm,
guix/nar.scm,
guix/scripts.scm,
guix/scripts/archive.scm,
guix/scripts/authenticate.scm,
guix/scripts/build.scm,
guix/scripts/challenge.scm,
guix/scripts/container.scm,
guix/scripts/container/exec.scm,
guix/scripts/copy.scm,
guix/scripts/download.scm,
guix/scripts/edit.scm,
guix/scripts/environment.scm,
guix/scripts/gc.scm,
guix/scripts/graph.scm,
guix/scripts/hash.scm,
guix/scripts/import.scm,
guix/scripts/import/cpan.scm,
guix/scripts/import/cran.scm,
guix/scripts/import/crate.scm,
guix/scripts/import/elpa.scm,
guix/scripts/import/gem.scm,
guix/scripts/import/gnu.scm,
guix/scripts/import/hackage.scm,
guix/scripts/import/nix.scm,
guix/scripts/import/pypi.scm,
guix/scripts/import/stackage.scm,
guix/scripts/lint.scm,
guix/scripts/offload.scm,
guix/scripts/pack.scm,
guix/scripts/package.scm,
guix/scripts/perform-download.scm,
guix/scripts/publish.scm,
guix/scripts/pull.scm,
guix/scripts/refresh.scm,
guix/scripts/size.scm,
guix/scripts/substitute.scm,
guix/scripts/system.scm,
guix/ssh.scm,
guix/upstream.scm: Use 'G_' instead of '_'.  Most of this change was
obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
</content>
</entry>
<entry>
<title>upstream: Avoid '_' as a pattern variable in 'match'.</title>
<updated>2017-03-14T10:19:21Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-03-14T10:19:21Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3b2dc9edcda19666623cc62dc3df2235b797f1b9'/>
<id>urn:sha1:3b2dc9edcda19666623cc62dc3df2235b797f1b9</id>
<content type='text'>
* guix/upstream.scm (lookup-updater): Don't use '_' as a pattern
variable.
</content>
</entry>
</feed>
