]> git.ipfire.org Git - pbs.git/log
pbs.git
2 years agotests: Mark that we are in test mode and disable LDAP stuff
Michael Tremer [Fri, 14 Oct 2022 17:33:32 +0000 (17:33 +0000)] 
tests: Mark that we are in test mode and disable LDAP stuff

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackages: Use get_by_email to find maintainers
Michael Tremer [Fri, 14 Oct 2022 17:27:47 +0000 (17:27 +0000)] 
packages: Use get_by_email to find maintainers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agousers: Make get_by_email tolerate any stuff around email addresses
Michael Tremer [Fri, 14 Oct 2022 17:27:21 +0000 (17:27 +0000)] 
users: Make get_by_email tolerate any stuff around email addresses

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add some dummy data for test user
Michael Tremer [Fri, 14 Oct 2022 17:22:37 +0000 (17:22 +0000)] 
tests: Add some dummy data for test user

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agousers: Refactor fetching any user data from LDAP
Michael Tremer [Fri, 14 Oct 2022 17:05:52 +0000 (17:05 +0000)] 
users: Refactor fetching any user data from LDAP

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agousers: Require email address when the user is created
Michael Tremer [Fri, 14 Oct 2022 14:25:38 +0000 (14:25 +0000)] 
users: Require email address when the user is created

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Only print the actual message
Michael Tremer [Fri, 14 Oct 2022 14:23:58 +0000 (14:23 +0000)] 
tests: Only print the actual message

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add test that tries to send an email
Michael Tremer [Fri, 14 Oct 2022 14:23:46 +0000 (14:23 +0000)] 
tests: Add test that tries to send an email

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agousers: Send a welcome email on registration
Michael Tremer [Fri, 14 Oct 2022 14:23:22 +0000 (14:23 +0000)] 
users: Send a welcome email on registration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Assign an email address to the test user
Michael Tremer [Fri, 14 Oct 2022 14:22:01 +0000 (14:22 +0000)] 
tests: Assign an email address to the test user

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agousers: Correct use the email class
Michael Tremer [Fri, 14 Oct 2022 14:21:24 +0000 (14:21 +0000)] 
users: Correct use the email class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomessages: Add __len__ to Queue class
Michael Tremer [Fri, 14 Oct 2022 14:19:52 +0000 (14:19 +0000)] 
messages: Add __len__ to Queue class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomesages: Add To: header to all emails
Michael Tremer [Fri, 14 Oct 2022 14:06:55 +0000 (14:06 +0000)] 
mesages: Add To: header to all emails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomessages: Refactor rendering messages
Michael Tremer [Fri, 14 Oct 2022 14:03:13 +0000 (14:03 +0000)] 
messages: Refactor rendering messages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomessages: Iterating over the queue will return all unsent messages
Michael Tremer [Fri, 14 Oct 2022 13:53:44 +0000 (13:53 +0000)] 
messages: Iterating over the queue will return all unsent messages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomessages: Use a client certificate to send any emails
Michael Tremer [Fri, 14 Oct 2022 13:23:28 +0000 (13:23 +0000)] 
messages: Use a client certificate to send any emails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosettings: Fix syntax error in SQL statement
Michael Tremer [Fri, 14 Oct 2022 13:23:11 +0000 (13:23 +0000)] 
settings: Fix syntax error in SQL statement

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomessage: Move queuing logic out of the base class
Michael Tremer [Fri, 14 Oct 2022 13:11:59 +0000 (13:11 +0000)] 
message: Move queuing logic out of the base class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomessages: Add logger
Michael Tremer [Fri, 14 Oct 2022 12:50:37 +0000 (12:50 +0000)] 
messages: Add logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomessages: Format emails in UTF-8
Michael Tremer [Fri, 14 Oct 2022 12:49:39 +0000 (12:49 +0000)] 
messages: Format emails in UTF-8

And don't encode the body as base64.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agostatic: Drop dead symlink
Michael Tremer [Fri, 14 Oct 2022 12:46:41 +0000 (12:46 +0000)] 
static: Drop dead symlink

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Dump any messages in the queue
Michael Tremer [Fri, 14 Oct 2022 12:45:20 +0000 (12:45 +0000)] 
tests: Dump any messages in the queue

This is mainly useful for manual debugging

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Unify failure/finished methods
Michael Tremer [Fri, 14 Oct 2022 12:44:57 +0000 (12:44 +0000)] 
builds: Unify failure/finished methods

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Don't notify the poster
Michael Tremer [Thu, 13 Oct 2022 15:53:52 +0000 (15:53 +0000)] 
builds: Don't notify the poster

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Refactor sending emails when someone comments
Michael Tremer [Thu, 13 Oct 2022 15:46:50 +0000 (15:46 +0000)] 
builds: Refactor sending emails when someone comments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Drop message recipients property
Michael Tremer [Thu, 13 Oct 2022 15:42:06 +0000 (15:42 +0000)] 
jobs: Drop message recipients property

