Giter VIP home page Giter VIP logo

checkoutmanager's People

Contributors

chintal avatar dependabot[bot] avatar dimazest avatar jendrikseipp avatar mauritsvanrees avatar mortenlj avatar reinout avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

chintal

checkoutmanager's Issues

Testing against actual VCS binaries

Is it possible to modify the test environment to also include the VCS binaries?

If the binaries can be guaranteed to exist, a small handful of test repositories can be hosted somewhere and the tests can check the code that actually interacts with the VCSs.

Add command to register at repo in the config file

I often find myself cloning a repo to have a look, and then later on deciding I should add it to my .checkoutmanager.cfg.
This isn't much of a hassle, but it would be very useful if I could just enter the directory and do something like checkoutmanager register, and have it added to the config file under the most suitable section (could allow specifying the section to put it in).

I noticed they have a similar command in myrepos, and I don't want to switch. ๐Ÿ˜„

Detect if "svn up"/"git pull"/etc resulted in any actual code updates

See original issue https://bitbucket.org/reinout/checkoutmanager/issues/22/add-command-switch-to-check-if by @chintal

I'm limiting the original issue to this:

What I'd like is reliably detecting whether "checkoutmanager up" resulted in any actual code updates. Seems hard to me, as hg/git/svn/bzr regularly change their output format and return codes and so. And it sometimes also is language-dependent. So... Any good ideas are welcome.

'in' appears to work incorrectly for git

Wonderful utility! Thanks so much for the great work :-)

The code below should return 0 but returns 1, incorrectly indicating that there are remote changes available:

>>> from checkoutmanager.utils import system
>>> output = system('git pull --dry-run').strip()
>>> output
''
>>> output = output.split('\n')
>>> output
['']
>>> len(output)
1

Relevant checkoutmanager code is here:

https://github.com/reinout/checkoutmanager/blob/master/checkoutmanager/dirinfo.py#L376

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.