]> git.ipfire.org Git - people/ms/pakfire.git/log
people/ms/pakfire.git
4 months agojail: Keep reading from/writing to PTY for as long as there is work to do
Michael Tremer [Tue, 19 Dec 2023 16:33:00 +0000 (16:33 +0000)] 
jail: Keep reading from/writing to PTY for as long as there is work to do

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: Forward function names of child processes
Michael Tremer [Tue, 19 Dec 2023 14:50:53 +0000 (14:50 +0000)] 
jail: Forward function names of child processes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: Remove duplicate logging function
Michael Tremer [Tue, 19 Dec 2023 14:25:54 +0000 (14:25 +0000)] 
jail: Remove duplicate logging function

There were two functions essentially doing the same, so one can go.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: Honour the buffer length when forwarding log messages
Michael Tremer [Tue, 19 Dec 2023 13:43:49 +0000 (13:43 +0000)] 
jail: Honour the buffer length when forwarding log messages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: PTY forwarding: Call the output callback if available
Michael Tremer [Tue, 19 Dec 2023 13:10:02 +0000 (13:10 +0000)] 
jail: PTY forwarding: Call the output callback if available

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: Only connect the current terminal if requested
Michael Tremer [Tue, 19 Dec 2023 12:52:13 +0000 (12:52 +0000)] 
jail: Only connect the current terminal if requested

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: Do not try to attempt any TTY operations if we don't have a TTY
Michael Tremer [Tue, 19 Dec 2023 12:45:46 +0000 (12:45 +0000)] 
jail: Do not try to attempt any TTY operations if we don't have a TTY

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: Refactor how to drain logging buffers with callbacks
Michael Tremer [Tue, 19 Dec 2023 12:37:45 +0000 (12:37 +0000)] 
jail: Refactor how to drain logging buffers with callbacks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 months agojail: Make PTY forwarding a flag and remove interactive bool
Michael Tremer [Tue, 19 Dec 2023 12:00:30 +0000 (12:00 +0000)] 
jail: Make PTY forwarding a flag and remove interactive bool

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Use the "fill buffer" function for logging, too
Michael Tremer [Sat, 16 Dec 2023 13:24:45 +0000 (13:24 +0000)] 
jail: Use the "fill buffer" function for logging, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Align processing of file descriptors in the event loop
Michael Tremer [Sat, 16 Dec 2023 13:19:54 +0000 (13:19 +0000)] 
jail: Align processing of file descriptors in the event loop

This is slightly easier to read than checking the event type first and
then handle the rest.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Implement PTY forwarding
Michael Tremer [Sat, 16 Dec 2023 13:07:50 +0000 (13:07 +0000)] 
jail: Implement PTY forwarding

This replaces the previous pipe forwarding with a new controlling PTY
that is set up for each jail.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Only try to restore file descriptors if they are still open
Michael Tremer [Sat, 16 Dec 2023 13:07:00 +0000 (13:07 +0000)] 
jail: Only try to restore file descriptors if they are still open

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Fix setting raw mode only on the correct side
Michael Tremer [Sat, 16 Dec 2023 13:06:20 +0000 (13:06 +0000)] 
jail: Fix setting raw mode only on the correct side

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Store flags of stdin/stdout
Michael Tremer [Sat, 16 Dec 2023 13:05:08 +0000 (13:05 +0000)] 
jail: Store flags of stdin/stdout

We will need to restore them after we are finish the PTY forwarding.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomount: No longer create /dev/console in the jail
Michael Tremer [Sat, 16 Dec 2023 11:55:44 +0000 (11:55 +0000)] 
mount: No longer create /dev/console in the jail

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoutil: Fix creating symlinks
Michael Tremer [Sat, 16 Dec 2023 11:53:47 +0000 (11:53 +0000)] 
util: Fix creating symlinks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Setup PTY in the master process and add it to the event loop
Michael Tremer [Fri, 8 Dec 2023 17:22:43 +0000 (17:22 +0000)] 
jail: Setup PTY in the master process and add it to the event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Create a better struct to hold all PTY related stuff
Michael Tremer [Fri, 8 Dec 2023 16:45:39 +0000 (16:45 +0000)] 
jail: Create a better struct to hold all PTY related stuff

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Have the child process allocate a new PTY
Michael Tremer [Fri, 8 Dec 2023 15:47:20 +0000 (15:47 +0000)] 
jail: Have the child process allocate a new PTY

