1. 15 Jun, 2013 1 commit
  2. 04 Jun, 2013 1 commit
  3. 03 Jun, 2013 1 commit
  4. 23 May, 2013 1 commit
  5. 22 May, 2013 2 commits
  6. 19 May, 2013 1 commit
  7. 18 May, 2013 1 commit
    • Pip can now accept vcs or tarball as name. Prevented adding mirrors when name is vcs. · 08a486fe
      **Summary**:
      
      There was a bug in the previous commit; pip module would add --use-mirrors options to a source package when state is absent. The bug is resolved in this commit by checking ``not is_package`` in the if branch.
      
      Furthermore, in order to support non-vcs source name like tarballs, we must not add -e option to the arg list. Given this circumstance, this commit have is_tar and is_vcs and the latter is checked to add -e option. Since mirrors do not make sense with vcs or tarball source, this commit will not add --use-mirrors (default to True) as always.
      Yeukhon Wong committed
  8. 09 May, 2013 1 commit
    • Pip's name key can now accept remote package address. · 5946a25c
      Summary:
      
      Pip module would abort when name is a remote package address because
      the module was expecting a version if ``=`` is part of the name value.
      
      Furthermore, the pip module would require either name or requirement to
      be a key, although the documentation table said neither was required.
      The fact that one of them must be present is not documented in the
      documentation leads to confusion. This commit added this fact as part
      of description.
      
      In this commit, we resolve the confusion by stating either ``name``
      or ``requirement`` is needed. Next, if the user puts remote address
      as the value of the ``name`` key, we will not use mirror. Lastly,
      if the user uses the remote serivice address as the name of the
      package and the user does not supply -e option in extra_vars
      (which is the whole point of this commit), we will add -e to
       extra_vars so pip command can run with -e option.
      Yeukhon Wong committed
  9. 28 Apr, 2013 1 commit
  10. 30 Mar, 2013 1 commit
  11. 19 Mar, 2013 1 commit
  12. 15 Mar, 2013 1 commit
  13. 14 Mar, 2013 2 commits
  14. 12 Mar, 2013 1 commit
  15. 27 Feb, 2013 1 commit
    • Update various modules for check_mode · 8f0d8a85
      This updates the following modules to support check_mode:
      * apt_key
      * apt_repository
      * easy_install
      * pip - will always report changed due to the way it handles state
      * seboolean
      * selinux
      * slurp - since nothing changes, it just adds that it supports
        check_mode
      * subversion - reports changed when checking out new repo and
        when updating.
      * supervisorctl
      * svr4pkg
      
      See issue #2114.
      Stephen Fromm committed
  16. 23 Feb, 2013 3 commits
  17. 20 Feb, 2013 1 commit
  18. 05 Feb, 2013 1 commit
  19. 13 Jan, 2013 1 commit
  20. 12 Dec, 2012 1 commit
    • pip module improvements · 19b84d05
      - Do not silently ignore malformed pip requirements files.
      - Properly reports changed when removing packages.
      - "latest" i.e. --upgrade is *not* incompatible with requirements files.
      - Less branchy, simpler logic.
      - Removed pointless variable "initializations", Python doesn't need that.
        Other code simplifications.
      - Fun fact; pip install is (kind of) case insensitive, pip freeze is not.
        So, 'sqlalchemy' will be reported as installed by install, but missing
        by freeze.
      
      The perhaps controversial change and the one that led to finding /
      fixing above issues...
      
      Instead of adding command parameters 'index', and 'find', and 'mirrors',
      and etc.  Added 'extra_args' which are passed onto pip.
      
      The use case for --index-url is having a private pypi repo, like
      http://pypi.python.org/pypi/localshop, to which you publish private
      packages.  I'm sure most every pip option has a use case for someone.
      extra_args handles all those. Can reserve ansible command parameters for
      the most common.
      
      Tested with pip 1.1.
      Norman J. Harman Jr committed
  21. 02 Dec, 2012 3 commits
  22. 24 Nov, 2012 2 commits
  23. 21 Nov, 2012 1 commit
  24. 19 Nov, 2012 1 commit
  25. 23 Oct, 2012 1 commit
  26. 14 Oct, 2012 1 commit
    • Test for python-pip as well as pip · 2f6b9e69
      On Red Hat, CentOS and Fedora systems, the pip binary will be called python-pip
      instead of pip. This commit makes the pip module also check for python-pip.
      
      The reason we check for python-pip *first*, is to have ansible fail on not
      finding 'pip' and reporting *that*. This is consistent with current behaviour
      and will not confuse users of Debian et al., where the 'python-pip' binary
      never exists.
      
      Tested on Fedora 18 and Ubuntu 12.04.
      Maxim Burgerhout committed
  27. 01 Oct, 2012 1 commit
  28. 29 Sep, 2012 2 commits
  29. 30 Aug, 2012 2 commits
  30. 17 Aug, 2012 2 commits