Merge branch 'master' into rpc
2 files added
3 files modified
New file |
| | |
| | | #!/bin/sh |
| | | |
| | | set -e |
| | | |
| | | GITBLIT_PATH=/opt/gitblit/ |
| | | GITBLIT_HTTP_PORT=0 |
| | | GITBLIT_HTTPS_PORT=8443 |
| | | JAVA="java -server -Xmx1024M -jar" |
| | | |
| | | . /lib/lsb/init-functions |
| | | |
| | | case "$1" in |
| | | start) |
| | | log_action_begin_msg "Starting gitblit server" |
| | | $JAVA $GITBLIT_PATH/gitblit.jar --httpsPort $GITBLIT_HTTPS_PORT --httpPort $GITBLIT_HTTP_PORT & |
| | | log_action_end_msg $? |
| | | ;; |
| | | stop) |
| | | log_action_begin_msg "Stopping gitblit server" |
| | | $JAVA $GITBLIT_PATH/gitblit.jar --stop & |
| | | log_action_end_msg $? |
| | | ;; |
| | | force-reload|restart) |
| | | $0 stop |
| | | $0 start |
| | | ;; |
| | | *) |
| | | echo "Usage: /etc/init.d/gitblit {start|stop|restart|force-reload}" |
| | | exit 1 |
| | | ;; |
| | | esac |
| | | |
| | | exit 0 |
New file |
| | |
| | | cp gitblit /etc/init.d/ |
| | | chmod +x /etc/init.d/gitblit |
| | | sudo update-rc.d gitblit defaults |
| | |
| | | - added: reusable JSON RPC client class
|
| | | - added: Swing RPC Client application for cloning and administration of repositories, users, and federation proposals.
|
| | | - fixed/broke: federation protocol. dates are now serialized to the [iso8601](http://en.wikipedia.org/wiki/ISO_8601) standard. This breaks 0.6.0 federation clients/servers.
|
| | | - fixed: Set the RSS content type for Firefox 4 (issue 22)
|
| | | - fixed: Null pointer exception if did not set federation strategy (issue 20)
|
| | | - fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later
|
| | | - added: IUserService.setup(IStoredSettings) for custom user service implementations
|
| | |
| | | - added: reusable JSON RPC client class
|
| | | - added: Swing RPC Client application for cloning and administration of repositories, users, and federation proposals.
|
| | | - fixed/broke: federation protocol. dates are now serialized to the [iso8601](http://en.wikipedia.org/wiki/ISO_8601) standard. This breaks 0.6.0 federation clients/servers.
|
| | | - fixed: Set the RSS content type for Firefox 4 (issue 22) |
| | | - fixed: Null pointer exception if did not set federation strategy (issue 20)
|
| | | - fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later
|
| | | - added: IUserService.setup(IStoredSettings) for custom user service implementations
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | response.setContentType("application/rss+xml; charset=UTF-8");
|
| | | Repository repository = GitBlit.self().getRepository(repositoryName);
|
| | | RepositoryModel model = GitBlit.self().getRepositoryModel(repositoryName);
|
| | | List<RevCommit> commits = JGitUtils.getRevLog(repository, objectId, 0, length);
|