puppet_vcsrepo.git
7 years agoAnd now specs do run
Aaron Stone [Sat, 13 Jul 2013 21:58:17 +0000 (14:58 -0700)]
And now specs do run

7 years agoUse https for rubygems source, update mocha
Aaron Stone [Sat, 13 Jul 2013 21:28:22 +0000 (14:28 -0700)]
Use https for rubygems source, update mocha

7 years agoBundle exec rake spec in travis
Aaron Stone [Sat, 13 Jul 2013 21:24:19 +0000 (14:24 -0700)]
Bundle exec rake spec in travis

7 years agoMerge pull request #75 from sodabrew/patch-2
Aaron Stone [Sat, 13 Jul 2013 21:21:51 +0000 (14:21 -0700)]
Merge pull request #75 from sodabrew/patch-2

Fix mocha for specs

7 years agoFix mocha for specs
Aaron Stone [Sat, 13 Jul 2013 21:18:28 +0000 (14:18 -0700)]
Fix mocha for specs

8 years agoAdd travis.yml to repo for automated CI
Ryan Coleman [Thu, 4 Apr 2013 21:16:53 +0000 (14:16 -0700)]
Add travis.yml to repo for automated CI

8 years agoAdd description field
Ryan Coleman [Thu, 28 Mar 2013 18:11:16 +0000 (11:11 -0700)]
Add description field

8 years agoAdd summary line to Modulefile
Ryan Coleman [Thu, 28 Mar 2013 16:49:47 +0000 (09:49 -0700)]
Add summary line to Modulefile

8 years agoMerge pull request #62 from puppetlabs/release/0.1.2
Ryan Coleman [Thu, 28 Mar 2013 16:37:58 +0000 (09:37 -0700)]
Merge pull request #62 from puppetlabs/release/0.1.2

Update Modulefile for 0.1.2 release to Forge

8 years agoAdding travis.yml file for publishing
Ryan Coleman [Thu, 28 Mar 2013 16:35:58 +0000 (09:35 -0700)]
Adding travis.yml file for publishing

8 years agoUpdate Modulefile for 0.1.2 release to Forge 0.1.2
Ryan Coleman [Mon, 25 Mar 2013 20:41:42 +0000 (13:41 -0700)]
Update Modulefile for 0.1.2 release to Forge

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.

8 years agoMerge pull request #58 from sim0nf/fix_regex
Ben Ford [Wed, 20 Mar 2013 19:31:41 +0000 (12:31 -0700)]
Merge pull request #58 from sim0nf/fix_regex

Tighten regex to avoid matching the word 'commit' in message

8 years agoMerge pull request #59 from binford2k/clone_as_non-root_user
Ben Ford [Mon, 18 Mar 2013 20:14:13 +0000 (13:14 -0700)]
Merge pull request #59 from binford2k/clone_as_non-root_user

Allow non-root users to clone a repo

Merging my own PR because it's just a rework of an existing PR.

8 years agoAllow non-root users to clone a repo
Ben Ford [Mon, 18 Mar 2013 20:02:18 +0000 (13:02 -0700)]
Allow non-root users to clone a repo

Without this, git will report that it can't change back to /root

8 years agoTighten regex to avoid matching the word 'commit' in message
Simon Forman [Mon, 18 Mar 2013 13:59:56 +0000 (13:59 +0000)]
Tighten regex to avoid matching the word 'commit' in message

8 years agoMerge pull request #56 from raphink/git_update_origin
Ben Ford [Tue, 12 Mar 2013 23:20:08 +0000 (16:20 -0700)]
Merge pull request #56 from raphink/git_update_origin

Update origin if necessary before checking revision

This looks good. Thanks!

8 years agoMerge pull request #57 from binford2k/master
Ben Ford [Tue, 12 Mar 2013 16:55:57 +0000 (09:55 -0700)]
Merge pull request #57 from binford2k/master

Allows the creation of non-root repositories

8 years agoCreate the repository with proper permissions.
Ben Ford [Mon, 11 Mar 2013 23:38:40 +0000 (19:38 -0400)]
Create the repository with proper permissions.

