Skip to content

Conversation

@maxlandon
Copy link

  • Migrate to uv, and try fixes with type system.
  • Add ability to specify the server address used by Configuration Data Packages.

Packages.

This commit lets a server administrator to set a specific address to
use as the server address in a client Configuration Data Package.

By default, this value is empty, and the behavior will be unchanged:
the address used is the hostname of the API request sender's.
If the value is not empty, it is used instead.
@maxlandon
Copy link
Author

Sorry, I forgot that I migrated to uv for managing my fork, so you can ignore the first commit, and cherry-pick the second (a77210c), which is only 2 new lines of code.

Reproducing the commit message here:

This commit lets a server administrator to set a specific address to
use as the server address in a client Configuration Data Package.

By default, this value is empty, and the behavior will be unchanged:
the address used is the hostname of the API request sender's.
If the value is not empty, it is used instead.

Thanks in advance !

This commit modifies the response returned by the server when generating
a client Configuration Data Package: it now returns a map of filename =>
hash of all configurations generated by the call, so that any client
code calling the API can immediately download the created packages,
without having to list all existing data packages first.
@maxlandon
Copy link
Author

I just added a new small commit with the following changes and aims:

This commit modifies the response returned by the server when generating
a client Configuration Data Package: it now returns a map of filename =>
hash of all configurations generated by the call, so that any client
code calling the API can immediately download the created packages,
without having to list all existing data packages first.

@maxlandon maxlandon changed the title Ability to configure the server address in Configuration Data Packages. Ability to configure the server address in Configuration Data Packages + return created file names for easy download. Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant