Commit Graph

22 Commits (369bf0d214095fd02614702ecf25ebc0cb712f98)

Author SHA1 Message Date
Toshio Kuratomi 369bf0d214 No longer need AnsibleComposer 2015-04-02 12:35:50 -07:00
Toshio Kuratomi bfae708bbf Port v2 to the PyYAML C extension 2015-04-02 11:21:55 -07:00
Toshio Kuratomi e697de6076 Move AnsibleBaseBaseYAMLObject's position_info into a property 2015-04-01 14:54:22 -07:00
Toshio Kuratomi 05f1bed12b Use the node's start_mark to determine line and column.
* Elminates a lot of logic in the AnsibleComposer class.
* Update tests with new column offsets.  The rule should now be
  consistently: Column is the start of the entry's value (so for
  strings, the first non-space after the entry beginning, for dicts, the
  first character of the first key)
2015-04-01 13:51:01 -07:00
Toshio Kuratomi b152275a36 Test line numbers and "fix" a bug in the scalar line counting 2015-04-01 12:18:53 -07:00
Toshio Kuratomi c41b917162 Add a yaml constructor for unicode strings:
* Changes AnsibleConstructor so that only unicode strings are returned
  (no str type)
* Tracks line, column numbers for strings
* Adds unittests for AnsibleLoader (generic for all the yaml parsing)
2015-04-01 09:37:54 -07:00
James Cammarata 62d79568be Creating playbook executor and dependent classes 2014-12-29 10:46:47 -06:00
Veres Lajos bf5d8ee678 typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 22:23:35 +00:00
James Cammarata 24bebd85b4 Adding v2 task/block iterator and some reorganizing 2014-11-08 01:44:21 -06:00
James Cammarata 229d49fe36 Adding new playbook objects for v2
* Playbook
* TaskInclude
2014-11-05 21:13:47 -06:00
James Cammarata 3b0e64127d Refactoring role spec stuff into a dedicated parsing class
Also reworking tests to cut down on the number of patches required
by sub-classing the DataLoader() class and reworking the base object's
structure a bit to allow its use
2014-10-30 12:42:06 -05:00
Toshio Kuratomi 7055505227 Add python3 compat header 2014-10-28 20:44:21 -04:00
Toshio Kuratomi 67ff4428d5 Fix up all python3 issues that do not have to do with text/bytes 2014-10-28 20:27:14 -04:00
James Cammarata 58defa5cce Adding role deps to v2 Role class and fixing some bugs 2014-10-28 00:15:02 -05:00
James Cammarata 7cb489eca3 Adding a data parsing class for v2 2014-10-24 14:06:43 -05:00
James Cammarata 0ed97e4d11 Updating v2 Role class code 2014-10-21 10:12:45 -05:00
Toshio Kuratomi eafa718be1 Remove inherit from object as it's no longer needed to determine new-style classes 2014-10-15 19:37:29 -04:00
Toshio Kuratomi 18f30b00ba Add python3-compat boiler to all core files 2014-10-15 19:22:54 -04:00
James Cammarata a50332fc8a Adding v2 error line support, and tests 2014-10-09 12:52:39 -05:00
Michael DeHaan 56b6cb5328 Teaching objects to load themselves, making the JSON/YAML parsing ambidexterous. 2014-10-08 16:00:08 -04:00
James Cammarata 93e273333d Adding tests for new yaml parsing stuff and adjusting imports 2014-10-07 15:52:58 -05:00
James Cammarata 8ab0749217 Adding new yaml parsing classes 2014-10-07 15:04:42 -05:00