The master file descriptor is being sent to the parent process.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Fix FD check in stdin
Michael Tremer [Fri, 8 Dec 2023 15:30:13 +0000 (15:30 +0000)] 
jail: Fix FD check in stdin

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Bring back the UNIX domain socket between child/parent
Michael Tremer [Fri, 8 Dec 2023 15:29:45 +0000 (15:29 +0000)] 
jail: Bring back the UNIX domain socket between child/parent

We will need this later to pass around file descriptors.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Bring back helper function to add FDs to epoll()
Michael Tremer [Sat, 2 Dec 2023 12:57:13 +0000 (12:57 +0000)] 
jail: Bring back helper function to add FDs to epoll()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoRevert "jail: This changes how we launch sub-processes"
Michael Tremer [Sat, 2 Dec 2023 12:48:08 +0000 (12:48 +0000)] 
Revert "jail: This changes how we launch sub-processes"

This reverts commit 9b171c6a54a5f8e42ba3f11f285af601aecaa303.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Commit some disabled code to set up a PTY
Michael Tremer [Sat, 2 Dec 2023 12:41:02 +0000 (12:41 +0000)] 
jail: Commit some disabled code to set up a PTY

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agoutil: Create a function to create relative symlinks
Michael Tremer [Sat, 2 Dec 2023 12:36:19 +0000 (12:36 +0000)] 
util: Create a function to create relative symlinks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agopath: Add function to compute relative paths
Michael Tremer [Fri, 24 Nov 2023 16:49:57 +0000 (16:49 +0000)] 
path: Add function to compute relative paths

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agomount: Add comment about mounting /proc
Michael Tremer [Fri, 24 Nov 2023 15:35:29 +0000 (15:35 +0000)] 
mount: Add comment about mounting /proc

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 months agojail: Mount some things in the outer namespace and some in the inner one
Michael Tremer [Fri, 24 Nov 2023 15:29:41 +0000 (15:29 +0000)] 
jail: Mount some things in the outer namespace and some in the inner one

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Log the mountpoints when entering the inner namespaces
Michael Tremer [Sun, 5 Nov 2023 18:39:39 +0000 (18:39 +0000)] 
jail: Log the mountpoints when entering the inner namespaces

There is only little sense in logging the mount table of the host system
as it only makes the debug log very noisy.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolibpakfire: Drop using libmount
Michael Tremer [Sun, 5 Nov 2023 18:37:02 +0000 (18:37 +0000)] 
libpakfire: Drop using libmount

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolibpakfire: os.h: Add missing header for pid_t
Michael Tremer [Sun, 5 Nov 2023 18:34:58 +0000 (18:34 +0000)] 
libpakfire: os.h: Add missing header for pid_t

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agomount: Use the parse helpers to log /proc/self/mounts
Michael Tremer [Sun, 5 Nov 2023 18:34:10 +0000 (18:34 +0000)] 
mount: Use the parse helpers to log /proc/self/mounts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoparse: Remove any trailing line breaks
Michael Tremer [Sun, 5 Nov 2023 18:33:21 +0000 (18:33 +0000)] 
parse: Remove any trailing line breaks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoparse: Move parse function into an extra file
Michael Tremer [Sun, 5 Nov 2023 18:17:05 +0000 (18:17 +0000)] 
parse: Move parse function into an extra file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: setgroups: Use pakfire_file_write
Michael Tremer [Sun, 5 Nov 2023 17:50:35 +0000 (17:50 +0000)] 
jail: setgroups: Use pakfire_file_write

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Actually exit if something went wrong during initialization
Michael Tremer [Sun, 5 Nov 2023 17:47:50 +0000 (17:47 +0000)] 
jail: Actually exit if something went wrong during initialization

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Don't let the second child die when the first child finishes
Michael Tremer [Sun, 5 Nov 2023 17:47:24 +0000 (17:47 +0000)] 
jail: Don't let the second child die when the first child finishes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Don't fail if cgroup stats could not be read
Michael Tremer [Sun, 5 Nov 2023 17:42:29 +0000 (17:42 +0000)] 
jail: Don't fail if cgroup stats could not be read

