<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/tests/git.scm, branch v1.4.0rc1</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>git: 'update-cached-checkout' returns the commit ID when given a tag.</title>
<updated>2022-10-17T07:37:27+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-10-11T09:16:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=46f7011591601b4783b2dc2c7252c41564ca0140'/>
<id>46f7011591601b4783b2dc2c7252c41564ca0140</id>
<content type='text'>
Previously, starting with commit
efa578ecaece67366b4b0e2266de7c2faaa4ae54, 'update-cached-checkout' would
return the OID of the annotated tag the tag points to.  With this change
it returns the OID of the commit object in all cases.

* guix/git.scm (resolve-reference): In the 'tag' case, call
'tag-target-id' and 'tag-lookup' when OID designates an annotated tag.
* tests/git.scm ("update-cached-checkout, tag"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, starting with commit
efa578ecaece67366b4b0e2266de7c2faaa4ae54, 'update-cached-checkout' would
return the OID of the annotated tag the tag points to.  With this change
it returns the OID of the commit object in all cases.

* guix/git.scm (resolve-reference): In the 'tag' case, call
'tag-target-id' and 'tag-lookup' when OID designates an annotated tag.
* tests/git.scm ("update-cached-checkout, tag"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>git: Add 'commit-descendant?'.</title>
<updated>2022-02-14T10:23:07+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-01-28T15:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=87d49346f3072f7b4343b6fb387ee5f9311493b7'/>
<id>87d49346f3072f7b4343b6fb387ee5f9311493b7</id>
<content type='text'>
* guix/git.scm (commit-descendant?): New procedure.
* tests/git.scm ("commit-descendant?"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/git.scm (commit-descendant?): New procedure.
* tests/git.scm ("commit-descendant?"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>import: Add 'generic-git' updater.</title>
<updated>2021-09-18T17:37:45+00:00</updated>
<author>
<name>Xinglu Chen</name>
<email>public@yoctocell.xyz</email>
</author>
<published>2021-09-17T08:04:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=59ee10754eddddb99e4a80b9e18aa12ed1b3d77a'/>
<id>59ee10754eddddb99e4a80b9e18aa12ed1b3d77a</id>
<content type='text'>
* guix/git.scm (ls-remote-refs): New procedure.
* tests/git.scm ("remote-refs" "remote-refs: only tags"): New tests.
* guix/import/git.scm: New file.
* doc/guix.texi (Invoking guix refresh): Document it.
* tests/import-git.scm: New test file.
* Makefile.am (MODULES, SCM_TESTS): Register the new files.

Co-authored-by: Sarah Morgensen &lt;iskarian@mgsn.dev&gt;
Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/git.scm (ls-remote-refs): New procedure.
* tests/git.scm ("remote-refs" "remote-refs: only tags"): New tests.
* guix/import/git.scm: New file.
* doc/guix.texi (Invoking guix refresh): Document it.
* tests/import-git.scm: New test file.
* Makefile.am (MODULES, SCM_TESTS): Register the new files.

Co-authored-by: Sarah Morgensen &lt;iskarian@mgsn.dev&gt;
Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: 'commit-difference' really excludes the ancestors of #:excluded.</title>
<updated>2020-06-08T22:34:52+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-06-08T19:39:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=72357e2170e88f73c11ff089f87a744cee8606ec'/>
<id>72357e2170e88f73c11ff089f87a744cee8606ec</id>
<content type='text'>
* guix/git.scm (commit-difference): Initialize VISITED to the closure of
OLD and EXCLUDED, as written in the docstring.
* tests/git.scm ("commit-difference, excluded commits"): Adjust
accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/git.scm (commit-difference): Initialize VISITED to the closure of
OLD and EXCLUDED, as written in the docstring.
* tests/git.scm ("commit-difference, excluded commits"): Adjust
accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>git: Add 'commit-relation'.</title>
<updated>2020-05-24T22:00:28+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-05-20T11:01:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=c098c11be8eb9e0c12be42640721e3cb21c37628'/>
<id>c098c11be8eb9e0c12be42640721e3cb21c37628</id>
<content type='text'>
* guix/git.scm (commit-relation): New procedure.
* tests/git.scm ("commit-relation"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/git.scm (commit-relation): New procedure.
* tests/git.scm ("commit-relation"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>git: 'commit-difference' takes a list of excluded commits.</title>
<updated>2019-12-27T12:52:49+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-12-27T12:15:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=785af04a7574867dc940c791daa938a2432d0450'/>
<id>785af04a7574867dc940c791daa938a2432d0450</id>
<content type='text'>
* guix/git.scm (commit-closure): Add 'visited' optional parameter.
(commit-difference): Add 'excluded' optional parameter; pass second
argument to 'commit-closure'.
* tests/git.scm ("commit-difference, excluded commits"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/git.scm (commit-closure): Add 'visited' optional parameter.
(commit-difference): Add 'excluded' optional parameter; pass second
argument to 'commit-closure'.
* tests/git.scm ("commit-difference, excluded commits"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>git: Add 'commit-difference'.</title>
<updated>2019-09-23T08:38:43+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-09-14T15:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=873f6f1334ab06a69e768a8aea0054404237542f'/>
<id>873f6f1334ab06a69e768a8aea0054404237542f</id>
<content type='text'>
* guix/git.scm (commit-closure, commit-difference): New procedures.
* guix/tests/git.scm, tests/git.scm: New files.
* Makefile.am (dist_noinst_DATA): Add guix/tests/git.scm.
(SCM_TESTS): Add tests/git.scm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/git.scm (commit-closure, commit-difference): New procedures.
* guix/tests/git.scm, tests/git.scm: New files.
* Makefile.am (dist_noinst_DATA): Add guix/tests/git.scm.
(SCM_TESTS): Add tests/git.scm.
</pre>
</div>
</content>
</entry>
</feed>
