summaryrefslogtreecommitdiffstats
path: root/cobbler/action_reposync.py
Commit message (Collapse)AuthorAgeFilesLines
* Backport reposync patchMichael DeHaan2008-07-021-0/+2
|
* yum reposync should pull all kernels, not just i386 kernels, when doing reposyncMichael DeHaan2008-06-251-1/+5
|
* Consolidate various repo related warnings under cobbler check and clean up ↵Michael DeHaan2008-05-131-1/+1
| | | | prints elsewhere.
* Apply patch to remove anti-createrepo conditions, bump version.Michael DeHaan2008-05-121-1/+1
|
* Added some additional links for kickstart viewing/editing to the ↵Michael DeHaan2008-05-091-1/+1
| | | | profile/system web pages
* Added --mirror-locally option to repo add/edit and WebUI for specifying that ↵Michael DeHaan2008-05-081-10/+27
| | | | | | | a cobbler repo object is to be used directly, rather than mirrored into /var/www/cobbler by reposync/rsync. This can be usable when network connectivity outside is certain, and there are no performance or bandwidth needs on a local mirror. This supports http:// and ftp:// only, rsync:// is not natively understood by yum.
* Two things -- (A) remove rhpl dep as we aren't using it and we want to useMichael DeHaan2008-04-091-1/+1
| | | | | more standard xlat for other distros potentially, (B) fix the kerb module some more.
* Patch to allow overriding gpgcheck, +version bumpMichael DeHaan2008-03-101-2/+10
|
* Run reposync for local repos even if "RPM" is not contained in the path.Michael DeHaan2008-03-071-1/+1
|
* This is 0.8.1Michael DeHaan2008-02-201-1/+1
|
* Patch to fix error during reposyncMichael DeHaan2008-02-181-1/+1
|
* Fix permissions on reposyncMichael DeHaan2008-02-141-1/+1
|
* Enforce permissions/context after reposync.Michael DeHaan2008-01-211-0/+24
|
* Modify reposync to not preserve permissions on rsync.Michael DeHaan2008-01-101-1/+1
|
* Added http_port parameter to settings so Apache can run on ports other than 80.Michael DeHaan2008-01-101-1/+2
|
* Added a parameter --yumopts which allows setting parameters for yum plugins ↵Michael DeHaan2008-01-091-0/+5
| | | | | | in a manner similar to how --kopts and --ksmeta works.
* Apply Christophe's patch to enable yum priorities. Slightly tweaked to ↵Michael DeHaan2007-11-291-2/+1
| | | | default to 99, not 200.
* Further work on CLI modularization. All commands implemented now, except ↵Michael DeHaan2007-11-191-3/+3
| | | | | | | for old school compatibility translation for list/report. All commands will then need to be tested...
* Disable the blender cache as it's running afoul of the sync code, mixing up ↵Michael DeHaan2007-11-141-1/+1
| | | | | | 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-10/+3
| | | | | | | 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.
* In the process of making all repositories templates so we can apply the ↵Michael DeHaan2007-11-021-8/+6
| | | | | | | values of --server-override to them and make cobbler servers easier to migrate also. This will result in the removal of --local-filename from cobbler repos.
* Since some versions of yumdownloader don't support --resolve, allow people ↵Michael DeHaan2007-11-011-1/+4
| | | | | | | | | to remove it by moving it to the configuration file. By default, it will be there, but this provides a fix for those running OS's with an old version of yum/yumdownloader. If -resolve is not in settings, --rpmlist on "cobbler repo add" needs to include all dependencies for the packages listed, which could be a rather long list.
* Code to wire up the new --server-override to the sync code. This leaves off ↵Michael DeHaan2007-11-011-0/+9
| | | | | | | | some of the repo management, which will not work with --server-override completely in all cases (depending on DNS) until we do some extra post magic in our action_sync stanza generaton. Ow, my brain hurts just thinking about other people who have to read that explanation :)
* Apply patch to restore --arch parameter and handling to cobbler repoMichael DeHaan2007-10-291-2/+12
| | | | management.
* Replace @@server@@ in repo config files.Michael DeHaan2007-10-081-2/+5
|
* Ben Riggs patch to allow for reposyncs of explicit repos + tweakMichael DeHaan2007-09-061-20/+18
| | | | to repo object to ensure items get serialized as booleans.
* So it /is/ resolve.Michael DeHaan2007-08-281-1/+1
|
* --desolvedeps not --resolveMichael DeHaan2007-08-281-1/+1
|
* Fix reposync if using rsync as a source and paths don't contain an archMichael DeHaan2007-08-281-2/+1
|
* Re-enable --resolve for yumdownloader since it works now (at leastMichael DeHaan2007-08-131-4/+3
| | | | in some places).
* random FIXME cleanupMichael DeHaan2007-06-121-1/+0
|
* Always create the .origin and directory, even if doing the reposync fromMichael DeHaan2007-06-081-3/+2
| | | | yum_rhn_plugin. Needs further testing.
* This is Perry Myers's patch to reposync to allow for caching options and toMichael DeHaan2007-06-071-16/+12
| | | | eliminate extra calls to createrepo.
* Fix missing rhpl import for i18nMichael DeHaan2007-05-301-0/+2
|
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-19/+18
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.
* in rawhide, apparently yumdownloader doesn't accept --config but doesMichael DeHaan2007-05-011-1/+1
| | | | accept -c.
* More generalized fix to aborted-createrepo ".olddata" problems, which nowMichael DeHaan2007-04-131-1/+1
| | | | applies to "cobbler reposync" as well as "cobbler import".
* This commit adds a --rpm-list parameter to "cobbler repo add". --rpm-listMichael DeHaan2007-04-101-11/+87
| | | | | | | | | | | | | | | | | 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.
* Some cleanup/fixing in the reposync code.Michael DeHaan2007-04-051-8/+20
|
* Remove unneeded param.Michael DeHaan2007-04-051-1/+1
|
* (no commit message)Michael DeHaan2007-04-041-7/+19
|
* Remove redundant cobbler.pod from repository (official copy nowMichael DeHaan2007-04-041-1/+1
| | | | docs/cobbler.pod) and continue working on import/reposync.
* Preliminary support for http:// and ftp:// mirrors via yum's reposync.Michael DeHaan2007-04-031-25/+76
|
* Work towards implementation of optional integrated "light" sync support, ↵Michael DeHaan2007-02-011-2/+1
| | | | | | 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.
* Python 2.5 for FC7/devel requires BuildRequires: python-develMichael DeHaan2006-12-211-1/+0
|
* Keep repo representation as strings.mdehaan@mdehaan.rdu.redhat.com2006-12-201-1/+2
| | | | | Also, add trailing / to rsync URL's to always to prevent user mistakes, which allows us to know where the repomd data files are.
* 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-1/+1
| | | | | | 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.
* Remaining parts of integrating yum.repos.d file configuration with repo ↵Michael DeHaan2006-12-131-1/+16
| | | | mirroring.
* Adding createrepo calls to "cobbler reposync" ... working on auto-generating ↵Michael DeHaan2006-12-131-4/+16
| | | | | | yum configs and allowing them to be installable for mirrored repos.