summaryrefslogtreecommitdiffstats
path: root/cobbler/collection_distros.py
Commit message (Collapse)AuthorAgeFilesLines
* Applying Ben Riggs patch to add API flag to disable triggers when addingMichael DeHaan2007-11-161-3/+3
| | | | objects.
* Some fixes to non-db backed serialization. Repos still need some work.Michael DeHaan2007-10-171-3/+3
|
* Various changes to allow for increased performance in the WebUI and in ↵Michael DeHaan2007-10-171-13/+5
| | | | | | saving state, plus a fix to import that keeps from creating extra yum repo entries for various distros.
* Fix bug where non-lowercase intermediate objects could be deleted, orphaning ↵Michael DeHaan2007-09-271-1/+1
| | | | | | objects below them.
* Ben Riggs patch to allow find to take arbitrary variables plus a reworkingMichael DeHaan2007-08-151-1/+1
| | | | | | of find (mpd) to add some error checking, list returns, and other semi-useful stuff. Plus tests and an optomization to allow name=foo as the only parameter to be just as fast as before.
* Lowercase input on removal (this should really be using the find() method.Michael DeHaan2007-06-221-0/+1
|
* This is Adam Rosenwald's patch for seperating triggers into pre and postMichael DeHaan2007-06-061-1/+2
| | | | triggers, plus my modifications to make them deal with return codes.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-3/+3
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.
* Starting to add i18n to cobbler using rhplMichael DeHaan2007-05-251-0/+1
|
* Implemented trigger support for tying in with other software.Michael DeHaan2007-04-161-1/+2
|
* Work towards implementation of optional integrated "light" sync support, ↵Michael DeHaan2007-02-011-3/+4
| | | | | | which is enabled by default in /var/lib/cobbler/settings. Users of the API will need to use the with_copy=True and with_delete=True parameters to initiate this behavior. As mentioned in the previous commit, sync() still needs to be run at least once prior to any add commands using this feature.
* Skeleton code (currently does exactly what it used to do) for cobbler ↵Michael DeHaan2007-02-011-0/+3
| | | | | | add/remove commands that do not require running "sync". Sync will only be required when the kickstart files behind systems change, or when YAML is hand edited. This should vastly improve cobbler for use in larger systems, especially when used as a library when all control paths are known. Sync will still be required once for an initial install (just once), or whenever kickstart or YAML files are edited. It can also be run again at any time for a sanity check -- sync isn't going away.
* test code no longer overwrites user settings in /var/lib/cobblerMichael DeHaan2006-10-161-1/+6
|
* Added templating support through new --ks_meta option which works like ↵Michael DeHaan2006-07-121-0/+3
| | | | --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.
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-111-1/+9
| | | | test where I changed a command line syntax.
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-091-1/+1
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-081-2/+3
| | | | 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-081-4/+2
| | | | | | | 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.
* PyChecker.Michael DeHaan2006-05-081-6/+13
|
* Unit tests pass again.Michael DeHaan2006-05-081-2/+2
|
* Removed trailing whitespaceMichael DeHaan2006-05-051-3/+3
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-051-0/+33
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.