Gerard Smyth
2014-04-01 f76fee63ed9cb3a30d3c0c092d860b1cb93a481b
refs
author Gerard Smyth <gerard.smyth@gmail.com>
Tuesday, April 1, 2014 07:29 -0400
committer James Moger <james.moger@gitblit.com>
Thursday, May 8, 2014 13:09 -0400
commitf76fee63ed9cb3a30d3c0c092d860b1cb93a481b
tree 10177da656f10daae98dc0ba627c702bbf050438 tree | zip | gz
parent d99277724206102f25e7c5c569d2e7fdc891e4a0 view | diff
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.
3 files modified
202 ■■■■ changed files
src/main/java/com/gitblit/Constants.java 21 ●●●●● diff | view | raw | blame | history
src/main/java/com/gitblit/servlet/SyndicationServlet.java 133 ●●●●● diff | view | raw | blame | history
src/main/java/com/gitblit/utils/JGitUtils.java 48 ●●●●● diff | view | raw | blame | history