This is kind of a fire and forget situation, but should be good enough.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Remove signalfd stuff
Michael Tremer [Sun, 5 Nov 2023 17:36:37 +0000 (17:36 +0000)] 
jail: Remove signalfd stuff

I don't think that we need this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocompress: Be less verbose when walking through the file system
Michael Tremer [Sun, 5 Nov 2023 17:34:29 +0000 (17:34 +0000)] 
compress: Be less verbose when walking through the file system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Fix format character when setting GIDs
Michael Tremer [Sun, 5 Nov 2023 17:33:41 +0000 (17:33 +0000)] 
jail: Fix format character when setting GIDs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: This changes how we launch sub-processes
Michael Tremer [Sun, 5 Nov 2023 17:32:27 +0000 (17:32 +0000)] 
jail: This changes how we launch sub-processes

This patch changes that we will launch a new process in a new mount
namespace which will then set up that namespace and fork another child
into a new user/network/time/etc. namespace.

This is not completed as the internal mount namespace is not set up
correctly, yet.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocgroup: Be less verbose when parsing stats
Michael Tremer [Sun, 5 Nov 2023 17:31:20 +0000 (17:31 +0000)] 
cgroup: Be less verbose when parsing stats

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Use eventfd_read/write convenience handlers
Michael Tremer [Thu, 2 Nov 2023 08:43:26 +0000 (08:43 +0000)] 
jail: Use eventfd_read/write convenience handlers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Correctly compile out debug stuff when not enabled
Michael Tremer [Thu, 2 Nov 2023 08:40:48 +0000 (08:40 +0000)] 
jail: Correctly compile out debug stuff when not enabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agomount: Remove unused function to check for mountpoints
Michael Tremer [Thu, 2 Nov 2023 08:37:32 +0000 (08:37 +0000)] 
mount: Remove unused function to check for mountpoints

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolibpakfire: Drop the stupid namespace stuff
Michael Tremer [Thu, 2 Nov 2023 08:34:04 +0000 (08:34 +0000)] 
libpakfire: Drop the stupid namespace stuff

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agomount: Make changing mount operation not dependant on pakfire
Michael Tremer [Thu, 2 Nov 2023 08:28:49 +0000 (08:28 +0000)] 
mount: Make changing mount operation not dependant on pakfire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocli: Check for root privileges when needed
Michael Tremer [Thu, 2 Nov 2023 08:23:43 +0000 (08:23 +0000)] 
cli: Check for root privileges when needed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Implement another version for tmpfiles
Michael Tremer [Wed, 1 Nov 2023 20:09:22 +0000 (20:09 +0000)] 
xfer: Implement another version for tmpfiles

O_TMPFILE requires filesystem support which is sadly not available for
NFS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Try again for temporary issues on API calls
Michael Tremer [Wed, 1 Nov 2023 19:10:54 +0000 (19:10 +0000)] 
xfer: Try again for temporary issues on API calls

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: xfer: Fix digest check
Michael Tremer [Wed, 1 Nov 2023 19:06:42 +0000 (19:06 +0000)] 
tests: xfer: Fix digest check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Translate any errors into our own error codes
Michael Tremer [Wed, 1 Nov 2023 19:06:27 +0000 (19:06 +0000)] 
xfer: Translate any errors into our own error codes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Correctly truncate if the download failed
Michael Tremer [Wed, 1 Nov 2023 19:05:53 +0000 (19:05 +0000)] 
xfer: Correctly truncate if the download failed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Fail on any HTTP return codes >= 400
Michael Tremer [Wed, 1 Nov 2023 19:05:10 +0000 (19:05 +0000)] 
xfer: Fail on any HTTP return codes >= 400

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Receive any error messages from cURL
Michael Tremer [Wed, 1 Nov 2023 19:04:38 +0000 (19:04 +0000)] 
xfer: Receive any error messages from cURL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Remove restoring the mtime of downloads
Michael Tremer [Wed, 1 Nov 2023 17:48:03 +0000 (17:48 +0000)] 
xfer: Remove restoring the mtime of downloads

