<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts/refresh.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>refresh: Better account for private and generated packages.</title>
<updated>2019-01-25T13:06:37Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-25T11:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=af77219e8a59c9d04cda349b26b7f30ea5cf3ab1'/>
<id>urn:sha1:af77219e8a59c9d04cda349b26b7f30ea5cf3ab1</id>
<content type='text'>
Until now, private and generated packages (e.g., those created by
'texlive-union') we missing from the list passed to 'node-back-edges',
which would lead to inaccurate dependent counts.

Previously we'd get:

  $ guix refresh -l texlive-fonts-cm
  Building the following 80 packages would ensure 116 dependent packages
  are rebuilt: …

Now we have:

  $ Building the following 240 packages would ensure 597 dependent
  packages are rebuilt: …

* guix/scripts/refresh.scm (list-dependents): Call 'package-closure'.
</content>
</entry>
<entry>
<title>refresh: Fix format string that would lead '-l' to print incorrect numbers.</title>
<updated>2019-01-25T13:06:37Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-25T10:09:31Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=4d6ce0f12cf3724b89876f4e911fc84f344c4215'/>
<id>urn:sha1:4d6ce0f12cf3724b89876f4e911fc84f344c4215</id>
<content type='text'>
The skip "~*" argument was misplaced, leading the number of dependents
to be skipped (instead of the number of covering packages.)  Thus, we'd
get:

  $ guix refresh -l ocaml4.02-ppx-deriving@4.1
  Building the following package would ensure 1 dependent packages are rebuilt: bap@1.3.0

instead of:

  Building the following package would ensure 26 dependent packages are rebuilt: bap@1.3.0

* guix/scripts/refresh.scm (list-dependents): Move "~*" in the right
place, to skip (length covering) rather than (length dependents).
</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>refresh: Turn on warnings when '--manifest' is used.</title>
<updated>2019-01-11T11:14:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-11T10:49:03Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=7489207ff788d6f4a9c2b9aec87c9835753dfd2f'/>
<id>urn:sha1:7489207ff788d6f4a9c2b9aec87c9835753dfd2f</id>
<content type='text'>
* guix/scripts/refresh.scm (guix-refresh): Set WARN? when '-m' is used.
</content>
</entry>
<entry>
<title>refresh: Refactor option handling and '--recursive'.</title>
<updated>2019-01-11T11:14:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-11T10:44:26Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=fca43e14f70c0536668981eb1aed9e46a42de935'/>
<id>urn:sha1:fca43e14f70c0536668981eb1aed9e46a42de935</id>
<content type='text'>
This allows us to combine '--recursive' with other options (-u, -m,
etc.), turns off warnings when '--recursive' is used, and avoids the
hazards of I/O in the presence of multithreading.

* guix/scripts/refresh.scm (options-&gt;packages): New procedure, with code
formerly in 'guix-refresh'.
(refresh-recursive): Remove.
(guix-refresh)[keep-newest, core-package?, args-packages, packages]:
Remove.
[warn?]: Set to #f when RECURSIVE? is true.
Call 'options-&gt;packages' in monadic context.
</content>
</entry>
<entry>
<title>scripts: refresh: Allow searching recursively.</title>
<updated>2018-12-24T10:19:17Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2018-12-19T20:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=c39491829a0c1d870f8133b8f7a699152fc71503'/>
<id>urn:sha1:c39491829a0c1d870f8133b8f7a699152fc71503</id>
<content type='text'>
* guix/scripts/refresh.scm (refresh-recursive, list-transitive): New
procedures.
(show-help): Document it.
(guix-refresh): Add flags and checks for new options.
* doc/guix.texi (Invoking guix refresh): Document new options.
</content>
</entry>
<entry>
<title>refresh: Account for overlapping updater coverage.</title>
<updated>2018-12-11T01:59:01Z</updated>
<author>
<name>Eric Bavier</name>
<email>bavier@member.fsf.org</email>
</author>
<published>2018-11-28T01:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=cba7ddcf603455c6692eb50c8bbf203a6bf17ab1'/>
<id>urn:sha1:cba7ddcf603455c6692eb50c8bbf203a6bf17ab1</id>
<content type='text'>
* guix/scripts/refresh.scm (list-updaters-and-exit): Do not assume updater
predicates are disjoint.  Track covered packages directly.
</content>
</entry>
<entry>
<title>refresh: '--list-dependents' ignores deprecated packages.</title>
<updated>2018-12-04T09:57:56Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-12-04T09:34:03Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=9300e2e893a5c04c7775a13e1dab0943c18d1faf'/>
<id>urn:sha1:9300e2e893a5c04c7775a13e1dab0943c18d1faf</id>
<content type='text'>
* guix/scripts/refresh.scm (all-packages): Filter out deprecated packages.
</content>
</entry>
</feed>
