summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-12Merge pull request #18 from andihit/masterJames Turnbull
don't recreate bare repo if it exists already - fixes http://projects.puppetlabs.com/issues/12303
2012-05-12Merge pull request #23 from jmchilton/d69a27f3bb5111822e1065f385a53b6ee99cb16aJames Turnbull
Fix failing hg provider spec
2012-05-02Fix failing hg provider spec caused by refactoring in commit ↵John Chilton
f1120f2d9b121097b7e77709328144af330d0b34
2012-04-05Merge branch 'patch-1'Ken Barber
* patch-1: (#13062) Added clarification that 'revision' can also be used for branches.
2012-04-05(#13062) Added clarification that 'revision' can also be used for branches.Nick Jackson
2012-03-18add begin/except for hg pull (mercurial 2.1 returns 1 for hg pull when no ↵Andreas Gerstmayr
changes are found; this change gets reverted in mercurial 2.1.1)
2012-03-18Merge remote-tracking branch 'upstream/master'Andreas Gerstmayr
2012-03-11Merge pull request #19 from adamgibbins/masterJames Turnbull
Improved Puppet DSL style as per the guidelines.
2012-03-11Make Puppet DSL compliant with the style guides and puppet lint.Adam Gibbins
2012-02-26don't recreate bare repo if it exists already (fixes #12303)Andreas Gerstmayr
2012-01-19Merge pull request #17 from mmrobins/ticket/master/11798_fix_sha1_revisionPieter van de Bruggen
(#11798) Fix git checkout of revisions
2012-01-19(#11798) Fix git checkout of revisionsMatt Robinson
The git provider had some problems checking out SHA1s - it couldn't. And what's worse, it lied about what it was doing saying that it did checkout the SHA1. There was also a bug where if you specified a different branch than you were on, it was doing a `reset --hard` to the specified branch. For example, if master was checked out, and you set "revision => stable", it would `git reset --hard stable` on the master branch instead of just checking out stable. Maybe the original author did this to get around being unable to checkout when you had local changes, but the --force flag to checkout will fix that. With this change, you should now be able to specify a branch, tag, or SHA1 in the revision attribute and have it work.
2011-12-26Merge pull request #15 from webfactory/fix_10787James Turnbull
Fix (#10787) - Various fixes/tweaks for the CVS provider
2011-11-26Merge pull request #14 from webfactory/fix_10788James Turnbull
Fix (#10788) - Avoid unnecessary remote operations in the vcsrepo type
2011-11-26Merge pull request #13 from webfactory/cvs_module_nameJames Turnbull
Suggested fix for (#10751) by adding a "module" parameter
2011-11-19Merge pull request #16 from mfournier/missing-working_copy_existsJames Turnbull
Added missing 'working_copy_exists?' method.
2011-11-19Added missing 'working_copy_exists?' method.Marc Fournier
2011-11-12Merge pull request #12 from webfactory/fix_9083James Turnbull
Fix (#9083) as suggested by the original bug reporter.
2011-11-12Merge pull request #11 from cPanelScott/masterJames Turnbull
Bug Fix: Some ownerships in .git directory are 'root' after vcsrepo's retrieve is called
2011-11-12 Fix owner/group as well (#10787)Matthias Pigulla
2011-11-12Fix (#10787) - Various fixes/tweaks for the CVS providerMatthias Pigulla
2011-11-12Fix (#10788) - Avoid unnecessary remote operations in the vcsrepo typeMatthias Pigulla
2011-11-11Fix (#10751) by adding a new "module" parameter for the CVS providerMatthias Pigulla
2011-11-11Fix (#9083) as suggested by the original bug reporter.Matthias Pigulla
2011-11-08Run update_owner_and_excludes after update_preferences and get_revisionScott O'Neil
These are called when the type is retrieve'd. Without this, the ownerships for any .git metafiles fetch'd durring the retrieve will be owned by root. This patch fixes that by invoking update_owner_and_excludes after fetch'ng
2011-11-03Merge pull request #9 from webfactory/topic_optional_commandsKen Barber
Fix (#10440) by making all commands optional
2011-11-03Fix (#10440) by making all commands optionalMatthias Pigulla
This will work around the issue in http://projects.puppetlabs.com/issues/6907, as the agent run will no longer fail if one of the commands is not installed. This gives you enough time to install the necessary packages through Puppet (make sure you get the dependencies right), as the agent won't fail unless you really start accessing the repository.
2011-09-21Incremented version0.0.4James Turnbull
2011-08-29Fixed Bug #9219 - vcsrepo updates too often James Turnbull
If vcsrepo is used with ensure => latest to keep something from a larger repository checked out it will trigger an update every time something changes anywhere in the repository, not just in the part that’s actually checked out. In combination with a busy development team and a vcsrepo resource with notify => Service[foo] this means frequent restarts of a service for no good reason. The attached patch solves the issue by looking at the “Last Changed Rev” line from svn info instead of “Revision”. Patch thanks to: Knut Arne Bjørndal
2011-08-18Merge pull request #6 from justintime/svn-basic-authNibalizer
Adding basic_auth feature and adding --non-interactive to all svn command
2011-08-18Forgot to add the parameters to the type definition.Justin Ellison
2011-08-17Merge pull request #5 from justintime/svn-update_ownerDaniel Pittman
Adding in missing support for owner and group properties.
2011-08-17Adding in missing support for owner and group properties.Justin Ellison
2011-08-17Adding basic_auth feature and adding --non-interactive to all svn commands.Justin Ellison
The basic_auth feature allows the manifest to specify an optional basic_auth_username and basic_auth_password to be sent to the subversion server over HTTP(S). Adding --non-interactive to all svn commands just lets svn know that there's not a user on the other end to send y/n questions.
2011-07-28Merge pull request #4 from nearbuy/masterJames Turnbull
Add identity support for git provider, fix a couple bugs
2011-07-27Updated for ruby 1.9. Not sure how important this actually is. Works on ↵Nate Mueller
both now.
2011-07-27Fixed an issue with 8e51aebd4cf77c7d68ee that broke git when you didn't ↵Nate Mueller
specify a revision
2011-07-27Add an identity param, respected by the git provider, to use a non-standard ↵Nate Mueller
ssh identity file
2011-06-06Merge pull request #3 from ody/bug/master/7797James Turnbull
Makes git tags actually work as a revision option.
2011-06-06(#7797) Makes git tags actually work.Cody Herriges
Fixes a number of issues with the git provider. remote_branch_revision? method was always returning true because it would always at least return something, even if that something was a zero length array. You normally don't desire a tag to become a branch since it creates ambiguity so I removed that. latest method had no concept of (no branch) and so would fail if you switched to a remote branch or a tag. Then finally revision sha1 returned by 'git rev-parse' for tags is not the revision of the commit the tag represents. We have to use 'git show' and do some text parsing to actually figure out which commit goes with which tag.
2011-06-03Fix #7534: provider.revision should not get called when repo doesn't exist.Marc Fournier
2011-05-20git: Update submodules recursivelyAleksey Lim
2011-05-20git.rb: update_references before touching tags. tags created since last ↵Adam Gandelman
vcsrepo run fail otherwise
2010-12-27support setting the owner/group in hg providerAaron Bull Schaefer
2010-12-27restructure conditional to fix Regexp.quote(nil) errorAaron Bull Schaefer
2010-12-27add definitions for latest{,?} in hg providerAaron Bull Schaefer
2010-12-27fix undefined method 'working_copy_exists?' error for ProviderHgAaron Bull Schaefer
2010-09-14git: rework how to do excludesBrett Lentz
2010-09-14git: correct checking out latest revision of a branch.Brett Lentz
2010-09-13new features for vcsrepo.Brett Lentz
* support recursive chown on repo * support checking out tags (git) * support adding excludes/ignored files * dropped a few unused methods * rework git provider logic a bit