Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Run git-up trough a json list of repos

Project description

Git-Up all your projects!

Why use git-up-all ?

  • Tired of going into each repo and pulling/rebasing/stashing in order to update
  • Tired of updating all branches over all the repos you have following the above tactics?
  • Need one custom action for sourcetree for eg? Just add git-up-all --sourcetree and you are good to go

How it works

  1. Reads a json file (or SourceTree list OSX) containing the list of repos you want to keep updated (could also be sourced controlled).
  2. Iterates over each folder containing the repos provided and executes git-up as a module
  3. Prints results for each repo
  • Note that it will skip any fails and leaves it up to the user to manually resolve the conflicts.

Setup

  • Install via pip install git-up-all
  • Create a projects.json containing a list of projects (see example below) or use --sourcetree
  • Run git-up-all on that folder containing the projects.json or use --sourcetree

projects.json

This file should contain a list with projects/repos as below:

{
    "gitup": {
        "name": "PyGitUp",
        "git_url": "https://github.com/msiemens/PyGitUp.git",
        "absolute_path": "/Users/jimmykane/projects/pygitup"
    },
    "gitupall": {
        "name": "PyGitUpAll",
        "git_url": "https://github.com/jimmykane/PyGitUpAll.git",
        "absolute_path": "/Users/jimmykane/projects/pygitupall"
    }
}

Changelog

v0.3.1.1 (2014-08-03)

  • Add results printing
  • Some help is needed with the windows version of the SourceTree config file

v0.3.0 (2014-08-01)

  • (BETA) Support for reading from SourceTree on OSX systems for now. Run with --sourcetree
  • Logic fixes

v0.2.0.1 (2014-07-29)

  • This is a pre-release. I will start most of the work in this section after tests are done

@TODO

  • Need help to find how to parse windows SourceTree files!!!
  • Check for branch origin validity
  • Patch PyGitUp to use dir paths as arguments let it do the chdir kind or the work is chdir is not needed
  • Add the tests finally
  • Rethink about structure and integration with PyGitUp

Acknowledgements

Thanks to the original port of GitUp in python (PyGitUp) by msiemens

Project details


Release history Release notifications

This version
History Node

0.3.2.6

History Node

0.3.2.4

History Node

0.3.2.1

History Node

0.3.1.1

History Node

0.3.1.0

History Node

0.3.0.2

History Node

0.3.0

History Node

0.2.0

History Node

0.1.8

History Node

0.1.6

History Node

0.1.4

History Node

0.1.3

History Node

0.1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
git-up-all-0.3.2.6.tar.gz (4.9 kB) Copy SHA256 hash SHA256 Source None Feb 27, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page