]> git.donarmstrong.com Git - wannabuild.git/log
wannabuild.git
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.

14 years agoMake list use state field in the sql select.
Kurt Roeckx [Mon, 14 Sep 2009 20:38:56 +0000 (20:38 +0000)]
Make list use state field in the sql select.

The database can filter alot faster than perl, and even has an index for it.

14 years agoDon't lock the record in case we just want to read it.
Marc Brockschmidt [Mon, 14 Sep 2009 20:28:06 +0000 (20:28 +0000)]
Don't lock the record in case we just want to read it.

It's not useful to wait for the lock, and we might not have permission to do so.

14 years agoUse the unprivilged service in case it's read-only and not security related.
Marc Brockschmidt [Mon, 14 Sep 2009 20:26:31 +0000 (20:26 +0000)]
Use the unprivilged service in case it's read-only and not security related.

14 years agoDon't change state on give-back if we're already in needs-build.
Kurt Roeckx [Mon, 14 Sep 2009 17:28:55 +0000 (17:28 +0000)]
Don't change state on give-back if we're already in needs-build.

It would go to BD-Uinstallable if already in needs-build state.

14 years agoIf we only ask for info of 1 record, we might be updating it, lock the record.
Kurt Roeckx [Mon, 14 Sep 2009 17:19:47 +0000 (17:19 +0000)]
If we only ask for info of 1 record, we might be updating it, lock the record.

14 years agoDump the pgsql database before and after the "daily" trigger.
Kurt Roeckx [Sun, 13 Sep 2009 12:15:02 +0000 (12:15 +0000)]
Dump the pgsql database before and after the "daily" trigger.

14 years agoRemove this authorized_keys file, it moved to /org/buildd.debian.org/home/.ssh/
wanna-build admin [Sun, 13 Sep 2009 12:14:03 +0000 (12:14 +0000)]
Remove this authorized_keys file, it moved to /org/buildd.debian.org/home/.ssh/

14 years agoDocument -A option. This should be used instead of --database
Kurt Roeckx [Sat, 12 Sep 2009 19:27:13 +0000 (19:27 +0000)]
Document -A option.  This should be used instead of --database

14 years agoIgnore the status dir that has the status database in it.
Kurt Roeckx [Sat, 12 Sep 2009 18:43:21 +0000 (18:43 +0000)]
Ignore the status dir that has the status database in it.

14 years agoAlways allow -o to override the user restriction when given back a package.
Kurt Roeckx [Fri, 11 Sep 2009 20:56:18 +0000 (20:56 +0000)]
Always allow -o to override the user restriction when given back a package.

14 years agoThe ssh-keys moved to /org/buildd.deian.org.
Kurt Roeckx [Sun, 6 Sep 2009 19:27:33 +0000 (19:27 +0000)]
The ssh-keys moved to /org/buildd.deian.org.

14 years agoNo reason to lock the database anymore.
Kurt Roeckx [Sun, 6 Sep 2009 19:10:14 +0000 (19:10 +0000)]
No reason to lock the database anymore.

14 years agoMake it use paths directly to our files.
Kurt Roeckx [Sun, 6 Sep 2009 17:44:27 +0000 (17:44 +0000)]
Make it use paths directly to our files.

We used to have symlinks in /usr/share/perl5/.  Now we just
set the include path to use our dir.

/etc/wanna-build.conf just included our config file, now use
it directly.

This should probably get changed at some point, if we ever
want to package it.

14 years agoMake info not print lines that have a NULL in it.
Kurt Roeckx [Sun, 6 Sep 2009 17:39:47 +0000 (17:39 +0000)]
Make info not print lines that have a NULL in it.

14 years agoMake info print field names again like the old version
Kurt Roeckx [Sun, 6 Sep 2009 16:51:44 +0000 (16:51 +0000)]
Make info print field names again like the old version

Things like buildd-mail expect to find Package instead of package
in the output of info command.

14 years agoMerge branch 'master' into postgresql
Kurt Roeckx [Sun, 6 Sep 2009 17:36:42 +0000 (17:36 +0000)]
Merge branch 'master' into postgresql

14 years agoSome places where still using State-Change instead of state_change.
Kurt Roeckx [Fri, 4 Sep 2009 19:00:07 +0000 (19:00 +0000)]
Some places where still using State-Change instead of state_change.

