GithubHelp home page GithubHelp logo

augeas-gitolite's Introduction

Build Status

Overview

This is an augeas lens that is used to manage a gitolite.conf file. There are still some additional challenges to managing the gitolite.conf file since it resides in the gitolite-admin repo. The best way to use this lens is in conjunction with your own custom script to clone and push the gitolite-admin repo before/after changes.

Documentation

Usage

augeas-gitolite by default looks for files in the following locations:

  • /home/*/gitolite-admin/conf/gitolite.conf
  • /var/lib/gitolite3/gitolite-admin/conf/gitolite.conf

The /home/*/gitolite-admin filter is useful for managing a gitolite config that you have checked out in a home directory. One handy way to use this is by cloning the gitolite-admin repo in the home directory of the user you have setup for gitolite. You can then use augeas-gitolite to manage the config and gitolite push to apply the changes without the need for any additional ssh connections.

Development

Any new features or modifications should have an associated test with a comment describing the test in tests/test_gitolite.aug

Running tests

make test

Installing

make install

Loading a test gitolite config file using augtool

john@linux3 [/home/john]
$ augtool -I /home/john/augeas-gitolite
augtool> set /augeas/load/Gitolite/incl[last()+1] "/home/john/gitolite.conf"
augtool> load
augtool> print /files/home/john/gitolite.conf
/files/home/john/gitolite.conf
/files/home/john/gitolite.conf/group = "group1"
/files/home/john/gitolite.conf/group/user = "user1"
augtool> 

augeas-gitolite's People

Contributors

jjulien avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.