Commit graph

20 commits

Author SHA1 Message Date
Him You Ten
f99576749a added stdout and stderr outputs (#1900)
* added stdout and stderr outputs

Added stdout and stderr outputs of the results from composer as the current msg output strips \n so very hard to read when debugging

* using stdout for fail_json

using stdout for fail_json so we get the stdout_lines array
2016-04-11 08:21:15 +02:00
Toshio Kuratomi
d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-01-11 13:06:22 -08:00
Ramunas Dronga
a0965ff934 fixed composer usage example 2015-10-30 12:24:42 +02:00
Ramunas Dronga
83c0bfbe3f added constraint for space in composer command 2015-10-29 23:21:46 +02:00
Ramunas
d5673f6eb4 removed check for empty composer response 2015-10-27 22:14:12 +02:00
Ramunas Dronga
1b7496f8dc added version info for params 'arguments' 2015-10-23 11:00:52 +03:00
Ramunas Dronga
92dc7cd65c allow specify arguments for composer 2015-10-21 16:20:53 +03:00
Rene Moser
384eaba766 composer: smarter arguments handling
To get all available options in json for each command, `composer help <command> --format=json` can be used. This allows us to simply parse the output and dynamically find out if an option is available. Neat!
2015-09-11 21:26:23 +02:00
Rene Moser
7fdfa01615 composer: rename composer_install to composer_command 2015-09-11 21:22:09 +02:00
Rene Moser
0b0cc7b049 composer: simplify has_changed() 2015-09-11 21:20:20 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Roman Vyakhirev
4475676866 composer module. ignore_platform_reqs option added. 2015-06-16 11:33:14 -04:00
Brian Coca
edf519a0c2 moar quotes 2015-05-14 09:37:00 -04:00
Greg DeKoenigsberg
fc794ef094 Adding author's github id 2015-05-13 23:48:56 -04:00
Brian Coca
39cb571064 Merge pull request #94 from komuta/clean-composer-options
Unify composer options parsing
2015-03-25 23:30:43 -04:00
Simon JAILLET
f3c008ed5d composer: Fix changed status
Fix `changed` status that always returns False with composer.

This [previous PR](https://github.com/ansible/ansible-modules-extras/pull/61) had fixed the issue but because of a [Composer recent change](cb336a5416) stderr is now used for reporting information meant for humans while stdout is more for the output of the command.

This PR would definilty solve this issue.
2015-03-03 21:49:16 +01:00
Julien Pepy
e1008059ec Clean options building in Composer module 2015-02-03 13:54:27 +01:00
Julien Pepy
2e1b703b3c Fix composer module checkmode and change detection 2014-12-23 22:38:15 +01:00
Jeroen Thora
4513d3d29e Small typo fix 2014-12-11 20:30:00 +01:00
Michael DeHaan
7e6fc7023d Reorganization. 2014-11-04 17:31:59 -05:00
Renamed from packaging/composer.py (Browse further)