Age | Commit message (Collapse) | Author |
|
|
|
|
|
Bring stderr output to the Puppet visible output
|
|
This moves all copyright statements to the NOTICE file in accordance with the ASFs guidelines on applying the Apache-2.0 license.
|
|
|
|
Add mirror option for git cloning
|
|
|
|
Example:
vcsrepo { '/path/to/repo':
ensure => mirror,
provider => git,
source => 'git://example.com/repo.git',
}
|
|
false is not a valid value; only :false is.
|
|
added param trust server cert
updated depth feature
updated README.markdown
trust_server_cert is not feature
trust_server_cert default value should be false
add test for depth and trust_server_cert
|
|
The ssh-keygen is waiting for a 'y' to confirm overwrite, and the test hangs.
|
|
The URL can have special characters, making the regex match fail.
|
|
Will also work with empty repositories.
|
|
This would explode when revision was unspecified when you were on a
branch. Use the branch you're currently on when updating.
|
|
Make sure the embedded SSL cert doesn't expire
|
|
MODULES-2131 Git provider now takes account of revision property when using depth property.
|
|
depth property.
|
|
acceptance: Add a test verifying anonymous https cloning
|
|
|
|
|
|
In MODULES-891 the question arose whether https sources are supported.
This test shows that it works.
|
|
|
|
Add support for 'conflict' parameter to populate svn --accept arg
|
|
Without this commit, the unit tests for the git provider changing
multiple remotes mocks the remotes in a particular order. While in
practice it doesn't matter which remote the update_remotes method
updates first, the unit tests must be able to mock them in the correct
order. For ruby 1.8.7, a Hash will not necessarily produce key value
pairs in the same order on each run, which causes intermittent failures
in the unit tests. This change sorts the :source property values before
trying to update them, and updates the unit tests to expect the values
in alphabetical order.
|
|
|
|
|
|
Since lets can't be used in before :all any more.
|
|
removing private tests, due to rspec3 not handling private methods
|
|
The `retrieve` method was calling `create` and `destroy` on every run
with `force => true`. Retrieve should not be making any changes to the
system, so removed that code, and updated `working_copy_exists` to make
sure that the directory not only contains a `.git` directory, but also
if `source` is specified it also matches `#{path}/.git/config` so that
it will overwrite a git repo with a different source.
Updated tests to not check for the old broken behavior. Added a regression test.
|
|
|
|
|
|
Convert specs to RSpec 2.99.2 syntax with Transpec
|
|
Git is not installed on EL 5, but it is not in the repos either.
With this patch, if we are going to install git on an EL 5 platform we
first ensure epel is installed(FM-1951) Ensure Git is installable on
EL 5 platforms
|
|
This conversion is done by Transpec 2.3.7 with the following command:
transpec
* 22 conversions
from: it { should ... }
to: it { is_expected.to ... }
* 19 conversions
from: obj.should
to: expect(obj).to
* 15 conversions
from: == expected
to: eq(expected)
* 5 conversions
from: it { should_not ... }
to: it { is_expected.not_to ... }
* 2 conversions
from: its(:attr) { }
to: describe '#attr' do subject { super().attr }; it { } end
* 2 conversions
from: obj.should_not
to: expect(obj).not_to
* 2 conversions
from: proc { }.should
to: expect { }.to
* 1 conversion
from: be_false
to: be_falsey
* 1 conversion
from: be_true
to: be_truthy
For more details: https://github.com/yujinakayama/transpec#supported-conversions
|
|
|
|
Disable simplecov on Ruby 1.8.7
|
|
|
|
|
|
beaker core copy_module_to
|
|
|
|
|
|
Previously we were using `puppet_module_install()`. Which was ported from
Beaker-RSpec. Unfortunately for our heros that method has been refactored
since this was ran last. The method `puppet_module_install()` in Beaker
installs from the public forge, while the previous behavior, installing via
scp from the current directory, has moved to the method `copy_module_to`.
This updates the helper for the beaker tests to use the updated method.
|
|
Update Markdown with missing Perforce details.
|
|
|
|
Previously vcsrepo detached HEAD on checkout which caused further branch
revisions to fail. This corrects the behavior, and works on git 1.7,
1.8, 1.9, and 2.0
|
|
|
|
|
|
Fix tabs/spaces in p4.rb
|
|
Basic Perforce provider
|
|
|