]> git.ipfire.org Git - people/ms/pakfire.git/log
people/ms/pakfire.git
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 months agopakfire: Create a new user namespace for every pakfire instance
Michael Tremer [Tue, 31 Oct 2023 16:11:44 +0000 (16:11 +0000)] 
pakfire: Create a new user namespace for every pakfire instance

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopakfire: Remove unused log priority variable
Michael Tremer [Tue, 31 Oct 2023 12:51:55 +0000 (12:51 +0000)] 
pakfire: Remove unused log priority variable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoctx: Store cache path
Michael Tremer [Tue, 31 Oct 2023 12:46:13 +0000 (12:46 +0000)] 
ctx: Store cache path

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Fix CPU time calculation
Michael Tremer [Tue, 31 Oct 2023 11:43:03 +0000 (11:43 +0000)] 
os: Fix CPU time calculation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Send the host distribution info
Michael Tremer [Tue, 31 Oct 2023 11:35:52 +0000 (11:35 +0000)] 
buildservice: Send the host distribution info

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Move code to read /etc/os-release here
Michael Tremer [Tue, 31 Oct 2023 11:05:11 +0000 (11:05 +0000)] 
os: Move code to read /etc/os-release here

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months ago_pakfire: Drop unused native_arch function
Michael Tremer [Tue, 31 Oct 2023 10:54:07 +0000 (10:54 +0000)] 
_pakfire: Drop unused native_arch function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Move submitting stats into C
Michael Tremer [Tue, 31 Oct 2023 10:53:39 +0000 (10:53 +0000)] 
buildservice: Move submitting stats into C

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Fetch shared memory
Michael Tremer [Tue, 31 Oct 2023 10:52:29 +0000 (10:52 +0000)] 
os: Fetch shared memory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoMakefile: Remove dropped hub.py
Michael Tremer [Tue, 31 Oct 2023 10:51:49 +0000 (10:51 +0000)] 
Makefile: Remove dropped hub.py

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Fetch the number of CPUs
Michael Tremer [Tue, 31 Oct 2023 10:51:34 +0000 (10:51 +0000)] 
os: Fetch the number of CPUs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Add function to read loadavg
Michael Tremer [Mon, 30 Oct 2023 11:08:17 +0000 (11:08 +0000)] 
os: Add function to read loadavg

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Add function to gather cpu stats
Michael Tremer [Mon, 30 Oct 2023 11:00:11 +0000 (11:00 +0000)] 
os: Add function to gather cpu stats

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Implement getting memory stats from /proc/meminfo
Michael Tremer [Sat, 28 Oct 2023 10:52:24 +0000 (10:52 +0000)] 
os: Implement getting memory stats from /proc/meminfo

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoos: Implement reading some values from /proc/cpuinfo
Michael Tremer [Sat, 28 Oct 2023 10:28:47 +0000 (10:28 +0000)] 
os: Implement reading some values from /proc/cpuinfo

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Log a message when we initialized properly
Michael Tremer [Fri, 27 Oct 2023 17:19:27 +0000 (17:19 +0000)] 
buildservice: Log a message when we initialized properly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months ago_pakfire: Add method to configure the log level
Michael Tremer [Fri, 27 Oct 2023 17:18:07 +0000 (17:18 +0000)] 
_pakfire: Add method to configure the log level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Move the old stuff into the new wrapper
Michael Tremer [Fri, 27 Oct 2023 17:17:24 +0000 (17:17 +0000)] 
buildservice: Move the old stuff into the new wrapper

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months ago_pakfire: Don't deallocate the context after successful init
Michael Tremer [Fri, 27 Oct 2023 17:06:18 +0000 (17:06 +0000)] 
_pakfire: Don't deallocate the context after successful init

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Export the URL
Michael Tremer [Fri, 27 Oct 2023 16:22:08 +0000 (16:22 +0000)] 
buildservice: Export the URL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agohub: Drop unused methods
Michael Tremer [Fri, 27 Oct 2023 16:12:58 +0000 (16:12 +0000)] 
hub: Drop unused methods

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopakfire-daemon: Disable C implementation for now
Michael Tremer [Fri, 27 Oct 2023 16:04:37 +0000 (16:04 +0000)] 
pakfire-daemon: Disable C implementation for now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months ago_pakfire: Create Python abstraction for the build service
Michael Tremer [Fri, 27 Oct 2023 16:03:03 +0000 (16:03 +0000)] 
_pakfire: Create Python abstraction for the build service

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodaemon: Connect to buildservice instead of a raw HTTP client
Michael Tremer [Fri, 27 Oct 2023 12:13:15 +0000 (12:13 +0000)] 
daemon: Connect to buildservice instead of a raw HTTP client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agokey: Anchor on context instead of pakfire
Michael Tremer [Fri, 27 Oct 2023 12:12:31 +0000 (12:12 +0000)] 
key: Anchor on context instead of pakfire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoxfer: Enable all supported encodings
Michael Tremer [Fri, 27 Oct 2023 11:31:43 +0000 (11:31 +0000)] 
xfer: Enable all supported encodings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodaemon: Move into libpakfire
Michael Tremer [Sat, 21 Oct 2023 11:10:33 +0000 (11:10 +0000)] 
daemon: Move into libpakfire

