Skip to content

A collection of tools to connect to predefined git remote servers and create remote repos, define them as remotes, install local hooks, etc.

Notifications You must be signed in to change notification settings

toschoch/python-gittools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Tools

author: Tobias Schoch

Overview

A collection of tools to connect to predefined git remote servers and create remote repos, define them as remotes, install local hooks, etc.

Change-Log

0.1.5
  • fixed bug with missing password member
0.1.4
  • fixed bug in getting correct remote server
0.1.3
  • fixed commit only changelog or readme
  • included gitlab support
  • working for github with token
  • created a separate module per repo server
0.1.2
  • reformat code
  • added git hook install implementation for UNIX
  • merged hook creation for linux
  • raise an exception on unix systems
  • exits with the correct exit code
  • added platform dependency into install script and hook test
  • fixed expected error codes in tests
  • fixed tests for python setup.py test
  • fixed import in tests
  • remove init.py from tests
  • fixed error in setup.py
  • remove conda_reqs.txt from setup.py
  • update .drone.yml
  • update readme
  • added configuration tests
  • added test for git commit hook install
  • make compatible with common CHANGELOG.md
  • separate change-log support
0.1.1
  • added git commit hook (unix)
0.1.0
  • add branch name into push command
  • change gogs authentification
  • try to use context for invokint gittool init
  • fixed missing commands in drone.yml
  • fix syntax error in drone.yml
  • on success
  • fixed remote creation if Git repo not yet initialized
  • improved error message for Bonobo Git Server
  • fixed missing import bug in remote create
  • added staging to pipeline
  • add staging devpi upload
  • Devpi publish on drone
0.0.6
  • added command for install git hook (windows)
  • fixed missing template file
  • some not yet working draft of install hooks
  • fixed install script command under UNIX
0.0.5
  • added version command
  • added install script command for windows and unix
  • rearranged commands into a remote group
  • added cli tests
  • fixed compatibility for data-science projects
0.0.4
  • add github support
  • add default command
  • improved help
  • add create command
  • initialize local git repo and tag according to versions in readme
0.0.3
  • fixed small bugs
  • git url set in usage section of readme
  • added Gogs support
  • add list command
0.0.2
  • fixed tests, reads info for remote repo from README.md
  • add tag command
  • working cli for init and create remote on Bonobo Server
0.0.1
  • initial version

Installation / Usage

To install use pip:

pip install https://github.com/toschoch/python-gittools.git

Or clone the repo:

git clone https://github.com/toschoch/python-gittools.git
python setup.py install

Example

gittool version

install a script from the current active conda environment

gittool install script <script>

Contributing

TBD

About

A collection of tools to connect to predefined git remote servers and create remote repos, define them as remotes, install local hooks, etc.

Resources

Stars

Watchers

Forks

Packages

No packages published