The servers don't generally send this information.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Set mtime only if we received one
Michael Tremer [Wed, 1 Nov 2023 17:43:44 +0000 (17:43 +0000)] 
xfer: Set mtime only if we received one

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Remove unused flags field
Michael Tremer [Wed, 1 Nov 2023 17:43:23 +0000 (17:43 +0000)] 
xfer: Remove unused flags field

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Group freeing cURL things together
Michael Tremer [Wed, 1 Nov 2023 17:41:54 +0000 (17:41 +0000)] 
xfer: Group freeing cURL things together

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Improve how we create temporary files
Michael Tremer [Wed, 1 Nov 2023 17:39:07 +0000 (17:39 +0000)] 
xfer: Improve how we create temporary files

We will now create invisible files in the destination file system which
gives us the advantage that the file will be written where it should be
and we won't have to move it later.

We can simply link the insivible file to become visible in the file
system on success. Otherwise we just close the file handle and the data
will be freed again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Remove unused NOTEMP flag
Michael Tremer [Wed, 1 Nov 2023 17:12:05 +0000 (17:12 +0000)] 
xfer: Remove unused NOTEMP flag

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoctx: Remove logging when the cache path is set
Michael Tremer [Wed, 1 Nov 2023 17:09:20 +0000 (17:09 +0000)] 
ctx: Remove logging when the cache path is set