Jobs don't really send any emails any more

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Drop unused add_file() function
Michael Tremer [Thu, 13 Oct 2022 15:41:18 +0000 (15:41 +0000)] 
jobs: Drop unused add_file() function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Propagate to the build that a job has finished
Michael Tremer [Thu, 13 Oct 2022 15:38:14 +0000 (15:38 +0000)] 
jobs: Propagate to the build that a job has finished

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Update builds job cache after cloning
Michael Tremer [Thu, 13 Oct 2022 15:37:44 +0000 (15:37 +0000)] 
jobs: Update builds job cache after cloning

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Fix saying what we are cloning
Michael Tremer [Thu, 13 Oct 2022 15:37:05 +0000 (15:37 +0000)] 
jobs: Fix saying what we are cloning

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Use the same interface to check if failed
Michael Tremer [Thu, 13 Oct 2022 15:36:35 +0000 (15:36 +0000)] 
jobs: Use the same interface to check if failed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Only send emails on fail
Michael Tremer [Thu, 13 Oct 2022 15:20:20 +0000 (15:20 +0000)] 
jobs: Only send emails on fail

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agousers: Rename send_template() to send_email()
Michael Tremer [Thu, 13 Oct 2022 15:12:51 +0000 (15:12 +0000)] 
users: Rename send_template() to send_email()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Pretend to run a whole build
Michael Tremer [Thu, 13 Oct 2022 15:05:59 +0000 (15:05 +0000)] 
tests: Pretend to run a whole build

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Take some packages when the job finished
Michael Tremer [Thu, 13 Oct 2022 15:05:23 +0000 (15:05 +0000)] 
jobs: Take some packages when the job finished

... and pretend to import them...

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Don't call send_finished_message() for now
Michael Tremer [Thu, 13 Oct 2022 15:04:50 +0000 (15:04 +0000)] 
builds: Don't call send_finished_message() for now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agojobs: Rename start() to assign()
Michael Tremer [Thu, 13 Oct 2022 15:04:17 +0000 (15:04 +0000)] 
jobs: Rename start() to assign()

This is more like what this function does

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosources: Remove print statement for debugging
Michael Tremer [Thu, 13 Oct 2022 14:24:12 +0000 (14:24 +0000)] 
sources: Remove print statement for debugging

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolog: Allow filtering by user
Michael Tremer [Thu, 13 Oct 2022 13:38:47 +0000 (13:38 +0000)] 
log: Allow filtering by user

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoweb: Drop an unused handler
Michael Tremer [Thu, 13 Oct 2022 13:31:00 +0000 (13:31 +0000)] 
web: Drop an unused handler

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoweb: Fix log page
Michael Tremer [Thu, 13 Oct 2022 13:29:58 +0000 (13:29 +0000)] 
web: Fix log page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobugtracker: Fix rendering texts
Michael Tremer [Thu, 13 Oct 2022 13:25:30 +0000 (13:25 +0000)] 
bugtracker: Fix rendering texts

The bug_url() function was missing.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Test build comments
Michael Tremer [Thu, 13 Oct 2022 13:02:39 +0000 (13:02 +0000)] 
tests: Test build comments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Stop using removed get_watchers() function
Michael Tremer [Thu, 13 Oct 2022 13:02:24 +0000 (13:02 +0000)] 
builds: Stop using removed get_watchers() function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Fix submitting comments
Michael Tremer [Thu, 13 Oct 2022 13:02:09 +0000 (13:02 +0000)] 
builds: Fix submitting comments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoUpdate translations
Michael Tremer [Thu, 13 Oct 2022 10:48:29 +0000 (10:48 +0000)] 
Update translations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoweb: Drop more unused UI modules
Michael Tremer [Thu, 13 Oct 2022 10:46:54 +0000 (10:46 +0000)] 
web: Drop more unused UI modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoDrop old logging stuff
Michael Tremer [Thu, 13 Oct 2022 10:42:04 +0000 (10:42 +0000)] 
Drop old logging stuff

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoevents: Add build watchers
Michael Tremer [Thu, 13 Oct 2022 10:33:59 +0000 (10:33 +0000)] 
events: Add build watchers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoevents: Make using the UI module easier
Michael Tremer [Thu, 13 Oct 2022 10:20:19 +0000 (10:20 +0000)] 
events: Make using the UI module easier

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoevents: Include build comments
Michael Tremer [Thu, 13 Oct 2022 10:18:20 +0000 (10:18 +0000)] 
events: Include build comments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoevents: Reorder the view to make it easier to extend
Michael Tremer [Thu, 13 Oct 2022 10:01:16 +0000 (10:01 +0000)] 
events: Reorder the view to make it easier to extend

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoevents: Create a unified way to query for any events
Michael Tremer [Thu, 13 Oct 2022 09:50:40 +0000 (09:50 +0000)] 
events: Create a unified way to query for any events

This might result in a temporary monster view, but I hope that the
optimiser is smart enough to avoid running any unncessary parts.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Fix rendering comments
Michael Tremer [Thu, 13 Oct 2022 09:50:10 +0000 (09:50 +0000)] 
builds: Fix rendering comments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Add dummy function to add watchers
Michael Tremer [Thu, 13 Oct 2022 09:31:01 +0000 (09:31 +0000)] 
builds: Add dummy function to add watchers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Drop obsolete update state logic
Michael Tremer [Thu, 13 Oct 2022 09:26:30 +0000 (09:26 +0000)] 
builds: Drop obsolete update state logic

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Refactor comments
Michael Tremer [Thu, 13 Oct 2022 09:04:08 +0000 (09:04 +0000)] 
builds: Refactor comments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilders: Drop unused password hashing functions
Michael Tremer [Thu, 13 Oct 2022 08:40:32 +0000 (08:40 +0000)] 
builders: Drop unused password hashing functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoDrop all all history stuff
Michael Tremer [Thu, 13 Oct 2022 08:36:07 +0000 (08:36 +0000)] 
Drop all all history stuff

This is too complicated to maintain

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Refactor watchers
Michael Tremer [Wed, 12 Oct 2022 18:09:52 +0000 (18:09 +0000)] 
builds: Refactor watchers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Check whether we can add a watcher to a build
Michael Tremer [Wed, 12 Oct 2022 17:54:38 +0000 (17:54 +0000)] 
tests: Check whether we can add a watcher to a build

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Create build from source package
Michael Tremer [Wed, 12 Oct 2022 17:51:00 +0000 (17:51 +0000)] 
tests: Create build from source package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Test importing a source package
Michael Tremer [Wed, 12 Oct 2022 17:40:50 +0000 (17:40 +0000)] 
tests: Test importing a source package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add some tests for builds
Michael Tremer [Wed, 12 Oct 2022 17:31:22 +0000 (17:31 +0000)] 
tests: Add some tests for builds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Add check to prevent building binary packages
Michael Tremer [Wed, 12 Oct 2022 17:30:57 +0000 (17:30 +0000)] 
builds: Add check to prevent building binary packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add tests for builders
Michael Tremer [Wed, 12 Oct 2022 17:19:08 +0000 (17:19 +0000)] 
tests: Add tests for builders

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobackend: Stop reading the system configuration file
Michael Tremer [Wed, 12 Oct 2022 17:09:35 +0000 (17:09 +0000)] 
backend: Stop reading the system configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobackend: Drop reading any configuration from the environment
Michael Tremer [Wed, 12 Oct 2022 17:05:53 +0000 (17:05 +0000)] 
backend: Drop reading any configuration from the environment

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoconfig: Move basepath into [global] section
Michael Tremer [Wed, 12 Oct 2022 17:02:46 +0000 (17:02 +0000)] 
config: Move basepath into [global] section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodatabase: Setup correct logging
Michael Tremer [Wed, 12 Oct 2022 16:58:51 +0000 (16:58 +0000)] 
database: Setup correct logging

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agologging: Correctly set up loggers for all submodules
Michael Tremer [Wed, 12 Oct 2022 16:57:10 +0000 (16:57 +0000)] 
logging: Correctly set up loggers for all submodules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agohub: Use the root logger (which is set up by tornado)
Michael Tremer [Wed, 12 Oct 2022 16:56:39 +0000 (16:56 +0000)] 
hub: Use the root logger (which is set up by tornado)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agologging: Correctly setup backend logger
Michael Tremer [Wed, 12 Oct 2022 16:47:34 +0000 (16:47 +0000)] 
logging: Correctly setup backend logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Fix fetching builds by ID
Michael Tremer [Wed, 12 Oct 2022 16:37:13 +0000 (16:37 +0000)] 
builds: Fix fetching builds by ID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuilds: Avoid extra query when fetching builds by UUID
Michael Tremer [Wed, 12 Oct 2022 16:35:48 +0000 (16:35 +0000)] 
builds: Avoid extra query when fetching builds by UUID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Fix directory listing
Michael Tremer [Wed, 12 Oct 2022 16:35:35 +0000 (16:35 +0000)] 
tests: Fix directory listing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Enable the default distro for some architectures
Michael Tremer [Wed, 12 Oct 2022 16:25:33 +0000 (16:25 +0000)] 
tests: Enable the default distro for some architectures

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Create default objects in a single database transaction
Michael Tremer [Wed, 12 Oct 2022 16:23:33 +0000 (16:23 +0000)] 
tests: Create default objects in a single database transaction

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add tests for packages
Michael Tremer [Wed, 12 Oct 2022 16:17:57 +0000 (16:17 +0000)] 
tests: Add tests for packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add an archive file
Michael Tremer [Wed, 12 Oct 2022 15:57:23 +0000 (15:57 +0000)] 
tests: Add an archive file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agorepos: Fix logger
Michael Tremer [Wed, 12 Oct 2022 15:43:23 +0000 (15:43 +0000)] 
repos: Fix logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agouploads: Make sure the parent directory exists
Michael Tremer [Wed, 12 Oct 2022 15:41:42 +0000 (15:41 +0000)] 
uploads: Make sure the parent directory exists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add tests for uploads
Michael Tremer [Wed, 12 Oct 2022 15:41:26 +0000 (15:41 +0000)] 
tests: Add tests for uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Create a default test user
Michael Tremer [Wed, 12 Oct 2022 15:38:02 +0000 (15:38 +0000)] 
tests: Create a default test user

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobackend: Take a basepath
Michael Tremer [Wed, 12 Oct 2022 15:19:43 +0000 (15:19 +0000)] 
backend: Take a basepath

