summaryrefslogtreecommitdiff
path: root/source_control
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes #6750 Check git subcommand for --remote and expose errorsJames Tanner2014-04-031-2/+37
|
* Fix a typo in the subversion module documentationGael Pasgrimaud2014-04-031-1/+1
|
* Fixed cwd for submodules updateOleg A. Mamontov2014-04-021-1/+1
|
* Merge branch 'intellectronica/non-recursive-git' of ↵Michael DeHaan2014-03-281-3/+19
|\ | | | | | | | | | | | | git://github.com/intellectronica/ansible into devel Conflicts: library/source_control/git
| * Add a `recursive` option to the git command.Tom Berger2013-12-021-3/+18
| | | | | | | | | | | | Make it possible to clone without submodules by setting recursive to no. Default is yes, so no change is needed in existing plays.
* | Add --remote to git submodule_updateaddshore2014-03-281-2/+2
| | | | | | | | | | 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.
* | Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible ↵James Cammarata2014-03-251-1/+19
|\ \ | | | | | | | | | into maniaplanet-subversion_export
| * | Adding example for svn exportBaptiste Lafontaine2014-02-101-0/+3
| | |
| * | Adding 'export' option to subversion module (to export instead of checkout)Baptiste Lafontaine2013-12-131-1/+16
| | |
* | | Fixes #6582 Re-add regex to ignore untracked files that were never trackedJames Tanner2014-03-191-0/+1
| | |
* | | Fixes #6567 put the git wrapper script in the module temp dirJames Tanner2014-03-191-1/+2
| | |
* | | add param to note example for ssh-keyscanandreaskern2014-03-181-1/+1
| | | | | | | | | | | | 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
* | | Fix documentation for accept_hostkeypatrickheeney2014-03-131-4/+5
| | |
* | | Some more run_command updates.Michael DeHaan2014-03-121-2/+1
| | |
* | | git: Execute git commands in `dest` directoryPatrick Smith2014-03-121-2/+2
| | |
* | | Remove validate_certs parameter from fetch_url callsJames Cammarata2014-03-121-3/+3
| | |
* | | Force command action to not be executed by the shell unless specifically enabledJames Tanner2014-03-102-51/+45
| | |
* | | Validate SSL certs accessed through urllib*James Cammarata2014-03-101-38/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Pass svn arguments as a list of strings instead of using string substition ↵Chris Church2014-02-261-12/+12
| | | | | | | | | | | | to ensure all parameters are escaped properly.
* | | Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into ↵James Cammarata2014-02-251-0/+15
|\ \ \ | | | | | | | | | | | | j2sol-git_version_tags
| * | | Make sure requested version tag gets downloadedJesse Keating2014-02-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'devel' of https://github.com/calebbrown/ansible into ↵James Cammarata2014-02-171-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | calebbrown-devel
| * | | Fix a bug in "hg" module so that `pull` is not set to a version.Caleb Brown2014-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | (#5822) Use `mkstemp` to open a temporary file (as NamedTemporaryFile ↵Michael Porter2014-01-301-2/+2
| | | | | | | | | | | | | | | | doesn't take a `delete` argument in Python < 2.6)
* | | | Fixes #5750 Fail on missing ~/.ssh and ignore accept_hostkey if ↵James Tanner2014-01-281-2/+7
| | | | | | | | | | | | | | | | stricthoskeychecking is off
* | | | Fix git module parameters to conform to code standardsJames Tanner2014-01-231-8/+8
| | | |
* | | | Fixes #4108 Add sshopts and keyfile parameters to the git moduleJames Tanner2014-01-231-1/+72
|/ / /
* | | subversion: use LANG=C to prevent regex failuresRené Moser2014-01-151-0/+1
| | | | | | | | | | | | Fixes bug GH-5549.
* | | Merge pull request #5141 from kisielk/hgjctanner2014-01-141-42/+6
|\ \ \ | | | | | | | | | | | | hg module: Don't modify hgrc when running purge
| * | | Don't modify hgrc when running purgeKamil Kisiel2013-12-021-42/+6
| |/ /
* | | Set accept_hostkey to False by default in the git module and failJames Tanner2014-01-111-4/+4
| | | | | | | | | | | | early if the key is unknown
* | | Add an "accept_hostkey" parameter to the git module to help automaticallyJames Tanner2014-01-111-0/+14
|/ / | | | | | | accept hostkeys for git repos and prevent task hangs when the key is unknown
* | Fixes #5023 Convert all modules to use new snippet import patternJames Tanner2013-12-025-10/+10
| |
* | Addresses #5036 fix typo in git moduleJames Tanner2013-11-251-1/+1
| |
* | Fixes 5036 add missing parameter to git module function callJames Tanner2013-11-251-1/+1
| |
* | Changelog updates and a few module renames. vpc -> ec2_vpc, githooks -> ↵Michael DeHaan2013-11-181-3/+3
|/ | | | github_hooks, blacklist -> kernel_blacklist. These are all new in 1.4 so safe to change.
* Fix copyright section in githooks moduleJames Tanner2013-11-141-22/+20
|
* Merge pull request #4691 from cg-soft/git-bare-ref-repo-supportjctanner2013-11-141-34/+76
|\ | | | | | | Add support for bare git reference repos
| * Add support for bare git reference reposChristian Goetze2013-10-311-34/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Quote docstring in githooks moduleJames Tanner2013-11-141-1/+1
| |
* | Merge pull request #4731 from pcgentry/develjctanner2013-11-141-0/+173
|\ \ | | | | | | | | | new githooks module
| * | adding the githooks modulePhillip2013-10-301-0/+173
| |/
* | Fix documentation formatting.Michael DeHaan2013-10-312-4/+4
| |
* | Suggest keyscan for github/other SCM hanging.Michael DeHaan2013-10-312-9/+6
|/
* git: Don't add --branch while cloning if the version is a SHA-1 hash.Yap Sok Ann2013-10-161-2/+3
|
* git: Handle network problem when running `git ls-remote`.Yap Sok Ann2013-10-161-2/+2
|
* git: Always return the before/after revisions, even in check mode.Yap Sok Ann2013-10-161-27/+18
| | | | | | | | | The return values from check mode and non-check mode should match in all cases, except when a SHA-1 hash is used as version, as there is no way to check if it is a valid hash using `git ls-remote`. Also, to accomodate this change, the force flag for the reset function has been removed so that we can do the checking in main.
* git: Make function get_remote_head usable when cloning.Yap Sok Ann2013-10-161-9/+16
| | | | This allows the module to return the before/after revisions in all cases.
* git: Remove unnecessary return code checking.Yap Sok Ann2013-10-161-10/+4
| | | | The functions either return rc=0 or call fail_json themselves.
* git: Full length SHA-1 in, full length SHA-1 out.Yap Sok Ann2013-10-161-5/+4
| | | | This removes ambiguity at the expense of slight backward incompatibility.