]> git.ipfire.org Git - pbs.git/log
pbs.git
5 months agobuilds: Fix failed/success check
Michael Tremer [Thu, 13 Feb 2025 16:30:32 +0000 (16:30 +0000)] 
builds: Fix failed/success check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Move runtime into subtitle
Michael Tremer [Thu, 13 Feb 2025 16:26:14 +0000 (16:26 +0000)] 
jobs: Move runtime into subtitle

This is a lot easier and looks cleaner because the runtime has a very
variable width.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Make it optional to show controls on listing
Michael Tremer [Thu, 13 Feb 2025 16:22:51 +0000 (16:22 +0000)] 
jobs: Make it optional to show controls on listing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Show type icon for all job types
Michael Tremer [Thu, 13 Feb 2025 16:20:01 +0000 (16:20 +0000)] 
jobs: Show type icon for all job types

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Show owner of scratch builds
Michael Tremer [Thu, 13 Feb 2025 16:05:03 +0000 (16:05 +0000)] 
jobs: Show owner of scratch builds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Show summary
Michael Tremer [Thu, 13 Feb 2025 15:42:38 +0000 (15:42 +0000)] 
builds: Show summary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Put the most recent job at the top
Michael Tremer [Thu, 13 Feb 2025 15:36:41 +0000 (15:36 +0000)] 
jobs: Put the most recent job at the top

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Deleted jobs cannot be retried
Michael Tremer [Thu, 13 Feb 2025 15:34:54 +0000 (15:34 +0000)] 
jobs: Deleted jobs cannot be retried

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agopackages: Actually log which package won't be deleted
Michael Tremer [Wed, 12 Feb 2025 18:55:32 +0000 (18:55 +0000)] 
packages: Actually log which package won't be deleted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Don't remaster repositories when deleting test builds
Michael Tremer [Wed, 12 Feb 2025 18:54:12 +0000 (18:54 +0000)] 
builds: Don't remaster repositories when deleting test builds

They don't create any packages, so there is no need to run this ever.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Fix deleting groups
Michael Tremer [Wed, 12 Feb 2025 18:53:54 +0000 (18:53 +0000)] 
builds: Fix deleting groups

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: List recently finished jobs
Michael Tremer [Wed, 12 Feb 2025 18:52:53 +0000 (18:52 +0000)] 
jobs: List recently finished jobs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Show dependency problems
Michael Tremer [Wed, 12 Feb 2025 18:18:36 +0000 (18:18 +0000)] 
jobs: Show dependency problems

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Fix sending bugfs reports to Bugzilla
Michael Tremer [Wed, 12 Feb 2025 18:03:07 +0000 (18:03 +0000)] 
builds: Fix sending bugfs reports to Bugzilla

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Send 404 if we don't have a log URL
Michael Tremer [Wed, 12 Feb 2025 17:56:59 +0000 (17:56 +0000)] 
jobs: Send 404 if we don't have a log URL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Fix path to gzipped log files
Michael Tremer [Wed, 12 Feb 2025 17:56:36 +0000 (17:56 +0000)] 
jobs: Fix path to gzipped log files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Don't fail to make log URL if we don't have a path
Michael Tremer [Wed, 12 Feb 2025 17:56:13 +0000 (17:56 +0000)] 
jobs: Don't fail to make log URL if we don't have a path

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Only allow to delete scratch builds
Michael Tremer [Wed, 12 Feb 2025 17:55:47 +0000 (17:55 +0000)] 
builds: Only allow to delete scratch builds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Don't change order in listing
Michael Tremer [Wed, 12 Feb 2025 17:54:22 +0000 (17:54 +0000)] 
jobs: Don't change order in listing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Fix spinning icon
Michael Tremer [Wed, 12 Feb 2025 17:33:53 +0000 (17:33 +0000)] 
jobs: Fix spinning icon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agousers: Fix fetching consumed build time
Michael Tremer [Wed, 12 Feb 2025 17:26:55 +0000 (17:26 +0000)] 
users: Fix fetching consumed build time

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agousers: Fix the totally broken disk usage query
Michael Tremer [Wed, 12 Feb 2025 17:16:41 +0000 (17:16 +0000)] 
users: Fix the totally broken disk usage query

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Fetch all queue jobs before rendering the page
Michael Tremer [Wed, 12 Feb 2025 16:42:36 +0000 (16:42 +0000)] 
jobs: Fetch all queue jobs before rendering the page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoweb: Show more finished jobs
Michael Tremer [Wed, 12 Feb 2025 16:40:57 +0000 (16:40 +0000)] 
web: Show more finished jobs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoweb: Remove the hero around the jobs
Michael Tremer [Wed, 12 Feb 2025 16:40:36 +0000 (16:40 +0000)] 
web: Remove the hero around the jobs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilders: Split stats into two lines
Michael Tremer [Wed, 12 Feb 2025 16:35:12 +0000 (16:35 +0000)] 
builders: Split stats into two lines

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilders: Refactor listing with level
Michael Tremer [Wed, 12 Feb 2025 16:01:35 +0000 (16:01 +0000)] 
builders: Refactor listing with level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Unify the job listing
Michael Tremer [Wed, 12 Feb 2025 15:22:11 +0000 (15:22 +0000)] 
jobs: Unify the job listing

