]> git.donarmstrong.com Git - wannabuild.git/log
wannabuild.git
13 years agoactivate merge-v3 for "simple suites" (e.g. unstable)
Andreas Barth [Fri, 4 Jun 2010 10:52:13 +0000 (10:52 +0000)]
activate merge-v3 for "simple suites" (e.g. unstable)

13 years agoadd merge-v3:
Andreas Barth [Fri, 4 Jun 2010 10:04:54 +0000 (10:04 +0000)]
add merge-v3:
+ call with installed-packages+ . installed-sources+ [ . available-for-build-packages+ ]
+ can cope with any filetype (including compressed)
+ allows to specify installed packages which are not available for building (and the other way round)
+ does quinn-diff internally, for that:
  + add WB/QD.pm plus testcase in tests/qd.pl
+ reads packages / sources only once
+ uses edos to resolve dep-waits
+ respect $simulate

enhance call_edos_depcheck:
+ add possibility to check depwaits (flag depwait)
+ respect $simulate

13 years agocall_edos_depcheck: arguments as hash, allow for more than one packages file
Andreas Barth [Tue, 25 May 2010 01:30:01 +0000 (01:30 +0000)]
call_edos_depcheck: arguments as hash, allow for more than one packages file

13 years agofix another typo
Andreas Barth [Tue, 25 May 2010 00:57:15 +0000 (00:57 +0000)]
fix another typo

13 years agoMerge branch 'master' of /org/buildd.debian.org/git/wanna-build
Andreas Barth [Tue, 25 May 2010 00:51:01 +0000 (00:51 +0000)]
Merge branch 'master' of /org/buildd.debian.org/git/wanna-build

13 years agofix typos
Andreas Barth [Tue, 25 May 2010 00:48:13 +0000 (00:48 +0000)]
fix typos

13 years agoGive nomeata wb_all access.
Kurt Roeckx [Sun, 9 May 2010 15:19:50 +0000 (15:19 +0000)]
Give nomeata wb_all access.

13 years agoMerge branch 'master' of /srv/buildd.debian.org/git/wanna-build
Andreas Barth [Tue, 25 May 2010 00:43:39 +0000 (00:43 +0000)]
Merge branch 'master' of /srv/buildd.debian.org/git/wanna-build

