1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library
Stephen Fromm b694b9a66e Fixes for get_remote_head in git module
See issue #2471

This fixes get_remote_head() to be smarter about how to check remote
head.  It checks if it is a remote branch or tag and then checks for the
remote object id associated with it.  If it is sha1, get_remote_head()
returns it as-is since there doesn't appear to be a way to check a
remote repository for a specific object/sha1.  is_remote_tag() is added
to help out the new functionalit in get_remote_head().

In main(), if check_mode is true and version is a sha1, the module now
checks to see if the object is present.
2013-03-20 14:28:06 -07:00
..
add_host For consistency, add host should take a key named 'name' in addition to 'hostname'. 2013-02-17 20:45:37 -05:00
apt now actually import exception to be usable 2013-03-13 18:21:16 -04:00
apt_key Update various modules for check_mode 2013-02-27 12:23:35 -08:00
apt_repository Update various modules for check_mode 2013-02-27 12:23:35 -08:00
assemble Remove choices=BOOLEANS as it is no longer needed 2013-02-23 22:57:36 +01:00
async_status do not conditionalize this for older Python, fix indentation, better use 2012-12-17 21:07:36 +01:00
async_wrapper chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
authorized_key * Minor removal of some dumb I did. 2013-02-02 18:17:18 -06:00
bzr Fix bzr module documentation, name is the primary attribute. 2013-03-17 11:53:27 -04:00
cloudformation Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
command Use relative creates/removes path with chdir 2013-02-28 14:47:19 -08:00
copy Restore force in copy since arguments are no longer clobbered 2013-03-14 11:27:49 +01:00
cron Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
debug Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
django_manage Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
easy_install Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
ec2 modified ec2 module to use EC2 idempotency via client-token attribute. 2013-03-15 22:55:01 -04:00
ec2_facts 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
ec2_vol Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
facter Various cleanup to run_command 2013-01-13 11:24:21 -08:00
fail DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
fetch Update fetch documentation 2013-03-17 23:17:56 -04:00
file Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
fireball Log tracebacks to syslog when using fireball mode. 2013-03-01 18:24:48 -05:00
gem Fix --include-dependencies parameter on RubyGems >= 2.0.0 2013-03-16 06:01:02 -04:00
get_url Merge pull request #2273 from dorfsmay/pullreq-use_proxy 2013-03-10 16:10:45 -07:00
git Fixes for get_remote_head in git module 2013-03-20 14:28:06 -07:00
group Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
group_by Add a group_by action plugin. 2012-10-29 13:10:23 +01:00
hg Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
homebrew Add Homebrew module 2013-03-16 21:52:51 -04:00
ini_file Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
lineinfile Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
lvg now using 'type=' for module parameters, replaced lambda with list comprehensions, simplyfied extend/reduce part of module, renamed dev parameter to pvs 2013-03-14 13:32:16 +04:00
lvol Add type casting to user/group modules, remove executable bit from other modules 2013-03-18 00:40:57 -04:00
macports Teach the macports module to activate/deactivate packages 2013-03-14 08:14:57 +00:00
mail mail module: properly set charset 2013-02-19 11:33:38 +01:00
mongodb_user 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
mount add docs to mount module using LABEL and UUID 2013-03-05 12:13:36 -05:00
mysql_db Document mysql_(user,db) login_unix_socket option 2013-03-15 11:43:32 -04:00
mysql_user Merge pull request #2404 from lorin/mysql-mycnf-user 2013-03-17 07:32:14 -07:00
nagios Merge pull request #2430 from b6d/nagios-module-icingacfg 2013-03-17 07:02:13 -07:00
netscaler netscaler module initial commit 2013-03-06 15:32:01 +01:00
ohai Various cleanup to run_command 2013-01-13 11:24:21 -08:00
openbsd_pkg Add openbsd_pkg: package management for OpenBSD. 2013-03-03 00:01:02 +01:00
opkg Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
pacman Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
pause pause: Fix small documentation glitch 2013-02-20 15:17:49 +01:00
ping Working on complex argument support. 2013-02-17 15:01:49 -05:00
pip Run pip command from the system's temp directory 2013-03-15 15:05:21 -07:00
pkgin Add type casting to user/group modules, remove executable bit from other modules 2013-03-18 00:40:57 -04:00
postgresql_db Remove some tab/space issues in previous commits. 2013-02-26 20:30:33 -05:00
postgresql_user Remove some tab/space issues in previous commits. 2013-02-26 20:30:33 -05:00
rabbitmq_parameter Fixup the rabbitmq YAML documentation so we can generate docs for it. 2013-03-01 19:47:43 -05:00
rabbitmq_plugin Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
rabbitmq_user Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
rabbitmq_vhost Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
raw Merge pull request #1798 from dagwieers/raw-executable 2013-01-08 08:35:08 -08:00
s3 Basic groundwork for s3 module. 2013-03-16 11:18:43 +00:00
script Make script module use raw module so it does not require python 2012-12-24 00:24:34 +01:00
seboolean Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
selinux Update various modules for check_mode 2013-02-27 12:23:35 -08:00
service fail when service cannot be found by chkconfig 2013-03-18 01:12:28 -07:00
setup Added osrelease and osversion as well as changed the way sysctl is called on OSX 2013-03-15 15:58:45 +00:00
shell DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
slurp slurp: import base64 as module_common no longer does 2013-03-02 10:26:09 +01:00
subversion Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
supervisorctl Update various modules for check_mode 2013-02-27 12:23:35 -08:00
svr4pkg Update various modules for check_mode 2013-02-27 12:23:35 -08:00
sysctl Fix the documentation booleans so they use "yes" and "no" 2013-03-12 13:25:59 +01:00
template Fixup template documentation so webdocs can generate. 2013-03-17 11:24:32 -04:00
uri Make URI module default to 30 seconds. 2013-03-17 23:16:45 -04:00
user rename user option nonunique tot non_unique 2013-03-14 17:21:57 +01:00
vagrant added vagrant module 2013-03-15 22:51:21 -04:00
virt virt module doc fix 2013-02-28 18:04:25 -08:00
wait_for removed env as per project policy 2012-11-27 11:18:46 -05:00
yum Teach the yum module to support --check mode. 2013-02-17 18:18:43 -05:00
zfs Added support for --check in zfs module 2013-02-22 15:01:18 +01:00