14 years agoAdd support for the public view of the data.
Kurt Roeckx [Fri, 4 Sep 2009 18:56:12 +0000 (18:56 +0000)]
Add support for the public view of the data.

Currently does this for user nobody, to be able to use from the website.
We probably want to make this decission some other way.

14 years agoAllow importing packages without version if the state is not-for-us.
Kurt Roeckx [Fri, 4 Sep 2009 18:02:16 +0000 (18:02 +0000)]
Allow importing packages without version if the state is not-for-us.

The version doesn't get updated anyway.

14 years agoAllow state Dep-Wait-Removed when importing.
Kurt Roeckx [Fri, 4 Sep 2009 18:01:43 +0000 (18:01 +0000)]
Allow state Dep-Wait-Removed when importing.

14 years agoEvery arch is now in it's own namespace.
Kurt Roeckx [Fri, 4 Sep 2009 17:41:00 +0000 (17:41 +0000)]
Every arch is now in it's own namespace.

14 years agokfreebsd is now part of testing.
Kurt Roeckx [Wed, 2 Sep 2009 22:05:54 +0000 (22:05 +0000)]
kfreebsd is now part of testing.

14 years agoQuote tablename so that arches like kfreebsd-amd64 work.
Kurt Roeckx [Mon, 24 Aug 2009 17:47:44 +0000 (17:47 +0000)]
Quote tablename so that arches like kfreebsd-amd64 work.

14 years agoRestore sendmail setting.
Kurt Roeckx [Sat, 22 Aug 2009 15:08:14 +0000 (15:08 +0000)]
Restore sendmail setting.

14 years agoMerge commit 'origin/master' into postgresql
Kurt Roeckx [Sat, 22 Aug 2009 15:06:19 +0000 (15:06 +0000)]
Merge commit 'origin/master' into postgresql

Only changes in removed code.

14 years agoTell which database is locked.
wanna-build admin [Sat, 22 Aug 2009 15:02:03 +0000 (15:02 +0000)]
Tell which database is locked.

Patch by pkern?

14 years agoMerge all the dists into 1 table
Kurt Roeckx [Fri, 21 Aug 2009 13:25:11 +0000 (13:25 +0000)]
Merge all the dists into 1 table

This leaves us with 2 tables per arch.  One for the pacakges, one for the users.

14 years agoFix spelling of binary_nmu_changelog
Kurt Roeckx [Tue, 18 Aug 2009 22:47:12 +0000 (22:47 +0000)]
Fix spelling of binary_nmu_changelog

14 years agoMerge branch 'master' into postgresql
Kurt Roeckx [Tue, 18 Aug 2009 22:45:47 +0000 (22:45 +0000)]
Merge branch 'master' into postgresql

14 years agoInitial version of wanna-build with postgres support.
Kurt Roeckx [Tue, 18 Aug 2009 22:16:01 +0000 (22:16 +0000)]
Initial version of wanna-build with postgres support.

14 years agoStore the time in the graph data.
Kurt Roeckx [Thu, 13 Aug 2009 20:47:17 +0000 (20:47 +0000)]
Store the time in the graph data.

14 years agoOnly go to BD-Uninstallable state on give-back for unstable.
Kurt Roeckx [Tue, 11 Aug 2009 18:27:53 +0000 (18:27 +0000)]
Only go to BD-Uninstallable state on give-back for unstable.

The other dists don't get a (regular) call to edos-debcheck to
clear the state.

14 years agoImplement wanna-build --read-only
Joachim Breitner [Thu, 30 Jul 2009 14:31:33 +0000 (16:31 +0200)]
Implement wanna-build --read-only

With this flag, only --list, --export and --info can be used. The
lockfiles are not checked or created, and the database is opened in
read-only mode.

14 years agoWrite a line even without a Previous-State
Joachim Breitner [Thu, 30 Jul 2009 11:55:09 +0000 (13:55 +0200)]
Write a line even without a Previous-State

14 years agowanna-build --list: Format BD-Problem like Failed reasons
Joachim Breitner [Thu, 30 Jul 2009 10:24:48 +0000 (12:24 +0200)]
wanna-build --list: Format BD-Problem like Failed reasons

