Commit Graph

3 Commits (d12645f23041cc28bdc4cc53cbec5e945d1c6bb8)

Author SHA1 Message Date
Nico Schottelius 2fe647a1f7 Revert "implement before/after to declare dependencies and deprecate require" 12 years ago
Steven Armstrong 84770b9ef2 implement before/after to declare dependencies and deprecate require 12 years ago
Nico Schottelius c9f728e073 lib/cdist => cdist (pypi) 12 years ago
Steven Armstrong 7d61b77708 fix autorequire dependency handling 13 years ago
Nico Schottelius 0082b7f07c allow objects to start with /, but not to contain //; sanitise after validation 13 years ago
Nico Schottelius 632146114c update copyright 13 years ago
Nico Schottelius 8f75a9133f do not fail validation on empty object_id 13 years ago
Nico Schottelius 1e5226e21c fix indention errors due to vim c&p 13 years ago
Nico Schottelius 2492d51f6f make object_from_name() better readable 13 years ago
Nico Schottelius 097b4ea6ad :%s/self.type/self.cdist_type/g 13 years ago
Nico Schottelius f27730e10b finish rewrite to instance method 13 years ago
Nico Schottelius 0c990e1756 add singleton / no object_id test to CdistObject 13 years ago
Nico Schottelius fb4f8784b6 rename Type => CdistType 13 years ago
Nico Schottelius 1314567012 also begin to prefix type with cdist 13 years ago
Nico Schottelius 4be37f6e93 begin rename Object => CdistObject 13 years ago
Nico Schottelius 15fb097464 add function to sanitise object_id and verify no // 13 years ago
Steven Armstrong 252ae5ea56 new feature: dependency resolver 13 years ago
Steven Armstrong 1729516414 allow .cdist (OBJECT_MARKER) inside file names but not as _the_ file/folder name 13 years ago
Nico Schottelius c7d0d581b1 we pass base_path, not object_path (clearification) 13 years ago
Steven Armstrong 792ddf0a5b add utility method to join object name from type and object_id 13 years ago
Steven Armstrong afba5e9280 add utilitly method to split an object name into its type name and object_id 13 years ago
Steven Armstrong 70ee0f1681 implement __lt__ to support sorting a list of objects 13 years ago
Steven Armstrong ff2192f6de remove legacy attributes: ran, prepared 13 years ago
Steven Armstrong 022b17d700 implement Object state 13 years ago
Steven Armstrong 030d5919e6 raise exception if object_id contains .cdist 13 years ago
Nico Schottelius 7bb81e2f18 Whitespace does not not weigh anything - remove - sed -i 's/ *$//g' *py */*py 13 years ago
Steven Armstrong fb705adc5d simplify object_id error handling 13 years ago
Steven Armstrong 93db0b58d6 append type to error message 13 years ago
Steven Armstrong f76a5abf6f /./,/ 13 years ago
Steven Armstrong 1c84e423d1 include type name in error message 13 years ago
Steven Armstrong d346364544 better error message 13 years ago
Steven Armstrong 3e3919d15f implement fail if object_id starts with / 13 years ago
Steven Armstrong b122b53d73 implement Object object_from_name 13 years ago
Steven Armstrong 5edcc0537b use api internally instead of constructing the same paths again 13 years ago
Steven Armstrong 939962b583 implement code_remote 13 years ago
Steven Armstrong 93ede2a3be implement code_local 13 years ago
Steven Armstrong 2c6c9bcab5 Object handles its explorers itself 13 years ago
Steven Armstrong 753936b7c3 make object.source a list 13 years ago
Steven Armstrong 904396f6a5 new method to create object on the file system 13 years ago
Steven Armstrong 5a082058e5 new method which checks if object exists on the file system 13 years ago
Steven Armstrong 96c059983a - legacy code, + docstrings 13 years ago
Steven Armstrong 67543146f0 add source property 13 years ago
Steven Armstrong af8f006fc6 /type/cdist_type/ 13 years ago
Steven Armstrong bbcecc03ef remove redundant code, use new fsproperty module instead 13 years ago
Steven Armstrong 86f976976e bugfix: use absolute path when accessing file system 13 years ago
Steven Armstrong 96ca5b6988 bugfix: use absolute path to when accessing file sytem (unittest discoverd :-) 13 years ago
Steven Armstrong e27cd9e809 when comparing objects, define equality as 'attributes are the same' 13 years ago
Steven Armstrong b778c9ff15 absolute path is based on relative path -> does not need another .cdist 13 years ago
Steven Armstrong 5f4a85f6ad also need .cdist in relative paths 13 years ago
Steven Armstrong 53737aad3a append .cdist to absolute paths 13 years ago