There used to be a separate listing for the job queue which is not
necessary as we can unify them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Add an icon to view package
Michael Tremer [Wed, 12 Feb 2025 14:29:50 +0000 (14:29 +0000)] 
builds: Add an icon to view package

Tags should not be clickable. It isn't obvious.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoCSS: Upgrade to Font-Awesome 6.7.1
Michael Tremer [Wed, 12 Feb 2025 14:25:13 +0000 (14:25 +0000)] 
CSS: Upgrade to Font-Awesome 6.7.1

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoCSS: Migrate to Bulma 1.0.3
Michael Tremer [Wed, 12 Feb 2025 14:24:58 +0000 (14:24 +0000)] 
CSS: Migrate to Bulma 1.0.3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoconfigure: No longer depend on pygmentize
Michael Tremer [Wed, 12 Feb 2025 11:45:19 +0000 (11:45 +0000)] 
configure: No longer depend on pygmentize

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoconfigure: Migrate to Node SASS
Michael Tremer [Wed, 12 Feb 2025 11:43:35 +0000 (11:43 +0000)] 
configure: Migrate to Node SASS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Properly check if something is a scratch build
Michael Tremer [Wed, 12 Feb 2025 11:37:35 +0000 (11:37 +0000)] 
builds: Properly check if something is a scratch build

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agopackages: Remove trailing dots from summaries
Michael Tremer [Wed, 12 Feb 2025 11:36:08 +0000 (11:36 +0000)] 
packages: Remove trailing dots from summaries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agopackages: Add an icon
Michael Tremer [Wed, 12 Feb 2025 11:33:47 +0000 (11:33 +0000)] 
packages: Add an icon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Remove packages from listing
Michael Tremer [Wed, 12 Feb 2025 11:31:58 +0000 (11:31 +0000)] 
jobs: Remove packages from listing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Add a new package listing
Michael Tremer [Wed, 12 Feb 2025 11:24:41 +0000 (11:24 +0000)] 
builds: Add a new package listing

This is a lot cleaner and combines packages from all architectures which
massively saves space on the page.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Split the icon into a separate element
Michael Tremer [Tue, 11 Feb 2025 18:54:19 +0000 (18:54 +0000)] 
jobs: Split the icon into a separate element

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agousers: Implement changing storage quota
Michael Tremer [Tue, 11 Feb 2025 18:49:22 +0000 (18:49 +0000)] 
users: Implement changing storage quota

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agousers: Fix editing
Michael Tremer [Tue, 11 Feb 2025 18:32:00 +0000 (18:32 +0000)] 
users: Fix editing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agousers: Always return an integer for the total number of builds
Michael Tremer [Tue, 11 Feb 2025 18:25:52 +0000 (18:25 +0000)] 
users: Always return an integer for the total number of builds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agousers: Look for an exact match first when searching
Michael Tremer [Tue, 11 Feb 2025 18:24:55 +0000 (18:24 +0000)] 
users: Look for an exact match first when searching

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoweb: Add title to error page
Michael Tremer [Tue, 11 Feb 2025 18:10:06 +0000 (18:10 +0000)] 
web: Add title to error page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Make the list cleaner
Michael Tremer [Tue, 11 Feb 2025 18:06:57 +0000 (18:06 +0000)] 
builds: Make the list cleaner

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoweb: Don't make the username a button
Michael Tremer [Tue, 11 Feb 2025 17:40:33 +0000 (17:40 +0000)] 
web: Don't make the username a button

This does not seem to be obvious.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Use level for the queue
Michael Tremer [Tue, 11 Feb 2025 17:38:29 +0000 (17:38 +0000)] 
jobs: Use level for the queue

This works on mobile without breaking the layout.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoweb: Use tabs in navigation
Michael Tremer [Tue, 11 Feb 2025 17:27:19 +0000 (17:27 +0000)] 
web: Use tabs in navigation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoweb: Replace the Sign In button with an icon
Michael Tremer [Tue, 11 Feb 2025 17:24:15 +0000 (17:24 +0000)] 
web: Replace the Sign In button with an icon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoCSS: Add a color for noarch, too
Michael Tremer [Tue, 11 Feb 2025 17:18:48 +0000 (17:18 +0000)] 
CSS: Add a color for noarch, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agodistros: Use my new arch colors
Michael Tremer [Tue, 11 Feb 2025 17:14:09 +0000 (17:14 +0000)] 
distros: Use my new arch colors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoimages: Add modal with all checksums
Michael Tremer [Tue, 11 Feb 2025 17:08:42 +0000 (17:08 +0000)] 
images: Add modal with all checksums

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoJS: Add code for modals
Michael Tremer [Tue, 11 Feb 2025 17:08:20 +0000 (17:08 +0000)] 
JS: Add code for modals

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobackend: Catch non-existant files on stat()
Michael Tremer [Tue, 11 Feb 2025 16:39:18 +0000 (16:39 +0000)] 
backend: Catch non-existant files on stat()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobackend: Perform some path validation
Michael Tremer [Tue, 11 Feb 2025 16:39:00 +0000 (16:39 +0000)] 
backend: Perform some path validation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Send the correct MIME type
Michael Tremer [Tue, 11 Feb 2025 16:29:48 +0000 (16:29 +0000)] 
mirrors: Send the correct MIME type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Set Etag header in HEAD response
Michael Tremer [Tue, 11 Feb 2025 16:22:01 +0000 (16:22 +0000)] 
mirrors: Set Etag header in HEAD response

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Ask clients to not cache the redirect
Michael Tremer [Tue, 11 Feb 2025 16:21:43 +0000 (16:21 +0000)] 
mirrors: Ask clients to not cache the redirect

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Support HEAD requests in load balancer
Michael Tremer [Tue, 11 Feb 2025 15:43:29 +0000 (15:43 +0000)] 
mirrors: Support HEAD requests in load balancer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Don't send any Content-Type headers
Michael Tremer [Tue, 11 Feb 2025 15:42:27 +0000 (15:42 +0000)] 
mirrors: Don't send any Content-Type headers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Check if the file exists at all
Michael Tremer [Tue, 11 Feb 2025 15:39:46 +0000 (15:39 +0000)] 
mirrors: Check if the file exists at all

We should not query any mirrors for files that even we don't have
ourselves.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Don't send body in error responses
Michael Tremer [Tue, 11 Feb 2025 15:39:00 +0000 (15:39 +0000)] 
mirrors: Don't send body in error responses

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoratelimiter: Add primary key
Michael Tremer [Tue, 11 Feb 2025 15:36:14 +0000 (15:36 +0000)] 
ratelimiter: Add primary key

So that I can edit the table.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Limit for up to 100 requests per hour for downloads
Michael Tremer [Tue, 11 Feb 2025 15:28:19 +0000 (15:28 +0000)] 
mirrors: Limit for up to 100 requests per hour for downloads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomirrors: Add a universal download load balancer
Michael Tremer [Tue, 11 Feb 2025 15:25:21 +0000 (15:25 +0000)] 
mirrors: Add a universal download load balancer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agocache: Import datetime
Michael Tremer [Tue, 11 Feb 2025 15:24:52 +0000 (15:24 +0000)] 
cache: Import datetime

This is being used in the code but was not imported.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoweb: Add some basic Python built-ins
Michael Tremer [Tue, 11 Feb 2025 14:01:37 +0000 (14:01 +0000)] 
web: Add some basic Python built-ins

They don't need any special wrapping, so lets pass them as they come.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Add a simple listing of images
Michael Tremer [Tue, 11 Feb 2025 13:59:32 +0000 (13:59 +0000)] 
releases: Add a simple listing of images

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobackend: Extend path to URL function to support mirrors
Michael Tremer [Tue, 11 Feb 2025 13:58:17 +0000 (13:58 +0000)] 
backend: Extend path to URL function to support mirrors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobackend: Allow assembling absolute URLs
Michael Tremer [Tue, 11 Feb 2025 13:57:47 +0000 (13:57 +0000)] 
backend: Allow assembling absolute URLs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: I will never learn this
Michael Tremer [Tue, 11 Feb 2025 13:57:01 +0000 (13:57 +0000)] 
releases: I will never learn this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobackend: Add helper function to make paths relative
Michael Tremer [Tue, 11 Feb 2025 13:30:48 +0000 (13:30 +0000)] 
backend: Add helper function to make paths relative

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Make the decision whether to mirror or not a bit more complex
Michael Tremer [Tue, 11 Feb 2025 13:27:58 +0000 (13:27 +0000)] 
releases: Make the decision whether to mirror or not a bit more complex

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoCSS: Assign special colours for architectures
Michael Tremer [Tue, 11 Feb 2025 13:20:30 +0000 (13:20 +0000)] 
CSS: Assign special colours for architectures

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Show release date as short as possible
Michael Tremer [Tue, 11 Feb 2025 10:37:02 +0000 (10:37 +0000)] 
releases: Show release date as short as possible

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Fix publishing releases
Michael Tremer [Tue, 11 Feb 2025 10:32:47 +0000 (10:32 +0000)] 
releases: Fix publishing releases

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Fix deleting releases and their images
Michael Tremer [Tue, 11 Feb 2025 10:29:14 +0000 (10:29 +0000)] 
releases: Fix deleting releases and their images

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Fix editing a release
Michael Tremer [Tue, 11 Feb 2025 10:25:00 +0000 (10:25 +0000)] 
releases: Fix editing a release

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Fix creating a new release
Michael Tremer [Tue, 11 Feb 2025 10:22:33 +0000 (10:22 +0000)] 
releases: Fix creating a new release

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Fix rendering the detail page
Michael Tremer [Tue, 11 Feb 2025 10:11:34 +0000 (10:11 +0000)] 
releases: Fix rendering the detail page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Fix rendering the index page
Michael Tremer [Tue, 11 Feb 2025 10:11:17 +0000 (10:11 +0000)] 
releases: Fix rendering the index page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoreleases: Mirror all stable releases
Michael Tremer [Tue, 11 Feb 2025 09:59:49 +0000 (09:59 +0000)] 
releases: Mirror all stable releases

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agousers: Add banner to ask to subscribe on front page
Michael Tremer [Mon, 10 Feb 2025 16:54:14 +0000 (16:54 +0000)] 
users: Add banner to ask to subscribe on front page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoevents: Always import the Text macro
Michael Tremer [Mon, 10 Feb 2025 16:18:44 +0000 (16:18 +0000)] 
events: Always import the Text macro

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Fix adding/removing from repositories
Michael Tremer [Mon, 10 Feb 2025 16:15:59 +0000 (16:15 +0000)] 
builds: Fix adding/removing from repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Fix comments
Michael Tremer [Mon, 10 Feb 2025 15:53:44 +0000 (15:53 +0000)] 
builds: Fix comments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobackend: Run autoscaling on startup
Michael Tremer [Mon, 10 Feb 2025 15:33:42 +0000 (15:33 +0000)] 
backend: Run autoscaling on startup

