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 5946a25c91 Pip's name key can now accept remote package address.
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.
2013-05-09 05:11:02 -04: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's name key can now accept remote package address. 2013-05-09 05:11:02 -04: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