]> git.ipfire.org Git - pakfire.git/log
pakfire.git
2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years agoconfig: Add function to map values as FILE*
Michael Tremer [Tue, 11 Oct 2022 13:30:34 +0000 (13:30 +0000)] 
config: Add function to map values as FILE*

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoconfig: Extend parser to support multiline files
Michael Tremer [Tue, 11 Oct 2022 13:00:48 +0000 (13:00 +0000)] 
config: Extend parser to support multiline files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodaemon: Authenticate against the hub using Kerberos
Michael Tremer [Mon, 10 Oct 2022 10:41:00 +0000 (10:41 +0000)] 
daemon: Authenticate against the hub using Kerberos

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years ago_pakfire: keys: Export algorithm and key length
Michael Tremer [Tue, 11 Oct 2022 11:18:58 +0000 (11:18 +0000)] 
_pakfire: keys: Export algorithm and key length

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodb: Fix updated table layout
Michael Tremer [Tue, 11 Oct 2022 11:18:39 +0000 (11:18 +0000)] 
db: Fix updated table layout

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackages: Drop any hexdigest helper functions
Michael Tremer [Tue, 11 Oct 2022 11:14:10 +0000 (11:14 +0000)] 
packages: Drop any hexdigest helper functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackages: Use binary digest function in dump
Michael Tremer [Tue, 11 Oct 2022 11:13:36 +0000 (11:13 +0000)] 
packages: Use binary digest function in dump

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackage: Compose cache path based on the binary digest
Michael Tremer [Tue, 11 Oct 2022 11:08:24 +0000 (11:08 +0000)] 
package: Compose cache path based on the binary digest

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofile: Drop all hexdigest functions
Michael Tremer [Tue, 11 Oct 2022 10:58:01 +0000 (10:58 +0000)] 
file: Drop all hexdigest functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodigest: Add pakfire_digest_name to header
Michael Tremer [Tue, 11 Oct 2022 10:56:09 +0000 (10:56 +0000)] 
digest: Add pakfire_digest_name to header

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodb: Fix insert statement for packages
Michael Tremer [Tue, 11 Oct 2022 10:55:52 +0000 (10:55 +0000)] 
db: Fix insert statement for packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years ago_pakfire: Return digest for packages only as binary
Michael Tremer [Tue, 11 Oct 2022 10:55:23 +0000 (10:55 +0000)] 
_pakfire: Return digest for packages only as binary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackages: Use binary digests in database
Michael Tremer [Tue, 11 Oct 2022 10:54:30 +0000 (10:54 +0000)] 
packages: Use binary digests in database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodigest: Add function to return a digest name
Michael Tremer [Tue, 11 Oct 2022 10:48:20 +0000 (10:48 +0000)] 
digest: Add function to return a digest name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokeys: Export name & email
Michael Tremer [Thu, 6 Oct 2022 13:41:04 +0000 (13:41 +0000)] 
keys: Export name & email

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokeys: Export public/secret keys easily
Michael Tremer [Thu, 6 Oct 2022 13:33:38 +0000 (13:33 +0000)] 
keys: Export public/secret keys easily

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years ago_pakfire: file: Include util.h for datetime functions
Michael Tremer [Thu, 6 Oct 2022 13:26:18 +0000 (13:26 +0000)] 
_pakfire: file: Include util.h for datetime functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokeys: Export UID
Michael Tremer [Thu, 6 Oct 2022 13:00:11 +0000 (13:00 +0000)] 
keys: Export UID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokeys: expires_at: Return None if the key does not expire
Michael Tremer [Thu, 6 Oct 2022 12:59:54 +0000 (12:59 +0000)] 
keys: expires_at: Return None if the key does not expire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokeys: Export creation/expiration timestamp
Michael Tremer [Thu, 6 Oct 2022 12:55:11 +0000 (12:55 +0000)] 
keys: Export creation/expiration timestamp

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years ago_pakfire: Move PyDateTime_FromTime_t to util
Michael Tremer [Thu, 6 Oct 2022 12:49:37 +0000 (12:49 +0000)] 
_pakfire: Move PyDateTime_FromTime_t to util

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agohub: Raise a better error for any authentication errors
Michael Tremer [Wed, 5 Oct 2022 15:54:10 +0000 (15:54 +0000)] 
hub: Raise a better error for any authentication errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agohub: Authenticate any responses from the server
Michael Tremer [Wed, 5 Oct 2022 15:45:50 +0000 (15:45 +0000)] 
hub: Authenticate any responses from the server

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoclient: Perform Kerberos authentication against the hub
Michael Tremer [Wed, 5 Oct 2022 15:31:37 +0000 (15:31 +0000)] 
client: Perform Kerberos authentication against the hub

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackage: Fail if we could not fetch the repository
Michael Tremer [Sat, 1 Oct 2022 11:52:41 +0000 (11:52 +0000)] 
package: Fail if we could not fetch the repository

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodb: Fix filelist queries
Michael Tremer [Sat, 1 Oct 2022 13:49:50 +0000 (13:49 +0000)] 
db: Fix filelist queries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofile: Rename user/group to uname/gname
Michael Tremer [Sat, 1 Oct 2022 13:29:26 +0000 (13:29 +0000)] 
file: Rename user/group to uname/gname

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years ago_pakfire: Drop hexdigest() from File
Michael Tremer [Sat, 1 Oct 2022 13:20:46 +0000 (13:20 +0000)] 
_pakfire: Drop hexdigest() from File

