1. 11 Apr, 2013 1 commit
  2. 30 Mar, 2013 1 commit
  3. 20 Mar, 2013 1 commit
    • Fixes for get_remote_head in git module · b694b9a6
      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.
      Stephen Fromm committed
  4. 15 Mar, 2013 1 commit
    • Add check mode to git module · 73772a41
      Related to issue #2114.  This hooks in check_mode to git module.  This
      will exit with changed=True at the following places:
      
      * If the repo has not been cloned
      * If the destination has local modifications, this will exit with
        changed=True.  This is because reset() will exit anyways if there are
        local mods and force is False.
      * If the remote HEAD commit id is not the same as that of the local HEAD.
        This is determined by get_remote_head() that runs 'git ls-remote' to
        determine remote HEAD.
      
      Lastly, if this is run with check_mode enabled, this will exit with
      changed=False before fetch() is invoked so that no local mods are made.
      Stephen Fromm committed
  5. 12 Mar, 2013 1 commit
  6. 23 Feb, 2013 3 commits
  7. 16 Feb, 2013 1 commit
  8. 13 Feb, 2013 1 commit
  9. 26 Jan, 2013 1 commit
    • Git module: fix for relative paths · c337b64e
      If a relative path is passed as an argument, this change first
      converts it to an absolute path.
      
      This fixes a bug where the git module would attempt to chdir into an
      invalid directory because of multiple chdir calls against a relative
      path.
      Lorin Hochstein committed
  10. 13 Jan, 2013 3 commits
  11. 03 Jan, 2013 1 commit
  12. 05 Dec, 2012 1 commit
  13. 04 Dec, 2012 1 commit
  14. 21 Nov, 2012 1 commit
  15. 19 Nov, 2012 1 commit
  16. 08 Nov, 2012 1 commit
  17. 07 Nov, 2012 3 commits
  18. 23 Oct, 2012 1 commit
  19. 22 Oct, 2012 1 commit
  20. 12 Oct, 2012 2 commits
  21. 30 Sep, 2012 1 commit
  22. 21 Sep, 2012 1 commit
  23. 28 Aug, 2012 2 commits
  24. 23 Aug, 2012 1 commit
  25. 07 Aug, 2012 2 commits
    • Fix error handling when switching versions · 6265be3a
      git module used to check stderr for the string 'error' after calling
      switch_version().  This changes that to just look at the return code to
      determine whether the command failed.  If the rc is not zero, the git
      module will call fail_json().
      
      The problem is that git checkout will summarize the commit message,
      such as:
      
          HEAD is now at ea38409... removing artificial error
      
      When the string 'error' is the commit message, this check will
      erroneously think the command failed.
      
      This also removes the method switchLocalBranch() since it is no longer
      used.
      Stephen Fromm committed
    • whitespace + remove deprecated YAML parser (migration script lives in… · faed4b5a
      whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
      in 0.6 release)
      Michael DeHaan committed
  26. 03 Aug, 2012 1 commit
  27. 01 Aug, 2012 1 commit
  28. 31 Jul, 2012 2 commits
  29. 30 Jul, 2012 1 commit
  30. 27 Jul, 2012 1 commit