Coder Social home page Coder Social logo

marforic / projectsupdater Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 92 KB

Crawls all directories starting at the path supplied as argument and runs "updating" commands if they are under a revisioning system (currently git and svn) and safe to update (no changes found in project)

Shell 100.00%

projectsupdater's Introduction

Contact and About

ProjectUpdater has been created by Claudio Marforio ([email protected]). Please contact him if you find it useful, if you have a feature request or if you encounter any kind of bug!

Rationale

I work with code. As anyone that works with code I use revision systems. I use mostly git and svn. What happens is that I have a folder on my computer which contains subfolders with all the projects I’m working on, either mine or others that I’m helping/forking (github ones, as well!).

When you start having more than 10 projects, lots of collaborators it becomes unfeasible to always run “git pull”, “svn update”, … on all your projects. With this script you simply run it passing as argument the top directory that you want to check for updates and it will crawl all subdirectories looking for git or svn repositories. If found it will check if any changes are pending (we don’t want merges, when running such batch scripts!) and if not it will update the project.

At the end an handy summary is presented. Mainly 3 things could happen:

  • UPDATE: a repository has been successfully updated.
  • WARNING: a repository has been found, but changes aren’t committed, check manually.
  • ERROR: while updating a repository some error has occurred, check manually.

projectsupdater's People

Contributors

marforic avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.