This is currently not exported which means that the linker will link
those functions statically into pakfire-daemon.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: daemon: Build more scaffolding
Michael Tremer [Sat, 21 Oct 2023 10:36:29 +0000 (10:36 +0000)] 
cli: daemon: Build more scaffolding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: daemon: Remove any unused imports
Michael Tremer [Sat, 21 Oct 2023 09:54:56 +0000 (09:54 +0000)] 
cli: daemon: Remove any unused imports

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months ago.gitignore: Ignore pakfire-client
Michael Tremer [Sat, 21 Oct 2023 09:54:16 +0000 (09:54 +0000)] 
.gitignore: Ignore pakfire-client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: daemon: Add scaffolding
Michael Tremer [Sat, 21 Oct 2023 09:53:49 +0000 (09:53 +0000)] 
cli: daemon: Add scaffolding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: Drop pakfire-client Python script
Michael Tremer [Sat, 21 Oct 2023 09:49:00 +0000 (09:49 +0000)] 
cli: Drop pakfire-client Python script

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agohttpclient: Rename the downloader to HTTP client
Michael Tremer [Fri, 20 Oct 2023 16:01:58 +0000 (16:01 +0000)] 
httpclient: Rename the downloader to HTTP client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoxfer: Split off transfers from the downloader
Michael Tremer [Fri, 20 Oct 2023 15:43:41 +0000 (15:43 +0000)] 
xfer: Split off transfers from the downloader

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Export all functions
Michael Tremer [Fri, 20 Oct 2023 14:10:32 +0000 (14:10 +0000)] 
buildservice: Export all functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Do not limit the number of open connections
Michael Tremer [Fri, 20 Oct 2023 14:06:29 +0000 (14:06 +0000)] 
downloader: Do not limit the number of open connections

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement deleting repositories
Michael Tremer [Fri, 20 Oct 2023 14:04:05 +0000 (14:04 +0000)] 
buildservice: Implement deleting repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement deleting repositories
Michael Tremer [Fri, 20 Oct 2023 14:04:05 +0000 (14:04 +0000)] 
buildservice: Implement deleting repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement creating repositories
Michael Tremer [Fri, 20 Oct 2023 13:58:23 +0000 (13:58 +0000)] 
buildservice: Implement creating repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: repos: Require distro for listing repos
Michael Tremer [Fri, 20 Oct 2023 13:47:25 +0000 (13:47 +0000)] 
cli: repos: Require distro for listing repos

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement showing repositories
Michael Tremer [Fri, 20 Oct 2023 13:44:20 +0000 (13:44 +0000)] 
buildservice: Implement showing repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Only follow up to 30 redirects
Michael Tremer [Fri, 20 Oct 2023 13:43:48 +0000 (13:43 +0000)] 
downloader: Only follow up to 30 redirects

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement listing repositories
Michael Tremer [Fri, 20 Oct 2023 13:12:34 +0000 (13:12 +0000)] 
buildservice: Implement listing repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocompress: Move function to read payload from util
Michael Tremer [Fri, 20 Oct 2023 12:34:43 +0000 (12:34 +0000)] 
compress: Move function to read payload from util

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoarchive: Refactor function to read data into a buffer
Michael Tremer [Fri, 20 Oct 2023 12:30:32 +0000 (12:30 +0000)] 
archive: Refactor function to read data into a buffer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoarchive: Move helper function to read data into buffer from util
Michael Tremer [Fri, 20 Oct 2023 12:25:46 +0000 (12:25 +0000)] 
archive: Move helper function to read data into buffer from util

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopackagelist: Decouple for the pakfire object
Michael Tremer [Fri, 20 Oct 2023 12:20:57 +0000 (12:20 +0000)] 
packagelist: Decouple for the pakfire object

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopackage: Keep a reference to the context
Michael Tremer [Fri, 20 Oct 2023 12:20:29 +0000 (12:20 +0000)] 
package: Keep a reference to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoscriptlets: Decouple from pakfire and replace with context
Michael Tremer [Fri, 20 Oct 2023 12:00:53 +0000 (12:00 +0000)] 
scriptlets: Decouple from pakfire and replace with context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodb: Store a reference to the context
Michael Tremer [Fri, 20 Oct 2023 11:59:49 +0000 (11:59 +0000)] 
db: Store a reference to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: config: Actually use the code we write
Michael Tremer [Fri, 20 Oct 2023 11:59:22 +0000 (11:59 +0000)] 
cli: config: Actually use the code we write

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoarchive: Replace the legacy logger with the new context logger
Michael Tremer [Fri, 20 Oct 2023 11:47:44 +0000 (11:47 +0000)] 
archive: Replace the legacy logger with the new context logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocompress: Anchor walk around context
Michael Tremer [Fri, 20 Oct 2023 11:45:08 +0000 (11:45 +0000)] 
compress: Anchor walk around context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuild: Include config.h
Michael Tremer [Fri, 20 Oct 2023 11:26:19 +0000 (11:26 +0000)] 
build: Include config.h

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: Add option to configure the default distro
Michael Tremer [Fri, 20 Oct 2023 11:26:05 +0000 (11:26 +0000)] 
cli: Add option to configure the default distro

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: client: Add option to configure the distribution
Michael Tremer [Fri, 20 Oct 2023 11:25:04 +0000 (11:25 +0000)] 
cli: client: Add option to configure the distribution

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: client: Use the global config struct
Michael Tremer [Fri, 20 Oct 2023 11:24:15 +0000 (11:24 +0000)] 
cli: client: Use the global config struct

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement uploading builds
Michael Tremer [Fri, 20 Oct 2023 10:46:12 +0000 (10:46 +0000)] 
buildservice: Implement uploading builds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Export upload UUID
Michael Tremer [Fri, 20 Oct 2023 10:39:42 +0000 (10:39 +0000)] 
buildservice: Export upload UUID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Pass on the error code from the API
Michael Tremer [Fri, 20 Oct 2023 09:33:19 +0000 (09:33 +0000)] 
buildservice: Pass on the error code from the API

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Fail sooner if we have received an empty response
Michael Tremer [Fri, 20 Oct 2023 09:28:00 +0000 (09:28 +0000)] 
buildservice: Fail sooner if we have received an empty response

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Allow sending and receiving data at the same time
Michael Tremer [Fri, 20 Oct 2023 09:25:56 +0000 (09:25 +0000)] 
downloader: Allow sending and receiving data at the same time

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Do not show an empty message digest
Michael Tremer [Fri, 20 Oct 2023 09:13:03 +0000 (09:13 +0000)] 
downloader: Do not show an empty message digest

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Log upload size/speed
Michael Tremer [Fri, 20 Oct 2023 09:11:34 +0000 (09:11 +0000)] 
downloader: Log upload size/speed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Initialize the digests
Michael Tremer [Fri, 20 Oct 2023 09:06:10 +0000 (09:06 +0000)] 
buildservice: Initialize the digests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement deleting uploads
Michael Tremer [Thu, 19 Oct 2023 21:15:31 +0000 (21:15 +0000)] 
buildservice: Implement deleting uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: Allow using Pakfire's private functions
Michael Tremer [Thu, 19 Oct 2023 21:15:00 +0000 (21:15 +0000)] 
cli: Allow using Pakfire's private functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Implement using custom methods
Michael Tremer [Thu, 19 Oct 2023 21:14:36 +0000 (21:14 +0000)] 
downloader: Implement using custom methods

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agocli: Pass argp state to the parse callback
Michael Tremer [Thu, 19 Oct 2023 21:14:13 +0000 (21:14 +0000)] 
cli: Pass argp state to the parse callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Use the lazy transfer function once more
Michael Tremer [Thu, 19 Oct 2023 20:48:06 +0000 (20:48 +0000)] 
buildservice: Use the lazy transfer function once more

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Handle API errors correctly
Michael Tremer [Thu, 19 Oct 2023 20:33:10 +0000 (20:33 +0000)] 
buildservice: Handle API errors correctly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Allow access to the effective URL
Michael Tremer [Thu, 19 Oct 2023 20:32:53 +0000 (20:32 +0000)] 
downloader: Allow access to the effective URL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Implement uploading files
Michael Tremer [Thu, 19 Oct 2023 19:42:36 +0000 (19:42 +0000)] 
buildservice: Implement uploading files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuildservice: Build out listing uploads
Michael Tremer [Thu, 19 Oct 2023 19:42:02 +0000 (19:42 +0000)] 
buildservice: Build out listing uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Make the progress bar work on uploads, too
Michael Tremer [Thu, 19 Oct 2023 16:06:34 +0000 (16:06 +0000)] 
downloader: Make the progress bar work on uploads, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoutil: Implement parsing JSON from a buffer
Michael Tremer [Thu, 19 Oct 2023 10:26:11 +0000 (10:26 +0000)] 
util: Implement parsing JSON from a buffer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: transfer: Implement storing the transfer in a buffer
Michael Tremer [Thu, 19 Oct 2023 10:24:31 +0000 (10:24 +0000)] 
downloader: transfer: Implement storing the transfer in a buffer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Perform uploads using chunked encoding
Michael Tremer [Thu, 19 Oct 2023 10:22:55 +0000 (10:22 +0000)] 
downloader: Perform uploads using chunked encoding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: transfer: Add a place to store headers
Michael Tremer [Thu, 19 Oct 2023 10:21:14 +0000 (10:21 +0000)] 
downloader: transfer: Add a place to store headers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Share connections amonst single transfers
Michael Tremer [Thu, 19 Oct 2023 10:14:33 +0000 (10:14 +0000)] 
downloader: Share connections amonst single transfers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Add auth function to header
Michael Tremer [Wed, 18 Oct 2023 09:51:57 +0000 (09:51 +0000)] 
downloader: Add auth function to header

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodigests: Add convenience function to export hexdigests
Michael Tremer [Wed, 18 Oct 2023 09:51:32 +0000 (09:51 +0000)] 
digests: Add convenience function to export hexdigests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodownloader: Add support for uploading files
Michael Tremer [Wed, 18 Oct 2023 09:50:55 +0000 (09:50 +0000)] 
downloader: Add support for uploading files

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