summaryrefslogtreecommitdiff
path: root/bin/get-assignment
AgeCommit message (Collapse)Author
2018-06-13bin/get-assignment: of equally compared build_assignments, built oldest ↵Erich Eckner
first, not the one with lowest id
2018-06-13bin/get-assignment: same-arch should be less valued than last_trialErich Eckner
2018-06-12bin/get-assignment: honor architecture of build slaveErich Eckner
2018-06-05bin/get-assignment: set `build_slaves`.`is_sane`=1 on handing out an assignmentErich Eckner
2018-06-05bin/get-assignment: only connect once to mysqldErich Eckner
2018-06-05bin/get-assignment: tell the slave what packages are being expectedErich Eckner
2018-06-05bin/get-assignment: build_assignments.id is retrieved from the db before - ↵Erich Eckner
no need to base64_encode
2018-05-31count(*) -> COUNT(1)Erich Eckner
2018-05-25lib/mysql-functions: make mysql_join_binary_packages_repositories and ↵Erich Eckner
mysql_join_repositories_binary_packages obsolete
2018-05-25conf/default.conf -> lib/load-configuration; conf/local.conf -> ↵Erich Eckner
conf/{common,master,slave}.conf
2018-05-25verbose_flock new: it calls flock and reports about blocking processes on errorErich Eckner
2018-05-08lib/mysql-functions: mysql_package_name_query make table names customizableErich Eckner
2018-05-02bin/get-assignment: fix yet another queryErich Eckner
2018-05-02bin/get-assignment: fix queryErich Eckner
2018-05-02bin/get-assignment: use separate queries for select and insert/updateErich Eckner
2018-03-24run shellchek in same dir as scriptErich Eckner
2018-03-22decommission build-list fileErich Eckner
2018-03-22decommission package-states directory - we rely on the database nowErich Eckner
2018-03-20work/build-list.loops decomissionedErich Eckner
2018-03-07make -N --raw --batch the default arguments to mysql, explicitely override ↵Erich Eckner
them if required
2018-03-01use "mysql -N" instead of cumbersome seddingErich Eckner
2018-03-01switch from calling ${mysql_command} to calling the wrapper function ↵Erich Eckner
mysql_run_query()
2018-02-18bin/get-assignment: fix mysql parser to understand columns with spaces correctlyErich Eckner
2018-02-18bin/get-assignment: hand out jobs by last-trial date, not by trial-countErich Eckner
2018-02-16bin/get-assignment: add TODOErich Eckner
2018-02-16bin/mysql-functions: mysql_join_*_* newErich Eckner
2018-02-14bin/get-assignment: do not use next_sub_pkgrel, but take info straight from ↵Erich Eckner
database
2018-02-03bin/get-assignment: only hand out the same package again if it is _still_ on ↵Erich Eckner
the build-list
2018-02-03bin/get-assignment: add TODOErich Eckner
2018-02-01bin/get-assignment: reset priority when handing out a build assignmentErich Eckner
2018-02-01bin/get-assignment: honor `priority` of `build_assignments`Erich Eckner
2018-01-31bin/get-assignment: rely on database - kick out state file stuff :-)Erich Eckner
2018-01-31bin/get-assignment: hand out all-dep-met packages first and loops laterErich Eckner
2018-01-30bin/get-assignment: extract some mysql statements into functions in ↵Erich Eckner
bin/mysql-functions
2018-01-30bin/get-assignment: hand out packages according to mysqlErich Eckner
2018-01-30bin/get-assignment: clarify commentErich Eckner
2018-01-30bin/get-assignment: myqsl query finishedErich Eckner
2018-01-29bin/get-assignment: hand out old assignments from mysql database; prepare ↵Erich Eckner
handing out all assignments from database
2018-01-26bin/get-assignment: add TODOErich Eckner
2018-01-25bin/get-assignment: dummy test for getting next-to-built idErich Eckner
2018-01-25add TODOErich Eckner
2018-01-22style: "${mysql_command} -e $(...)" -> {...} | ${mysql_command}Erich Eckner
2018-01-19bin/get-assignment: mark assignment as handed out to slave in mysql databaseErich Eckner
2018-01-18put name of creating script into name of temporary directoriesErich Eckner
2017-12-18bin/*: satisfy shellcheckErich Eckner
2017-11-25bin/get-assignment: do not cat locked file for appending slave if not existentErich Eckner
2017-11-23bin/get-assignment: list each slave only once per .locked fileErich Eckner
2017-11-23add sub_pkgrel (starting from .0) to differentiate between multiple build ↵Erich Eckner
attempts of otherwise identical packages (e.g. identical upstream source)
2017-11-06bin/get-assignment: fix white space issue in build listErich Eckner
2017-11-06bin/get-assignment, bin/return-assignment: fix whitespace when adding build ↵Erich Eckner
order to end of build-list