Skip to content

A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility

License

Notifications You must be signed in to change notification settings

atware/gitbucket

 
 

Repository files navigation

GitBucket Gitter chat Build Status

GitBucket is a Git web platform powered by Scala offering:

  • Easy installation
  • Intuitive UI
  • High extensibility by plugins
  • API compatibility with GitHub

You can try an online demo (ID: root / Pass: root) of GitBucket, and also get the latest information at GitBucket News.

Features

The current version of GitBucket provides many features such as:

  • Public / Private Git repositories (with http/https and ssh access)
  • GitLFS support
  • Repository viewer including an online file editor
  • Issues, Pull Requests and Wiki for repositories
  • Activity timeline and email notifications
  • Account and group management with LDAP integration
  • a Plug-in system

If you want to try the development version of GitBucket, see the Developer's Guide.

Installation

GitBucket requires Java8. You have to install it, if it is not already installed.

  1. Download the latest gitbucket.war from the releases page and run it by java -jar gitbucket.war.
  2. Go to http://[hostname]:8080/ and log in with ID: root / Pass: root.

You can specify following options:

  • --port=[NUMBER]
  • --prefix=[CONTEXTPATH]
  • --host=[HOSTNAME]
  • --gitbucket.home=[DATA_DIR]
  • --temp_dir=[TEMP_DIR]
  • --max_file_size=[MAX_FILE_SIZE]

TEMP_DIR is used as the temporary directory for the jetty application context. This is the directory into which the gitbucket.war file is unpacked, the source files are compiled, etc. If given this parameter must match the path of an existing directory or the application will quit reporting an error; if not given the path used will be a tmp directory inside the gitbucket home.

MAX_FILE_SIZE is the max file size for upload files.

You can also deploy gitbucket.war to a servlet container which supports Servlet 3.0 (like Jetty, Tomcat, JBoss, etc)

For more information about installation on Mac or Windows Server (with IIS), or configuration of Apache or Nginx and also integration with other tools or services such as Jenkins or Slack, see Wiki.

To upgrade GitBucket, replace gitbucket.war with the new version, after stopping GitBucket. All GitBucket data is stored in HOME/.gitbucket by default. So if you want to back up GitBucket's data, copy this directory to the backup location.

Plugins

GitBucket has a plug-in system that allows extra functionality. Officially the following plug-ins are provided:

You can find more plugins made by the community at GitBucket community plugins.

Support

  • If you have any questions about GitBucket, see Wiki and check issues whether there is a same question or request in the past.
  • If you can't find same question and report, send it to gitter room before raising an issue.
  • The highest priority of GitBucket is the ease of installation and API compatibility with GitHub, so your feature request might be rejected if they go against those principles.

What's New in 4.19.x

4.19.3 - 7 Dec 2017

  • Fix file uploading bug
  • Fix reply comment form behavior in the diff view

4.19.2 - 3 Dec 2017

  • Fix routing bug in CompositeScalatraFilter
  • Resolve id attribute collision in the web hook editing form

4.19.1 - 2 Dec 2017

  • Update gitbucket-notifications-plugin because it had a version compatibility issue

4.19.0 - 2 Dec 2017

  • gitbucket-maven-repository-plugin is available
  • Upgrade to Scalatra 2.6
  • Improve layout of the system settings page
  • New extension point (sshCommandProvider)
  • Dropped gitbucket-pages-plugin from bundled plugins temporary because we couldn't complete update for Scalatra 2.6 before this release.

See the change log for all of the updates.

About

A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 63.6%
  • HTML 30.3%
  • CSS 2.7%
  • JavaScript 1.9%
  • Other 1.5%