Gitblit v1.5.0

168 views
Skip to first unread message

James Moger

unread,
Apr 18, 2014, 10:35:31 AM4/18/14
to git...@googlegroups.com
Gitblit v1.5.0 has been released.

Highlights.
  • Integrated SSH courtesy of the Gerrit, Apache Mina, and Apache SSHD
  • A new and currently limited [1] plugin system
  • Self-hosted/on-premise charts based on flotr2, replaces GoogleCharts
  • Update to Jetty 9
  • Java 7 now required, this seems reasonable since it's been out for almost 3 years and Java 8 is now shipping
[1]: There are four current extension points.  The web UI is not yet extendable.  This will be addressed in a subsequent release once the desired extension points are identified.

SSH Key Management.
This is not exposed through the web UI yet.  All key management is done through an SSH connection.

   cat ~/.ssh/id_rsa.pub | ssh localhost -l admin -p 29418 keys add

This uploads your default public key and adds it to your account.

   ssh localhost -l admin -p 29418 keys ls

This will list your available public keys.

   ssh localhost -l admin -p 29418 keys permission 1 R

This will change the access permission of key 1 to read-only.  Valid permissions are V, R, RW.

   ssh localhost -l admin -p 29418 keys comment 1 Fedora20

This will change the the comment/description of key 1 to "Fedora20".


Plugin Management.
Gitblit ships with 0 plugins, however, there are some plugins available.  Convenient management of the plugin system is only offered through the new SSH interface.

Once you have SSH up-and-running...

   ssh localhost -l admin -p 29418 plugin available

This will download the plugins.json file from the Github-hosted plugin registry and show you the plugins that are available to install.  The plugins.json file is cached and not automatically refreshed.  You can force a refresh by specifying the -r flag for the available command.

   ssh localhost -l admin -p 29418 plugin install powertools

This will install the powertools plugin.  BTW, all downloads are SHA-1 and MD5 checksum-verified by default.  Gitblit expects Maven-style checksums: file.ext, file.ext.sha1, file.ext.md5

   ssh localhost -l admin -p 29418 plugin show powertools

This will show/describe the details of a plugin including it's extension points, if it is installed.

Available Plugins.
Right now there are two.
  • powertools: Command and control Gitblit over an SSH connection
  • SmartTicketBranches: Remove ticket branches on close and re-create them on re-open

Special Thanks.
Special thanks to David Ostrovsky for helping me get SSH up-and-running and for providing direction on bringing a plugin architecture to Gitblit.

Share & enjoy.

-J

yao yamin

unread,
Apr 20, 2014, 4:09:21 AM4/20/14
to git...@googlegroups.com
Excellent. With ssh, my suse9 / git 1.8 can remote push to repositories finally. (Smart HTTP can't work with suse9 git1.8. Also HTTP.)

在 2014年4月18日星期五UTC+8下午10时35分31秒,James Moger写道:

yao yamin

unread,
Apr 20, 2014, 4:27:26 AM4/20/14
to git...@googlegroups.com
And the homepage still "Gitblit requires a Java 6 Runtime Environment (JRE) or a Java 6 Development Kit (JDK)." :)

在 2014年4月18日星期五UTC+8下午10时35分31秒,James Moger写道:

James Moger

unread,
Apr 24, 2014, 7:54:10 AM4/24/14
to git...@googlegroups.com
Thanks noticing that.  Fixed on master and on the site.

-J


--
You received this message because you are subscribed to the Google Groups "gitblit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitblit+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages