]>
git.ipfire.org Git - people/jschlag/pbs.git/log
Michael Tremer [Sat, 21 Oct 2017 17:50:18 +0000 (18:50 +0100)]
hub: Allow easy access to database
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 17:49:52 +0000 (18:49 +0100)]
jobs: Fix some direct accesses to self._data
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 17:32:17 +0000 (18:32 +0100)]
Refactor uploads
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 16:15:04 +0000 (17:15 +0100)]
hub: Refactor main application
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 16:07:25 +0000 (17:07 +0100)]
hub: Doesn't need to use translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 16:01:50 +0000 (17:01 +0100)]
web: Fix rendering buildroot page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 15:58:27 +0000 (16:58 +0100)]
Refactor Packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 15:24:03 +0000 (16:24 +0100)]
Rename credits to scores
This has been called score in half the software and credits
in the other half.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 15:14:02 +0000 (16:14 +0100)]
Drop concept of non-public builds
We never used this anyways
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 15:08:44 +0000 (16:08 +0100)]
jobs: Remove deps to type field
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 15:02:43 +0000 (16:02 +0100)]
Fix syntax error
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 15:01:54 +0000 (16:01 +0100)]
jobs: Drop type column
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 14:59:02 +0000 (15:59 +0100)]
jobs: Create a copy of an existing job when restarting
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 14:49:32 +0000 (15:49 +0100)]
builds: Drop functionality to reset a build
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 14:47:58 +0000 (15:47 +0100)]
jobs: Drop tries field
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 14:10:03 +0000 (15:10 +0100)]
jobs: Mark them as deleted instead of removing them instantly
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 13:49:49 +0000 (14:49 +0100)]
jobs: Drop type field and replace it by test field
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 13:32:20 +0000 (14:32 +0100)]
Allow jobs to be superseeded by each other
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 13:20:44 +0000 (14:20 +0100)]
constants: Hold pakfire files in /pub/pakfire
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 13:20:28 +0000 (14:20 +0100)]
Fix syntax error
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 13:11:25 +0000 (14:11 +0100)]
Split jobs into an extra Python file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 13:02:45 +0000 (14:02 +0100)]
Refactor Builds
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 21 Oct 2017 10:48:22 +0000 (11:48 +0100)]
Refactor importing git commits
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 17:56:55 +0000 (18:56 +0100)]
Remove unnecessary import
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 17:56:09 +0000 (18:56 +0100)]
sources: Process commits in order of import and by source
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 17:54:51 +0000 (18:54 +0100)]
Import latest database layout changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 17:46:27 +0000 (18:46 +0100)]
Use with context to deal with git repositories
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 17:40:15 +0000 (18:40 +0100)]
sources: Return database row after creating commit
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 16:11:43 +0000 (17:11 +0100)]
Drop scheduler code which is no longer needed
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 16:09:27 +0000 (17:09 +0100)]
Run all cronjobs as user pakfire
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 16:05:56 +0000 (17:05 +0100)]
Regularly dist packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 16:05:12 +0000 (17:05 +0100)]
Regularly process build dependencies
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 16:03:23 +0000 (17:03 +0100)]
Add command to dist packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 17 Oct 2017 14:00:21 +0000 (15:00 +0100)]
Add command to restart any failed builds
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 16:58:39 +0000 (17:58 +0100)]
Add command to create test jobs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 16:58:05 +0000 (17:58 +0100)]
Fix typo in class name
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 16:57:35 +0000 (17:57 +0100)]
arches: Fix syntax error
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 16:11:39 +0000 (17:11 +0100)]
Fix reading configuration if environment isn't used
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 15:02:30 +0000 (16:02 +0100)]
Remaster repositories every 5 minutes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 14:59:41 +0000 (15:59 +0100)]
Drop unused fields from arches table
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 14:57:31 +0000 (15:57 +0100)]
Move remastering repositories
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 10 Oct 2017 13:55:25 +0000 (15:55 +0200)]
The config now also passed as environment variables.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 10 Oct 2017 13:55:24 +0000 (15:55 +0200)]
Catch errors when we try to parse our config
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 10 Oct 2017 13:55:23 +0000 (15:55 +0200)]
Load configurations only if the config file exists
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 13:19:15 +0000 (14:19 +0100)]
Don't iterate over deleted repositories
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 13:13:17 +0000 (14:13 +0100)]
bugzilla: Cache repsonses
Bugzilla is rather slow and we can just cache the status
of a bug to speed up page rendering
Fixes #11504
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 13:02:14 +0000 (14:02 +0100)]
jobs: Always consider a job non-zero
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 13:00:09 +0000 (14:00 +0100)]
Don't show job queue on index page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:56:32 +0000 (13:56 +0100)]
Refactor arches
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:52:59 +0000 (13:52 +0100)]
jobs: Adopt new arch concept
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:50:40 +0000 (13:50 +0100)]
arches: Let distro editor to use new arches
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:47:25 +0000 (13:47 +0100)]
mirror list: Use new arch concept
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:42:49 +0000 (13:42 +0100)]
repository: Don't fetch Arch object when mastering source repos
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:41:15 +0000 (13:41 +0100)]
arches: Allow iterating over all architectures
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:37:12 +0000 (13:37 +0100)]
repository: Drop getting name of noarch architecture
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:34:50 +0000 (13:34 +0100)]
packages: Drop arch_id from import
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:31:28 +0000 (13:31 +0100)]
distro: Sort arches
Fixes #11503
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:30:33 +0000 (13:30 +0100)]
sources: Pull full commit
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:29:44 +0000 (13:29 +0100)]
source: Remove calling removed function num_commits
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 10 Oct 2017 12:27:17 +0000 (13:27 +0100)]
Sort arches by priority
Fixes #11503
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 23:00:38 +0000 (00:00 +0100)]
Refactor sources
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 22:31:36 +0000 (23:31 +0100)]
Bring back a lost function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 22:22:34 +0000 (23:22 +0100)]
Add command to list packages in a repository
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 22:19:44 +0000 (23:19 +0100)]
Fix typo in table name
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 21:47:13 +0000 (22:47 +0100)]
Drop statistics handlers
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 21:38:14 +0000 (22:38 +0100)]
Drop jobs duration statistics handler
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 21:22:49 +0000 (22:22 +0100)]
Import latest database layout changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 21:22:29 +0000 (22:22 +0100)]
Refactor jobs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 9 Oct 2017 20:36:35 +0000 (21:36 +0100)]
Refactor repositories
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 16:31:14 +0000 (17:31 +0100)]
Remove useless indices from packages table
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 16:30:37 +0000 (17:30 +0100)]
Migrate arch to text in packages table
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 16:19:34 +0000 (17:19 +0100)]
Fix error in SQL syntax
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 16:19:21 +0000 (17:19 +0100)]
jobs: Show rank in build queue
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 16:06:14 +0000 (17:06 +0100)]
Database maintenance
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 16:00:30 +0000 (17:00 +0100)]
Refactor job queue
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 14:13:29 +0000 (15:13 +0100)]
manager: Remove old events
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 14:11:07 +0000 (15:11 +0100)]
Fix spacing
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 14:09:55 +0000 (15:09 +0100)]
Regularly pull sources
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 14:00:05 +0000 (15:00 +0100)]
Regularly cleanup files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 13:55:06 +0000 (14:55 +0100)]
Move sending bug updates out of manager
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 13:39:53 +0000 (14:39 +0100)]
Refactor distributions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 12:48:32 +0000 (13:48 +0100)]
Refactor builders
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 12:00:04 +0000 (13:00 +0100)]
Drop builders_arches table
This was to enable/disable building for a certain architecture
for some builders. This concept was dropped earlier.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 11:58:11 +0000 (12:58 +0100)]
Remove unused function Builders.get_all_arches()
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 11:53:13 +0000 (12:53 +0100)]
jobs: Migrate from arch_id to arch
Fixes #11497
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 11:31:54 +0000 (12:31 +0100)]
Dockerfile: Install geoip2 dependency
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 11:27:24 +0000 (12:27 +0100)]
Dockerfile: Add missing &&
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 11:26:22 +0000 (12:26 +0100)]
Force building constants.py early in the build process
For some reason, this is not being generated when running
"make all".
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 11:15:30 +0000 (12:15 +0100)]
Cleanup Dockerfile when running make clean
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 8 Oct 2017 11:11:07 +0000 (12:11 +0100)]
Convert arch_id to arch
Fixes #11497
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 15:00:15 +0000 (16:00 +0100)]
Refactor mirrors
This adds checks twice an hour to see if the mirror is
responding correctly, etc.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 13:35:27 +0000 (14:35 +0100)]
Refactor keys
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 13:26:56 +0000 (14:26 +0100)]
Remove any backticks for MySQL escaping
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 12:38:19 +0000 (13:38 +0100)]
Fix a SQL ambiguity
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 12:28:21 +0000 (13:28 +0100)]
Fix type error in Python
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 12:25:38 +0000 (13:25 +0100)]
Fix ambiguity in SQL statement
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 12:23:05 +0000 (13:23 +0100)]
db: Fix type of datetime fields
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 12:21:07 +0000 (13:21 +0100)]
web: Fix rendering sessions page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 12:19:25 +0000 (13:19 +0100)]
Make footer a bit more slink
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 7 Oct 2017 12:18:51 +0000 (13:18 +0100)]
Show correct version
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>