index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/mysql-functions | 4 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 2ae5832..24c5c3f 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -349,6 +349,10 @@ mysql_generate_package_metadata() { # The links between the above should _solely_ be made by the ids of # the respective rows. + # TODO: Data should be loaded by "LOAD DATA LOCAL INFILE ...". This + # has two advantages: 1st, we separate data from the commands + # (aesthetic), 2nd, we can prepare/check the data to load "offline". + # now each "ARCHINFO $pkgname $arch" file represents one binary package find "${temp_dir}" -mindepth 1 -maxdepth 1 -name 'ARCHINFO * *' -printf '%f\n' | \ while read -r _ pkgname arch; do |