Skip to main content

Git management tool

Project description

# Gitomatic

Gitomatic is a tool to easy control a git repository in a single account with multiples repositories.

It has a basic access control, controled from a command tool called with gitomatic.

## Requirements.

Gitomatic creates a directory ‘.gitomatic’ in the home path of the user that runs the command ‘gitomatic init’. An user called ‘git’ would be very attractive to use, but you can use anyone.

## Example:

In this examples I assume you have a user ‘git’, and you have the public rsa key of the user username (which is not a user of the system, just an user of the repository) in /tmp/id_rsa.pub.

$ gitomatic initialize $ gitomatic repository create test.git $ gitomatic keys add -f /tmp/id_rsa.pub username $ gitomatic permissions add username -r test.git R

$ git clone git@server:test.git OK

$ git push origin master FAILED

$ git pull origin master OK

$ gitomatic permissions add -r test.git username W

$ git clone git@server:test.git OK

$ git push origin master OK

$ git pull origin master OK

$ gitomatic permissions remove -r test.git username R

$ git clone git@server:test.git FAIL

$ git push origin master FAIL

$ git pull origin master FAIL

You can use gitomatic from a python code like this:

from gitomatic import Gitomatic

g = Gitomatic() g.initialize() g.repository.create(‘test’) g.permissions.add(‘username’, ‘test’, ‘RW’) g.keys.add(‘username’, ‘ssh-rsa xxxxx’)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitomatic-1.0a3.tar.gz (10.0 kB view details)

Uploaded Source

File details

Details for the file gitomatic-1.0a3.tar.gz.

File metadata

  • Download URL: gitomatic-1.0a3.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitomatic-1.0a3.tar.gz
Algorithm Hash digest
SHA256 5054d8a36e5bc35e7a777a45b4f7e3b966fe6bd15ae5e14c64cc07b92d271c85
MD5 27177779ecb62d6c51db3ae72c0549bf
BLAKE2b-256 9154bfd3a3279572ae53cde131708cc501cdd7c5be2a34822cecb356eefb8185

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page