diff options
author | Erich Eckner <git@eckner.net> | 2018-07-27 14:17:25 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-27 14:17:25 +0200 |
commit | c3a16c0a7486bdec6ef458c57abc820ed901a50f (patch) | |
tree | ed525a12c37c3d0dc1bbc29e344b5ed5c76ca2fa | |
parent | 90cd0f30b198d41db3f73998983e4e9ba31a8d3c (diff) | |
download | builder-c3a16c0a7486bdec6ef458c57abc820ed901a50f.tar.xz |
lib/mysql-functions: add TODO
-rwxr-xr-x | lib/mysql-functions | 4 |
1 files changed, 4 insertions, 0 deletions
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 |