]> git.ipfire.org Git - people/stevee/pakfire.git/log
people/stevee/pakfire.git
18 months agomacros: Disable -fstack-clash-protection on aarch64
Michael Tremer [Tue, 1 Nov 2022 13:21:30 +0000 (13:21 +0000)] 
macros: Disable -fstack-clash-protection on aarch64

The bootstrap toolchain is too old and does not support this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agocompress: Always clear any extended attributes on extraction
Michael Tremer [Tue, 1 Nov 2022 13:17:39 +0000 (13:17 +0000)] 
compress: Always clear any extended attributes on extraction

We use those attributes in the tarball, but we don't want them to be
extracted to disk for now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Configure the build logger to propagate everything
Michael Tremer [Tue, 1 Nov 2022 13:08:09 +0000 (13:08 +0000)] 
daemon: Configure the build logger to propagate everything

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agorepos: Be more tolerant when keys are being used twice
Michael Tremer [Tue, 1 Nov 2022 13:07:25 +0000 (13:07 +0000)] 
repos: Be more tolerant when keys are being used twice

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopakfire: Setup logging on regular CLI tool
Michael Tremer [Tue, 1 Nov 2022 12:56:43 +0000 (12:56 +0000)] 
pakfire: Setup logging on regular CLI tool

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Write result into a temporary directory and upload the packages
Michael Tremer [Tue, 1 Nov 2022 12:49:36 +0000 (12:49 +0000)] 
daemon: Write result into a temporary directory and upload the packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Perform an installation test after the build
Michael Tremer [Mon, 31 Oct 2022 18:13:59 +0000 (18:13 +0000)] 
build: Perform an installation test after the build

We will try to install all packages that have been built and log any
errors if that was not possible including potential solutions.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agorequest: Implement a new interface how to walk through problems/solutions
Michael Tremer [Mon, 31 Oct 2022 18:12:17 +0000 (18:12 +0000)] 
request: Implement a new interface how to walk through problems/solutions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agorequest: Allow to solve a request without returning a transaction & problems
Michael Tremer [Mon, 31 Oct 2022 17:59:56 +0000 (17:59 +0000)] 
request: Allow to solve a request without returning a transaction & problems

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: No longer set a default target
Michael Tremer [Mon, 31 Oct 2022 16:44:45 +0000 (16:44 +0000)] 
build: No longer set a default target

We automatically copy everything to the local repository if it exists.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Copy the result to the local repository and target
Michael Tremer [Mon, 31 Oct 2022 16:44:18 +0000 (16:44 +0000)] 
build: Copy the result to the local repository and target

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Read all built packages into a package list
Michael Tremer [Mon, 31 Oct 2022 16:23:40 +0000 (16:23 +0000)] 
build: Read all built packages into a package list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackagelist: Add a function to walk through all packages on the list
Michael Tremer [Mon, 31 Oct 2022 16:11:06 +0000 (16:11 +0000)] 
packagelist: Add a function to walk through all packages on the list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agorepo: Add function to export a repository to a package list
Michael Tremer [Mon, 31 Oct 2022 16:10:39 +0000 (16:10 +0000)] 
repo: Add function to export a repository to a package list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Rename the results repository
Michael Tremer [Mon, 31 Oct 2022 15:33:23 +0000 (15:33 +0000)] 
build: Rename the results repository

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Make the local repository just a regular repository
Michael Tremer [Mon, 31 Oct 2022 15:27:18 +0000 (15:27 +0000)] 
build: Make the local repository just a regular repository

Fixes: #12970
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Write all packages to the @build repository
Michael Tremer [Mon, 31 Oct 2022 15:16:17 +0000 (15:16 +0000)] 
build: Write all packages to the @build repository

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Create a new repository for the build result
Michael Tremer [Mon, 31 Oct 2022 15:12:14 +0000 (15:12 +0000)] 
build: Create a new repository for the build result

That will allow us to perform some post-build checks.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoRevert "package: Drop installing self-provides"
Michael Tremer [Mon, 31 Oct 2022 11:28:37 +0000 (11:28 +0000)] 
Revert "package: Drop installing self-provides"

