<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/tests, branch v0.9.1</title>
<subtitle>Robin Krahl's fork of cgit</subtitle>
<id>https://git.ireas.org/cgit/atom?h=v0.9.1</id>
<link rel='self' href='https://git.ireas.org/cgit/atom?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/'/>
<updated>2012-10-17T15:18:35Z</updated>
<entry>
<title>tests: check for proper html entity</title>
<updated>2012-10-17T15:18:35Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2012-10-17T15:17:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=1cb8b494a5b83fdb87a2d9cd6282a05143661db1'/>
<id>urn:sha1:1cb8b494a5b83fdb87a2d9cd6282a05143661db1</id>
<content type='text'>
Since we're now properly writing ampersand literals as &amp;amp; instead of
as a plain &amp;, we need to update the test accordingly.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2012-03-18T20:23:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-03-18T20:23:30Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=08352c7a02f057f6cbaf817ca7e53c53be590a62'/>
<id>urn:sha1:08352c7a02f057f6cbaf817ca7e53c53be590a62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: properly quote arguments to printf</title>
<updated>2012-03-18T10:54:50Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2012-03-18T10:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=561959cffa3de67986d193469b77c8db0d307400'/>
<id>urn:sha1:561959cffa3de67986d193469b77c8db0d307400</id>
<content type='text'>
v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
</content>
</entry>
<entry>
<title>tests: handle paths with whitespace</title>
<updated>2012-03-18T10:54:42Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2012-03-18T10:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=f8492f79a3b1193ae1a412eb7c4f3b0c2b21ecaa'/>
<id>urn:sha1:f8492f79a3b1193ae1a412eb7c4f3b0c2b21ecaa</id>
<content type='text'>
v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2011-07-21T12:50:07Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-07-21T12:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=73e13e2bf7b7e794e6df9ac170452a8991137d08'/>
<id>urn:sha1:73e13e2bf7b7e794e6df9ac170452a8991137d08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: fix failures when CDPATH is set</title>
<updated>2011-07-21T12:48:37Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2011-07-21T12:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=877ff681007f31c69777e9569c4de819d4af19c9'/>
<id>urn:sha1:877ff681007f31c69777e9569c4de819d4af19c9</id>
<content type='text'>
Some tests would otherwise fail because commands such as
  cd trash/repos/foo &amp;&amp; git rev-list --reverse HEAD | head -1
would return 2 lines instead of 1: the 'cd' command also
prints the path when CDPATH is set.

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>cgit.c: add 'clone-url' setting with support for macro expansion</title>
<updated>2011-06-13T23:04:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-06T20:49:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=a1429dbc89f9c0945e32cea9fd3424d2fe56aeab'/>
<id>urn:sha1:a1429dbc89f9c0945e32cea9fd3424d2fe56aeab</id>
<content type='text'>
The current 'clone-prefix' setting has some known issues:
* All repos get the same 'clone-prefix' value since the setting is not
  adopted during repo registration (in cgitrc, or during scan-path traversal),
  but only when the setting is used.
* The generated clone-urls for a repo is a combination of 'clone-prefix', a
  slash and the repo url. This doesn't work well with e.g. ssh-style urls
  like 'git@example.org:repo.git', since the inserted slash will make the
  repo relative to the filesystem root.
* If 'remove-suffix' is enabled, the generated clone-urls will not work for
  cloning (except for http-urls to cgit itself) since they miss the '.git'
  suffix.

The new 'clone-url' setting is designed to avoid the mentioned issues:
* Each repo adopts the default 'clone-url' when the repo is defined. This
  allows different groups of repos to adopt different values.
* The clone-urls for a repo is generated by expanding environment variables
  in a string template without inserting arbitrary characters, hence any
  kind of clone-url can be generated.
* Macro expansion also eases the 'remove-suffix' pain since it's now
  possible to define e.g. 'clone-url=git://foo.org/$CGIT_REPO_URL.git' for
  a set of repos. A furter improvement would be to define e.g.
  $CGIT_REPO_SUFFIX to '.git' for all repos which had their url prettified,
  or to store the original $CGIT_REPO_URL in e.g. $CGIT_REPO_REAL_URL before
  suffix removal.

Reviewed-by: Ferry Huberts &lt;mailings@hupie.com&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-log.c: do not link from age column</title>
<updated>2011-06-02T10:30:26Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-02T10:30:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=d885158f6ac29e04bd14dd132331c7e3a93e7490'/>
<id>urn:sha1:d885158f6ac29e04bd14dd132331c7e3a93e7490</id>
<content type='text'>
The link url wasn't properly escaped, and since the link was identical
to the one used on the commit message it didn't serve any special purpose.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>tests: add tests for links with space in path and/or args</title>
<updated>2011-05-23T20:58:35Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-22T10:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=084ca50972b4be120eba8d22ce585766ae315c36'/>
<id>urn:sha1:084ca50972b4be120eba8d22ce585766ae315c36</id>
<content type='text'>
These tests tries to detect bad links in various pages. On the log page,
there currently exists links which are not properly escaped due to the
use of cgit_fileurl() when building the link. For now, this bug is simply
tagged as such.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>tests/setup.sh: add support for known bugs</title>
<updated>2011-05-23T20:58:35Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-22T10:21:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=afe04daa3380ae144c2c9b486674c98e5dd082a3'/>
<id>urn:sha1:afe04daa3380ae144c2c9b486674c98e5dd082a3</id>
<content type='text'>
This patch makes it possible to add tests for known bugs without aborting
the testrun.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