It is easy enough to convert from bytes to hex

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years ago_pakfire: Drop constants for digest types
Michael Tremer [Sat, 1 Oct 2022 13:20:09 +0000 (13:20 +0000)] 
_pakfire: Drop constants for digest types

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years ago_pakfire: Fetch digest type by string
Michael Tremer [Sat, 1 Oct 2022 13:19:54 +0000 (13:19 +0000)] 
_pakfire: Fetch digest type by string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodigest: Make pakfire_digest_get_by_name public
Michael Tremer [Sat, 1 Oct 2022 13:19:20 +0000 (13:19 +0000)] 
digest: Make pakfire_digest_get_by_name public

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodigests: Add function to return the type from string
Michael Tremer [Sat, 1 Oct 2022 13:07:15 +0000 (13:07 +0000)] 
digests: Add function to return the type from string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Store package filelist in metadata
Michael Tremer [Tue, 20 Sep 2022 10:00:06 +0000 (10:00 +0000)] 
packager: Store package filelist in metadata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agorepo: Improve SOLV file
Michael Tremer [Tue, 20 Sep 2022 09:59:20 +0000 (09:59 +0000)] 
repo: Improve SOLV file

Add all addefileprovides and a meta section (as in tools_write in the
libsolv examples).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackage: Drop support for reading legacy filelists
Michael Tremer [Tue, 20 Sep 2022 09:58:41 +0000 (09:58 +0000)] 
package: Drop support for reading legacy filelists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofilelist: Add dump function to dump an entire filelist
Michael Tremer [Tue, 20 Sep 2022 09:56:30 +0000 (09:56 +0000)] 
filelist: Add dump function to dump an entire filelist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuild: Free file string after dump
Michael Tremer [Tue, 20 Sep 2022 09:55:52 +0000 (09:55 +0000)] 
build: Free file string after dump

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Actually iterate over the correct filelist
Michael Tremer [Mon, 19 Sep 2022 20:14:45 +0000 (20:14 +0000)] 
packager: Actually iterate over the correct filelist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofilelist: Fix off-by-one error on cleanup
Michael Tremer [Mon, 19 Sep 2022 20:14:20 +0000 (20:14 +0000)] 
filelist: Fix off-by-one error on cleanup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Remove files after they have been packaged
Michael Tremer [Mon, 19 Sep 2022 19:42:25 +0000 (19:42 +0000)] 
packager: Remove files after they have been packaged

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobuild: Abort if there are any unpackaged files
Michael Tremer [Mon, 19 Sep 2022 19:15:47 +0000 (19:15 +0000)] 
build: Abort if there are any unpackaged files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofile: Add function to dump the file
Michael Tremer [Mon, 19 Sep 2022 19:14:37 +0000 (19:14 +0000)] 
file: Add function to dump the file