The entire filesystem structure will be based on this path, so that we
will be able to create test environments which we can easily destroy
again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Test writing repositories
Michael Tremer [Wed, 12 Oct 2022 14:53:25 +0000 (14:53 +0000)] 
tests: Test writing repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Check default repository
Michael Tremer [Wed, 12 Oct 2022 14:48:58 +0000 (14:48 +0000)] 
tests: Check default repository

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Create some basic objects during setup
Michael Tremer [Wed, 12 Oct 2022 14:46:14 +0000 (14:46 +0000)] 
tests: Create some basic objects during setup

This is easier than the on-demand initialization for async objects

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add some basic repo tests
Michael Tremer [Wed, 12 Oct 2022 14:41:12 +0000 (14:41 +0000)] 
tests: Add some basic repo tests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Add tests for distros
Michael Tremer [Wed, 12 Oct 2022 14:27:02 +0000 (14:27 +0000)] 
tests: Add tests for distros

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodistros: Implement creating new distros
Michael Tremer [Wed, 12 Oct 2022 14:24:46 +0000 (14:24 +0000)] 
distros: Implement creating new distros

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotests: Flush the test configuration to disk
Michael Tremer [Wed, 12 Oct 2022 14:20:48 +0000 (14:20 +0000)] 
tests: Flush the test configuration to disk

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopo: Remove location from all source files
Michael Tremer [Wed, 12 Oct 2022 13:56:40 +0000 (13:56 +0000)] 
po: Remove location from all source files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoMakefile: Automatically update POTFILES.in
Michael Tremer [Wed, 12 Oct 2022 13:54:45 +0000 (13:54 +0000)] 
Makefile: Automatically update POTFILES.in

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotest: Add scaffolding for a testsuite for the backend
Michael Tremer [Wed, 12 Oct 2022 13:46:23 +0000 (13:46 +0000)] 
test: Add scaffolding for a testsuite for the backend

I suppose it is very hard to test the frontend part, but that is not the
highest priority.

It would already be very helpful to test the backend parts.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoconfig: Make distro optional
Michael Tremer [Wed, 12 Oct 2022 13:44:17 +0000 (13:44 +0000)] 
config: Make distro optional

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobackend: Use the general configparser
Michael Tremer [Wed, 12 Oct 2022 13:43:52 +0000 (13:43 +0000)] 
backend: Use the general configparser

SafeConfigParser has been deprecated.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodb: Dump schema without any owner information
Michael Tremer [Wed, 12 Oct 2022 13:36:05 +0000 (13:36 +0000)] 
db: Dump schema without any owner information

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobackend: Move composing a Pakfire configuration file into its own class
Michael Tremer [Wed, 12 Oct 2022 10:48:23 +0000 (10:48 +0000)] 
backend: Move composing a Pakfire configuration file into its own class

This will help us to create consistent configuration files for Pakfire
and since this is now a context manager class, we will be able to
quickly jump into a local instance to execute any tasks.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agorepos: Use configparser to create configuration
Michael Tremer [Wed, 12 Oct 2022 10:47:17 +0000 (10:47 +0000)] 
repos: Use configparser to create configuration

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