Introducing $GITORIOUS_ROOT/bin for CLI work with Gitorious
authorMarius Mathiesen <marius@gitorious.org>
Thu, 4 Oct 2012 11:03:12 +0000 (13:03 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Thu, 4 Oct 2012 11:03:12 +0000 (13:03 +0200)
commit2726e059e62d311a7ae1ba51fa0d5977b6d3a586
tree3f2dd3db75aa072162f1a32b14da63ed7d6d945f
parenta1522ca2024c5aa9ac9c1ac3c84d11ab01a7ee80
Introducing $GITORIOUS_ROOT/bin for CLI work with Gitorious

In order to make it easier to run Gitorious CLI tools directly,
without dealing with switching users, running `bundle exec` and so,
we're now shipping some preconfigured scripts inside bin/.

These scripts will load a functional Gitorious environment and (if
running in production mode) require that either the user configured in
gitorious.yml is used or switch to that user before running the
scripts. This means these scripts can be run either as the configured
user (usually "git") or by root (in which case the scripts will switch
to that user.

The first two CLI tools included are rake (which lets you invoke Rake)
and unicorn (which lets you run Unicorn).
bin/rake [new file with mode: 0755]
bin/setup.rb [new file with mode: 0644]
bin/unicorn [new file with mode: 0755]
script/unicorn [deleted file]