This reverts commit 9a9d2e5897c780cc9fd3c2fdeb821fd5b7e6eed9.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agocompress: Show how large a package is
Michael Tremer [Mon, 31 Oct 2022 11:19:03 +0000 (11:19 +0000)] 
compress: Show how large a package is

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Add switch to disable tests
Michael Tremer [Mon, 31 Oct 2022 11:14:03 +0000 (11:14 +0000)] 
build: Add switch to disable tests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuild: Add switch to disable the ccache
Michael Tremer [Mon, 31 Oct 2022 10:58:06 +0000 (10:58 +0000)] 
build: Add switch to disable the ccache

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agobuilder: Allow building multiple packages one after the other
Michael Tremer [Mon, 31 Oct 2022 10:55:57 +0000 (10:55 +0000)] 
builder: Allow building multiple packages one after the other

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agojail: Try to be smarter when mapping UID/GIDs
Michael Tremer [Mon, 31 Oct 2022 10:32:39 +0000 (10:32 +0000)] 
jail: Try to be smarter when mapping UID/GIDs

This still doesn't work any I have absolutely no idea why. It shouldn't
be a problem :(

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopwd: Sum up reading subuid/subgid
Michael Tremer [Mon, 31 Oct 2022 10:18:30 +0000 (10:18 +0000)] 
pwd: Sum up reading subuid/subgid

I misinterpreted the format of /etc/subgid and used the group name when
instead it is the same format as /etc/subuid.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopakfire: Read the effective UID/GID
Michael Tremer [Mon, 31 Oct 2022 10:15:39 +0000 (10:15 +0000)] 
pakfire: Read the effective UID/GID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopakfire: Add function to read the UID/GID pakfire is running as
Michael Tremer [Mon, 31 Oct 2022 10:15:02 +0000 (10:15 +0000)] 
pakfire: Add function to read the UID/GID pakfire is running as

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: package: Fix typo in database ID variable
Michael Tremer [Mon, 31 Oct 2022 10:13:15 +0000 (10:13 +0000)] 
tests: package: Fix typo in database ID variable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agomacros: Extract any tarballs as our own user
Michael Tremer [Thu, 27 Oct 2022 16:38:31 +0000 (16:38 +0000)] 
macros: Extract any tarballs as our own user

This works around a problem with the jail at the moment which only has
one user ID available.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agofile: Ignore any errors when trying to remove the parent
Michael Tremer [Thu, 27 Oct 2022 16:38:10 +0000 (16:38 +0000)] 
file: Ignore any errors when trying to remove the parent

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodist: Fix splitting mirror list
Michael Tremer [Thu, 27 Oct 2022 16:10:37 +0000 (16:10 +0000)] 
dist: Fix splitting mirror list

It could happen that an empty string passed as a mirror which caused an
invalid download URL being generated.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopakfire-builder: Make --disable-snapshot a switch for build
Michael Tremer [Thu, 27 Oct 2022 15:38:27 +0000 (15:38 +0000)] 
pakfire-builder: Make --disable-snapshot a switch for build

There is no point in having this as a global configuration option.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Make it possible to set the database ID
Michael Tremer [Thu, 27 Oct 2022 15:34:42 +0000 (15:34 +0000)] 
packages: Make it possible to set the database ID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodb: Improve error reporting
Michael Tremer [Thu, 27 Oct 2022 15:34:15 +0000 (15:34 +0000)] 
db: Improve error reporting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackage: Refactor reading the filelist
Michael Tremer [Thu, 27 Oct 2022 10:30:24 +0000 (10:30 +0000)] 
package: Refactor reading the filelist

The old approach never returned any results. This one finally works.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: Add a test that writes a filelist and reads it back
Michael Tremer [Thu, 27 Oct 2022 10:30:01 +0000 (10:30 +0000)] 
tests: Add a test that writes a filelist and reads it back

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Don't set string after removing it
Michael Tremer [Wed, 26 Oct 2022 20:49:04 +0000 (20:49 +0000)] 
packages: Don't set string after removing it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agorepos: Don't worry about our repodata
Michael Tremer [Wed, 26 Oct 2022 20:48:26 +0000 (20:48 +0000)] 
repos: Don't worry about our repodata

This will be implicitely created by libsolv.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: Add some tests for packages with invalid inputs
Michael Tremer [Wed, 26 Oct 2022 20:02:34 +0000 (20:02 +0000)] 
tests: Add some tests for packages with invalid inputs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: Test package UUID functions
Michael Tremer [Wed, 26 Oct 2022 19:51:36 +0000 (19:51 +0000)] 
tests: Test package UUID functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Internalize the pool when fetching numeric values
Michael Tremer [Wed, 26 Oct 2022 19:42:19 +0000 (19:42 +0000)] 
packages: Internalize the pool when fetching numeric values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Fix fetching NEVRA
Michael Tremer [Wed, 26 Oct 2022 19:41:55 +0000 (19:41 +0000)] 
packages: Fix fetching NEVRA

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: Set various package attributes and read them back
Michael Tremer [Wed, 26 Oct 2022 19:41:26 +0000 (19:41 +0000)] 
tests: Set various package attributes and read them back

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: Add a test that checks if two values are equal
Michael Tremer [Wed, 26 Oct 2022 19:41:00 +0000 (19:41 +0000)] 
tests: Add a test that checks if two values are equal

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoAdd some more error messages in dist/parser
Michael Tremer [Wed, 26 Oct 2022 19:13:30 +0000 (19:13 +0000)] 
Add some more error messages in dist/parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Silently ignore any invalid dependencies
Michael Tremer [Wed, 26 Oct 2022 19:12:34 +0000 (19:12 +0000)] 
packages: Silently ignore any invalid dependencies

This might be a bad idea, but there are comments and such things here
that we would need to filter out.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: Add a simple test for package dependencies
Michael Tremer [Wed, 26 Oct 2022 17:59:47 +0000 (17:59 +0000)] 
tests: Add a simple test for package dependencies

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agolibpakfire.sym: Remove unknown function
Michael Tremer [Wed, 26 Oct 2022 17:54:42 +0000 (17:54 +0000)] 
libpakfire.sym: Remove unknown function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Unify the dependency functions
Michael Tremer [Wed, 26 Oct 2022 17:53:37 +0000 (17:53 +0000)] 
packages: Unify the dependency functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Move pakfire_package_get/set_path into string function
Michael Tremer [Wed, 26 Oct 2022 16:40:56 +0000 (16:40 +0000)] 
packages: Move pakfire_package_get/set_path into string function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Create a unified numbers function
Michael Tremer [Tue, 25 Oct 2022 17:57:32 +0000 (17:57 +0000)] 
packages: Create a unified numbers function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Move pakfire_package_{g,s}et_source_* functions
Michael Tremer [Tue, 25 Oct 2022 17:21:55 +0000 (17:21 +0000)] 
packages: Move pakfire_package_{g,s}et_source_* functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Move pakfire_package_get_source_package into string function
Michael Tremer [Tue, 25 Oct 2022 17:04:19 +0000 (17:04 +0000)] 
packages: Move pakfire_package_get_source_package into string function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Add functions to easily set UUIDs
Michael Tremer [Tue, 25 Oct 2022 16:58:30 +0000 (16:58 +0000)] 
packages: Add functions to easily set UUIDs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Replace pakfire_package_{g,s}_build_id with string function
Michael Tremer [Tue, 25 Oct 2022 16:42:18 +0000 (16:42 +0000)] 
packages: Replace pakfire_package_{g,s}_build_id with string function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Move pakfire_package_{g,s}et_build_host into string function
Michael Tremer [Tue, 25 Oct 2022 16:35:55 +0000 (16:35 +0000)] 
packages: Move pakfire_package_{g,s}et_build_host into string function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Make pakfire_package_is_installed private
Michael Tremer [Tue, 25 Oct 2022 16:27:12 +0000 (16:27 +0000)] 
packages: Make pakfire_package_is_installed private

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Move pakfire_package_{g,s}et_filename into string function
Michael Tremer [Tue, 25 Oct 2022 16:21:41 +0000 (16:21 +0000)] 
packages: Move pakfire_package_{g,s}et_filename into string function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: makefile: Fix forgotten string functions
Michael Tremer [Tue, 25 Oct 2022 16:09:45 +0000 (16:09 +0000)] 
tests: makefile: Fix forgotten string functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months ago_pakfire: Drop function to add a new package
Michael Tremer [Tue, 25 Oct 2022 16:06:43 +0000 (16:06 +0000)] 
_pakfire: Drop function to add a new package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Make constructor function more similar to others
Michael Tremer [Tue, 25 Oct 2022 16:05:35 +0000 (16:05 +0000)] 
packages: Make constructor function more similar to others

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Drop old property functions for strings
Michael Tremer [Tue, 25 Oct 2022 15:42:49 +0000 (15:42 +0000)] 
packages: Drop old property functions for strings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopackages: Add a combined function to get/set string arguments
Michael Tremer [Tue, 25 Oct 2022 14:42:04 +0000 (14:42 +0000)] 
packages: Add a combined function to get/set string arguments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agotests: Add a very simple test to create a package
Michael Tremer [Tue, 25 Oct 2022 14:10:22 +0000 (14:10 +0000)] 
tests: Add a very simple test to create a package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoarchive: Fetch filelist from JSON for new packages
Michael Tremer [Tue, 25 Oct 2022 14:09:04 +0000 (14:09 +0000)] 
archive: Fetch filelist from JSON for new packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agopakfire-build: Remove debug line
Michael Tremer [Tue, 25 Oct 2022 12:39:47 +0000 (12:39 +0000)] 
pakfire-build: Remove debug line

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months ago_pakfire: Correctly free the package dump
Michael Tremer [Tue, 25 Oct 2022 12:39:27 +0000 (12:39 +0000)] 
_pakfire: Correctly free the package dump

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Remove any trailing newlines
Michael Tremer [Mon, 24 Oct 2022 10:49:30 +0000 (10:49 +0000)] 
daemon: Remove any trailing newlines

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Log the received Pakfire configuration
Michael Tremer [Mon, 24 Oct 2022 10:49:12 +0000 (10:49 +0000)] 
daemon: Log the received Pakfire configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Call the finished handler after a job has finished
Michael Tremer [Sun, 23 Oct 2022 20:54:05 +0000 (20:54 +0000)] 
daemon: Call the finished handler after a job has finished

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Drop workers logger and use daemon logger
Michael Tremer [Sun, 23 Oct 2022 20:03:45 +0000 (20:03 +0000)] 
daemon: Drop workers logger and use daemon logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Open the log file in text mode
Michael Tremer [Sun, 23 Oct 2022 20:03:23 +0000 (20:03 +0000)] 
daemon: Open the log file in text mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agohub: Log that we joined the queue
Michael Tremer [Sun, 23 Oct 2022 18:02:47 +0000 (18:02 +0000)] 
hub: Log that we joined the queue

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Setup the correct logger
Michael Tremer [Sun, 23 Oct 2022 18:01:49 +0000 (18:01 +0000)] 
daemon: Setup the correct logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agodaemon: Upload the log after the build has finished
Michael Tremer [Sun, 23 Oct 2022 17:57:10 +0000 (17:57 +0000)] 
daemon: Upload the log after the build has finished

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoclient: Fix connection check
Michael Tremer [Sun, 23 Oct 2022 17:39:44 +0000 (17:39 +0000)] 
client: Fix connection check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoMerge branch 'master' of ssh://people.ipfire.org/pub/git/pakfire
Michael Tremer [Sun, 23 Oct 2022 17:33:43 +0000 (17:33 +0000)] 
Merge branch 'master' of ssh://people.ipfire.org/pub/git/pakfire

18 months agoclient: Add command to list all uploads
Michael Tremer [Sun, 23 Oct 2022 17:33:25 +0000 (17:33 +0000)] 
client: Add command to list all uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoclient: Create a subparser for uploads
Michael Tremer [Sun, 23 Oct 2022 17:26:59 +0000 (17:26 +0000)] 
client: Create a subparser for uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoclient: Drop unimplemented commands
Michael Tremer [Sun, 23 Oct 2022 17:24:01 +0000 (17:24 +0000)] 
client: Drop unimplemented commands

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoclient: Drop wrapper class and connect straight to the hub
Michael Tremer [Sun, 23 Oct 2022 17:22:29 +0000 (17:22 +0000)] 
client: Drop wrapper class and connect straight to the hub

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoclient: Implement deleting uploads
Michael Tremer [Sun, 23 Oct 2022 17:12:21 +0000 (17:12 +0000)] 
client: Implement deleting uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoarch: Fix off-by-one error in allocation
Michael Tremer [Sun, 23 Oct 2022 14:53:15 +0000 (14:53 +0000)] 
arch: Fix off-by-one error in allocation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoMerge branch 'master' of ssh://people.ipfire.org/pub/git/pakfire
Michael Tremer [Sun, 23 Oct 2022 14:45:48 +0000 (14:45 +0000)] 
Merge branch 'master' of ssh://people.ipfire.org/pub/git/pakfire

18 months agoarch: Add function that returns a list of all supported arches
Michael Tremer [Sun, 23 Oct 2022 14:44:44 +0000 (14:44 +0000)] 
arch: Add function that returns a list of all supported arches

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoclient: Implement sending the build repository
Michael Tremer [Tue, 18 Oct 2022 18:54:57 +0000 (18:54 +0000)] 
client: Implement sending the build repository

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoarchive: Don't read the distribution twice
Michael Tremer [Tue, 18 Oct 2022 18:48:09 +0000 (18:48 +0000)] 
archive: Don't read the distribution twice

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agopackages: Write/read distro tag from metadata
Michael Tremer [Tue, 18 Oct 2022 18:46:58 +0000 (18:46 +0000)] 
packages: Write/read distro tag from metadata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agodistro: Add a function that creates the tag
Michael Tremer [Tue, 18 Oct 2022 18:44:50 +0000 (18:44 +0000)] 
distro: Add a function that creates the tag

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agofile: Accept relative paths and make them absolute
Michael Tremer [Tue, 18 Oct 2022 18:26:35 +0000 (18:26 +0000)] 
file: Accept relative paths and make them absolute

I have no idea what new problems this will create, but let's try...

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agofile: Correctly return the error code
Michael Tremer [Tue, 18 Oct 2022 18:26:03 +0000 (18:26 +0000)] 
file: Correctly return the error code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agocompress: Add entry to filelist before we modify it
Michael Tremer [Tue, 18 Oct 2022 18:25:36 +0000 (18:25 +0000)] 
compress: Add entry to filelist before we modify it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agorepo: Store the fingerprint of the imported key
Michael Tremer [Wed, 12 Oct 2022 10:09:39 +0000 (10:09 +0000)] 
repo: Store the fingerprint of the imported key

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agorepos: Read key immediately and write it to the config
Michael Tremer [Wed, 12 Oct 2022 09:25:39 +0000 (09:25 +0000)] 
repos: Read key immediately and write it to the config

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoconfig: Continue after parsing a multiline value
Michael Tremer [Tue, 11 Oct 2022 16:09:07 +0000 (16:09 +0000)] 
config: Continue after parsing a multiline value

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoconfig: Increase maximum length of values
Michael Tremer [Tue, 11 Oct 2022 16:08:46 +0000 (16:08 +0000)] 
config: Increase maximum length of values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agocontrib: Embed key into the repository configuration file
Michael Tremer [Tue, 11 Oct 2022 16:08:12 +0000 (16:08 +0000)] 
contrib: Embed key into the repository configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months ago_pakfire: repo: Remove function to export configuration
Michael Tremer [Tue, 11 Oct 2022 16:00:50 +0000 (16:00 +0000)] 
_pakfire: repo: Remove function to export configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoconfig: Add function to format values
Michael Tremer [Tue, 11 Oct 2022 16:00:17 +0000 (16:00 +0000)] 
config: Add function to format values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoconfig: Dump configuration files
Michael Tremer [Tue, 11 Oct 2022 14:37:18 +0000 (14:37 +0000)] 
config: Dump configuration files

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