This function returns a line which is similar to what "tar tvf"
produces.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Use pakfire_filelist_walk to add files
Michael Tremer [Mon, 19 Sep 2022 17:58:59 +0000 (17:58 +0000)] 
packager: Use pakfire_filelist_walk to add files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Abort if payload could not be written
Michael Tremer [Mon, 19 Sep 2022 17:40:03 +0000 (17:40 +0000)] 
packager: Abort if payload could not be written

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoprogressbar: Fix return code from renderer thread
Michael Tremer [Mon, 19 Sep 2022 17:39:29 +0000 (17:39 +0000)] 
progressbar: Fix return code from renderer thread

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agologger: Add debug switch
Michael Tremer [Fri, 16 Sep 2022 13:33:56 +0000 (13:33 +0000)] 
logger: Add debug switch

The setup function for the logger now has a debug switch to enable debug
messages which will be sent to syslog only and not be printed to the
console.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocompress: Read path again on extraction
Michael Tremer [Fri, 16 Sep 2022 13:25:57 +0000 (13:25 +0000)] 
compress: Read path again on extraction

The former pointer was invalid and we logged invalid data.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopython: Hack to not crash when the log function raises an exception
Michael Tremer [Fri, 16 Sep 2022 13:24:42 +0000 (13:24 +0000)] 
python: Hack to not crash when the log function raises an exception

If the log callback raises a Python exception, we cannot handle this in
the C code since there are not return values checked.

Instead, we will check now if an exception has occured and print it to
the console. Not great, but at least this is useful for debugging.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoDrop unused capabilities stuff
Michael Tremer [Fri, 16 Sep 2022 12:19:56 +0000 (12:19 +0000)] 
Drop unused capabilities stuff

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoarchive: Refactor how we read the new archive format
Michael Tremer [Fri, 16 Sep 2022 12:11:33 +0000 (12:11 +0000)] 
archive: Refactor how we read the new archive format

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoprogressbar: Always finish properly
Michael Tremer [Fri, 16 Sep 2022 12:10:29 +0000 (12:10 +0000)] 
progressbar: Always finish properly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopakfire: Technically, we support XZ compression, too
Michael Tremer [Fri, 9 Sep 2022 19:06:08 +0000 (19:06 +0000)] 
pakfire: Technically, we support XZ compression, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopakfire: Add feature codes for all supported digests
Michael Tremer [Fri, 9 Sep 2022 19:05:22 +0000 (19:05 +0000)] 
pakfire: Add feature codes for all supported digests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Add pakfire features for all used digests
Michael Tremer [Fri, 9 Sep 2022 19:02:56 +0000 (19:02 +0000)] 
packager: Add pakfire features for all used digests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofile: Ensure that all desired digests are computed
Michael Tremer [Fri, 9 Sep 2022 18:02:17 +0000 (18:02 +0000)] 
file: Ensure that all desired digests are computed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofile: Remove leading slash for "path"
Michael Tremer [Fri, 9 Sep 2022 17:48:42 +0000 (17:48 +0000)] 
file: Remove leading slash for "path"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocompress: Avoid prepending "(null)" to paths on extraction
Michael Tremer [Fri, 9 Sep 2022 16:21:37 +0000 (16:21 +0000)] 
compress: Avoid prepending "(null)" to paths on extraction

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosnapshot: Use PAKFIRE_BUFFER_SIZE
Michael Tremer [Fri, 9 Sep 2022 16:11:13 +0000 (16:11 +0000)] 
snapshot: Use PAKFIRE_BUFFER_SIZE

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotransactions: Don't ask for confirmation right now
Michael Tremer [Fri, 9 Sep 2022 16:07:33 +0000 (16:07 +0000)] 
transactions: Don't ask for confirmation right now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoprogressbar: Drop timer in favour of a render thread
Michael Tremer [Fri, 9 Sep 2022 15:53:39 +0000 (15:53 +0000)] 
progressbar: Drop timer in favour of a render thread

The timer might fire after the progressbar has been destroyed resulting
in random SEGV.

