diff options
authorJonathan Dieter <>2007-03-29 17:37:19 +0300
committerJonathan Dieter <>2007-03-29 17:37:19 +0300
commit3304f77f5f30e94c13147aa73eecf3d8cf9ef9aa (patch)
parent29e8480de3b168ecfef72d99eb8ada465ba31f6d (diff)
Revert "Fix autodownload of public gpg keys. Fix README."
This reverts commit 29e8480de3b168ecfef72d99eb8ada465ba31f6d.
3 files changed, 21 insertions, 27 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f57c2a..624c2d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,3 @@
-* Thu Mar 29 2007 Jonathan Dieter <> - 0.3.1
- - Minor fix so yum doesn't die when download fails
- - Minor fix to allow public keys to be imported properly
- - Update README
* Wed Mar 28 2007 Jonathan Dieter <> - 0.3.0
- Massive changes to downloading structure
- When unable to rebuild drpm, we now download full rpm
diff --git a/README b/README
index 7fdea95..e37f369 100644
--- a/README
+++ b/README
@@ -1,26 +1,27 @@
Presto: A project to add delta rpm support into yum for Fedora users
+Most of the code base has been written by Marcel Hild <> as
+up2date/satellite-server delta rpm support. Code adaptation for yum done by
+Ahmed Kamal <>. Support for storing repository
+information added by Jonathan Dieter <>
-1- Install yum-presto on your system (yum -y install yum-presto)
-2- Now install an old rpm from updates or extras using rpm, then try updating
- it using yum. The plugin should kick in, try to download the drpm,
- reconstruct the full rpm, and yum should install that.
+1- Make sure deltarpm is installed on your system (yum -y install deltarpm)
+2- Place the files in the following locations:
+ share-presto => /usr/share/presto/*
+ => /usr/lib/yum-plugins/
+ presto.conf => /etc/yum/pluginconf.d/presto.conf)
+3- Use makerepo/ to create a Presto repository on top of a
+ normal yum repository.
+ NOTE: will NOT change any files created by createrepo
+4- In your repository conf file, set deltaurl to point to your Presto
+ repository (in most cases, it will be the same as baseurl).
+5- Now install an old rpm from your repo using rpm, then try updating it using
+ yum. The plugin should kick in, try to download the drpm, reconstruct the
+ full rpm, and yum should install that
-Presto will read the deltaurl from two possible locations:
-1. The repository's .repo file ("deltaurl =")
-2. Appended to /etc/yum/pluginconf.d/presto.conf in the form:
- [repository]
- deltaurl =
+- The code is in an early stage. Minimal testing has been done.
-Presto.conf has the following options in [main]:
-keepdeltas=1 Always keep deltas in cache no matter what keepcache
- is set to.
-neverkeepdeltas=1 Always remove deltas after creating full rpms.
-exitondownloadfailure=0|1 If there is a problem downloading the deltarpm, exit
- rather than trying to download the full rpm.
-Note: If you specify neither keepdeltas nor neverkeepdeltas, presto will follow
- the keepcache option in yum.conf.
diff --git a/shared/ b/shared/
index 340ad1c..45318ba 100644
--- a/shared/
+++ b/shared/
@@ -117,7 +117,6 @@ def downloadPkgs(conduit, pkglist):
adderror(po, str(e))
- po.simple['deltalocalpath'] = deltalocal
if errors.has_key(po):
del errors[po]
@@ -129,6 +128,7 @@ def downloadPkgs(conduit, pkglist):
del po.simple['realpackagesize']
del po.simple['realrelativepath']
del po.simple['reallocalpath']
+ po.simple['deltalocalpath'] = deltalocal
# Rebuild rpms from downloaded deltarpms
for po in rebuild_pkgs:
@@ -145,9 +145,7 @@ def downloadPkgs(conduit, pkglist):
# Set package type to local, so yum doesn't try to download it later
- # po.pkgtype = "local" # If we set this, we can't auto-install public keys
- # and yum is smart enough to detect the full rpm and
- # not redownload it.
+ po.pkgtype = "local"
# Check to see whether or not we should keep the drpms
# FIXME: Is there any way to see whether or not a Boolean option was not set?