summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-18Change apply syntax to apply_manifest_onJohn Duarte
2014-05-18Add test for git clone using sshJohn Duarte
2014-05-18Add test for git clone using httpsJohn Duarte
2014-05-18Add test for git clone using httpJohn Duarte
2014-05-18Add managehome to testuserJohn Duarte
In order to make sure that the home directory for the test user is created and destroyed, add managehome to the setup and teardown manifests for the testuser.
2014-05-18Move git daemon setup/teardown into context blockJohn Duarte
In order to ensure that the git daemon is running for the proper test, the setup and teardown calls for git daemon hav been moved into the context block for testing the git protocol.
2014-05-18Add test for git clone using file pathJohn Duarte
2014-05-18Add test for clone using git protocolJohn Duarte
2014-05-18Add spec for clone protocols skeletonJohn Duarte
The git_clone_protocols_spec.rb will be used to enumerate over the available protocols for git to use to clone to disk. The initial skeleton includes the 'file://' protocol test as well as support key files to be used later.
2014-05-16Added multiline parsing tests for branch -aTravis Fields
2014-05-16Merge pull request #140 from cyberious/RakeTaskMorgan Haskel
Add rake tasks to test both beaker and beaker-rspec in one go
2014-05-16Add rake tasks to test both beaker and beaker-rspec in one goTravis Fields
2014-05-15Fix spec testsTravis Fields
2014-05-15update to use -a and desired for hard resetTravis Fields
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.