Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gitblit-org/gitblit-smartticketbranches-plugin
https://github.com/gitblit-org/gitblit-smartticketbranches-plugin
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gitblit-org/gitblit-smartticketbranches-plugin
- Owner: gitblit-org
- License: apache-2.0
- Created: 2014-04-14T20:11:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-22T20:09:49.000Z (about 9 years ago)
- Last Synced: 2023-03-22T23:11:10.947Z (almost 2 years ago)
- Language: Java
- Size: 27.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Gitblit Smart Ticket Branches plugin
*REQUIRES 1.5.0*
The Gitblit Smart Ticket Branches plugin provides tools to automatically cleanup closed ticket branches.
1. A ticket hook to delete the *ticket/N* branch on closing a ticket and to re-create it on re-opening a ticket
2. An SSH command to cleanup closed ticket branches### Installation
This plugin is referenced in the Gitblit Plugin Registry and you may install it using SSH with an administrator account.
ssh host plugin refresh
ssh host plugin install SmartTicketBranches
ssh host plugin lsAlternatively, you can download the zip from [here](http://plugins.gitblit.com) manually copy it to your `${baseFolder}/plugins` directory.
### Usage
#### Ticket Hook
The ticket hook is automatic. Just install the plugin and the hook will manage your ticket branches for you automatically.
#### SSH Command
The SSH command requires administrator permissions.
ssh host stb cleanup ALL|<REPOSITORY> [--dryRun]
### Building against a Gitblit RELEASE
ant && cp build/target/SmartTicketBranches*.zip /path/to/gitblit/plugins
### Building against a Gitblit SNAPSHOT
/path/to/dev/gitblit/ant installMoxie
/path/to/dev/SmartTicketBranches/ant && cp build/target/SmartTicketBranches*.zip /path/to/gitblit/plugins