Brian Coca
e63bf1d86e
fix version/help when missing action
...
also fixed issues with galaxy cli options
2016-05-31 09:30:50 -04:00
Brian Coca
eaa7b9c0b7
treat roles_path as the list it is for galaxy list
2016-05-31 09:00:56 -04:00
Chris Houseknecht
2261b2e59a
Fix missing ignore_certs ( #16018 )
2016-05-27 09:39:00 -04:00
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
2016-04-28 23:28:02 -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
Toshio Kuratomi
fa9822df0f
Changes to convert to unicode at the borders
...
The module docs and vault changes solve issues where tracebacks can
happen. The galaxy changes are mostly refactoring to be more pythonic
with a small chance that a unicode traceback could have occurred there
without the changes. The change in __init__.py when we actually call
the pager makes things more robust but could hide places where we had
bytes coming in already so I didn't want to change that without auditing
where the text was coming from.
Fixes #14178
2016-01-28 10:56:46 -08:00
Sergii Korochkin
1325c21ca0
Adding support for scm-based role source urls (incl. integration test to cover it)
2016-01-21 14:00:29 +02:00
Brian Coca
eb4ab5fa2a
Revert "Show version without supplying a dummy action"
...
This reverts commit 11b55be5bb
.
Parsing before action will fail if one of the action specific options is used
As per issue #13743
2016-01-07 08:28:18 -05:00
muffl0n
11b55be5bb
Show version without supplying a dummy action
...
fixes #12004
parsing x2 does not seem to break anything
2016-01-06 11:53:33 -05:00
Brian Coca
d3deb24ead
output color is now configurable
2015-12-29 17:40:47 -05:00
chouseknecht
06dde0d332
Fixed documentation typos and bits that needed clarification. Fixed missing spaces in VALID_ACTIONS.
2015-12-13 05:23:04 -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
bc73920090
Updated ansible-galaxy man page. Removed -b option for import.
2015-12-13 05:23:04 -05:00
chouseknecht
d8e6bc98a2
Fix overloaded options. Show an error when no action given. Don't show a helpful list of commands and descriptions.
2015-12-13 05:23:04 -05:00
Brian Coca
8e445c551a
removed unused imports in galaxy/cli
2015-12-12 13:43:10 -05:00
chouseknecht
4f84769a17
Galaxy 2.0
2015-12-09 10:51:12 -05:00
Toshio Kuratomi
4d637e5780
Use self.args when we parse arguments that way the arguments can be constructed manually
2015-12-06 22:17:47 -08:00
Toshio Kuratomi
62979efa14
Finish up plugin porting to global display
...
Also remove display = display which does nothing
2015-11-11 10:44:23 -08:00
Toshio Kuratomi
318bfbb207
Migrate cli and dependencies to use global display
2015-11-11 10:44:22 -08:00
Will Thames
91b6004149
Allow blank lines and comments/spaces in galaxy spec files
...
Fixes #10641 again. (Regression)
Added test to discourage future such regression.
2015-11-04 15:36:20 +10:00
Brian Coca
1ecad5aed2
now galaxy correctly detects empty requirements file
...
also allow for 'scm' and 'src' not to be populated in requirements entries
2015-10-20 14:39:22 -04:00
Toshio Kuratomi
f34b55ac2b
Add python3-compat boilerplate to all .py files in lib/ansible
2015-10-19 18:36:19 -07:00
Brian Coca
638bc14566
now deps is always a list
2015-10-07 15:41:11 -04:00
Florian Apolloner
354383874f
Show a nice error if the role name is missing.
2015-10-07 11:37:23 +02:00
James Cammarata
8107c4efc7
Fixing a bug in galaxy parsing of text spec file lines
2015-10-06 21:25:28 -04:00
James Cammarata
9c9897805f
More ansible-galaxy fixes for the old spec file format
2015-10-06 01:54:48 -04:00
James Cammarata
3b8eaf6128
Cleaning up some ansible-galaxy stuff
2015-10-05 22:59:08 -04:00
Brian Coca
6f88f79de9
removed dupe install code, now trap errors forom role.install
2015-10-05 13:04:12 -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
Brian Coca
8528b20702
fixed usage text
2015-10-03 12:02:51 -04:00
Brian Coca
04a2b221b9
removed conflicting short options
2015-10-03 10:05:23 -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
Konstantin Manna
1ccfeafa76
bugfix: use correct close calls
2015-09-28 23:33:32 -04: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
Brian Coca
514fa73fcd
galaxy fixes
2015-08-28 12:32:50 -04:00
Brian Coca
e8157eab19
now output works for both search and info
2015-08-22 02:42:21 -04:00
Brian Coca
a6c0661d21
made src more prominent
2015-08-22 02:33:17 -04:00
Brian Coca
6ffd9c3025
draft galaxy cli search
...
TODO: paging results
2015-08-22 02:28:27 -04:00
Brian Coca
17f659a143
added some debug to galaxy
2015-07-30 12:35:27 -04:00
Brian Coca
0e77871426
fixed non ignore errors path to actually interrupt
...
fixed cases where missing/inaccessible file gave exception, now you get nice error
2015-07-29 20:13:17 -04:00
Brian Coca
e81ec32719
made galaxy more resilient with bad yaml files and comments/spaces in non yaml files
...
fixes #10641
2015-07-29 19:28:29 -04:00
Brian Coca
0784fa1765
removed import q
2015-07-29 11:00:04 -04:00
Brian Coca
96bcf50a94
implemented requirements file in v2
...
fixes #11179
2015-07-29 10:59:33 -04:00
Brian Coca
7215470c6f
implemented galaxy list in v2
2015-07-24 16:18:55 -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
5f791329ce
now verbose mode shows config file used
2015-07-04 10:23:49 -04:00
James Cammarata
ce3ef7f4c1
Making the switch to v2
2015-05-03 21:47:26 -05:00