This prepares a corresponding change in status.git

14 years agoFixes: Export format, forcibly clearing BD-Uninstallable
Joachim Breitner [Thu, 30 Jul 2009 10:02:25 +0000 (12:02 +0200)]
Fixes: Export format, forcibly clearing BD-Uninstallable
The export routine does not handle the case of lines with only spaces
correctly (by writing " ."), and forcibly switching from
BD-Uninstallable to Needs-Build did not work.

14 years agoParse Reason from edos-debcheck
Joachim Breitner [Thu, 30 Jul 2009 09:41:10 +0000 (11:41 +0200)]
Parse Reason from edos-debcheck

This adjust wb-debbuild-depends to the output of edos-debcheck on lenny.

14 years ago[minor] s/log/lock/ in usage text
Joachim Breitner [Wed, 29 Jul 2009 23:41:23 +0000 (01:41 +0200)]
[minor] s/log/lock/ in usage text

14 years agoDocument modified --give-back semantics
Joachim Breitner [Wed, 29 Jul 2009 23:07:47 +0000 (01:07 +0200)]
Document modified --give-back semantics

14 years ago[tests] Tests --binNMU/--merge-all cycle
Joachim Breitner [Wed, 29 Jul 2009 23:01:13 +0000 (01:01 +0200)]
[tests] Tests --binNMU/--merge-all cycle

14 years ago[tests] Make sure State checks do not match Old-State
Joachim Breitner [Wed, 29 Jul 2009 22:53:41 +0000 (00:53 +0200)]
[tests] Make sure State checks do not match Old-State

14 years ago[tests] Teste --take/--giveback/--merge-all cycle
Joachim Breitner [Wed, 29 Jul 2009 22:53:11 +0000 (00:53 +0200)]
[tests] Teste --take/--giveback/--merge-all cycle

14 years agoUpdate BD-Problem even when the state does not change
Joachim Breitner [Wed, 29 Jul 2009 22:49:50 +0000 (00:49 +0200)]
Update BD-Problem even when the state does not change

14 years agoDito for binNMUs
Joachim Breitner [Wed, 29 Jul 2009 22:46:04 +0000 (00:46 +0200)]
Dito for binNMUs

14 years agoMake --give-back move package into BD-Uninstallable
Joachim Breitner [Wed, 29 Jul 2009 22:42:50 +0000 (00:42 +0200)]
Make --give-back move package into BD-Uninstallable

If the package is actually buildable, this will be noticed with the next
trigger (max 15 minute delay). The other way around could cause
unsuccesful builds if the buildd grabs the package before the next
trigger.

14 years ago[minor] Reorder Dep-Wait aqnd BD-Uninstallable handling in add_one_needsbuild
Joachim Breitner [Wed, 29 Jul 2009 22:40:35 +0000 (00:40 +0200)]
[minor] Reorder Dep-Wait aqnd BD-Uninstallable handling in add_one_needsbuild

14 years agoPass Build-Deps not via the database
Joachim Breitner [Wed, 29 Jul 2009 22:36:02 +0000 (00:36 +0200)]
Pass Build-Deps not via the database

It is probably a bad idea to store the Build-Depend in a field in the
database. This reverts that to the way it worked for AutoDepWait. It
also cleans up the current database.

14 years agoStore edos-output in $pkg->{'BD-Reason'}
Joachim Breitner [Wed, 29 Jul 2009 22:23:30 +0000 (00:23 +0200)]
Store edos-output in $pkg->{'BD-Reason'}

Just $pkg->{'Reason'} is a bit too generic, when we want that field to
be persistent across state changes.
This patch also introduduces a line to remove obsolete db fields, and
uses it to remove 'Reason'.

14 years agoDo not pass unneeded sourcesfile to call_edos_depcheck()
Joachim Breitner [Wed, 29 Jul 2009 18:53:01 +0000 (20:53 +0200)]
Do not pass unneeded sourcesfile to call_edos_depcheck()

14 years agoMerge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into...
wanna-build admin [Wed, 29 Jul 2009 18:24:55 +0000 (18:24 +0000)]
Merge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into edos-debcheck

