Download the PHP package n98/gitosis-admin without Composer

On this page you can find all versions of the php package n98/gitosis-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package gitosis-admin

Gitosis Administrator

Manage gitosis over CLI- and Web-Interface.

Installation

Download the composer.phar executable or use the installer.

$ curl -s http://getcomposer.org/installer | php

Install dependencies over composer.

$ php ./composer.phar install

Create config.yaml file from config.yaml.dist file.

Add path to your gitosis config (Cloned gitosis-admin repository):

locale: en
security:
  authentification:
    enabled: false

gitosis:
  root_directory: /path/to/gitosis-admin
  ssh_user: git
  ssh_host: myhost

CLI Interface

List Repositories

$ bin/n98-gitosis-admin repo:list

Add Repository

$ bin/n98-gitosis-admin repo:add name [owner] [description] [gitweb] [daemon]

Example:

$ bin/n98-gitosis-admin repo:add my-repo "John Doe" "My awesome git repository" no no

Remove Repository

$ bin/n98-gitosis-admin repo:remove name

List Groups

$ bin/n98-gitosis-admin group:list

Add Group

$ bin/n98-gitosis-admin group:add name members [writable] [readonly]

Example:

# Adds the repo "foo" with members "bar, zoz and bla" with write access to "repo1" and read access to "repo2"
$ bin/n98-gitosis-admin group:add foo bar,zoz,bla repo1 repo2

Remove Group

$ bin/n98-gitosis-admin group:remove name

Add User to existing Group

$  bin/n98-gitosis-admin group:user:add group username

Remove User from existing Group

$  bin/n98-gitosis-admin group:user:remove group username

Remove a user from all groups

$ bin/n98-gitosis-admin user:remove username

List all existing users

Lists all users across all groups.

$  bin/n98-gitosis-admin user:list

Allow group write acccess to repository

$ bin/n98-gitosis-admin group:repo:add:writable

Allow group readonly acccess to repository

$ bin/n98-gitosis-admin group:repo:add:readonly

Web Interface

See Screenshots of the web interface on my flickr account:

http://www.flickr.com/photos/muench-worms/sets/72157631918064315/

Installation

On Debian Systems with Apache User:

$ mkdir /var/www/.ssh
$ chown -R www-data:nobody /var/www/.ssh
$ sudo -u www-data ssh-keygen -t rsa

Requirements

TODO


All versions of gitosis-admin with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/config Version v2.3.4
symfony/console Version v2.3.4
symfony/yaml Version v2.3.4
symfony/finder Version v2.3.4
symfony/form Version v2.3.4
symfony/validator Version v2.3.4
symfony/translation Version v2.3.4
symfony/locale Version v2.3.4
symfony/event-dispatcher Version v2.3.4
symfony/security Version v2.3.4
twig/twig Version v1.13.2
symfony/twig-bridge Version v2.3.4
klaussilveira/gitter Version dev-master
silex/silex Version 1.1.0
n98/gitosis Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package n98/gitosis-admin contains the following files

Loading the files please wait ....