<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts/lint.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-04-18T15:43:56Z</updated>
<entry>
<title>lint: 'check-github-url' uses our own 'open-connection-for-uri'.</title>
<updated>2019-04-18T15:43:56Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-18T08:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=702c3c7dab87df674c3d6abc138805895b5d1d32'/>
<id>urn:sha1:702c3c7dab87df674c3d6abc138805895b5d1d32</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35053&gt;.
Reported by Efraim Flashner &lt;efraim@flashner.co.il&gt;.

Previously 'check-github-url' would let Guile 2.2's (web client) module
take care of opening the connection.  Consequently, it wouldn't use the
TLS priority strings that we use in (guix build download),
'open-connection-for-uri'.  In particular, it would not disable TLSv1.3,
which would trigger &lt;https://bugs.gnu.org/34102&gt; for github.com.

* guix/scripts/lint.scm (check-github-url): Add #:timeout parameter.
[follow-redirect]: Change parameter name to 'url' and pass it to
'string-&gt;uri'.  Call 'guix:open-connection-for-uri' to open the
connection and pass it to 'http-head' via #:port.
</content>
</entry>
<entry>
<title>store: Rename '&amp;nix-error' to '&amp;store-error'.</title>
<updated>2019-01-21T22:09:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-21T16:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=f9e8a12379c6fefc9e5c3c7fc3926599bbefc013'/>
<id>urn:sha1:f9e8a12379c6fefc9e5c3c7fc3926599bbefc013</id>
<content type='text'>
* guix/store.scm (&amp;nix-error): Rename to...
(&amp;store-error): ... this, and adjust users.
(&amp;nix-connection-error): Rename to...
(&amp;store-connection-error): ... this, and adjust users.
(&amp;nix-protocol-error): Rename to...
(&amp;store-protocol-error): ... this, adjust users.
(&amp;nix-error, &amp;nix-connection-error, &amp;nix-protocol-error): Define these
condition types and their getters as deprecrated aliases.
* build-aux/run-system-tests.scm, guix/derivations.scm,
guix/grafts.scm, guix/scripts/challenge.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/offload.scm, guix/serialization.scm,
guix/ssh.scm, guix/tests.scm, guix/ui.scm,
tests/derivations.scm, tests/gexp.scm, tests/guix-daemon.sh,
tests/packages.scm, tests/store.scm, doc/guix.texi: Adjust to use the
new names.
</content>
</entry>
<entry>
<title>lint: check-source-unstable-tarball: Don't assume uri length.</title>
<updated>2019-01-20T09:43:28Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2019-01-20T09:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=4e1f9a2f2c242a06221693550b1227b41bb4bd90'/>
<id>urn:sha1:4e1f9a2f2c242a06221693550b1227b41bb4bd90</id>
<content type='text'>
* guix/scripts/lint.scm (check-source-unstable-tarball): Replace third
with code to make sure there are enough elements to check.
</content>
</entry>
<entry>
<title>guix: lint: Warn only if GitHub URI is not same as the package URI.</title>
<updated>2019-01-10T10:09:35Z</updated>
<author>
<name>Arun Isaac</name>
<email>arunisaac@systemreboot.net</email>
</author>
<published>2019-01-07T17:41:58Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=40fa21c22e1d11b741515fd38f5204a5fa57fbaa'/>
<id>urn:sha1:40fa21c22e1d11b741515fd38f5204a5fa57fbaa</id>
<content type='text'>
* guix/scripts/lint.scm (check-github-url): Warn only if the GitHub URI
obtained after following redirects is not same as the original URI.
* tests/lint.scm ("github-url: already the correct github url"): New test.
</content>
</entry>
<entry>
<title>lint: Avoid 'dirname' call at the top level.</title>
<updated>2019-01-07T13:41:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-07T12:55:32Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=54ddb6a154082ecd41d50236d49a267697ff0f4e'/>
<id>urn:sha1:54ddb6a154082ecd41d50236d49a267697ff0f4e</id>
<content type='text'>
* guix/scripts/lint.scm (%distro-directory): Wrap in 'mlambda'.
(check-patch-file-names): Adjust accordingly.
</content>
</entry>
<entry>
<title>lint: Rename checker to 'github-url'.</title>
<updated>2019-01-05T23:22:05Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-05T23:21:14Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=012bf5c4c03e30633f137960bd0677e204c638a7'/>
<id>urn:sha1:012bf5c4c03e30633f137960bd0677e204c638a7</id>
<content type='text'>
* guix/scripts/lint.scm (%checkers): Rename 'github-uri' to 'github-url'
to match the documentation.
</content>
</entry>
<entry>
<title>lint: Check for unstable tarballs.</title>
<updated>2018-12-27T12:55:54Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2018-12-25T14:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=c180017b6f7e9b6d23238c1fbaac986c435cd35e'/>
<id>urn:sha1:c180017b6f7e9b6d23238c1fbaac986c435cd35e</id>
<content type='text'>
* guix/scripts/lint.scm (check-source-unstable-tarball): New procedure.
(%checkers): Add it.
* tests/lint.scm ("source-unstable-tarball", "source-unstable-tarball:
source #f", "source-unstable-tarball: valid", "source-unstable-tarball:
package named archive", "source-unstable-tarball: not-github",
"source-unstable-tarball: git-fetch"): New tests.
* doc/guix.texi (Invoking guix lint): Document it.
</content>
</entry>
<entry>
<title>guix: lint: Check for source URIs redirecting to GitHub.</title>
<updated>2018-12-24T02:45:17Z</updated>
<author>
<name>Arun Isaac</name>
<email>arunisaac@systemreboot.net</email>
</author>
<published>2018-12-21T12:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=0865d8a8f6c229fef5bcba647cc7b37c2f3d3dae'/>
<id>urn:sha1:0865d8a8f6c229fef5bcba647cc7b37c2f3d3dae</id>
<content type='text'>
* guix/scripts/lint.scm (check-github-uri): New procedure.
(%checkers): Add it.
* doc/guix.texi (Invoking guix lint): Document it.
* tests/lint.scm ("github-url", "github-url: one suggestion"): New tests.
</content>
</entry>
<entry>
<title>lint: 'check-derivation' fully disables grafts.</title>
<updated>2018-11-20T17:36:05Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-20T17:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=40bbcaa65d90a8c869d9732af26cb6ceb8e81ca8'/>
<id>urn:sha1:40bbcaa65d90a8c869d9732af26cb6ceb8e81ca8</id>
<content type='text'>
Previously grafting could take place indirectly, for instance when
lowering origins.

* guix/scripts/lint.scm (check-derivation)[try]: Parameterize
'%graft?'.
</content>
</entry>
<entry>
<title>lint: 'check-derivation' tries all the package's supported systems.</title>
<updated>2018-11-20T17:36:05Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-20T17:25:13Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3b32891b12ee18c57b0fc346ed7dce8b6976066b'/>
<id>urn:sha1:3b32891b12ee18c57b0fc346ed7dce8b6976066b</id>
<content type='text'>
This allows us to catch architecture-specific evaluation failures.

* guix/scripts/lint.scm (check-derivation): Move body into...
[try]: ... this.  New procedure.
Call 'try' for each supported system of PACKAGE.
</content>
</entry>
</feed>