14 years agoUse keep-latest in trigger.daily
Joachim Breitner [Wed, 29 Jul 2009 18:23:50 +0000 (20:23 +0200)]
Use keep-latest in trigger.daily

Just like in trigger.often, trigger.daily calls --merge-all, thus needs
a clean Packages and Source file (without old entries, or Packages from
a different architecture)

14 years agoAdd kfreebsd to the stats.
Kurt Roeckx [Wed, 29 Jul 2009 18:18:48 +0000 (18:18 +0000)]
Add kfreebsd to the stats.

14 years agoList BD-Uninstallable in wanna-build-statistics
Joachim Breitner [Wed, 29 Jul 2009 18:15:24 +0000 (20:15 +0200)]
List BD-Uninstallable in wanna-build-statistics

14 years agoMerge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into...
wanna-build admin [Wed, 29 Jul 2009 18:05:51 +0000 (18:05 +0000)]
Merge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into edos-debcheck

14 years agoDo not Build-Conflict on the Build-Depends
Joachim Breitner [Wed, 29 Jul 2009 18:05:17 +0000 (20:05 +0200)]
Do not Build-Conflict on the Build-Depends

14 years agoMerge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into...
wanna-build admin [Wed, 29 Jul 2009 17:59:34 +0000 (17:59 +0000)]
Merge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into edos-debcheck

14 years agoCreate a fake Sources file
Joachim Breitner [Wed, 29 Jul 2009 17:58:07 +0000 (19:58 +0200)]
Create a fake Sources file

Because passing the whole Sources file to edos-debbuildcheck
(add_source.py to be exact) is too slow, we create a fake one here.

14 years agoRemember Build-Deps and Build-Conflicts
Joachim Breitner [Wed, 29 Jul 2009 17:33:29 +0000 (19:33 +0200)]
Remember Build-Deps and Build-Conflicts

This allows us to generate a minimal Sources file for
edos-builddebcheck, and even when no Sources files are arond.

14 years agoStable version does not support -quiet
wanna-build admin [Wed, 29 Jul 2009 17:25:43 +0000 (17:25 +0000)]
Stable version does not support -quiet

14 years agoMerge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into...
wanna-build admin [Wed, 29 Jul 2009 17:23:21 +0000 (17:23 +0000)]
Merge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into edos-debcheck

14 years agoAllow the use of --list bd-uninstallable
Joachim Breitner [Wed, 29 Jul 2009 17:23:04 +0000 (19:23 +0200)]
Allow the use of --list bd-uninstallable

14 years agoMerge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into...
wanna-build admin [Wed, 29 Jul 2009 17:15:37 +0000 (17:15 +0000)]
Merge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into edos-debcheck

14 years agoAdd /org/wanna-build/bin to PATH
wanna-build admin [Wed, 29 Jul 2009 17:15:13 +0000 (17:15 +0000)]
Add /org/wanna-build/bin to PATH

14 years agoDo not write TODO entry
Joachim Breitner [Wed, 29 Jul 2009 17:13:16 +0000 (19:13 +0200)]
Do not write TODO entry

14 years agoMerge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into...
wanna-build admin [Wed, 29 Jul 2009 17:07:43 +0000 (17:07 +0000)]
Merge branch 'edos-debcheck' of git://git.debian.org/users/nomeata/wanna-build into edos-debcheck

14 years agoAdd /org/wanna-build/bin to PATH.
wanna-build admin [Wed, 29 Jul 2009 17:07:22 +0000 (17:07 +0000)]
Add /org/wanna-build/bin to PATH.

14 years agoThrow out unwanted entries in keep-latest
Joachim Breitner [Wed, 29 Jul 2009 17:06:38 +0000 (19:06 +0200)]
Throw out unwanted entries in keep-latest

14 years agoPerl operator precedence mistake
Joachim Breitner [Wed, 29 Jul 2009 16:54:38 +0000 (18:54 +0200)]
Perl operator precedence mistake

14 years agoEven more gracefully handle edos-debcheck without reason explanation
Joachim Breitner [Wed, 29 Jul 2009 16:49:44 +0000 (18:49 +0200)]
Even more gracefully handle edos-debcheck without reason explanation

