summaryrefslogtreecommitdiffstats
path: root/cobbler/action_import.py
Commit message (Collapse)AuthorAgeFilesLines
* Add preliminary support for RHEL5 tree management. This is ratherMichael DeHaan2007-04-031-47/+119
| | | | | | | | | | | | complicated and introduces a new variable source_repos on each 'distro' object and also has some implications for how sync completes. Basically RHEL5 has multiple comps files so createrepo must be run more than once. The main point of this support is to install and configure the "core" mirror for distros, where previously only extras/updates were dealt with. The core repo is derived from the kickstart tree (cobbler import) rather than the "cobbler repo add" commands (manual add).
* Improvements/fixes to the "DVD import" code so that they know more aboutMichael DeHaan2007-04-021-5/+35
| | | | how to deal with RHEL and in-between builds of Fedora.
* This is release 0.4.4. I mean it this time :)Michael DeHaan2007-03-231-1/+4
|
* Ongoing work for 0.4.4 -- misc tweaks/fixes, and continuation on the ↵Michael DeHaan2007-03-221-0/+1
| | | | | | | kernel-parameters-get-shorter effort as well as templating and import features. Plus some random things, like case insensitive paths and some additional argument checking.
* Ongoing work on a better DVD import...Michael DeHaan2007-03-201-118/+154
|
* Most of these diffs come from directory reorg/cleanup, though the main ↵Michael DeHaan2007-03-191-98/+80
| | | | feature here is the start of a better --import command that creates significantly shorter paths and can work more reliably on mounted DVD images (losetup or otherwise). Detection of kickstarts based on paths needs to be augmented by additional means for this to really work. However, changes going in here (and still more to come) result in cleaner names for imported profiles, and substantially shorter kernel option command lines, which is needed to keep under the 255 limit. There is also some work here going in to template out all of the files for PXE, reducing the amount of code in action_sync and also making PXE setups much more customizable (menu choices, titles, random parameters, ipappend 2, etc) without patching the source. "tree" on import is also attached now to the distro, not the profile. So, whew, that's a lot.
* Fixes to import tree URL's and repo parameter splitting, thanks to ↵Michael DeHaan2007-03-021-1/+1
| | | | et-mgmt-tools list folks for pointing these out.
* Bundling Cheetah for backwards compatibility, and associated changes to ↵Michael DeHaan2007-02-191-1/+1
| | | | specfiles/etc.
* A few thingsMichael DeHaan2007-02-161-0/+1
| | | | | | - manpage clarification/correction (including a parameter typo in "cobbler repo add") - don't write the etc/yum.repos.d file if no --local-filename - print out createrepo command for debug purposes (during cobbler import)
* Fix bug in import pathsMichael DeHaan2006-12-181-1/+1
|
* Add some rudimentary ability for "cobbler import" to get kickstart trees ↵Michael DeHaan2006-12-141-17/+26
| | | | | | | | from http. This uses wget right now, and is rather lame. Wget gets confused and can easily end up mirroring all of the mirror, and with --no-parent on, usually mirrors hardly anything. Repo mirroring, should we also support http, will not do it this way.
* Fix update script, though replacing the update script with reposync (and ↵Michael DeHaan2006-12-131-2/+4
| | | | | | generalized code) seems to be the best route.
* Several changes related to cobbler import.mdehaan@mdehaan.rdu.redhat.com2006-12-131-10/+31
| | | | | | | | First, fixed an import bug in orphan detection. Other features are related to running createrepo after a partial rsync to create nicer repos, and shipping a more strict rsync.excludes file by default. Note that the createrepo change still needs to be applied to the "cobbler reposync" command, which works outside of import.
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-4/+4
|
* Prune rsync mirrors when importing.mdehaan@mdehaan.rdu.redhat.com2006-12-051-1/+1
|
* Cobbler import should skip ISO's (they are not useful in a kickstart tree) andMichael DeHaan2006-12-041-1/+1
| | | | PPC code (not supported, for now anyway) to save space.
* Merge 243:1f764e5dd1ccDavid Lutterkort2006-10-251-7/+8
|
* bugfix to revert a previous change -- paths DO need to have "/"'s in them, ↵Michael DeHaan2006-10-181-5/+4
| | | | because slashes cause obvious problems.
* Trailing whitespace.Michael DeHaan2006-10-181-1/+1
|
* Added some directory pruning to the "import --path" command. import is nowMichael DeHaan2006-10-181-22/+39
| | | | roughly 3x faster over NFS.
* Serialize changes during imports, since NFS traversal is very slow.Michael DeHaan2006-10-181-4/+4
|
* Fixed output messageMichael DeHaan2006-10-171-2/+0
|
* Clarify one warning message and one comment about depsMichael DeHaan2006-10-171-2/+2
|
* Output simplification for humansMichael DeHaan2006-10-161-3/+2
|
* More fixes related to rsync:// importMichael DeHaan2006-10-161-3/+4
|
* Numerous fixes to import codeMichael DeHaan2006-10-161-5/+9
|
* Preparation for 2.5.1Michael DeHaan2006-10-161-2/+2
|
* It's simpler if imported distros and profiles are named after the path ↵Michael DeHaan2006-10-161-6/+7
| | | | without mmodification, so we won't transmogrify them.
* Pychecker.Michael DeHaan2006-10-161-1/+2
|
* Trailing whitespace.Michael DeHaan2006-10-161-4/+4
|
* Make kickstart templating for tree source URL's work (find where the tree is ↵Michael DeHaan2006-10-131-19/+38
| | | | and set up kickstart templating to insert it).
* Update manpage documentation and the auto-update file.Michael DeHaan2006-10-131-1/+2
|
* Package the really basic kickstart fileMichael DeHaan2006-10-131-5/+6
|
* Lots of work on importing rsync mirrors, including preliminary code to guessMichael DeHaan2006-10-131-18/+109
| | | | kickstart files and assign them for distributions that we know how to minimally kickstart.
* Import feature added (usable for things like /mnt/redhat)Michael DeHaan2006-10-131-40/+49
|
* Initial code behind an import feature for directory trees, i.e. to transform ↵Michael DeHaan2006-10-121-0/+101
something like /mnt/redhat (containing a lot of OS builds with trees) into distributions and profiles directly.