Commit Graph

86 Commits (6708ea887a7e9a6bfdd4ba9e8211a99aa1348432)

Author SHA1 Message Date
James Cammarata 8e111fe82e Cleanup subversion module documentation in regards to export 11 years ago
James Cammarata e85c7f848f Make sure export param for subversion module is checked as a boolean
Fixes #7548
11 years ago
Aleksey Khudyakov a67c6f0663 Fix typo requird -> required 11 years ago
James Cammarata df877f2e79 Check module_path permissions when creating ssh_wrapper for git
If the module directory is not writable/executable to the current user
(most likely because of a sudo to a non-root user), the ssh_wrapper
will be created in the default location for mkstemp() calls. To facilitate
the deletion of these new files, a new mechanism for cleaning up files
created by the module was also added.

Fixes #7375
11 years ago
Chad Nelson ef1a8e4cdd Only update submodules when recursive is true 11 years ago
James Cammarata 26ce8dac27 Fix incorrect version_added value in docstring for subversion export param 11 years ago
James Tanner 1c9950678a Addresses #6750 Use --help instead of - 11 years ago
James Tanner cca028187e Fixes #6750 Check git subcommand for --remote and expose errors 11 years ago
Gael Pasgrimaud 1fc4b89e64 Fix a typo in the subversion module documentation 11 years ago
Oleg A. Mamontov 933fb349f1 Fixed cwd for submodules update 11 years ago
Michael DeHaan c308b98742 Merge branch 'intellectronica/non-recursive-git' of git://github.com/intellectronica/ansible into devel
Conflicts:
	library/source_control/git
11 years ago
addshore 11895fa437 Add --remote to git submodule_update
This simply adds --remote to the git submodule update command.
This means that if a branch is defined in .gitmodules then we should track said branch when updating.
11 years ago
James Cammarata 19c92b3a42 Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible into maniaplanet-subversion_export 11 years ago
James Tanner 5f428041db Fixes #6582 Re-add regex to ignore untracked files that were never tracked 11 years ago
James Tanner 67517e96d3 Fixes #6567 put the git wrapper script in the module temp dir 11 years ago
andreaskern a57581e1e7 add param to note example for ssh-keyscan
hostnames in the known hosts file are typically stored as Hashed values, calling 'ssh-keyscan' with '-H' changes to output to the Hashed format so that the known_hosts file looks more consistent
11 years ago
patrickheeney fae36165a2 Fix documentation for accept_hostkey 11 years ago
Michael DeHaan c193604f60 Some more run_command updates. 11 years ago
Patrick Smith 4173608b58 git: Execute git commands in `dest` directory 11 years ago
James Cammarata d8a81c488e Remove validate_certs parameter from fetch_url calls 11 years ago
James Tanner ba0fec4f42 Force command action to not be executed by the shell unless specifically enabled 11 years ago
James Cammarata 9730157525 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
11 years ago
Chris Church 5c2c29e71f Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly. 11 years ago
James Cammarata 03cb2f5ffa Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into j2sol-git_version_tags 11 years ago
James Cammarata daa3253b52 Merge branch 'devel' of https://github.com/calebbrown/ansible into calebbrown-devel 11 years ago
Baptiste Lafontaine 22468e9455 Adding example for svn export 11 years ago
Jesse Keating 4593e3c357 Make sure requested version tag gets downloaded
There is a subtle bug in how the git module currently works. If the
version you request is a tag name, and you've already got the repo
cloned, and the tag name is a new tag, but refers to the already checked
out working copy, the git module would exit early without change. This
is bad as it means the new tag ref was not fetched and could not be used
in later tasks.

This change will check if the version is a remote tag, and if the tag
doesn't exist locally. If that is true, it'll do a fetch.

The activity could still be seen as not a change, because the working
copy won't be updated, if the new tag refers to the already checked out
copy, but that's not different than before and can be fixed as a more
comprehensive overhaul of tracking change in the git module.
11 years ago
Michael Porter 8ccbf13a13 (#5822) Use `mkstemp` to open a temporary file (as NamedTemporaryFile doesn't take a `delete` argument in Python < 2.6) 11 years ago
James Tanner 3ec043ec17 Fixes #5750 Fail on missing ~/.ssh and ignore accept_hostkey if stricthoskeychecking is off 11 years ago
James Tanner 86ba8f4dff Fix git module parameters to conform to code standards 11 years ago
James Tanner 18050d50ec Fixes #4108 Add sshopts and keyfile parameters to the git module 11 years ago
Caleb Brown 19f7db3065 Fix a bug in "hg" module so that `pull` is not set to a version.
There is a bug in the `hg` module where if a `tag` is used it won't
properly be able to update to it.

This problem is exhibited on repository where a tag is moved from an
older commit to a newer commit.
11 years ago
René Moser 0f2bc0dad8 subversion: use LANG=C to prevent regex failures
Fixes bug GH-5549.
11 years ago
jctanner 2e1d92c2ec Merge pull request #5141 from kisielk/hg
hg module: Don't modify hgrc when running purge
11 years ago
James Tanner eeee1e1c5a Set accept_hostkey to False by default in the git module and fail
early if the key is unknown
11 years ago
James Tanner 8665b0638a Add an "accept_hostkey" parameter to the git module to help automatically
accept hostkeys for git repos and prevent task hangs when the key is unknown
11 years ago
Baptiste Lafontaine bc14ced48d Adding 'export' option to subversion module (to export instead of checkout) 11 years ago
Kamil Kisiel 2300902784 Don't modify hgrc when running purge 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Tom Berger 79f3c56ddd Add a `recursive` option to the git command.
Make it possible to clone without submodules by setting
recursive to no. Default is yes, so no change is needed
in existing plays.
11 years ago
James Tanner 5c1fbcc9d2 Addresses #5036 fix typo in git module 11 years ago
James Tanner d950a3d1b5 Fixes 5036 add missing parameter to git module function call 11 years ago
Michael DeHaan 2726b13245 Changelog updates and a few module renames. vpc -> ec2_vpc, githooks -> github_hooks, blacklist -> kernel_blacklist. These are all new in 1.4 so safe to change. 11 years ago
James Tanner dfe6c5d434 Fix copyright section in githooks module 11 years ago
jctanner ad5012f930 Merge pull request #4691 from cg-soft/git-bare-ref-repo-support
Add support for bare git reference repos
11 years ago
James Tanner 303e996035 Quote docstring in githooks module 11 years ago
jctanner ce20cf8488 Merge pull request #4731 from pcgentry/devel
new githooks module
11 years ago
Michael DeHaan 337b6ce642 Fix documentation formatting. 11 years ago
Michael DeHaan 6d16f85b30 Suggest keyscan for github/other SCM hanging. 11 years ago
Christian Goetze f41d4ac390 Add support for bare git reference repos
This adds two parameters to the git module:

  bare (boolean)
    Indicates this is to be a bare repositori

  reference (string)
    Indicates the path or url to the reference repo.
    Check out the "--reference" option in the "git clone"
    man page

Added appropriate tests.
11 years ago