summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-15Fix detached head stateTravis Fields
2014-05-13Merge pull request #138 from cyberious/FM-1284Ashley Penney
Fix issue where force=>true was not destroying repository then recreatin...
2014-05-13Fix issue where force=>true was not destroying repository then recreatingTravis Fields
2014-05-12Add test for ensure latest with branch specifiedJohn Duarte
2014-05-08Use on(host, '') rather than host.execute('') syntaxJohn Duarte
2014-05-08Change apply syntax to apply_manifest_onJohn Duarte
2014-05-07Add acceptance tests for git protocols using cloneJohn Duarte
The git_clone_protocols_spec.rb will be used to enumerate over the available protocols for git to use to clone to disk. Support key files are also included for https/ssl use. Protocols tested * file protocol (raw filepath) * file protocol (file://) * git protocol (git://) * http protocol (http://) * https protocol (https://) * ssh protocol (ssh://user@host) TODO: Currently, the ssl cert is not added to the CA on the host. This causes the git clone to fail because the cert is not trusted and the client does not proceed with a non-trusted ssl connection.
2014-04-03Merge pull request #120 from huandu/masterAshley Penney
Use `git rev-parse` to get tag canonical revision
2014-04-03Merge pull request #121 from fkrull/masterAshley Penney
Only add ssh options to commands that actually talk to the network.
2014-04-03Merge pull request #131 from igalic/fix-tabbingAshley Penney
fix tabbing in vcsrepo test
2014-04-03fix tabbing in vcsrepo testIgor Galić
2014-04-02Merge pull request #130 from Phil0xF7/add_beaker-rspec_testsHunter Haugen
add beaker-rspec support
2014-04-02add beaker-rspec supportPhil Pham
This adds support for beaker-rspec as well as basic test coverage for git
2014-03-31Merge pull request #108 from sodabrew/bzr_set_ownershipAaron Stone
Call set_ownership from the bzr provider
2014-03-06Call set_ownership from the bzr providerAaron Stone
2014-02-16Only add ssh options to commands that actually talk to the network.Felix Krull
At least in Mercurial 2.8.2, --ssh seems to be a command-specific parameter in contrast to a global one. As a result, local commands error when seeing a --ssh parameter. This change passes --ssh only for commands that actually talk to the network ('incoming', 'pull' and 'clone' here).
2014-02-12use `git rev-parse` to get tag canonical revision.Huan Du
2014-01-24Merge pull request #105 from mcanevet/no_suAshley Penney
Don't 'su' if passed user is current user
2014-01-14Merge pull request #117 from jonoterc/fix_svnlookAaron Stone
fix svnlook behavior with plain directories
2014-01-14fix svnlook behavior with plain directoriesjonoterc
svnlook expects a sub-directory within a repository called "format"; when using svnlook within a non-repository directory this causes it to throw an error. Adding a test for that directory before executing svnlook.
2014-01-11Merge pull request #115 from instruct-br/use_remote_name_when_cloning_a_repoAshley Penney
git: actually use the remote parameter
2014-01-11git: actually use the remote parameterMiguel Di Ciurcio Filho
When using the following sample, the provider does not use the value of remote when cloning a repository: vcsrepo {'/path/to/repo': ensure => 'present', provider => 'git', remote => 'test', source => 'git@somerepo:repo.git', } $ git remote origin This commit makes sure that the new repository has a remote with the supplied value. Closes #MODULES-430
2014-01-07Merge pull request #114 from freyes/add-git-shallow-cloneAaron Stone
Add the option to shallow clones with git
2014-01-07Add the option to shallow clones with gitFelipe Reyes
The new parameter used to indicate that you want a shallow clone is `:depth`
2014-01-07Temporary workaround for broken Rubygems on TravisAaron Stone
2013-12-04Merge pull request #109 from mikegerwitz/masterAaron Stone
Bug fix: Git provider on_branch? retains trailing newline
2013-12-04Stripping git on_branch? return value; contains trailing newlineMike Gerwitz
This commit also contains git provider `latest' method formatting changes; squashed by request.
2013-12-02Merge pull request #106 from mikegerwitz/masterAshley Penney
Correctly handle detached head for 'latest' on latest Git versions
2013-12-02Using rev-parse to determine branch name of HEAD for on_branch? methodMike Gerwitz
2013-12-02origin/HEAD is not valid; use origin/master for latest when branch == 'master'Mike Gerwitz
2013-11-24Don't 'su' if passed user is current userMickaẽl Canévet
2013-11-13Merge pull request #102 from apenney/020-releaseAshley Penney
Prepare 0.2.0 release.
2013-11-13Prepare 0.2.0 release.Ashley Penney
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