14 years ago[tests] Adjust testsuite to edos-debcheck on stable
Joachim Breitner [Wed, 29 Jul 2009 16:30:24 +0000 (18:30 +0200)]
[tests] Adjust testsuite to edos-debcheck on stable

14 years agoMore gracefully hande edos-debcheck witout reason explanation
Joachim Breitner [Wed, 29 Jul 2009 16:28:20 +0000 (18:28 +0200)]
More gracefully hande edos-debcheck witout reason explanation

Will be fixed when edos-debcheck is backported.

14 years agoBundle deb822.py from python-debian
Joachim Breitner [Wed, 29 Jul 2009 16:25:49 +0000 (18:25 +0200)]
Bundle deb822.py from python-debian

This module does not support all features needed by add-sources.py on
stable, so for now we inline it.

14 years agoUse add-sources.py in PATH
Joachim Breitner [Wed, 29 Jul 2009 14:56:31 +0000 (16:56 +0200)]
Use add-sources.py in PATH

14 years agoCopy of /usr/share/edos-distcheck/add-sources.py
Joachim Breitner [Wed, 29 Jul 2009 14:51:45 +0000 (16:51 +0200)]
Copy of /usr/share/edos-distcheck/add-sources.py

From unstable's edos-distcheck package. This can be removed again when
there is a newer edos-debcheck in backports.org

14 years agoUse keep-latest in trigger.often
Joachim Breitner [Wed, 29 Jul 2009 14:06:57 +0000 (16:06 +0200)]
Use keep-latest in trigger.often

This makes sure the Packages and Sources as passed to wanna-build do not
contain old entries, so that they are not passed to edos-debcheck. They
would not be considered by apt on the buildds for installation anyways.

14 years agobin/keep-latest: Consider architecture field
Joachim Breitner [Wed, 29 Jul 2009 14:01:26 +0000 (16:01 +0200)]
bin/keep-latest: Consider architecture field

Since keep-latest is written to merge incoming’s Packages file, which
contains various arches, into a regular one, one must not remove
packages just because there is a newer version on an other architecture.

14 years agobin/keep-latest
Joachim Breitner [Wed, 29 Jul 2009 13:53:36 +0000 (15:53 +0200)]
bin/keep-latest

Usage: ./bin/keep-latest Packages1 Packages2 ..

This perl scripts reads the Packages files given on the command line and
outputs a Packages file which contians each package exactly once, using
the one with the highest version number.
Since it only looks at Package: and Version:, it works with Sources
files as well

14 years agoMerge branch 'master' into edos-debcheck
Joachim Breitner [Wed, 29 Jul 2009 11:34:30 +0000 (13:34 +0200)]
Merge branch 'master' into edos-debcheck

14 years ago[tests] ensure Reason field is cleared correctly
Joachim Breitner [Wed, 29 Jul 2009 11:23:34 +0000 (13:23 +0200)]
[tests] ensure Reason field is cleared correctly

14 years ago[tests] assert_grep_not function
Joachim Breitner [Wed, 29 Jul 2009 11:23:16 +0000 (13:23 +0200)]
[tests] assert_grep_not function

14 years ago[tests] ensure Reason field is cleared correctly
Joachim Breitner [Wed, 29 Jul 2009 11:23:34 +0000 (13:23 +0200)]
[tests] ensure Reason field is cleared correctly

14 years ago[tests] assert_grep_not function
Joachim Breitner [Wed, 29 Jul 2009 11:23:16 +0000 (13:23 +0200)]
[tests] assert_grep_not function

14 years agoAlways change the package state via change_state
Joachim Breitner [Wed, 29 Jul 2009 11:22:23 +0000 (13:22 +0200)]
Always change the package state via change_state

14 years agos/behalve/behalf/
Joachim Breitner [Tue, 28 Jul 2009 11:03:33 +0000 (13:03 +0200)]
s/behalve/behalf/

14 years agoFail more gracefully if wb-edos-builddebcheck is not found
Joachim Breitner [Tue, 28 Jul 2009 11:03:02 +0000 (13:03 +0200)]
Fail more gracefully if wb-edos-builddebcheck is not found

14 years agoMerge branch 'master' into edos-debcheck
Joachim Breitner [Tue, 28 Jul 2009 00:30:07 +0000 (02:30 +0200)]
Merge branch 'master' into edos-debcheck