8 years agoUpdate origin if necessary before checking revision
Raphaël Pinson [Wed, 6 Mar 2013 16:06:26 +0000 (17:06 +0100)]
Update origin if necessary before checking revision

8 years agoRelease version 0.1.1
Gary Larizza [Wed, 31 Oct 2012 00:53:31 +0000 (17:53 -0700)]
Release version 0.1.1

This commit updates the Modulefile for a 0.1.1 release

8 years agoMerge pull request #35 from sodabrew/dummy-provider
Gary Larizza [Wed, 31 Oct 2012 00:40:13 +0000 (17:40 -0700)]
Merge pull request #35 from sodabrew/dummy-provider

Add a dummy provider, remove 'defaultfor' from all other providers.

8 years agoRevert pull request #27 until it comes with unit tests. 0.1.1
Aaron Stone [Fri, 19 Oct 2012 08:37:17 +0000 (01:37 -0700)]
Revert pull request #27 until it comes with unit tests.

8 years agoMerge branch 'master' into dummy-provider
Aaron Stone [Fri, 19 Oct 2012 08:35:10 +0000 (01:35 -0700)]
Merge branch 'master' into dummy-provider

Conflicts:
lib/puppet/provider/vcsrepo/cvs.rb
spec/support/fixture_helpers.rb
spec/unit/puppet/provider/vcsrepo/cvs_spec.rb

8 years agoDummy provider raises an exception if it is used. Tests to prove it.
Aaron Stone [Fri, 19 Oct 2012 08:25:19 +0000 (01:25 -0700)]
Dummy provider raises an exception if it is used. Tests to prove it.

8 years agoUse symbols consistently with provider.expects()
Aaron Stone [Fri, 19 Oct 2012 07:26:39 +0000 (00:26 -0700)]
Use symbols consistently with provider.expects()

8 years agoRemove excess whitespace.
Aaron Stone [Fri, 19 Oct 2012 06:31:29 +0000 (23:31 -0700)]
Remove excess whitespace.

8 years agoUpdate tests to match current code.
Aaron Stone [Fri, 19 Oct 2012 06:23:05 +0000 (23:23 -0700)]
Update tests to match current code.

8 years agoGet the specs running under bundler.
Aaron Stone [Fri, 19 Oct 2012 05:01:46 +0000 (22:01 -0700)]
Get the specs running under bundler.

8 years agoMerge pull request #31 from ghoneycutt/noticket/master/missing_trailing_comma
Gary Larizza [Fri, 19 Oct 2012 01:14:44 +0000 (18:14 -0700)]
Merge pull request #31 from ghoneycutt/noticket/master/missing_trailing_comma

Adds comma to last attribute to comply with style

8 years agoMerge pull request #30 from ghoneycutt/noticket/master/inappropriate_whitespace
Gary Larizza [Fri, 19 Oct 2012 01:12:09 +0000 (18:12 -0700)]
Merge pull request #30 from ghoneycutt/noticket/master/inappropriate_whitespace

Removes trailing whitespace

8 years agoMerge pull request #27 from ody/default_identity
Gary Larizza [Fri, 19 Oct 2012 01:11:34 +0000 (18:11 -0700)]
Merge pull request #27 from ody/default_identity

Add default user to run git as.

8 years agoMerge pull request #36 from lifton/master
Chris Price [Fri, 19 Oct 2012 00:24:47 +0000 (17:24 -0700)]
Merge pull request #36 from lifton/master

Replace references to Reductive Labs with Puppet Labs

8 years agoMerge pull request #37 from cprice-puppet/maint/master/update-git-documentation
Chris Price [Fri, 19 Oct 2012 00:22:45 +0000 (17:22 -0700)]
Merge pull request #37 from cprice-puppet/maint/master/update-git-documentation

Updated git documentation

8 years agoUpdated git documentation
Eric Hayes [Tue, 3 Jul 2012 17:58:40 +0000 (13:58 -0400)]
Updated git documentation

8 years agoFix links to documentation and update LICENSE
Joshua Harlan Lifton [Fri, 19 Oct 2012 00:10:23 +0000 (17:10 -0700)]
Fix links to documentation and update LICENSE

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.

