Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-17 | Merge pull request #78 from jhoblitt/git_provider_checkout_remote_refs | Aaron Stone | |
fix git provider checkout of a remote ref on an existing repo | |||
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 | Whitespace | Aaron Stone | |
2013-07-16 | Merge pull request #77 from arnoudj/hg_identity | Aaron Stone | |
Add user and ssh identity to the Mercurial provider. | |||
2013-07-16 | Added ssh identity | Arnoud de Jonge | |
hg_with_identity function renamed to hg_wrapper. Added ability to specify a user and an SSH identity. Added extra options to the ssh command. Identity and user fixed Requirement for pp deleted. | |||
2013-07-15 | Merge pull request #76 from Paulche/patch-1 | Aaron Stone | |
Add travis build-status image | |||
2013-07-15 | Add travis build-status image | 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 | Whitespace | Aaron Stone | |
2013-07-13 | Merge pull request #40 from ajohnstone/master | Aaron Stone | |
Handle force in svn args | |||
2013-07-13 | Merge pull request #61 from hholzgra/master | Aaron Stone | |
"ensure => latest" support for bzr | |||
2013-07-13 | Merge pull request #73 from MESHMD/improve-git-doc | Aaron Stone | |
Improve Git SSH usage documentation | |||
2013-07-13 | Merge pull request #65 from rkhatibi/master | Aaron Stone | |
Add timeout to ssh connections | |||
2013-07-13 | And now specs do run | Aaron Stone | |
2013-07-13 | Use https for rubygems source, update mocha | Aaron Stone | |
2013-07-13 | Bundle exec rake spec in travis | Aaron Stone | |
2013-07-13 | Merge pull request #75 from sodabrew/patch-2 | Aaron Stone | |
Fix mocha for specs | |||
2013-07-13 | Fix mocha for specs | Aaron Stone | |
2013-06-18 | Improve Git SSH usage documentation | Matti Schneider | |
2013-04-17 | add timeout to ssh sessions negotiation to prevent github problems (or any ↵ | Ramin K | |
other remote connection issues) from blocking the Puppet run | |||
2013-04-04 | Add travis.yml to repo for automated CI | Ryan Coleman | |
2013-03-28 | Add description field | Ryan Coleman | |
2013-03-28 | Add summary line to Modulefile | Ryan Coleman | |
2013-03-28 | Merge pull request #62 from puppetlabs/release/0.1.2 | Ryan Coleman | |
Update Modulefile for 0.1.2 release to Forge | |||
2013-03-28 | Adding travis.yml file for publishing | Ryan Coleman | |
2013-03-25 | Update Modulefile for 0.1.2 release to Forge | Ryan Coleman | |
Version 0.1.2 includes several backwards compatible bug fixes. Fixes include better handling of non-root users, new repository clones will include proper permissions and will update origin before checking out a specific revision. | |||
2013-03-23 | "ensure => latest" support for bzr | Hartmut Holzgraefe | |
2013-03-20 | Merge pull request #58 from sim0nf/fix_regex | Ben Ford | |
Tighten regex to avoid matching the word 'commit' in message | |||
2013-03-18 | Merge pull request #59 from binford2k/clone_as_non-root_user | Ben Ford | |
Allow non-root users to clone a repo Merging my own PR because it's just a rework of an existing PR. | |||
2013-03-18 | Allow non-root users to clone a repo | Ben Ford | |
Without this, git will report that it can't change back to /root | |||
2013-03-18 | Tighten regex to avoid matching the word 'commit' in message | Simon Forman | |
2013-03-12 | Merge pull request #56 from raphink/git_update_origin | Ben Ford | |
Update origin if necessary before checking revision This looks good. Thanks! | |||
2013-03-12 | Merge pull request #57 from binford2k/master | Ben Ford | |
Allows the creation of non-root repositories | |||
2013-03-11 | Create the repository with proper permissions. | Ben Ford | |
2013-03-06 | Update origin if necessary before checking revision | Raphaël Pinson | |
2012-11-14 | Handle arg force for svn | Andrew Johnstone | |
2012-10-30 | Release version 0.1.1 | Gary Larizza | |
This commit updates the Modulefile for a 0.1.1 release | |||
2012-10-30 | Merge pull request #35 from sodabrew/dummy-provider | Gary Larizza | |
Add a dummy provider, remove 'defaultfor' from all other providers. | |||
2012-10-19 | Revert pull request #27 until it comes with unit tests. | Aaron Stone | |
2012-10-19 | Merge branch 'master' into dummy-provider | Aaron Stone | |
Conflicts: lib/puppet/provider/vcsrepo/cvs.rb spec/support/fixture_helpers.rb spec/unit/puppet/provider/vcsrepo/cvs_spec.rb | |||
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-10-18 | Merge pull request #31 from ghoneycutt/noticket/master/missing_trailing_comma | Gary Larizza | |
Adds comma to last attribute to comply with style | |||
2012-10-18 | Merge pull request #30 from ghoneycutt/noticket/master/inappropriate_whitespace | Gary Larizza | |
Removes trailing whitespace | |||
2012-10-18 | Merge pull request #27 from ody/default_identity | Gary Larizza | |
Add default user to run git as. | |||
2012-10-18 | Merge pull request #36 from lifton/master | Chris Price | |
Replace references to Reductive Labs with Puppet Labs |