ffcf6b2596
fix: made the return be self, given that the instance of the class itself is what is treated as the context manager by default
Alex Tavarez2026-01-24 14:47:44 -05:00
0d44ec029f
replaced cerberus dependency with library of prebuilt valdiators
Alex Tavarez2026-01-24 14:46:51 -05:00
6af0d4b48c
fix, refactor: changed file buffer mode and changed conditional sequences for shorter algorithm
Alex Tavarez2026-01-24 14:46:08 -05:00
f37c2d5998
feature: added a new type amalgamating the return types of the 'open' BIF
Alex Tavarez2026-01-24 14:39:35 -05:00
a2d921a158
feature: added a class for handling Ansible vaults that can be converted to string, and added a YAMLObject representing VPS service as in YAML doc
Alex Tavarez2026-01-24 14:38:31 -05:00
e3683fe955
feature: created file for future GPG/OpenPGP related classes
Alex Tavarez2026-01-22 17:20:00 -05:00
d9ff0443dc
feature: removed dict arg option for publish method while added repr magic method in/for SSHKeyCollection
Alex Tavarez2026-01-22 17:13:14 -05:00
66da080109
feature: made User and Group classes inherit from YAMLObject class for ease in load/dump operations and conversion
Alex Tavarez2026-01-22 17:10:15 -05:00
8e6346ee21
fix: made code DRYer, changed RegEx match test to succeed when appropriate
Alex Tavarez2026-01-22 17:08:06 -05:00
c698bc831a
fix, feature: accounted for additional cases in concatenating magic method for SSHKey, added Sequence methods to SSHKey
Alex Tavarez2026-01-22 14:19:01 -05:00
d46f3a1f83
feature: created a class representing the Ansible control node as context manager
Alex Tavarez2026-01-22 14:16:55 -05:00
ad8ea5d8b8
feature: added a class 'Parser' that abstracts from data loaders and dumpers
Alex Tavarez2026-01-22 14:12:37 -05:00
0137fcdad9
feature: made new static path variables and dictionaries containing paths
Alex Tavarez2026-01-22 14:11:03 -05:00
2df09c8087
feature: added more root paths and a dictionary of root paths for specific purposes
Alex Tavarez2026-01-21 09:20:25 -05:00
73472cb073
feature: added more Enum classes useful for type checking and renamed others
Alex Tavarez2026-01-21 09:19:46 -05:00
57cf9d197d
removed configuration manager module as may not be necessary
Alex Tavarez2026-01-21 09:18:43 -05:00
808434275b
removed node classes as currently may not be necessary
Alex Tavarez2026-01-21 09:18:14 -05:00
aea6638243
refactor: renamed module with utilities for management of software for given users and groups
Alex Tavarez2026-01-21 09:17:37 -05:00
4eab3bd787
refactor: renamed module with utilities for management of SSH keys
Alex Tavarez2026-01-21 09:16:51 -05:00
05a680eb7e
feature: added a method for 'SSHKeyCollection' that outputs its data in an Ansible-friendly data structure
Alex Tavarez2026-01-20 12:46:33 -05:00
04127d9d5f
fix: changed referenced in commented-out code
Alex Tavarez2026-01-20 12:15:31 -05:00
28bd322c87
feature: added magic method for containment test of 'SSHKeyCollection' and magic method for setting the status of 'SSHKey'
Alex Tavarez2026-01-20 12:14:53 -05:00
67e645a3bd
refactor,feature: simplified item method for 'SSHKeyCollection', added iteration and str methods to it, and refined str methods for 'SSHKey'
Alex Tavarez2026-01-14 19:36:27 -05:00
83af21eec8
fix: made sure to get basename rather than file stem
Alex Tavarez2026-01-14 18:25:47 -05:00
88aab2b418
feature: allowed slicing for item retrieval from 'SSHKeyCollection' instances
Alex Tavarez2026-01-14 18:25:01 -05:00
43885ec135
feature: implemented some numeric and sequence methods for 'SSHKey' class and added a function
Alex Tavarez2026-01-08 09:45:23 -05:00
a4a8260d1c
fix: added missing import of Callable type hint
Alex Tavarez2026-01-07 23:16:43 -05:00
c45b282c5c
fix: debugged various magic methods in 'SSHKeyCollection' and added unimplemented but planned magic methods for it and 'SSHKey' class
Alex Tavarez2026-01-07 23:16:06 -05:00
86cd3584b3
changed method name and added inheritance for 'Software' class, moved 'SSHKey' related classes to separate file and fixed 'Software' instance method call
Alex Tavarez2026-01-07 12:07:36 -05:00
e412e3d5ab
changed method name and added inheritance for 'Software' class, moved 'SSHKey' related classes to separate file and fixed 'Software' instance method call
Alex Tavarez2026-01-07 12:07:07 -05:00
f46d397e3c
refactor: moved SSH key management classes to separate file, added planned methods unimplemented for some classes
Alex Tavarez2026-01-06 21:59:05 -05:00
d75ad74d6b
refactor: joined related conditionals together
Alex Tavarez2026-01-06 20:50:09 -05:00
dc97a1f0b9
refactor: implementing or changing classes to reduce decision tree branching complexity in some methods of 'RemoteNode' class
Alex Tavarez2026-01-06 19:27:59 -05:00
2f37eed0db
fix: changed the algorithm/approach of the SSH key path removal method for 'RemoteNode'
Alex Tavarez2026-01-05 10:26:17 -05:00
f68a438de3
feature: created another set of cases for non-YAML parsing, tho not yet implemented
Alex Tavarez2026-01-05 09:10:35 -05:00
8193cb6de6
feature: created cases for non-YAML parsing, tho not yet implemented
Alex Tavarez2026-01-05 09:09:02 -05:00
5a04745c77
fix, feature: removed unpacking that lead to incorrect argument number, added Enum entry, added TODOs
Alex Tavarez2026-01-02 17:06:01 -05:00
ee15faa104
fix: replaced undefined Union reference to use of Union operator
Alex Tavarez2026-01-02 17:02:11 -05:00
9e4f0c6881
fix, feature: type-casted a variable or literal rather than type variable, added methods for key selection/removal, added method for outputting formetted instance data
Alex Tavarez2026-01-02 17:00:59 -05:00
fa1b1540d9
fix: changed typo that could lead to undefined err
Alex Tavarez2025-12-25 10:06:48 -05:00
34e1d12bca
started a class for configuration of the CLI and CLI click-decorated functions
Alex Tavarez2025-12-25 09:45:31 -05:00
9d817b54b4
added classes that allow instantiation of relevant paths tied to given software
Alex Tavarez2025-12-25 09:43:13 -05:00
ee84984cc5
added constants for key paths referenced in rest of Python code
Alex Tavarez2025-12-25 09:41:08 -05:00
f5af9a7639
added some custom types to be used in other modules
Alex Tavarez2025-12-25 09:40:04 -05:00
c8fc487996
started creation of classes representing/modeling Ansible remote and control nodes
Alex Tavarez2025-12-25 09:39:19 -05:00