This is *very* verbose and probably not needed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocgroups: Anchor to the context
Michael Tremer [Wed, 1 Nov 2023 17:08:08 +0000 (17:08 +0000)] 
cgroups: Anchor to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Fix more fd checks
Michael Tremer [Wed, 1 Nov 2023 16:43:08 +0000 (16:43 +0000)] 
jail: Fix more fd checks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojail: Correctly initialize any log file descriptors
Michael Tremer [Wed, 1 Nov 2023 15:51:13 +0000 (15:51 +0000)] 
jail: Correctly initialize any log file descriptors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: httpclient: Add download tests
Michael Tremer [Wed, 1 Nov 2023 15:36:45 +0000 (15:36 +0000)] 
tests: httpclient: Add download tests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Drop tests for the old downloader
Michael Tremer [Wed, 1 Nov 2023 15:21:26 +0000 (15:21 +0000)] 
tests: Drop tests for the old downloader

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: xfer: Add lots of tests
Michael Tremer [Wed, 1 Nov 2023 15:19:42 +0000 (15:19 +0000)] 
tests: xfer: Add lots of tests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Free the HTTP client
Michael Tremer [Wed, 1 Nov 2023 14:53:23 +0000 (14:53 +0000)] 
xfer: Free the HTTP client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Add a simple test for xfers
Michael Tremer [Wed, 1 Nov 2023 14:51:44 +0000 (14:51 +0000)] 
tests: Add a simple test for xfers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Add a simple test that creates a HTTP client
Michael Tremer [Wed, 1 Nov 2023 14:46:54 +0000 (14:46 +0000)] 
tests: Add a simple test that creates a HTTP client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Add option to request a HTTP client
Michael Tremer [Wed, 1 Nov 2023 14:40:52 +0000 (14:40 +0000)] 
tests: Add option to request a HTTP client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: util: The base64 functions are anchored to the context now
Michael Tremer [Wed, 1 Nov 2023 14:34:57 +0000 (14:34 +0000)] 
tests: util: The base64 functions are anchored to the context now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: keys are anchored to the context and no longer Pakfire
Michael Tremer [Wed, 1 Nov 2023 14:33:50 +0000 (14:33 +0000)] 
tests: keys are anchored to the context and no longer Pakfire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Allow to configure whether Pakfire is needed
Michael Tremer [Wed, 1 Nov 2023 14:32:15 +0000 (14:32 +0000)] 
tests: Allow to configure whether Pakfire is needed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Introduce flags
Michael Tremer [Wed, 1 Nov 2023 14:23:39 +0000 (14:23 +0000)] 
tests: Introduce flags

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Check if context was propertly released
Michael Tremer [Wed, 1 Nov 2023 14:13:41 +0000 (14:13 +0000)] 
tests: Check if context was propertly released

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Continue cleanup even if Pakfire was not released
Michael Tremer [Wed, 1 Nov 2023 14:13:20 +0000 (14:13 +0000)] 
tests: Continue cleanup even if Pakfire was not released

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: digests: Fix FTBFS
Michael Tremer [Wed, 1 Nov 2023 14:04:38 +0000 (14:04 +0000)] 
tests: digests: Fix FTBFS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months ago_pakfire: Remove the default context and require manual setup
Michael Tremer [Wed, 1 Nov 2023 12:16:32 +0000 (12:16 +0000)] 
_pakfire: Remove the default context and require manual setup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months ago_pakfire: Create scaffolding for a context object
Michael Tremer [Wed, 1 Nov 2023 11:34:56 +0000 (11:34 +0000)] 
_pakfire: Create scaffolding for a context object

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agopackages: Do not try to solve for recommened packages on installcheck
Michael Tremer [Wed, 1 Nov 2023 11:15:57 +0000 (11:15 +0000)] 
packages: Do not try to solve for recommened packages on installcheck

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agorepo: Fix path composition
Michael Tremer [Wed, 1 Nov 2023 11:12:49 +0000 (11:12 +0000)] 
repo: Fix path composition

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months ago_pakfire: Set PY_SSIZE_T_CLEAN
Michael Tremer [Wed, 1 Nov 2023 11:08:48 +0000 (11:08 +0000)] 
_pakfire: Set PY_SSIZE_T_CLEAN

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months ago_pakfire: Remove trailing newline on log messages
Michael Tremer [Wed, 1 Nov 2023 11:04:15 +0000 (11:04 +0000)] 
_pakfire: Remove trailing newline on log messages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months ago_pakfire: Remove forgotten logger argument
Michael Tremer [Wed, 1 Nov 2023 10:53:15 +0000 (10:53 +0000)] 
_pakfire: Remove forgotten logger argument

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoctx: Return 1 if no pick solution callback was set up
Michael Tremer [Wed, 1 Nov 2023 10:52:59 +0000 (10:52 +0000)] 
ctx: Return 1 if no pick solution callback was set up

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months ago_pakfire: Implement set_cache_path()
Michael Tremer [Wed, 1 Nov 2023 10:14:24 +0000 (10:14 +0000)] 
_pakfire: Implement set_cache_path()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoxfer: Remove excess whitespace
Michael Tremer [Wed, 1 Nov 2023 10:02:47 +0000 (10:02 +0000)] 
xfer: Remove excess whitespace

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agobuildservice: Move API request handling code into xfer
Michael Tremer [Wed, 1 Nov 2023 09:57:45 +0000 (09:57 +0000)] 
buildservice: Move API request handling code into xfer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agobuildservice: Add function to signal finished build jobs
Michael Tremer [Wed, 1 Nov 2023 09:14:28 +0000 (09:14 +0000)] 
buildservice: Add function to signal finished build jobs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocli: update: Migrate to the new parser
Michael Tremer [Tue, 31 Oct 2023 18:49:34 +0000 (18:49 +0000)] 
cli: update: Migrate to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocli: sync: Migrate command to the new system
Michael Tremer [Tue, 31 Oct 2023 18:36:04 +0000 (18:36 +0000)] 
cli: sync: Migrate command to the new system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocli: remove: Migrate command to the new parser
Michael Tremer [Tue, 31 Oct 2023 18:29:00 +0000 (18:29 +0000)] 
cli: remove: Migrate command to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocli: install: Migrate the command to the new system
Michael Tremer [Tue, 31 Oct 2023 17:56:18 +0000 (17:56 +0000)] 
cli: install: Migrate the command to the new system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocli: builder: Check if the requested arch is supported
Michael Tremer [Tue, 31 Oct 2023 17:39:05 +0000 (17:39 +0000)] 
cli: builder: Check if the requested arch is supported

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agocli: builder: Show questions we are always saying yes to
Michael Tremer [Tue, 31 Oct 2023 17:31:48 +0000 (17:31 +0000)] 
cli: builder: Show questions we are always saying yes to

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotransaction: Actually download packages again
Michael Tremer [Tue, 31 Oct 2023 17:22:30 +0000 (17:22 +0000)] 
transaction: Actually download packages again

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