summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cobbler imports syck. Don't do that.Michael DeHaan2006-07-211-4/+0
|
* How about valid dates in that change log?Michael DeHaan2006-07-201-1/+1
|
* ChangelogMichael DeHaan2006-07-201-1/+3
|
* Earlier cobbler runs were tainted from an RHN yaml install. These ↵Michael DeHaan2006-07-203-5/+7
| | | | | | modifications to the yaml tree allow for relative import and do not break cobbler when yaml isn't installed.
* Fixed printoutMichael DeHaan2006-07-131-1/+1
|
* action_sync now outputs kickstart_sys files in PXE-encoded format for ↵Michael DeHaan2006-07-137-43/+45
| | | | | | | consistancy Fixed setup.py version trailing spaces
* Added templating support through new --ks_meta option which works like ↵Michael DeHaan2006-07-1214-47/+194
| | | | --kopts. The parameter is a space delimited list of key=value pairs, which allows the variables entered to be evaluated through Cheetah. Thus kickstarts are now Cheetah templates. All templating errors are ignored so usage of a $ in a template is still legal where it doesn't reference a variable. Error ignoring should be finer grained and this does need some tests. Currently this only works for kickstarts on filesystems, and I'm not sure what the behavior for http and nfs should be. Anyhow, fairly useful stuff.
* Add yaml directory to setup.pyMichael DeHaan2006-07-111-1/+1
|
* Fix URL.Michael DeHaan2006-07-101-1/+1
|
* Updates for Fedora ExtrasMichael DeHaan2006-07-101-10/+9
|
* Fix dist fieldMichael DeHaan2006-06-281-1/+2
|
* Correct rpmlint errorsMichael DeHaan2006-06-283-10/+14
|
* Make cobbler use the Howell-Evans YAML parser now, so RHEL4 supportMichael DeHaan2006-06-2813-11/+1627
| | | | will be possible (Syck needs Python 2.4).
* Add URL to spec so Fedora Extras won't complainMichael DeHaan2006-05-181-1/+1
|
* Merging mdehaan's changesMihai Ibanescu2006-05-121-3/+1
|\
| * removing else branch after a returnMihai Ibanescu2006-05-121-3/+1
| |
* | Remove api_call indirection and exception handling layer since tests had ↵Michael DeHaan2006-05-122-33/+16
|/ | | | already been modified to use failUnlessRaises.
* Make unit tests use cobbler.py instead of the /usr/bin wrapper scriptMichael DeHaan2006-05-122-2/+5
|
* Make /usr/bin/cobbler work correctlyMichael DeHaan2006-05-121-2/+2
|
* Modified spec file to add dependencies and application group, ↵Michael DeHaan2006-05-112-1/+5
| | | | /usr/bin/cobbler wrapper still needs modification, otherwise all ok.
* Remove stray characters from gethostbyip, which interfere with PXE IP encoding.Michael DeHaan2006-05-111-1/+1
|
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-1122-20/+181
| | | | test where I changed a command line syntax.
* Move docs to 3rd person and make them a bit more intelligible.Michael DeHaan2006-05-091-19/+22
| | | | Comments on docs welcome.
* Tests don't need root either.Michael DeHaan2006-05-091-3/+0
|
* More nonroot checking.Michael DeHaan2006-05-091-1/+4
|
* Fixes to non-root error handling.Michael DeHaan2006-05-092-7/+22
|
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-0914-179/+146
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-0814-135/+145
| | | | all the way up the stack. Still not quite super-consistant, but getting there. Util functions still return true/false since they just ask questions, but API functions will throw errors to ensure they are being dealt with. Main CLI class needs to take advantage of this fact and become simpler. Tests are already modified to detect new exceptions with one exception :)
* Interim checkin while straightening out exceptions. The last_error bit ↵Michael DeHaan2006-05-0816-141/+172
| | | | | | | reminded me of the thing I hated most about Microsoft SDK/DDK programming (that being, last_error and inconsistant error handling), so it had to go.
* More pychecker. More comments.Michael DeHaan2006-05-0810-75/+48
|
* PyChecker.Michael DeHaan2006-05-0816-44/+162
|
* Re-enable tmpdir test. GC/circular ref issues resolved.Michael DeHaan2006-05-081-3/+3
|
* Unit tests pass again.Michael DeHaan2006-05-0818-87/+155
|
* Removed trailing whitespaceMichael DeHaan2006-05-056-10/+10
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-0519-88/+137
| | | | cleanup but it will get straightened out very soon. The main thing I'm doing here is to remove backreferences from the object tree and make the API simpler, so that folks using the API screw up less. This means making the CLI code simpler as well. The serializer has also been overhauled so it's not as much bolted on, although I have some fixing to do to make it work entirely correctly. Wanted to check all of this in case someone decided to patch something else, making diffing really complex in the interim. I'd recommend not patching anything else to this code as I'm not close to done, really.
* Get rid of swap fileMichael DeHaan2006-05-051-0/+0
|
* Interim commitMichael DeHaan2006-05-0519-153/+285
|
* Interim refactoring commitMichael DeHaan2006-05-0517-1633/+198
|
* Interim commit while refactoring. This breaks lots of stuff.Michael DeHaan2006-05-0514-719/+718
|
* Weakref additions prior to refactoringMichael DeHaan2006-05-055-8/+12
|
* Added __init__.py to testsMichael DeHaan2006-05-051-0/+0
|
* Make /etc/cobbler.conf be packaged instead of being created, proper handling ↵Michael DeHaan2006-05-059-49/+60
| | | | of parse errors on config files, tweaking unit tests tempfile stuff since sync() test is currently broken by the tempfile changes (why??)
* Merging with mdehaan's changesMihai Ibanescu2006-05-045-213/+218
|\
| * Test case runs from a clean dir nowMihai Ibanescu2006-05-041-18/+35
| | | | | | | | We create temp dirs and we remove them when we're done.
| * Comparison function is simpler, and no need to sort when we need maxMihai Ibanescu2006-05-041-16/+16
| | | | | | | | reduce is a nice way to extract the max of a sequence.
| * s/cobber/cobbler/Mihai Ibanescu2006-05-041-8/+8
| |
| * Fixing regression in common constructorMihai Ibanescu2006-05-041-1/+1
| | | | | | | | When transcribing the constructors, moved one bracket too far to the right.
| * Moving code aroundMihai Ibanescu2006-05-041-158/+158
| | | | | | | | Just to define Collections after Items.
| * Reducing duplication in the constructorsMihai Ibanescu2006-05-041-27/+15
| | | | | | | | | | | | | | | | | | | | We define a top-level constructor in the base class and define an _item_factory that is the class to be instantiated for each item. The code as it is checked in now is broken because we reference the class before we define it in the global scope; but wanted the checkins to be separate, the next one will move all the Collection-related stuff after the Item-related stuff (but the diff would have been difficult to read)
| * Fixed so it doesn't fail on 64-bit platformsMihai Ibanescu2006-05-041-1/+1
| |