Commit Graph

151 Commits (5eafa1e7c3e4494297dc1d260be1e38933d305dd)

Author SHA1 Message Date
Toshio Kuratomi e78c5f925b Python3 fixes 10 years ago
Toshio Kuratomi a954220957 Migrate the v2/tests to use the ansible.compat module 10 years ago
Toshio Kuratomi 3f27e5e080 Compat tree for code dealing with compatibility between python versions 10 years ago
James Cammarata b0069a338e Overhauls to v2 code
* using inspect module instead of iteritems(self.__class__.__dict__, due
  to the fact that the later does not include attributes from parent
  classes
* added tags/when attributes to Base() class for use by all subclasses
* removed value/callable code from Attribute, as they are not used
* started moving some limited code from utils to new places in v2 tree
  (vault, yaml-parsing related defs)
* re-added ability of Block.load() to create implicit blocks from tasks
* started overhaul of Role class and role-related code
10 years ago
Toshio Kuratomi 5fe5e2d3f4 Docstring for v2 inventory.subset 10 years ago
Michael DeHaan a60fd58145 Update block.py
Add note on block properties
10 years ago
James Cammarata 57d2622c8c Adding block code and tests 10 years ago
James Cammarata 21577ff2cc Moved v2 tests for plugins to new location 10 years ago
James Cammarata 1d04e4b3d2 Updating unittests for v2 stuff 10 years ago
Toshio Kuratomi eafa718be1 Remove inherit from object as it's no longer needed to determine new-style classes 10 years ago
Toshio Kuratomi acf4bc95a3 Give all v2 tests the python3 compat boilerplate 10 years ago
Toshio Kuratomi 18f30b00ba Add python3-compat boiler to all core files 10 years ago
Toshio Kuratomi ff8042c5c3 Add python3 compat boilerplate to executor 10 years ago
Toshio Kuratomi c9abd0fd58 Stub out Inventory class - we're going to draw heavily on the existing
inventory for implementation
10 years ago
Michael DeHaan 6ca67c61cb Starting to stub out some classes. 10 years ago
Toshio Kuratomi a707f5acfe Fix relative imports 10 years ago
Toshio Kuratomi 6ecca227b8 Fix missing import 10 years ago
Toshio Kuratomi 057c1df303 Remove temp file 10 years ago
Toshio Kuratomi cf5ce97275 Somehow, git mv only rm'd test/v2 and didn't add v2/test 10 years ago
Toshio Kuratomi b62e7ae8f5 Remove extraneous __init__ to fix v2 unittests 10 years ago
Toshio Kuratomi 46b54443f1 Add a README for the v2 unittests 10 years ago
Toshio Kuratomi 938b2108d0 Move the v2 tests under the v2 tree 10 years ago
Michael DeHaan 187da236b4 Add new class stubs 10 years ago
Michael DeHaan ccd559137f add missing headers, rm the subtree of ansible/inventory as we wish to overhaul it. 10 years ago
James Cammarata a50332fc8a Adding v2 error line support, and tests 10 years ago
Michael DeHaan 98ed69213b Error -> ParserError 10 years ago
Michael DeHaan 79f41d9c1a This makes the module args parser more functional to eliminate side effects and eliminiates the 'return None' error path
to make sure we are handling more use cases.  Some paths are not yet complete, including most likely handling of the 'raw'
module.
10 years ago
Michael DeHaan 56b6cb5328 Teaching objects to load themselves, making the JSON/YAML parsing ambidexterous. 10 years ago
James Cammarata c83a833740 New v2 ModuleArgsParser code and fixing up tests/other task code 10 years ago
Michael DeHaan 4cb7f654b6 Add stub tests for module args parsing. 10 years ago
James Cammarata 93e273333d Adding tests for new yaml parsing stuff and adjusting imports 10 years ago
James Cammarata 8ab0749217 Adding new yaml parsing classes 10 years ago
Michael DeHaan 21642c0fbf We need module args specific parsing classes. 10 years ago
Michael DeHaan 05231dcde6 Move over some of the parsing functions that we need. 10 years ago
Michael DeHaan e8aa847e5b Attempt to clean up the munging functions a little. 10 years ago
Michael DeHaan d97b38ba83 Attribute defaults and optional accessors. 10 years ago
Michael DeHaan e66a0096a7 Work in progress on task loading. 10 years ago
Michael DeHaan 1556b0384f Add submodule references since v2 development will need them, the tree obviously does
not need two copies.
10 years ago
Michael DeHaan f066e361f1 WIP on data structure processing patterns. 10 years ago
Michael DeHaan 8cecb0690f Update base.py
updated with some notes
10 years ago
Michael DeHaan 94db7365b9 __getattr__ to hide some of the attribute magic. 10 years ago
Michael DeHaan b54434c1b2 WIP on Attributes. Getting closer. 10 years ago
Michael DeHaan 6db1b4dfd2 WIP on refactoring changes 10 years ago
Michael DeHaan b9223e5995 Add attribute starter notes 10 years ago
Michael DeHaan 335221d79e This is an exceedingly rough sketch of what attributes might look like - metaclass implementations NOT complete. 10 years ago
Michael DeHaan fa81680d9b Fix docstring. 10 years ago
Michael DeHaan ff87ac08a7 An attempt at modularization prior to moving things towards BaseObject and considering Attributes. 10 years ago
James Cammarata cae88ca12f Initial work to refactor Task 10 years ago
Michael DeHaan 32309e37ce Plan for unified CLI with subcommands? 10 years ago
Michael DeHaan 723e4bddc3 Remove typo and intermediate dir. 10 years ago
Michael DeHaan da01eef4db Move v2 out of the package tree so it does not yet appear. 10 years ago