summaryrefslogtreecommitdiffstats
path: root/cobbler/item_repo.py
Commit message (Collapse)AuthorAgeFilesLines
* Make repo code raise exceptions that explain what about the objects is not ↵Michael DeHaan2007-11-191-2/+2
| | | | valid.
* Disable the blender cache as it's running afoul of the sync code, mixing up ↵Michael DeHaan2007-11-141-4/+3
| | | | | | profiles/systems data incorrectly when blending objects for cobbler/sync.
* Since reposync (yum-utils >1.0.4) works with rhn_yum_plugin again, make some ↵Michael DeHaan2007-11-091-0/+7
| | | | | | | fixes to enable repo handling to work better. Repos are no longer symlinked so if a name of a repository is specified that uses a channel, the repo must be named after the channel.Tested with yum-utils 1.0.4 and works fine.
* Work on getting the repos to be templated, largely complete, pending more ↵Michael DeHaan2007-11-021-21/+0
| | | | testing.
* Add --arch back to docs, plus WebUI changes to add the field.Michael DeHaan2007-10-291-0/+1
|
* Apply patch to restore --arch parameter and handling to cobbler repoMichael DeHaan2007-10-291-1/+12
| | | | management.
* Repos are now added to the WebUI.Michael DeHaan2007-09-141-0/+1
|
* Checking in the read-write API with demo examples at the bottom of remote.pyMichael DeHaan2007-09-111-0/+10
|
* Convert argument to string before testing.Michael DeHaan2007-09-071-1/+1
|
* Ben Riggs patch to allow for reposyncs of explicit repos + tweakMichael DeHaan2007-09-061-1/+8
| | | | to repo object to ensure items get serialized as booleans.
* Some code to fix a reference issue that allowed for hash value propogation ↵Michael DeHaan2007-08-231-0/+1
| | | | | | | up the graph, in ksmeta and possibly kopts. Also added some code to check to make sure an object of the wrong type never gets added to the wrong collection.
* Adding plumbing in cobbler for --virt-path and --virt-type options.Michael DeHaan2007-07-121-1/+1
|
* Repos should default to autosync.Michael DeHaan2007-06-211-2/+2
|
* Keep track of depth of cobbler objects such that a pseudo-topological sortMichael DeHaan2007-06-131-2/+5
| | | | | | | | | | | | | can be done at deserialization time. The result of this is that full graph listing information can be reconstructed at time of config loading (up and down links), while only having to store the up links. This preserves the existing config file format while allowing for arbitrary inheritance and a reasonable measure of hand-editability. If changing profile relationships by hand, the cached depth info may be wrong, so some way to automatically resolve this could potentially be doable, but it's such a distinct corner case that I don't deem it neccessary at this point.
* Lots of work towards profile inheritance. This works in the UI now, withMichael DeHaan2007-06-131-9/+16
| | | | | | | | | | | | | | | | | | | some rough edges (like listing the tree). cobbler profile add --name=profile2 --inherit=profile1 --otherparameters=... cobbler profile edit --name=profile2 --stillmoreparamters=... Data is interleaved for hashes, combined for arrays, and overriden for scalar values. This was heavily inspired by Will-It-Blend, and in this implementation it all blends. Implementation notes -- Updating a parent profile doesn't apply changes to the child objects until a sync, so this seems like a good upgrade for a future commit. Also, the children mapping that makes this possible needs some tweaks because they may load out of order, in which case "cobbler list" can't render a full tree. There are various approaches to deal with this and it should be a (relatively) easy change.
* Generalizes tree listing to allow for inheritance and arbitrary nestingMichael DeHaan2007-06-121-0/+2
|
* Generalizes object blending and the concept of parentage to allow for later ↵Michael DeHaan2007-06-111-0/+3
| | | | | | | | | | | | | support of inheritance hierarchies, as well as making more data available to koan and the kickstart templating engine. With this change, any variable in the tree (anywhere), is now accessible via Cheetah -- and the same goes for koan XMLRPC. Unit tests pass and looks okay on the outside, though this still warrants extended testing to verify no unintended behaviors have changed.
* Add --createrepo-flags (in "cobbler repo add") to the manpage, also add "-cMichael DeHaan2007-06-071-7/+7
| | | | cache" as a default value.
* This is Perry Myers's patch to reposync to allow for caching options and toMichael DeHaan2007-06-071-16/+38
| | | | eliminate extra calls to createrepo.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-9/+6
| | | | | | | 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
|
* This commit overhauls the main cobbler CLI module and adds support forMichael DeHaan2007-04-201-3/+5
| | | | | | | | | | | | object renaming, copying, and editing -- previously only addition and removal were supported. This frees uses (hopefully) from the need to hack YAML and risk damaging their configurations by rendering the config unparseable. It also makes "cobbler list" print out a simple tree representation that shows the association between objects. This also relaxes the requirements for what constitutes a kernel and initrd filename, just in case they are named something different. They still have to exist.
* This commit adds a --rpm-list parameter to "cobbler repo add". --rpm-listMichael DeHaan2007-04-101-3/+23
| | | | | | | | | | | | | | | | | allows for partial mirroring of RPM content from a yum repository using yumdownloader. An example of this would be wanting to have a local mirror of useful tools from FC6 Extras (cobbler and koan, possibly?) while not pulling down content that just takes up time/space (like 3D games). This will work for http:// and ftp:// repositories, but not RHN at this point. Incidentally this feature doesn't resolve dependencies at this point because yumdownloader is currently broken. See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232183 So, for now, give all dependencies for --rpm-list and when yumdownloader gets fixed, the "--resolve" argument can be reinserted and this will be a lot more useful.
* Cobbler report commands are now sorted also.Michael DeHaan2006-12-211-2/+2
|
* Rsync mirrors shouldn't use SSH.Michael DeHaan2006-12-201-5/+2
|
* Lots of needed doc updates on the repo management hooks.mdehaan@mdehaan.rdu.redhat.com2006-12-151-14/+0
| | | | | | Accidentally clobbered some of the /usr/bin/reposync using code in "cobbler reposync", so it's back to just rsync for now. Will keep it this way (because it's much simpler) unless there are a decent amount of requests.
* Adding createrepo calls to "cobbler reposync" ... working on auto-generating ↵Michael DeHaan2006-12-131-8/+28
| | | | | | yum configs and allowing them to be installable for mirrored repos.
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-0/+104