Brian Coca
941564b366
API now connects to server lazily ( #15632 )
...
This should fix most issues with offline operation.
Fixes #14486
Fixes #13991
Alternate to #15363 and #15593
9 years ago
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.
9 years ago
Chris Houseknecht
2dd687acdd
Merge pull request #15256 from alikins/galaxy_roles_path_fix_15255
...
Fix galaxy roles_path cli usage. (#15255 )
9 years ago
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
9 years ago
Justin Phelps
d604c8c3a6
Remove trailing whitespace from the galaxy init Jinja2 template. Default a description.
9 years ago
chouseknecht
42b2077c93
Fix bug 14715: Galaxy CLI paging error
9 years ago
James Cammarata
58a6cf822a
Merge pull request #13203 from willthames/galaxy_10620
...
Allow tree-ish versions for ansible-galaxy
9 years ago
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.
9 years ago
Brian Coca
06fa841516
made loading of galaxy data files lazy
9 years ago
chouseknecht
342dee0023
Define and handle ignore_certs correctly. Preserve search term order. Tweak to Galaxy docsite.
9 years ago
chouseknecht
4f84769a17
Galaxy 2.0
9 years ago
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.
9 years ago
Toshio Kuratomi
8aa2cbd647
Fix traceback because we're using display from another object that no
...
longer has it.
9 years ago
Toshio Kuratomi
318bfbb207
Migrate cli and dependencies to use global display
9 years ago
Toshio Kuratomi
f34b55ac2b
Add python3-compat boilerplate to all .py files in lib/ansible
9 years ago
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.
9 years ago
James Cammarata
3b8eaf6128
Cleaning up some ansible-galaxy stuff
9 years ago
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
9 years ago
chouseknecht
57adf11262
Fix metadata description for galaxy_tags.
9 years ago
chouseknecht
f4690e3bfe
Changing tag to galaxy_tag.
9 years ago
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.
9 years ago
James Cammarata
053c41e79d
Fix typo in ansible module_utils import from galaxy code
9 years ago
Toshio Kuratomi
3db8070aa3
Fix urlopen usage to use open_url instead
...
Add a travis test for urlopen usage
9 years ago
Toshio Kuratomi
30552cf7e9
Fix problems with undefined references to self.display and remove method that's no longer called
9 years ago
James Cammarata
2a50957ad8
Fix galaxy install dep failure
...
Also fixes issue where force does not force reinstall of deps
Fixes #10425
9 years ago
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.
9 years ago
Brian Coca
66e2eb2231
removed as it does not fool setup.py to include data and it must be specified in setup.py
9 years ago
Brian Coca
514fa73fcd
galaxy fixes
9 years ago
Brian Coca
6ffd9c3025
draft galaxy cli search
...
TODO: paging results
9 years ago
Brian Coca
8153c34abf
now returns false on bad role_data
9 years ago
Brian Coca
96bcf50a94
implemented requirements file in v2
...
fixes #11179
9 years ago
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
9 years ago
Brian Coca
4b9a79d42b
removed trailing newline
...
fix from #10973 by @retr0h
10 years ago
Brian Coca
13ac0ba1fe
now setuptools will pull the data dir with templates that are used by galaxy init
10 years ago
Brian Coca
08e981b9f4
corrected api permissions
10 years ago
James Cammarata
ce3ef7f4c1
Making the switch to v2
10 years ago