Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-17 | Merge pull request #46 from Paulche/master | Aaron Stone | |
Enable unlimited nesting for submodule updating | |||
2013-07-17 | fix git provider checkout of a remote ref on an existing repo | Joshua Hoblitt | |
Per discussion of https://github.com/puppetlabs/puppetlabs-vcsrepo/issues/51 in the git channel on freenode, EugeneKay <eugene@kashpureff.org> stated that `git rev-parse` is not capable of inspecting remote refs but that `git ls-remote` is. This patch makes a second attempt to resolve the ref with `ls-remote` if `rev-parse` fails. The git provider also appears to support several type features that are not tagged under `has_features`. It's not clear if this is the best way to resolve this issue or if the provider should be refactored to work with different type features. Demonstration of the problem with changing refs (branches and tags) $ git --version git version 1.7.1 $ cat master.pp branch.pp vcsrepo { '/tmp/vcsrepo': ensure => present, provider => git, source => 'https://github.com/puppetlabs/puppetlabs-vcsrepo.git', revision => 'master', } vcsrepo { '/tmp/vcsrepo': ensure => present, provider => git, source => 'https://github.com/puppetlabs/puppetlabs-vcsrepo.git', revision => 'feature/cvs', } $ puppet apply --modulepath=`pwd`/.. master.pp Notice: /Stage[main]//Vcsrepo[/tmp/vcsrepo]/ensure: Creating repository from present Notice: /Stage[main]//Vcsrepo[/tmp/vcsrepo]/ensure: created Notice: Finished catalog run in 2.19 seconds $ puppet apply --modulepath=`pwd`/.. branch.pp Error: /Stage[main]//Vcsrepo[/tmp/vcsrepo]: Could not evaluate: Execution of '/usr/bin/git rev-parse feature/cvs' returned 128: fatal: ambiguous argument 'feature/cvs': unknown revision or path not in the working tree. Use '--' to separate paths from revisions feature/cvs Notice: Finished catalog run in 1.69 seconds | |||
2013-07-17 | Unlimited sudmodule's nesting for git provider | Paul Chechetin | |
2013-07-14 | Fix bzr specs broken for a while | Aaron Stone | |
2013-07-14 | Fix git tests broken by dcd0d14 | Aaron Stone | |
2013-07-13 | And now specs do run | Aaron Stone | |
2013-07-13 | Fix mocha for specs | Aaron Stone | |
2013-03-06 | Update origin if necessary before checking revision | Raphaël Pinson | |
2012-10-19 | Dummy provider raises an exception if it is used. Tests to prove it. | Aaron Stone | |
2012-10-19 | Use symbols consistently with provider.expects() | Aaron Stone | |
2012-10-18 | Remove excess whitespace. | Aaron Stone | |
2012-10-18 | Update tests to match current code. | Aaron Stone | |
2012-10-18 | Get the specs running under bundler. | Aaron Stone | |
2012-05-02 | Fix failing hg provider spec caused by refactoring in commit ↵ | John Chilton | |
f1120f2d9b121097b7e77709328144af330d0b34 | |||
2010-03-18 | Support different create and revision= operations depending on the revision ↵ | Bruce Williams | |
type in Git (commit, tag, or local/remote branch) | |||
2010-03-18 | Add submodule support to git provider | Bruce Williams | |
2010-03-18 | Cleanup ProviderExampleGroup | Bruce Williams | |
2010-03-18 | Move support file | Bruce Williams | |
2010-03-18 | Fix bad context nesting | Bruce Williams | |
2010-03-18 | Rename methods context_with(out)? => context_with\1_resource for clarity | Bruce Williams | |
2010-03-18 | Name filesystem helpers appropriately | Bruce Williams | |
2010-03-18 | Subversion to use provider example group API for specs | Bruce Williams | |
2010-03-18 | Mercurial to use provider example group API for specs | Bruce Williams | |
2010-03-18 | CVS uses provider example group for specs | Bruce Williams | |
2010-03-17 | Further condense provider example group API, update Bazaar provider spec to ↵ | Bruce Williams | |
use it. | |||
2010-03-17 | Build ProviderExampleGroup for refactored provider tests | Bruce Williams | |
2010-03-15 | ensure = latest to support reference tracking.\n\nWorking with tags, more ↵ | Bruce Williams | |
work needed for branches (at least with git) | |||
2010-03-14 | Basic Bazaar support | Bruce Williams | |
2010-03-13 | Support Mercurial tags, restructure examples | Bruce Williams | |
2010-03-13 | Basic Mercurial support | Bruce Williams | |
2010-03-13 | Basic CVS support | Bruce Williams | |
2010-03-13 | Some fixes after live testing, add support for bare cloned repos | Bruce Williams | |
2010-03-13 | Convert bare repos to working copy repos and vice-versa | Bruce Williams | |
2010-03-12 | Tests for Git revision property, cleanup | Bruce Williams | |
2010-03-12 | Basic SVN provider | Bruce Williams | |
2010-03-12 | Basic tests for git provider, stub for svn provider | Bruce Williams | |