This is to potentially shut down any builders that should not be
running.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Abort when the build job has crashed
Michael Tremer [Mon, 10 Feb 2025 15:31:15 +0000 (15:31 +0000)] 
jobs: Abort when the build job has crashed

I think we want to collect a little bit more meta information about the
crash, but for now we at least see that something has aborted the job.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojobs: Automatically abort jobs that have timed out
Michael Tremer [Mon, 10 Feb 2025 15:30:39 +0000 (15:30 +0000)] 
jobs: Automatically abort jobs that have timed out

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobackend: Use the @run_in_thread decorator
Michael Tremer [Mon, 10 Feb 2025 15:25:03 +0000 (15:25 +0000)] 
backend: Use the @run_in_thread decorator

This allows us to write shorter code but achieve the same.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuild joins: Load builds joined
Michael Tremer [Mon, 10 Feb 2025 15:07:33 +0000 (15:07 +0000)] 
build joins: Load builds joined

I don't know why this has to be this way, but if not, it does not work.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuild groups: Fix database field names of ownership
Michael Tremer [Mon, 10 Feb 2025 15:06:46 +0000 (15:06 +0000)] 
build groups: Fix database field names of ownership

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agodecorators: Drop the lazy_property decorator
Michael Tremer [Mon, 10 Feb 2025 15:05:30 +0000 (15:05 +0000)] 
decorators: Drop the lazy_property decorator

We don't need this to be settable any more, so therefore we can use the
functools.cached_property decorator that comes with the standard
distribution.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoregisty: Use the new cache instead of the in-memory cache
Michael Tremer [Mon, 10 Feb 2025 11:20:51 +0000 (11:20 +0000)] 
registy: Use the new cache instead of the in-memory cache

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agocache: Add a simple key/value cache with expiry time
Michael Tremer [Mon, 10 Feb 2025 11:20:20 +0000 (11:20 +0000)] 
cache: Add a simple key/value cache with expiry time

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agobuilds: Fix typo in class name
Michael Tremer [Mon, 10 Feb 2025 10:51:42 +0000 (10:51 +0000)] 
builds: Fix typo in class name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoregistry: Don't fail if we could not find a file inside an image
Michael Tremer [Mon, 10 Feb 2025 10:50:52 +0000 (10:50 +0000)] 
registry: Don't fail if we could not find a file inside an image

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoregistry: Add a simple in-memory cache for indexes
Michael Tremer [Mon, 10 Feb 2025 10:50:31 +0000 (10:50 +0000)] 
registry: Add a simple in-memory cache for indexes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoregistry: Respond with the correct code when manifest was not found
Michael Tremer [Mon, 10 Feb 2025 10:49:32 +0000 (10:49 +0000)] 
registry: Respond with the correct code when manifest was not found

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoregistry: Add a tags handler
Michael Tremer [Mon, 10 Feb 2025 10:49:00 +0000 (10:49 +0000)] 
registry: Add a tags handler

This lists all available tags

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>