(no subject)
"Toby D. Reeves" <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
Hunter, As promised, attached is a patch against current-0.9.4. I have documented the new features in 'docs/PostgreSQL-Backend.txt'. I have also modified the example 'current.conf' file. I developed and tested under Red Hat 7.2 with up2date-2.7.11. There may be unknown problems under other versions. This patch allows the server to chose between the "shelve" databases or the new "postgresql" database. What is new to both backends: 1. Support for multiple channels per os-release. I wanted that. What is new in postgresql backend: 1. Directory recursion 2. Works with simple (partial) mirrors of ftp.redhat.com and updates.redhat.com 3. Ignores files that don't end with ".rpm" 4. Smartly resolves multiple package versions in a channel. You don't have to manually resolve anything. 5. Automatically handles source rpms differently than binary rpms. You don't have to separate these. 6. Takes notice of canonical arch of the package. Skips if does not agree with channel. 7. Sets up the infrastructure to implement MANY other features. Some of these are noted in 'docs/PostgreSQL-Backend.txt', some are not. 8. Do not have to rebuild entire database just to add a few new files to channel. 9. I believe multiple dependencies are handled correctly. At least for every test case I tried. What the price. Increased complexity. Whats missing in the postgresl backend: Lots of features enabled by a non-anonymous mode... -------------------------------------------------- How I made the patch: diff -Np1 current-0.9.4/ current-dev > current-0.9.4-sql.patch How to apply patch (I'm sure most of you knows this already): gunzip ~/current-0.9.4-sql.patch.gz tar xvfz current-0.9.4 cd current-0.9.4 patch -p 1 < ~/current-0.9.4-sql.patch -------------------------------------------------- Please let me know what you think. There are still a few items I would like to get incorporated. I'm sure there are some bugs in the new code. Some I know of but don't think anyone will see come up yet. I also have a few suggestions yet to come. Thank you for your work on current. I believe that MANY MANY organization's would love to use this tool. Everyone help get the word out. PS: You don't like cvs. I don't like patches. Toby D. Reeves
current-0.9.4-sql.patch.gz
(application/octet-stream, 17.8 KB) - not displayed