<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gitto, branch config</title>
<subtitle>Keep track of your git repositories</subtitle>
<id>https://code.ryuslash.org/gitto/atom?h=config</id>
<link rel='self' href='https://code.ryuslash.org/gitto/atom?h=config'/>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/'/>
<updated>2013-05-13T20:48:49Z</updated>
<entry>
<title>Add config management commands</title>
<updated>2013-05-13T20:48:49Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-13T20:48:49Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=fb1977fc8326a5e76514d106cff85149f996794a'/>
<id>urn:sha1:fb1977fc8326a5e76514d106cff85149f996794a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add write-config</title>
<updated>2013-05-12T20:14:12Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-12T20:14:12Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=d61e3814a5791ab75201c1c00b3e7bf76c3dbd83'/>
<id>urn:sha1:d61e3814a5791ab75201c1c00b3e7bf76c3dbd83</id>
<content type='text'>
This procedure writes a configuration alist to a format understood by
git.
</content>
</entry>
<entry>
<title>Add read-config</title>
<updated>2013-05-12T18:50:10Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-12T18:38:58Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=44274838c5b86daf48dcb86a0552084ab6c81508'/>
<id>urn:sha1:44274838c5b86daf48dcb86a0552084ab6c81508</id>
<content type='text'>
This function parses the config file in the .git/ sub-directory of a
repository.
</content>
</entry>
<entry>
<title>Split git function into separate module</title>
<updated>2013-05-12T18:37:54Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-12T14:02:23Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=964756b7308dbe0aecc30fe668ae6a2a24f449be'/>
<id>urn:sha1:964756b7308dbe0aecc30fe668ae6a2a24f449be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some bugs</title>
<updated>2013-05-12T13:03:00Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-12T13:03:00Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=a3d1cc969fdbed3249f1a40ac156e0b8b1fe3ef7'/>
<id>urn:sha1:a3d1cc969fdbed3249f1a40ac156e0b8b1fe3ef7</id>
<content type='text'>
- The `register-repository' procedure was using a non-existent
  procedure `repository-name', this should be `repo-name'.

- The `purge' procedure was working on a collection of `&lt;repository&gt;'
  objects, but assuming they were file names, the `repo-location'
  should first be extracted before calling `file-exists?'.
</content>
</entry>
<entry>
<title>Fix error when XDG_*_HOME is specified</title>
<updated>2013-05-10T19:58:31Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-10T19:58:31Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=addf53abedaa54f36562c575f4b0834658553f05'/>
<id>urn:sha1:addf53abedaa54f36562c575f4b0834658553f05</id>
<content type='text'>
Unlike some other lisps scheme's `unless' returns `#&lt;unspecified&gt;'
instead of nil, and `string-append' doesn't accept this as a valid
argument. So use an empty string if XDG_*_HOME has been specified and
FALLBACK otherwise.
</content>
</entry>
<entry>
<title>Show status per branch</title>
<updated>2013-05-05T17:27:36Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-05T17:25:42Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=87217e9858de8d9fe9520b159e7d0de7a558d99e'/>
<id>urn:sha1:87217e9858de8d9fe9520b159e7d0de7a558d99e</id>
<content type='text'>
Instead of looking at the current HEAD, look at each branch
separately. This also means that if you customize the `print' method
in your init file you should also go over all the branches. You can
now also customize the `print' method for the `&lt;branch&gt;' type.
</content>
</entry>
<entry>
<title>Turn format function into a generic method</title>
<updated>2013-05-05T16:18:18Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-05T16:18:18Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=387e3f1c677305cff2d104bcc6f23d6905b19335'/>
<id>urn:sha1:387e3f1c677305cff2d104bcc6f23d6905b19335</id>
<content type='text'>
This changes the way formatting functions can be customized in the init
file to:

,----
| (define-method (print (repo &lt;repository&gt;))
|   (format #t "~a: ~d up; ~d down; ~a. Updated ~a~%"
|           (repo-name repo) (repo-pushable repo) (repo-pullable repo)
|           (if (repo-clean? repo) "clean" "dirty") (repo-updated repo)))
`----

Note that it is possible that REPO doesn't exist, so you should always
check for that first.
</content>
</entry>
<entry>
<title>Use lazy evaluation to speed-up startup</title>
<updated>2013-05-05T14:31:16Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-05T14:31:16Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=3ddbd6c7430337534fe5207d8bfe0eb4bd20a5cd'/>
<id>urn:sha1:3ddbd6c7430337534fe5207d8bfe0eb4bd20a5cd</id>
<content type='text'>
Before using goops the relevant information was gathered when it was
needed, but now with goops everything is gathered at startup. So use
lazy evaluation to defer that gathering until it is needed.
</content>
</entry>
<entry>
<title>Use goops to encapsulate repositories</title>
<updated>2013-05-05T12:50:46Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-05T12:50:46Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/gitto/commit/?id=fb61517ac1a94f662c258083aa52804b02c3f0c0'/>
<id>urn:sha1:fb61517ac1a94f662c258083aa52804b02c3f0c0</id>
<content type='text'>
</content>
</entry>
</feed>