8 years agoAdd a dummy provider, remove 'defaultfor' from all other providers. Resolves warning...
Aaron Stone [Thu, 18 Oct 2012 21:57:15 +0000 (14:57 -0700)]
Add a dummy provider, remove 'defaultfor' from all other providers. Resolves warning about multiple default providers for :vcsrepo.

8 years agoMerge pull request #32 from rcoleman/release_0.1.0 0.1.0
Ryan Coleman [Fri, 12 Oct 2012 20:42:26 +0000 (13:42 -0700)]
Merge pull request #32 from rcoleman/release_0.1.0

0.1.0 Release

8 years agoMerge branch 'master' of github.com:puppetlabs/puppetlabs-vcsrepo
Ryan Coleman [Wed, 19 Sep 2012 20:30:53 +0000 (13:30 -0700)]
Merge branch 'master' of github.com:puppetlabs/puppetlabs-vcsrepo

8 years agoMerge pull request #33 from bobsh/ticket/master/16495
Ryan Coleman [Wed, 19 Sep 2012 20:15:43 +0000 (13:15 -0700)]
Merge pull request #33 from bobsh/ticket/master/16495

(#16495, #15660) Fix regression for notifications and pulls on git provider

8 years ago(#16495, #15660) Fix regression for notifications and pulls on git provider
Ken Barber [Wed, 19 Sep 2012 19:45:12 +0000 (20:45 +0100)]
(#16495, #15660) Fix regression for notifications and pulls on git provider

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.

8 years ago0.1.0 Release
Ryan Coleman [Wed, 19 Sep 2012 15:19:39 +0000 (08:19 -0700)]
0.1.0 Release

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.

8 years agoAdds comma to last attribute to comply with style
Garrett Honeycutt [Tue, 28 Aug 2012 22:24:15 +0000 (00:24 +0200)]
Adds comma to last attribute to comply with style

8 years agoRemoves trailing whitespace
Garrett Honeycutt [Tue, 28 Aug 2012 22:20:34 +0000 (00:20 +0200)]
Removes trailing whitespace

8 years agoAdd default user to run git as.
Cody Herriges [Tue, 3 Jul 2012 22:20:42 +0000 (15:20 -0700)]
Add default user to run git as.

  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.

8 years agoMerge pull request #25 from ejhayes/master
James Turnbull [Fri, 29 Jun 2012 10:59:43 +0000 (03:59 -0700)]
Merge pull request #25 from ejhayes/master

Checkout git repository as user, fixed ensure latest, ssh options

8 years agoRun git operations as a specific user (puppetlabs ticket 4773), added ssh options...
Eric Hayes [Fri, 29 Jun 2012 09:50:12 +0000 (02:50 -0700)]
Run git operations as a specific user (puppetlabs ticket 4773), added ssh 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)

8 years agoMerge pull request #24 from jesusaurus/feature/git
James Turnbull [Wed, 23 May 2012 17:22:57 +0000 (10:22 -0700)]
Merge pull request #24 from jesusaurus/feature/git

Add the ability to specify a git remote

8 years agoAdd the ability to specify a git remote
Jesusaurus [Sun, 13 May 2012 03:42:05 +0000 (20:42 -0700)]
Add the ability to specify a git remote

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.

8 years agoMerge pull request #18 from andihit/master
James Turnbull [Sun, 13 May 2012 04:34:59 +0000 (21:34 -0700)]
Merge pull request #18 from andihit/master

don't recreate bare repo if it exists already - fixes http://projects.puppetlabs.com/issues/12303

8 years agoMerge pull request #23 from jmchilton/d69a27f3bb5111822e1065f385a53b6ee99cb16a
James Turnbull [Sun, 13 May 2012 04:32:56 +0000 (21:32 -0700)]
Merge pull request #23 from jmchilton/d69a27f3bb5111822e1065f385a53b6ee99cb16a

Fix failing hg provider spec

8 years agoFix failing hg provider spec caused by refactoring in commit f1120f2d9b121097b7e77709...
John Chilton [Wed, 2 May 2012 17:35:16 +0000 (12:35 -0500)]
Fix failing hg provider spec caused by refactoring in commit f1120f2d9b121097b7e77709328144af330d0b34

9 years agoMerge branch 'patch-1'
Ken Barber [Thu, 5 Apr 2012 13:55:25 +0000 (14:55 +0100)]
Merge branch 'patch-1'

* patch-1:
  (#13062) Added clarification that 'revision' can also be used for branches.

9 years ago(#13062) Added clarification that 'revision' can also be used for branches.
Nick Jackson [Thu, 5 Apr 2012 12:35:48 +0000 (14:35 +0200)]
(#13062) Added clarification that 'revision' can also be used for branches.

9 years agoadd begin/except for hg pull (mercurial 2.1 returns 1 for hg pull when no changes...
Andreas Gerstmayr [Sun, 18 Mar 2012 16:26:54 +0000 (17:26 +0100)]
add begin/except for hg pull (mercurial 2.1 returns 1 for hg pull when no changes are found; this change gets reverted in mercurial 2.1.1)

9 years agoMerge remote-tracking branch 'upstream/master'
Andreas Gerstmayr [Sun, 18 Mar 2012 16:12:48 +0000 (17:12 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge pull request #19 from adamgibbins/master
James Turnbull [Sun, 11 Mar 2012 21:47:14 +0000 (14:47 -0700)]
Merge pull request #19 from adamgibbins/master

Improved Puppet DSL style as per the guidelines.

9 years agoMake Puppet DSL compliant with the style guides and puppet lint.
Adam Gibbins [Sun, 11 Mar 2012 21:10:08 +0000 (21:10 +0000)]
Make Puppet DSL compliant with the style guides and puppet lint.

9 years agodon't recreate bare repo if it exists already (fixes #12303)
Andreas Gerstmayr [Sun, 26 Feb 2012 17:15:10 +0000 (18:15 +0100)]
don't recreate bare repo if it exists already (fixes #12303)

9 years agoMerge pull request #17 from mmrobins/ticket/master/11798_fix_sha1_revision
Pieter van de Bruggen [Fri, 20 Jan 2012 00:39:21 +0000 (16:39 -0800)]
Merge pull request #17 from mmrobins/ticket/master/11798_fix_sha1_revision

(#11798) Fix git checkout of revisions

9 years ago(#11798) Fix git checkout of revisions
Matt Robinson [Thu, 19 Jan 2012 22:40:49 +0000 (14:40 -0800)]
(#11798) Fix git checkout of revisions

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.

9 years agoMerge pull request #15 from webfactory/fix_10787
James Turnbull [Mon, 26 Dec 2011 23:42:13 +0000 (15:42 -0800)]
Merge pull request #15 from webfactory/fix_10787

Fix (#10787) - Various fixes/tweaks for the CVS provider

9 years agoMerge pull request #14 from webfactory/fix_10788
James Turnbull [Sat, 26 Nov 2011 08:51:31 +0000 (00:51 -0800)]
Merge pull request #14 from webfactory/fix_10788

Fix (#10788) - Avoid unnecessary remote operations in the vcsrepo type

9 years agoMerge pull request #13 from webfactory/cvs_module_name
James Turnbull [Sat, 26 Nov 2011 08:51:03 +0000 (00:51 -0800)]
Merge pull request #13 from webfactory/cvs_module_name

Suggested fix for (#10751) by adding a "module" parameter

9 years agoMerge pull request #16 from mfournier/missing-working_copy_exists
James Turnbull [Sat, 19 Nov 2011 19:04:16 +0000 (11:04 -0800)]
Merge pull request #16 from mfournier/missing-working_copy_exists

Added missing 'working_copy_exists?' method.

9 years agoAdded missing 'working_copy_exists?' method.
Marc Fournier [Sat, 19 Nov 2011 17:16:40 +0000 (18:16 +0100)]
Added missing 'working_copy_exists?' method.

9 years agoMerge pull request #12 from webfactory/fix_9083
James Turnbull [Sat, 12 Nov 2011 17:07:07 +0000 (09:07 -0800)]
Merge pull request #12 from webfactory/fix_9083

Fix (#9083) as suggested by the original bug reporter.

9 years agoMerge pull request #11 from cPanelScott/master
James Turnbull [Sat, 12 Nov 2011 17:06:03 +0000 (09:06 -0800)]
Merge pull request #11 from cPanelScott/master

Bug Fix: Some ownerships in .git directory are 'root' after vcsrepo's retrieve is called

9 years ago Fix owner/group as well (#10787)
Matthias Pigulla [Sat, 12 Nov 2011 13:08:13 +0000 (14:08 +0100)]
 Fix owner/group as well (#10787)

9 years agoFix (#10787) - Various fixes/tweaks for the CVS provider
Matthias Pigulla [Sat, 12 Nov 2011 12:31:01 +0000 (13:31 +0100)]
Fix (#10787) - Various fixes/tweaks for the CVS provider

9 years agoFix (#10788) - Avoid unnecessary remote operations in the vcsrepo type
Matthias Pigulla [Sat, 12 Nov 2011 12:27:56 +0000 (13:27 +0100)]
Fix (#10788) - Avoid unnecessary remote operations in the vcsrepo type

9 years agoFix (#10751) by adding a new "module" parameter for the CVS provider
Matthias Pigulla [Fri, 11 Nov 2011 18:08:57 +0000 (19:08 +0100)]
Fix (#10751) by adding a new "module" parameter for the CVS provider

9 years agoFix (#9083) as suggested by the original bug reporter.
Matthias Pigulla [Fri, 11 Nov 2011 18:10:39 +0000 (19:10 +0100)]
Fix (#9083) as suggested by the original bug reporter.

9 years agoRun update_owner_and_excludes after update_preferences and get_revision
Scott O'Neil [Wed, 9 Nov 2011 00:46:41 +0000 (18:46 -0600)]
Run update_owner_and_excludes after update_preferences and get_revision

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

9 years agoMerge pull request #9 from webfactory/topic_optional_commands
Ken Barber [Thu, 3 Nov 2011 20:00:05 +0000 (13:00 -0700)]
Merge pull request #9 from webfactory/topic_optional_commands

Fix (#10440) by making all commands optional

9 years agoFix (#10440) by making all commands optional
Matthias Pigulla [Thu, 6 Oct 2011 21:35:41 +0000 (23:35 +0200)]
Fix (#10440) by making all commands optional

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.

9 years agoIncremented version 0.0.4
James Turnbull [Wed, 21 Sep 2011 18:10:10 +0000 (11:10 -0700)]
Incremented version

9 years agoFixed Bug #9219 - vcsrepo updates too often
James Turnbull [Mon, 29 Aug 2011 08:15:51 +0000 (01:15 -0700)]
Fixed Bug #9219 - vcsrepo updates too often

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

9 years agoMerge pull request #6 from justintime/svn-basic-auth
Nibalizer [Thu, 18 Aug 2011 17:56:51 +0000 (10:56 -0700)]
Merge pull request #6 from justintime/svn-basic-auth

Adding basic_auth feature and adding --non-interactive to all svn command

9 years agoForgot to add the parameters to the type definition.
Justin Ellison [Thu, 18 Aug 2011 13:30:09 +0000 (08:30 -0500)]
Forgot to add the parameters to the type definition.

9 years agoMerge pull request #5 from justintime/svn-update_owner
Daniel Pittman [Wed, 17 Aug 2011 17:54:10 +0000 (10:54 -0700)]
Merge pull request #5 from justintime/svn-update_owner

Adding in missing support for owner and group properties.

9 years agoAdding in missing support for owner and group properties.
Justin Ellison [Wed, 17 Aug 2011 16:10:34 +0000 (11:10 -0500)]
Adding in missing support for owner and group properties.

9 years agoAdding basic_auth feature and adding --non-interactive to all svn commands.
Justin Ellison [Wed, 17 Aug 2011 15:07:40 +0000 (10:07 -0500)]
Adding basic_auth feature and adding --non-interactive to all svn commands.

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.

9 years agoMerge pull request #4 from nearbuy/master
James Turnbull [Thu, 28 Jul 2011 16:45:47 +0000 (09:45 -0700)]
Merge pull request #4 from nearbuy/master

Add identity support for git provider, fix a couple bugs

9 years agoUpdated for ruby 1.9. Not sure how important this actually is. Works on both now.
Nate Mueller [Thu, 28 Jul 2011 02:52:36 +0000 (19:52 -0700)]
Updated for ruby 1.9.  Not sure how important this actually is.  Works on both now.

9 years agoFixed an issue with 8e51aebd4cf77c7d68ee that broke git when you didn't specify a...
Nate Mueller [Thu, 28 Jul 2011 02:52:03 +0000 (19:52 -0700)]
Fixed an issue with 8e51aebd4cf77c7d68ee that broke git when you didn't specify a revision

9 years agoAdd an identity param, respected by the git provider, to use a non-standard ssh ident...
Nate Mueller [Thu, 28 Jul 2011 02:28:23 +0000 (19:28 -0700)]
Add an identity param, respected by the git provider, to use a non-standard ssh identity file

9 years agoMerge pull request #3 from ody/bug/master/7797
James Turnbull [Mon, 6 Jun 2011 23:19:04 +0000 (16:19 -0700)]
Merge pull request #3 from ody/bug/master/7797

Makes git tags actually work as a revision option.

9 years ago(#7797) Makes git tags actually work.
Cody Herriges [Tue, 24 May 2011 09:24:26 +0000 (21:24 +1200)]
(#7797) Makes git tags actually work.

  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.

9 years agoFix #7534: provider.revision should not get called when repo doesn't exist.
Marc Fournier [Mon, 16 May 2011 09:01:20 +0000 (11:01 +0200)]
Fix #7534: provider.revision should not get called when repo doesn't exist.

9 years agogit: Update submodules recursively
Aleksey Lim [Thu, 20 Jan 2011 22:51:33 +0000 (06:51 +0800)]
git: Update submodules recursively

9 years agogit.rb: update_references before touching tags. tags created since last vcsrepo run...
Adam Gandelman [Tue, 15 Mar 2011 17:22:17 +0000 (01:22 +0800)]
git.rb: update_references before touching tags. tags created since last vcsrepo run fail otherwise

10 years agosupport setting the owner/group in hg provider
Aaron Bull Schaefer [Tue, 14 Dec 2010 18:21:42 +0000 (02:21 +0800)]
support setting the owner/group in hg provider

10 years agorestructure conditional to fix Regexp.quote(nil) error
Aaron Bull Schaefer [Tue, 14 Dec 2010 17:43:52 +0000 (01:43 +0800)]
restructure conditional to fix Regexp.quote(nil) error

10 years agoadd definitions for latest{,?} in hg provider
Aaron Bull Schaefer [Tue, 14 Dec 2010 17:42:30 +0000 (01:42 +0800)]
add definitions for latest{,?} in hg provider

10 years agofix undefined method 'working_copy_exists?' error for ProviderHg
Aaron Bull Schaefer [Tue, 14 Dec 2010 01:25:34 +0000 (09:25 +0800)]
fix undefined method 'working_copy_exists?' error for ProviderHg

10 years agogit: rework how to do excludes
Brett Lentz [Tue, 14 Sep 2010 21:14:45 +0000 (14:14 -0700)]
git: rework how to do excludes

10 years agogit: correct checking out latest revision of a branch.
Brett Lentz [Tue, 14 Sep 2010 18:24:14 +0000 (11:24 -0700)]
git: correct checking out latest revision of a branch.

10 years agonew features for vcsrepo.
Brett Lentz [Mon, 13 Sep 2010 23:20:58 +0000 (16:20 -0700)]
new features for vcsrepo.

* 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

10 years agoMerge branch 'master' of git://github.com/reductivelabs/puppet-vcsrepo
James Turnbull [Mon, 13 Sep 2010 23:02:02 +0000 (09:02 +1000)]
Merge branch 'master' of git://github.com/reductivelabs/puppet-vcsrepo

10 years agoFixed bomb out with an error concerning working_copy_exists? not
James Turnbull [Mon, 13 Sep 2010 23:00:34 +0000 (09:00 +1000)]
Fixed bomb out with an error concerning working_copy_exists? not
being defined for svn repos

Thanks to Bret S. Lambert for the patch