13 years agointegrate wb_edos_builddebcheck into wanna-build (and allow to pass multiple binary...
Andreas Barth [Tue, 25 May 2010 00:38:48 +0000 (00:38 +0000)]
integrate wb_edos_builddebcheck into wanna-build (and allow to pass multiple binary packages files)

13 years agoMerge branch 'master' of /srv/buildd.debian.org/git/wanna-build
Andreas Barth [Mon, 24 May 2010 23:46:56 +0000 (23:46 +0000)]
Merge branch 'master' of /srv/buildd.debian.org/git/wanna-build

13 years agocall_edos_depcheck: don't do anything if no packages need to be checked
Andreas Barth [Mon, 24 May 2010 23:46:15 +0000 (23:46 +0000)]
call_edos_depcheck: don't do anything if no packages need to be checked

13 years agoMerge branch 'master' of /srv/buildd.debian.org/git/wanna-build
Andreas Barth [Mon, 24 May 2010 23:30:57 +0000 (23:30 +0000)]
Merge branch 'master' of /srv/buildd.debian.org/git/wanna-build

13 years agowrite the sources as fake binary packages from wanna-build (and get rid
Andreas Barth [Mon, 24 May 2010 23:29:40 +0000 (23:29 +0000)]
write the sources as fake binary packages from wanna-build (and get rid
of add-sources.py within wb-edos-builddebcheck)

13 years agoMerge branch 'master' of /srv/buildd.debian.org/git/wanna-build
Andreas Barth [Mon, 24 May 2010 18:36:17 +0000 (18:36 +0000)]
Merge branch 'master' of /srv/buildd.debian.org/git/wanna-build

13 years agowb-edos-builddebcheck: only check the source packages
Andreas Barth [Mon, 24 May 2010 18:35:30 +0000 (18:35 +0000)]
wb-edos-builddebcheck: only check the source packages
(need to move add-sources.py local, and fix it to work if there is no input)

13 years agoMerge branch 'master' of /srv/buildd.debian.org/git/wanna-build
Andreas Barth [Mon, 24 May 2010 17:27:15 +0000 (17:27 +0000)]
Merge branch 'master' of /srv/buildd.debian.org/git/wanna-build

13 years agocall_edos_depcheck constructed temporary files with a race condition: use File::Temp...
Andreas Barth [Mon, 24 May 2010 17:26:29 +0000 (17:26 +0000)]
call_edos_depcheck constructed temporary files with a race condition: use File::Temp instead.

13 years agoMerge branch 'master' of /srv/buildd.debian.org/git/wanna-build
Kurt Roeckx [Sat, 22 May 2010 11:04:47 +0000 (11:04 +0000)]
Merge branch 'master' of /srv/buildd.debian.org/git/wanna-build

13 years agoDump files now have .gz extention, update expire_dumps.
Kurt Roeckx [Sat, 22 May 2010 11:04:14 +0000 (11:04 +0000)]
Dump files now have .gz extention, update expire_dumps.

13 years agoMerge branch 'master' of /srv/buildd.debian.org/git/wanna-build
Andreas Barth [Sat, 22 May 2010 08:16:48 +0000 (08:16 +0000)]
Merge branch 'master' of /srv/buildd.debian.org/git/wanna-build

13 years agoadd seb to security (acked by jmm)
Andreas Barth [Sat, 22 May 2010 08:13:38 +0000 (08:13 +0000)]
add seb to security (acked by jmm)

13 years agoGive nomeata wb_all access.
Kurt Roeckx [Sun, 9 May 2010 15:19:50 +0000 (15:19 +0000)]
Give nomeata wb_all access.

14 years agoadd non-free for volatile
Andreas Barth [Sat, 1 May 2010 14:02:30 +0000 (14:02 +0000)]
add non-free for volatile

14 years agoreverting 672464441313c8dafb33ae47ad3b2a2d984ef8d5
Andreas Barth [Mon, 26 Apr 2010 11:03:42 +0000 (11:03 +0000)]
reverting 672464441313c8dafb33ae47ad3b2a2d984ef8d5

14 years agorecreate /tmp/status after reboot
Andreas Barth [Mon, 26 Apr 2010 10:40:58 +0000 (10:40 +0000)]
recreate /tmp/status after reboot

14 years agoformat option: add T = formated time since state change
Andreas Barth [Wed, 21 Apr 2010 17:19:38 +0000 (17:19 +0000)]
format option: add T = formated time since state change

14 years agoworkaround: makes --list=needs-build faster again while optimizing the queries
Andreas Barth [Sun, 11 Apr 2010 16:41:12 +0000 (16:41 +0000)]
workaround: makes --list=needs-build faster again while optimizing the queries

14 years agofix 7dce194de7116a1a957c3b4620cbfe12485afd6b
Andreas Barth [Sun, 11 Apr 2010 13:09:59 +0000 (13:09 +0000)]
fix 7dce194de7116a1a957c3b4620cbfe12485afd6b
  add values to the select statement and not only a join

14 years agoadd index on pkg_history, and allow people to read the public view of pkg_history
Andreas Barth [Sun, 11 Apr 2010 12:53:46 +0000 (12:53 +0000)]
add index on pkg_history, and allow people to read the public view of pkg_history

14 years agopartly undo 7ce88f5df6216220b52607f09facaf312cb971c7 as that one
Andreas Barth [Sun, 11 Apr 2010 12:05:54 +0000 (12:05 +0000)]
partly undo 7ce88f5df6216220b52607f09facaf312cb971c7 as that one
was way slower with all and installed.

14 years agooptimize build time query, thanks to Peter Palfrader
Andreas Barth [Sun, 11 Apr 2010 11:45:36 +0000 (11:45 +0000)]
optimize build time query, thanks to Peter Palfrader

14 years agoallow multiple distributions for list (including any, any-priv, any-unpriv)
Andreas Barth [Sat, 10 Apr 2010 23:00:31 +0000 (23:00 +0000)]
allow multiple distributions for list (including any, any-priv, any-unpriv)

14 years agoadd format options for last build time and last successful build time
Andreas Barth [Sat, 10 Apr 2010 22:14:48 +0000 (22:14 +0000)]
add format options for last build time and last successful build time

14 years agoDocument schema
Kurt Roeckx [Sat, 10 Apr 2010 19:59:09 +0000 (19:59 +0000)]
Document schema

As far as I know, this should be what is currently in our database.

14 years agoUse cat/gzip instead of keep-latest
Marc Brockschmidt [Thu, 8 Apr 2010 23:43:31 +0000 (23:43 +0000)]
Use cat/gzip instead of keep-latest

For the secondary package file, it was wrong to use keep-latest, as
Modestas Vainius pointed out. With this change, files are just
copied/unpacked, allowing edos-debcheck to correctly determine if the
build-deps can be satisfied.

This change affects the triggers for all non-standard (*-volatile,
*-bpo, *-edu and experimental) suites, which should all use the
aptitude dep resolver (able to handle such complex dep situations) on
the buildds.

14 years agouse ~/.wanna-build.yaml if it exists
Andreas Barth [Thu, 8 Apr 2010 18:39:48 +0000 (18:39 +0000)]
use ~/.wanna-build.yaml if it exists
implement pre-defined list formats

14 years agostart useing format options for list; shouldn't change behaviour
Andreas Barth [Mon, 5 Apr 2010 09:19:32 +0000 (09:19 +0000)]
start useing format options for list; shouldn't change behaviour

14 years agoadd/update files from live tree
Andreas Barth [Mon, 5 Apr 2010 05:14:01 +0000 (05:14 +0000)]
add/update files from live tree

14 years agoadd path to crontab, taken from live system
Andreas Barth [Mon, 5 Apr 2010 05:05:37 +0000 (05:05 +0000)]
add path to crontab, taken from live system

14 years agoQuote the \ for the output to db_load
Kurt Roeckx [Sun, 4 Apr 2010 19:23:28 +0000 (19:23 +0000)]
Quote the \ for the output to db_load

14 years agoadd %V to format string, and re-sort options alphabetically
Andreas Barth [Sun, 4 Apr 2010 12:55:04 +0000 (12:55 +0000)]
add %V to format string, and re-sort options alphabetically

14 years agoresurrect triggers/filter-nonfree from
Andreas Barth [Sun, 4 Apr 2010 12:48:20 +0000 (12:48 +0000)]
resurrect triggers/filter-nonfree from
636fd44b6b3b8f343eb53c4ef2dd053fb91bd4d6 but use always
"get" to avoid tracebacks.

14 years agomodified crontab
wanna-build admin [Sat, 27 Mar 2010 13:53:31 +0000 (13:53 +0000)]
modified crontab

14 years agoMerge branch 'master' of /org/wanna-build/
Kurt Roeckx [Wed, 24 Mar 2010 23:06:48 +0000 (23:06 +0000)]
Merge branch 'master' of /org/wanna-build/

14 years agoNo reason to cast it to timestamp anymore, it's now such a field in the db.
Kurt Roeckx [Wed, 24 Mar 2010 23:06:00 +0000 (23:06 +0000)]
No reason to cast it to timestamp anymore, it's now such a field in the db.

14 years agoAdd format option F to export the failed message.
Kurt Roeckx [Wed, 24 Mar 2010 23:04:41 +0000 (23:04 +0000)]
Add format option F to export the failed message.

14 years agoRevert "add non-free files to quinn-diff (and to wanna-build)"
Philipp Kern [Thu, 11 Mar 2010 19:08:16 +0000 (19:08 +0000)]
Revert "add non-free files to quinn-diff (and to wanna-build)"

This reverts commit 636fd44b6b3b8f343eb53c4ef2dd053fb91bd4d6.

This commit breaks merging and performance.

Traceback (most recent call last):
  File "/org/wanna-build/triggers/filter-nonfree", line 49, in <module>
    main()
  File "/org/wanna-build/triggers/filter-nonfree", line 44, in main
    okpkgs = check_source(oklist, open(sys.argv[3]), outfile(name, sys.argv[3]))
  File "/org/wanna-build/triggers/filter-nonfree", line 13, in check_source
    if pkg.Section['Section'].startswith('non-free'):
KeyError: 'Section'

Signed-off-by: Philipp Kern <pkern@debian.org>
14 years agoadd non-free files to quinn-diff (and to wanna-build)
Andreas Barth [Wed, 10 Mar 2010 22:12:41 +0000 (22:12 +0000)]
add non-free files to quinn-diff (and to wanna-build)
(wanna-build hands them only out if asked to do so)
also inlines the loop-variants to only check the sources.list once

14 years agodelete unused files
Andreas Barth [Wed, 10 Mar 2010 22:12:13 +0000 (22:12 +0000)]
delete unused files

14 years agoadd filter code for components
Andreas Barth [Wed, 10 Mar 2010 15:44:13 +0000 (15:44 +0000)]
add filter code for components

14 years agolist-order:
Andreas Barth [Wed, 3 Mar 2010 15:49:46 +0000 (15:49 +0000)]
list-order:
- move to yaml-file
- building sorts by buildd, package name now

14 years agolist_order: switch default for needs-builds to CWn
Andreas Barth [Wed, 3 Mar 2010 07:05:26 +0000 (07:05 +0000)]
list_order: switch default for needs-builds to CWn

14 years agosort_list_func: unify and remove code duplication
Andreas Barth [Tue, 2 Mar 2010 20:09:36 +0000 (20:09 +0000)]
sort_list_func: unify and remove code duplication

14 years agocalculate_prio: fix components: parse sections
Andreas Barth [Tue, 2 Mar 2010 17:45:50 +0000 (17:45 +0000)]
calculate_prio: fix components: parse sections

14 years agoformat: Add distribution and time of state change as options
Andreas Barth [Tue, 2 Mar 2010 17:45:17 +0000 (17:45 +0000)]
format: Add distribution and time of state change as options

14 years agoMerge branch 'master' of /org/buildd.debian.org/git/wanna-build
Andreas Barth [Mon, 1 Mar 2010 18:48:51 +0000 (18:48 +0000)]
Merge branch 'master' of /org/buildd.debian.org/git/wanna-build

14 years agoadd %{Text} and %{!Text} with recursive elements
Andreas Barth [Mon, 1 Mar 2010 18:48:24 +0000 (18:48 +0000)]
add %{Text} and %{!Text} with recursive elements

14 years agomove print_format out from the list code
Andreas Barth [Mon, 1 Mar 2010 17:36:51 +0000 (17:36 +0000)]
move print_format out from the list code

14 years agoUnbreak parse_date() for new date format
Marc Brockschmidt [Mon, 1 Mar 2010 08:33:31 +0000 (08:33 +0000)]
Unbreak parse_date() for new date format

14 years agoclean up old entries
Andreas Barth [Mon, 1 Mar 2010 08:32:50 +0000 (08:32 +0000)]
clean up old entries
switch to mkstats.aba for now

14 years agoMerge branch 'master' of /org/buildd.debian.org/git/wanna-build
Andreas Barth [Mon, 1 Mar 2010 08:25:18 +0000 (08:25 +0000)]
Merge branch 'master' of /org/buildd.debian.org/git/wanna-build

14 years agoadd output format options to --list, with the formats necessary for mkstats
Andreas Barth [Mon, 1 Mar 2010 08:24:21 +0000 (08:24 +0000)]
add output format options to --list, with the formats necessary for mkstats

14 years agoSplit the previous state and state change in 2 lines
Kurt Roeckx [Sun, 28 Feb 2010 23:47:56 +0000 (23:47 +0000)]
Split the previous state and state change in 2 lines

Now we didn't get a state change in case there was no previous state

14 years agoMerge branch 'master' of /org/buildd.debian.org/git/wanna-build
Andreas Barth [Sun, 28 Feb 2010 19:30:23 +0000 (19:30 +0000)]
Merge branch 'master' of /org/buildd.debian.org/git/wanna-build

14 years agofactor out priority configuration, and allow per user and arch files
Andreas Barth [Sun, 28 Feb 2010 19:29:44 +0000 (19:29 +0000)]
factor out priority configuration, and allow per user and arch files

14 years agohotfix for mkstats
Andreas Barth [Sun, 28 Feb 2010 18:25:11 +0000 (18:25 +0000)]
hotfix for mkstats

14 years agoadd "previous state left" to list -v
Andreas Barth [Sun, 28 Feb 2010 17:47:25 +0000 (17:47 +0000)]
add "previous state left" to list -v

14 years agoreplace waiting days by state days
Andreas Barth [Sun, 28 Feb 2010 17:23:55 +0000 (17:23 +0000)]
replace waiting days by state days

14 years agobeautify keys w/o so much code duplication
Andreas Barth [Sun, 28 Feb 2010 17:21:06 +0000 (17:21 +0000)]
beautify keys w/o so much code duplication

14 years agoavoid french dates by using postgres build in now() function
Andreas Barth [Sun, 28 Feb 2010 16:56:46 +0000 (16:56 +0000)]
avoid french dates by using postgres build in now() function

14 years agoadd new sort options C and W for calculated priority and waiting days
Andreas Barth [Sun, 28 Feb 2010 13:36:48 +0000 (13:36 +0000)]
add new sort options C and W for calculated priority and waiting days

14 years agocalculate potential build priority with --info
Andreas Barth [Sun, 28 Feb 2010 13:06:32 +0000 (13:06 +0000)]
calculate potential build priority with --info

14 years agoanother sync with reality
Andreas Barth [Sun, 21 Feb 2010 19:13:00 +0000 (19:13 +0000)]
another sync with reality

14 years agosync with reality (all changes from /org/wanna-build and currently live)
Andreas Barth [Sun, 21 Feb 2010 18:56:55 +0000 (18:56 +0000)]
sync with reality (all changes from /org/wanna-build and currently live)

14 years agoFix stupid bugs, add some extra logging.
Kurt Roeckx [Sun, 21 Feb 2010 16:19:27 +0000 (16:19 +0000)]
Fix stupid bugs, add some extra logging.

14 years agoMake the triggers use multiple Packages file for things like experimental.
Kurt Roeckx [Thu, 11 Feb 2010 22:35:14 +0000 (22:35 +0000)]
Make the triggers use multiple Packages file for things like experimental.

14 years agoFix typo
Kurt Roeckx [Thu, 11 Feb 2010 21:44:47 +0000 (21:44 +0000)]
Fix typo

14 years agoRewrite triggers
Philipp Kern [Thu, 11 Feb 2010 19:58:05 +0000 (19:58 +0000)]
Rewrite triggers

14 years agoRename merge-all-overlay to merge-all-secondary to avoid confusion.
Kurt Roeckx [Thu, 11 Feb 2010 19:53:59 +0000 (19:53 +0000)]
Rename merge-all-overlay to merge-all-secondary to avoid confusion.

14 years agoAlso parse the second packages file to clear dep-waits.
Kurt Roeckx [Thu, 11 Feb 2010 19:40:17 +0000 (19:40 +0000)]
Also parse the second packages file to clear dep-waits.

14 years agoRemove unused functions.
Kurt Roeckx [Thu, 11 Feb 2010 19:26:49 +0000 (19:26 +0000)]
Remove unused functions.

14 years agoAdd option to merge a second Packages
Kurt Roeckx [Wed, 10 Feb 2010 22:09:05 +0000 (22:09 +0000)]
Add option to merge a second Packages

This allows a suite like experimental to also have the Packages file
from unstable so that we know better what is installable and what is
not.

14 years agoBase wb-edos-builddebcheck on the new edos-builddebcheck
Kurt Roeckx [Mon, 1 Feb 2010 19:55:09 +0000 (19:55 +0000)]
Base wb-edos-builddebcheck on the new edos-builddebcheck

We have edos-builddebcheck and add-sources.py from edos-distcheck now,
but it's not giving compatible output to what wanna-build currently
expects.  So we keep the old output format.

14 years agoDon't requests all the packages again in the same function
Kurt Roeckx [Mon, 18 Jan 2010 23:24:36 +0000 (23:24 +0000)]
Don't requests all the packages again in the same function

It was even in the same variable name.  We just make sure we properly
update it now.

14 years agoMerge branch 'master' of /org/wanna-build/
Kurt Roeckx [Mon, 18 Jan 2010 22:59:19 +0000 (22:59 +0000)]
Merge branch 'master' of /org/wanna-build/

14 years agoRename variable to avoid confusion.
Kurt Roeckx [Mon, 18 Jan 2010 22:57:33 +0000 (22:57 +0000)]
Rename variable to avoid confusion.

It probably still requires some rewrite.

14 years agowanna-build: bugfix for list_min_age
Philipp Kern [Mon, 18 Jan 2010 22:22:14 +0000 (22:22 +0000)]
wanna-build: bugfix for list_min_age

Signed-off-by: Philipp Kern <pkern@debian.org>
14 years agoRedo locking behaviour
Kurt Roeckx [Mon, 18 Jan 2010 22:05:04 +0000 (22:05 +0000)]
Redo locking behaviour

When processing more than 1 package, don't select each package indivdually
locking that row, but instead lock the table and select all the packages
we want at once.

The lock should allow read-only access but not other writers.

14 years agoDon't go to state BD-Uninstallable for arches other than unstable.
Kurt Roeckx [Sat, 12 Dec 2009 22:30:40 +0000 (22:30 +0000)]
Don't go to state BD-Uninstallable for arches other than unstable.

14 years agoStop rotating unused old logs files.
Kurt Roeckx [Sat, 12 Dec 2009 22:20:18 +0000 (22:20 +0000)]
Stop rotating unused old logs files.

14 years agoAdd space so that the sql statement looks nicer.
Kurt Roeckx [Sat, 12 Dec 2009 21:52:29 +0000 (21:52 +0000)]
Add space so that the sql statement looks nicer.

14 years agoRemove alpha from testing and add hurd-i386 to unstable.
Kurt Roeckx [Sat, 12 Dec 2009 21:50:46 +0000 (21:50 +0000)]
Remove alpha from testing and add hurd-i386 to unstable.

14 years agoExpire old dump files.
Kurt Roeckx [Sat, 12 Dec 2009 21:49:38 +0000 (21:49 +0000)]
Expire old dump files.

14 years agoDump the whole database, including the roles.
Kurt Roeckx [Sat, 12 Dec 2009 21:48:46 +0000 (21:48 +0000)]
Dump the whole database, including the roles.

14 years agoMove the transaction log to the database.
Kurt Roeckx [Mon, 28 Sep 2009 17:09:43 +0000 (17:09 +0000)]
Move the transaction log to the database.

14 years agoRun the update script for status page from cron.
Kurt Roeckx [Sun, 20 Sep 2009 22:11:09 +0000 (22:11 +0000)]
Run the update script for status page from cron.

14 years agoRe-add export functionality.
Kurt Roeckx [Sun, 20 Sep 2009 21:48:42 +0000 (21:48 +0000)]
Re-add export functionality.

14 years agoIf no option is passed, we want to have all packages.
Kurt Roeckx [Sun, 20 Sep 2009 21:28:12 +0000 (21:28 +0000)]
If no option is passed, we want to have all packages.

14 years agoBuildd's should always connect to the priviliged service to allow them to update...
Kurt Roeckx [Sun, 20 Sep 2009 21:27:00 +0000 (21:27 +0000)]
Buildd's should always connect to the priviliged service to allow them to update the last seen entry.

14 years agoMake get_all_source_info() support all options we want to use to restrict the output...
Marc Brockschmidt [Mon, 14 Sep 2009 21:32:09 +0000 (21:32 +0000)]
Make get_all_source_info() support all options we want to use to restrict the output of list.