From a98a0e3e6250d427b6edbe361afcadbe407c5558 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 3 Sep 2018 10:06:04 +0200 Subject: lib/mysql-functions: update TODO --- lib/mysql-functions | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/mysql-functions b/lib/mysql-functions index e4224ec..2a41766 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -346,6 +346,11 @@ mysql_generate_package_metadata() { # has two advantages: 1st, we separate data from the commands # (aesthetic), 2nd, we can prepare/check the data to load "offline", # 3rd, we are less sensitive to errors in the middle of the commit. + # For this we need some intermediate files which are loaded into + # temporary tables: + # - pkgbase -> pkgname + # - pkgname -> dependency + # - pkgname -> provides # now each "ARCHINFO $pkgname $arch" file represents one binary package find "${temp_dir}" -mindepth 1 -maxdepth 1 -name 'ARCHINFO * *' -printf '%f\n' | \ -- cgit v1.2.3-54-g00ecf