Giter Club home page Giter Club logo

git-confed's Introduction

Go Report Card Main-Docker Binary-release GitHub Maintainability

git-confed


Overview all your git repos and edit their .git/config with predefined blocks. For example, if you need to add user to some repos, just configure block with username and email and then click Add block in each repo.
The app is capable of detecting git repos in folder.

screenshot

screenshot

Docker

Don't forget to set the correct /path/to/git/repos/folder!
You can mount as many paths, as you need.

docker run --name git-confed \
-v ~/.dockerdata/git-confed:/data/git-confed \
-v /path/to/git/repos/folder:/repos \
-p 8848:8848 \
aceberg/git-confed

Or use docker-compose.yml

Installation

1. From .deb repository (recommended)

curl -s --compressed "https://aceberg.github.io/ppa/KEY.gpg" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/aceberg.gpg
sudo curl -s --compressed -o /etc/apt/sources.list.d/aceberg.list "https://aceberg.github.io/ppa/aceberg.list"
sudo apt update && sudo apt install git-confed

2. From .deb file

Download latest release, install with your package maneger

3. From .tar.gz

Download latest release, then

tar xvzf git-confed-*.tar.gz
cd git-confed
sudo ./install.sh

Usage

1. Systemd as user (recommended)

Enable and start service, replace MYUSER with your username

sudo systemctl enable [email protected]
sudo systemctl start [email protected]

Web GUI will be available at http://0.0.0.0:8848

2. Systemd as root

Enable and start service

sudo systemctl enable git-confed.service
sudo systemctl start git-confed.service

Web GUI will be available at http://0.0.0.0:8848

3. From command line

Just run git-confed. Be mindful of the config files paths listed in options section.

Config

1. With web GUI (recommended)

You can do all configuration through web interface. Config files paths are listed in options section below.

2. CLI

blocks.yaml

Test Remote: "[remote \"test\"]\r\n\turl = bf:/home/data/repo/bare/testrepo"
User - aceberg: "[user]\r\n\tname = aceberg\r\n\temail = [email protected]"

config.yaml

folders:
    - /home/data/repo/01-cloned
    - /home/data/repo/03-code
    - /home/data/repo/awesome
host: 0.0.0.0
other:
    - test
port: "8848"
theme: darkly
urls:
    - bitbucket
    - github
    - gitlab
Variable Description Default
host Address for web GUI 0.0.0.0
port Port for web GUI 8848
theme Any theme name from https://bootswatch.com in lowcase darkly
color Color mode: light or dark light
folders Where to search for git repos
urls Search for those in config file bitbucket github gitlab
other Search for those in config file

Options

Key Description Default Systemd (user) Systemd (root)
-b Path to file with code blocks /data/git-confed/blocks.yaml $HOME/.config/git-confed/blocks.yaml /etc/git-confed/blocks.yaml
-c Path to GUI config file /data/git-confed/config.yaml $HOME/.config/git-confed/config.yaml /etc/git-confed/config.yaml

Thanks

git-confed's People

Contributors

aceberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.