Greg Sidelinger
11ffc0bfee
Fix issue with ansible-galaxy and --ignore-certs
...
The --ingore-certs flag was not honored for https://server/role.tar.gz roles in the requirements file.
2016-04-11 01:17:15 -04:00
Chris Houseknecht
2dd687acdd
Merge pull request #15256 from alikins/galaxy_roles_path_fix_15255
...
Fix galaxy roles_path cli usage. (#15255 )
2016-04-03 02:55:19 -04:00
Adrian Likins
05b46091e4
Fix galaxy roles_path cli usage.
...
If we specify a roles_path from the cli, use a
optparse action callback to make sure the roles_path
is set to a path list.
Fixes #15255
2016-04-02 21:01:13 -04:00
Justin Phelps
d604c8c3a6
Remove trailing whitespace from the galaxy init Jinja2 template. Default a description.
2016-03-15 16:27:33 -05:00
chouseknecht
42b2077c93
Fix bug 14715: Galaxy CLI paging error
2016-02-29 21:21:32 -05:00
James Cammarata
58a6cf822a
Merge pull request #13203 from willthames/galaxy_10620
...
Allow tree-ish versions for ansible-galaxy
2016-02-17 08:41:29 -05:00
Toshio Kuratomi
b1a56051bd
Prevent traceback.
...
https://github.com/ansible/ansible/issues/13743#issuecomment-171520585
In some circumstance, the file fails to open. When that occurs, we
can't try to close it in the finally clause. Using a context manager is
the cleanest way to change the code to account for that case.
2016-01-13 20:50:19 -08:00
Brian Coca
06fa841516
made loading of galaxy data files lazy
2016-01-12 12:25:09 -05:00
chouseknecht
342dee0023
Define and handle ignore_certs correctly. Preserve search term order. Tweak to Galaxy docsite.
2015-12-13 05:23:04 -05:00
chouseknecht
4f84769a17
Galaxy 2.0
2015-12-09 10:51:12 -05:00
Mick Bass
9761250a4b
Allow tree-ish to be used for galaxy role version
...
Ensure that ansible-galaxy version can be a branch, a tag, or any tree-ish
supported by git including specific commit IDs. For git scm roles, adds an
explicit git checkout of the specified role_version prior to the git archive.
This means that we'll always archive from HEAD of whatever role_version is
checked out. role_version can be a branch, a tag, or any <tree-ish> supported
by git including specific commit IDs. These changes also ensure
ansible-galaxy works for scm clones when specified version differs from
repository default branch.
2015-11-18 20:47:15 +10:00
Toshio Kuratomi
8aa2cbd647
Fix traceback because we're using display from another object that no
...
longer has it.
2015-11-11 12:19:00 -08:00
Toshio Kuratomi
318bfbb207
Migrate cli and dependencies to use global display
2015-11-11 10:44:22 -08:00
Toshio Kuratomi
f34b55ac2b
Add python3-compat boilerplate to all .py files in lib/ansible
2015-10-19 18:36:19 -07:00
Toshio Kuratomi
baa309309d
Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version.
2015-10-16 08:21:28 -07:00
James Cammarata
3b8eaf6128
Cleaning up some ansible-galaxy stuff
2015-10-05 22:59:08 -04:00
Brian Coca
f73329401b
galaxy updates
...
better error reporting on fetching errors
use scm if it exists over src
unified functions in requirements
simplified logic
added verbose to tests
cleanup code refs, unused options and dead code
moved get_opt to base class
fixes #11920
fixes #12612
fixes #10454
2015-10-05 11:43:08 -04:00
chouseknecht
57adf11262
Fix metadata description for galaxy_tags.
2015-09-30 13:36:28 -04:00
chouseknecht
f4690e3bfe
Changing tag to galaxy_tag.
2015-09-30 13:36:23 -04:00
chouseknecht
8360a1b3f2
Replace categories with tags.
...
Also added --ignore-certs option for use with install and search commands. Helpful when
overriding server and server has self signed cert.
2015-09-30 13:36:17 -04:00
James Cammarata
053c41e79d
Fix typo in ansible module_utils import from galaxy code
2015-09-17 14:25:48 -04:00
Toshio Kuratomi
3db8070aa3
Fix urlopen usage to use open_url instead
...
Add a travis test for urlopen usage
2015-09-16 20:40:17 -07:00
Toshio Kuratomi
30552cf7e9
Fix problems with undefined references to self.display and remove method that's no longer called
2015-09-16 09:27:28 -07:00
James Cammarata
2a50957ad8
Fix galaxy install dep failure
...
Also fixes issue where force does not force reinstall of deps
Fixes #10425
2015-09-15 17:31:47 -04:00
Marius Gedminas
38a96d7e8f
Python 3: avoid iteritems() in a template
...
I don't think six.iteritems is available here, but I also don't expect
there to be enough platforms to ever make the speed difference between
.items() and .iteritems() noticeable.
2015-09-03 10:11:32 +03:00
Brian Coca
66e2eb2231
removed as it does not fool setup.py to include data and it must be specified in setup.py
2015-09-01 10:58:58 -04:00
Brian Coca
514fa73fcd
galaxy fixes
2015-08-28 12:32:50 -04:00
Brian Coca
6ffd9c3025
draft galaxy cli search
...
TODO: paging results
2015-08-22 02:28:27 -04:00
Brian Coca
8153c34abf
now returns false on bad role_data
2015-07-29 19:48:21 -04:00
Brian Coca
96bcf50a94
implemented requirements file in v2
...
fixes #11179
2015-07-29 10:59:33 -04:00
Will Thames
9abd9a8f57
Make ansible-galaxy work with galaxy.ansible.com
...
Now works with role files that use Ansible Galaxy roles
Still work to do on making this work with internal roles
2015-07-24 16:04:10 -04:00
Brian Coca
4b9a79d42b
removed trailing newline
...
fix from #10973 by @retr0h
2015-07-10 22:12:46 -04:00
Brian Coca
13ac0ba1fe
now setuptools will pull the data dir with templates that are used by galaxy init
2015-07-01 11:12:10 -04:00
Brian Coca
08e981b9f4
corrected api permissions
2015-07-01 11:12:10 -04:00
James Cammarata
ce3ef7f4c1
Making the switch to v2
2015-05-03 21:47:26 -05:00