summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2010-09-14Merge branch 'master' of git://github.com/reductivelabs/puppet-vcsrepoJames Turnbull
2010-09-14Fixed bomb out with an error concerning working_copy_exists? notJames Turnbull
being defined for svn repos Thanks to Bret S. Lambert for the patch
2010-08-20Take into account :latest status in git providerAleksey Lim
2010-08-14Support latest value for ensure property in git providerAleksey Lim
2010-07-29Git provider fails to create a repo if it does not existJames Turnbull
2010-07-22When ensure => latest, svn didn't update.mikeknox
svn provider now gets the latest revision from the repo, rather than the checkout Test with revision => <some value> as well now when ensure => latest, only refresh dependent resources if the repo is actually updated Tidied up debug messages
2010-06-01Fixed git provider to retrieve tagsJames Turnbull
2010-03-18Fix typo.Bruce Williams
Signed-off-by: Bruce Williams <bruce@codefluency.com>
2010-03-18Support different create and revision= operations depending on the revision ↵Bruce Williams
type in Git (commit, tag, or local/remote branch)
2010-03-18Add submodule support to git providerBruce Williams
2010-03-18Subversion to use provider example group API for specsBruce Williams
2010-03-17Build ProviderExampleGroup for refactored provider testsBruce Williams
2010-03-15ensure = latest to support reference tracking.\n\nWorking with tags, more ↵Bruce Williams
work needed for branches (at least with git)
2010-03-14filesystem_type feature (for svn's --fstype)Bruce Williams
2010-03-14Since we're overriding retrieve anyhow, make all the values for ensure explicitBruce Williams
2010-03-14Make gzip compression and bare repositories explicit featuresBruce Williams
2010-03-14Basic Bazaar supportBruce Williams
2010-03-13Support Mercurial tags, restructure examplesBruce Williams
2010-03-13Basic Mercurial supportBruce Williams
2010-03-13Refactor common bits to abstract provider superclassBruce Williams
2010-03-13Basic CVS supportBruce Williams
2010-03-13Handle special case when converting an empty bare repository to a working ↵Bruce Williams
copy repository
2010-03-13Some fixes after live testing, add support for bare cloned reposBruce Williams
2010-03-13Convert bare repos to working copy repos and vice-versaBruce Williams
2010-03-12Tests for Git revision property, cleanupBruce Williams
2010-03-12Basic SVN providerBruce Williams
2010-02-22Initial commitroot