We are now launching one(!) thread which will perform the entire
rendering and run for as long as the progressbar is in running mode.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoarchive: Rewind before copy
Michael Tremer [Fri, 9 Sep 2022 14:39:06 +0000 (14:39 +0000)] 
archive: Rewind before copy

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Flush all data to disk before trying to re-read the archive
Michael Tremer [Mon, 5 Sep 2022 16:33:24 +0000 (16:33 +0000)] 
packager: Flush all data to disk before trying to re-read the archive

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoarchive: Move rewind before the archive is opened
Michael Tremer [Mon, 5 Sep 2022 16:29:56 +0000 (16:29 +0000)] 
archive: Move rewind before the archive is opened

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoarchive: Check whether we are trying to open an empty file
Michael Tremer [Mon, 5 Sep 2022 16:29:34 +0000 (16:29 +0000)] 
archive: Check whether we are trying to open an empty file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoarchive: Tell the kernel that we will read the file sequentially
Michael Tremer [Mon, 5 Sep 2022 16:24:49 +0000 (16:24 +0000)] 
archive: Tell the kernel that we will read the file sequentially

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofile: Try to be smarter and set abspath/path automatically
Michael Tremer [Mon, 5 Sep 2022 16:03:30 +0000 (16:03 +0000)] 
file: Try to be smarter and set abspath/path automatically

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackage: Add the filelist to the JSON metadata
Michael Tremer [Mon, 5 Sep 2022 15:39:16 +0000 (15:39 +0000)] 
package: Add the filelist to the JSON metadata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackage: Refactor pakfire_package_set_filelist_from_string
Michael Tremer [Mon, 5 Sep 2022 15:25:01 +0000 (15:25 +0000)] 
package: Refactor pakfire_package_set_filelist_from_string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackage: Refactor pakfire_package_get_filelist
Michael Tremer [Mon, 5 Sep 2022 15:20:29 +0000 (15:20 +0000)] 
package: Refactor pakfire_package_get_filelist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackage: Refacor pakfire_package_set_filelist
Michael Tremer [Mon, 5 Sep 2022 15:17:20 +0000 (15:17 +0000)] 
package: Refacor pakfire_package_set_filelist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Add filelist to package metadata
Michael Tremer [Mon, 5 Sep 2022 15:13:03 +0000 (15:13 +0000)] 
packager: Add filelist to package metadata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoarchive: Avoid endless loop when parsing legacy packages
Michael Tremer [Mon, 5 Sep 2022 15:02:50 +0000 (15:02 +0000)] 
archive: Avoid endless loop when parsing legacy packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoarchive: Make reading archives more verbose
Michael Tremer [Mon, 5 Sep 2022 13:52:48 +0000 (13:52 +0000)] 
archive: Make reading archives more verbose

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocompress: Actually walk through the archives
Michael Tremer [Mon, 5 Sep 2022 13:47:30 +0000 (13:47 +0000)] 
compress: Actually walk through the archives

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackager: Use common compression function
Michael Tremer [Mon, 5 Sep 2022 13:32:12 +0000 (13:32 +0000)] 
packager: Use common compression function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocompress: Build a common compression function
Michael Tremer [Mon, 5 Sep 2022 13:18:45 +0000 (13:18 +0000)] 
compress: Build a common compression function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofilelist: Add function to walk through filelist
Michael Tremer [Mon, 5 Sep 2022 13:18:12 +0000 (13:18 +0000)] 
filelist: Add function to walk through filelist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoMakefile: Drop unused environment variable in test environment
Michael Tremer [Mon, 5 Sep 2022 12:33:49 +0000 (12:33 +0000)] 
Makefile: Drop unused environment variable in test environment

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocompress: Use common walking routine for extraction
Michael Tremer [Thu, 1 Sep 2022 19:11:17 +0000 (19:11 +0000)] 
compress: Use common walking routine for extraction

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agowalk: Attempt to create some common function to walk through archives
Michael Tremer [Thu, 1 Sep 2022 19:04:40 +0000 (19:04 +0000)] 
walk: Attempt to create some common function to walk through archives

We are (re-)implementing this over and over again with different, but
very similar features, so it might make a lot more sense to try to unify
this code.

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