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/packaging
Yeukhon Wong 08a486fe31 Pip can now accept vcs or tarball as name. Prevented adding mirrors when name is vcs.
**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.
2013-05-18 05:31:29 +00:00
..
apt Merge branch 'devel_apt-cache_valid_time' of git://github.com/gottwald/ansible into devel 2013-05-05 12:28:33 -04:00
apt_key Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
apt_repository Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
easy_install Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
gem Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
homebrew Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
macports Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
npm Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
openbsd_pkg Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
opkg Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
pacman Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
pip Pip can now accept vcs or tarball as name. Prevented adding mirrors when name is vcs. 2013-05-18 05:31:29 +00:00
pkgin Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
rhn_channel Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
svr4pkg Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
yum Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00