diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-23 12:04:30 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-23 12:04:30 +0100 |
commit | 4d16d294f338d5e90a92acb2096bca77e9e924e7 (patch) | |
tree | 7c977635edc813dfb1a766d214d56ecf63a49867 /db-repo-add | |
parent | 1dca721c5149f69067f38d4a33dabbebef98009b (diff) | |
download | dbscripts-4d16d294f338d5e90a92acb2096bca77e9e924e7.tar.gz dbscripts-4d16d294f338d5e90a92acb2096bca77e9e924e7.tar.xz |
Rewrite sourceballs to increase performance and reliability
* Decrease file stats as much as possible
* Create a list of all packages and meta data only once
* Create a list of available source packages only once
* Create a list of expected packages only once
* Combine all three scripts into one to share data and code
* Use as much information from the db files as possible and avoid using svn
* Avoid attempting to create the same source package twice
Logic works as follows:
1) create a list of all packages
2) Check for each package if we need a src package and create one
3) During this process create a list of all src packages that should be there
4) Diff both lists for the cleanup
Diffstat (limited to 'db-repo-add')
0 files changed, 0 insertions, 0 deletions