summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-18Merge pull request #59 from binford2k/clone_as_non-root_userBen 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-18Allow non-root users to clone a repoBen Ford
Without this, git will report that it can't change back to /root
2013-03-18Tighten regex to avoid matching the word 'commit' in messageSimon Forman
2013-03-12Merge pull request #56 from raphink/git_update_originBen Ford
Update origin if necessary before checking revision This looks good. Thanks!
2013-03-12Merge pull request #57 from binford2k/masterBen Ford
Allows the creation of non-root repositories
2013-03-11Create the repository with proper permissions.Ben Ford
2013-03-06Update origin if necessary before checking revisionRaphaël Pinson
2012-11-14Handle arg force for svnAndrew Johnstone
2012-10-30Release version 0.1.1Gary Larizza
This commit updates the Modulefile for a 0.1.1 release
2012-10-30Merge pull request #35 from sodabrew/dummy-providerGary Larizza
Add a dummy provider, remove 'defaultfor' from all other providers.
2012-10-19Revert pull request #27 until it comes with unit tests.Aaron Stone
2012-10-19Merge branch 'master' into dummy-providerAaron Stone
Conflicts: lib/puppet/provider/vcsrepo/cvs.rb spec/support/fixture_helpers.rb spec/unit/puppet/provider/vcsrepo/cvs_spec.rb
2012-10-19Dummy provider raises an exception if it is used. Tests to prove it.Aaron Stone
2012-10-19Use symbols consistently with provider.expects()Aaron Stone
2012-10-18Remove excess whitespace.Aaron Stone
2012-10-18Update tests to match current code.Aaron Stone
2012-10-18Get the specs running under bundler.Aaron Stone
2012-10-18Merge pull request #31 from ghoneycutt/noticket/master/missing_trailing_commaGary Larizza
Adds comma to last attribute to comply with style
2012-10-18Merge pull request #30 from ghoneycutt/noticket/master/inappropriate_whitespaceGary Larizza
Removes trailing whitespace
2012-10-18Merge pull request #27 from ody/default_identityGary Larizza
Add default user to run git as.
2012-10-18Merge pull request #36 from lifton/masterChris Price
Replace references to Reductive Labs with Puppet Labs
2012-10-18Merge pull request #37 from cprice-puppet/maint/master/update-git-documentationChris Price
Updated git documentation
2012-10-18Updated git documentationEric Hayes
2012-10-18Fix links to documentation and update LICENSEJoshua Harlan Lifton
Previous to this commit the documentation and license files referred to Reductive Labs and docs.reductivelabs.com. This commit updates those files to refer to Puppet Labs and docs.puppetlabs.com.
2012-10-18Add a dummy provider, remove 'defaultfor' from all other providers. Resolves ↵Aaron Stone
warning about multiple default providers for :vcsrepo.
2012-10-12Merge pull request #32 from rcoleman/release_0.1.0Ryan Coleman
0.1.0 Release
2012-09-19Merge branch 'master' of github.com:puppetlabs/puppetlabs-vcsrepoRyan Coleman
2012-09-19Merge pull request #33 from bobsh/ticket/master/16495Ryan Coleman
(#16495, #15660) Fix regression for notifications and pulls on git provider
2012-09-19(#16495, #15660) Fix regression for notifications and pulls on git providerKen Barber
The last merge: 4d2942edc26e7cd144a3178a1a7f6470ea401345 brought some regression that this patch should hopefully fix. Firstly, the tool no longer supported updating a branch as the syntax for git pull on anything but a branch was invalid. This also removes the extra call to 'checkout' which was causing behaviour to occur without notifying puppet, thus causing subscription notifications to not fire.
2012-09-190.1.0 ReleaseRyan Coleman
This commit prepares the Modulefile for a 0.1.0 Release. This release is a bug fix and feature release. It includes general fixes, puppet-lint compliance, adds the ability to specify a git remote and allows git operations to run as a specific user. Contributions came from Matt Robinson, Andreas Gerstmayr, Adam Gibbins, Nick Jackson, John Chilton & Jesusaurus.
2012-08-29Adds comma to last attribute to comply with styleGarrett Honeycutt
2012-08-29Removes trailing whitespaceGarrett Honeycutt
2012-07-03Add default user to run git as.Cody Herriges
Add a default to the user parameter of root, which is the user that the git commands would have ran in previously versions of this module. Without this an upgrade to the lastest release would cause syntax error all over a person's code base and provide no benefit.
2012-06-29Merge pull request #25 from ejhayes/masterJames Turnbull
Checkout git repository as user, fixed ensure latest, ssh options
2012-06-29Run git operations as a specific user (puppetlabs ticket 4773), added ssh ↵Eric Hayes
options to ensure no prompting (also fixed in pull request #1 by riseuplabs), added ability to keep repository up to date with latest (puppetlabs ticket 11278)
2012-05-23Merge pull request #24 from jesusaurus/feature/gitJames Turnbull
Add the ability to specify a git remote
2012-05-13Add the ability to specify a git remoteJesusaurus
Rather than fill the git provider with hard-coded references to origin, it would be better to abstract out which remote the resource is fetching from. But since this is only relevant to decentralized version-control systems, a multiple_remotes feature was added for the parameter to depend on. So far this is only implemented for git remotes, but it could be implemented for other VCSs as well.
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