From f76fee63ed9cb3a30d3c0c092d860b1cb93a481b Mon Sep 17 00:00:00 2001 From: Gerard Smyth <gerard.smyth@gmail.com> Date: Thu, 08 May 2014 13:09:30 -0400 Subject: [PATCH] Updated the SyndicationServlet to provide an additional option to return details of the tags in the repository instead of the commits. This uses a new 'ot' request parameter to indicate the object type of the content to return, which can be ither TAG or COMMIT. If this is not provided, then COMMIT is assumed to maintain backwards compatability. If tags are returned, then the paging parameters, 'l' and 'pg' are still supported, but searching options are currently ignored. --- src/site/setup_hooks.mkd | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/setup_hooks.mkd b/src/site/setup_hooks.mkd index b3cb9c0..aae5662 100644 --- a/src/site/setup_hooks.mkd +++ b/src/site/setup_hooks.mkd @@ -31,7 +31,7 @@ <blockquote>Grape (The Groovy Adaptable Packaging Engine or Groovy Advanced Packaging Engine) is the infrastructure enabling the grab() calls in Groovy, a set of classes leveraging <a href="http://ant.apache.org/ivy">Ivy</a> to allow for a repository driven module system for Groovy. This allows a developer to write a script with an essentially arbitrary library requirement, and ship just the script. Grape will, at runtime, download as needed and link the named libraries and all dependencies forming a transitive closure when the script is run from existing repositories such as Ibiblio, Codehaus, and java.net.</blockquote> ----JAVA--- +```java // create and use a primitive array import org.apache.commons.collections.primitives.ArrayIntList @@ -42,7 +42,7 @@ ints.add(0, 42) assert ints.size() == 1 assert ints.get(0) == 42 ----JAVA--- +``` ### Custom Fields -- Gitblit v1.9.1