summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-08Merge pull request #98 from reidmv/autorequire_gitAshley Penney
Add autorequire for Package['git']
2013-10-20Add autorequire for Package['git']Reid Vandewiele
If the git package is being managed, it stands to reason that the git package should be installed before trying to potentially manage git repositories using vcsrepo resources. This commit adds an autorequire to the vcsrepo type that reflects the above premise.
2013-10-08Merge pull request #96 from apenney/metadataAaron Stone
Add a blank dependencies section and stringify versions.
2013-10-08Add a blank dependencies section and stringify versions.Ashley Penney
2013-10-07FM-103: Add metadata.json to all modules.Ashley Penney
2013-10-07Merge pull request #95 from apenney/metadataAshley Penney
FM-103: Add metadata.json to all modules.
2013-10-01Merge pull request #93 from apenney/coverageAaron Stone
Move from rspec1 to rspec2
2013-10-01Modifications to .travis.yml to test appropriately.Ashley Penney
2013-09-18Add convert_working_copy_to_bear and convert_bare_to_working_copy tests.Ashley Penney
2013-09-18Add tests for convert_working_copy_to_bare andAshley Penney
convert_bare_to_working_copy
2013-09-18Add latest tests.Ashley Penney
2013-09-18Add test for latest?Ashley Penney
Also add some fixtures for previous tests.
2013-09-18Overhaul the spec tests to work in rspec2.Ashley Penney
This work gets rid of the provider_example_group and reworks everything to work properly against rspec2. I don't know if I'd consider the style "better" but it works.
2013-09-04Merge pull request #91 from jiacona/masterAaron Stone
update git provider to handle checking out into an existing (empty) dir
2013-09-04Merge pull request #92 from markleightonfisher/dev-README.CVS.markdownAaron Stone
Documented the "module" attribute.
2013-09-04Documented the "module" attribute.Mark Leighton Fisher
2013-08-28change path_empty? to not do full directory listingJohn Iacona
2013-08-28update git provider to handle checking out into an existing (empty) dirJohn Iacona
2013-08-12Merge pull request #89 from razorsedge/svn_revisionAaron Stone
SVN provider should check for '^Revision:' and not '^Last Changed Rev:'
2013-08-12And fix the rspec test to pass.Michael Arnold
2013-08-12Fix svn provider to look for '^Revision:'.Michael Arnold
SVN provider should check for '^Revision:' and not '^Last Changed Rev:'. Addresses GitHub Issue #43.
2013-07-30Merge pull request #84 from sodabrew/issue_12034_svnswitchHunter Haugen
added support for changing upstream repo url - rebase of #74
2013-07-25Handle revision update without source switch.Aaron Stone
2013-07-25Update specs for svn switchAaron Stone
2013-07-25added support for changing upstream repo urlMatthew Slowe
added checks that the URL of the WC matches the URL from the manifest changed from using "update" to "switch"
2013-07-25Merge pull request #85 from sodabrew/travis_puppet_versionAaron Stone
Try to get Travis to respect the three different puppet versions
2013-07-25Travis should run three Puppet versions in a matrix with three Ruby ↵Aaron Stone
versions, but limit Puppet 2.6.x to Ruby 1.8.7.
2013-07-25Merge pull request #86 from sodabrew/puppet_util_withenvAaron Stone
Correct use of withenv
2013-07-25The location of Puppet::Util[::Execution].withenv changed from Puppet 2.x to 3.xAaron Stone
2013-07-19Style adjustmentAaron Stone
2013-07-19Merge pull request #83 from sodabrew/issue_8331_svnlookAaron Stone
Add support for master svn repositories
2013-07-19Style and commentsAaron Stone
2013-07-19Add support for master svn repositories5Ub-Z3r0
Pull request related to issue #8331. I have added support into the exists? method (actually working_copy_exists?) for checking if the path is a master repository, using svnlook. It should be ok in most cases, since svnlook comes with svnadmin in nearly every distribution.
2013-07-19WhitespaceAaron Stone
2013-07-19WhitespaceAaron Stone
2013-07-19Merge pull request #82 from webfactory/issue-10791Aaron Stone
Allow for setting the CVS_RSH environment variable
2013-07-19Allow for setting the CVS_RSH environment variableMatthias Pigulla
2013-07-17Merge pull request #81 from sepulworld/svn-configurtation-parameterAaron Stone
Adding svn configuration parameter, and docs
2013-07-17Adding svn configuration parameter, and docszane
2013-07-17Use git checkout --force instead of short -f everywhereAaron Stone
2013-07-17Merge pull request #46 from Paulche/masterAaron Stone
Enable unlimited nesting for submodule updating
2013-07-17Merge pull request #78 from jhoblitt/git_provider_checkout_remote_refsAaron Stone
fix git provider checkout of a remote ref on an existing repo
2013-07-17fix git provider checkout of a remote ref on an existing repoJoshua 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-17WhitespaceAaron Stone
2013-07-17Unlimited sudmodule's nesting for git providerPaul Chechetin
2013-07-16Merge pull request #77 from arnoudj/hg_identityAaron Stone
Add user and ssh identity to the Mercurial provider.
2013-07-16Added ssh identityArnoud 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-15Merge pull request #76 from Paulche/patch-1Aaron Stone
Add travis build-status image
2013-07-15Add travis build-status imagePaul Chechetin
2013-07-14Fix bzr specs broken for a whileAaron Stone