Commit Graph

555737 Commits

Author SHA1 Message Date
Yarny0
20a9a21b24 nixos/tsm-client: add migration code for freeform settings
To help users migrate from the previous
settings to new freeform settings type,
the commit at hand adds some
`mkRemovedOptionModule` and `mkRenamedOptionModule`.

These modules are not designed to work
inside an attribute set of submodules.
They create values for `assertions` and
`warnings` to inform the user of required changes.
Also, these informational texts do not contain
the full attribute path of the changed options.
To work around these deficiencies,
we define the required options `assertions` and `warnings`
inside the submodule and later add the values collected
inside these options to the corresponding top-level options.
In the course of doing so, we also add the full attribute path
to the informational texts so the user knows these warning
and error messages refer to the `tsmClient.servers` option.

Also, we have to filter out `warnings`, `assertions`, and
the "old" options when rendering the target config file.
2023-12-02 09:09:28 +01:00
Yarny0
98c03bf8c6 nixos/tsm-client: stricter assertions
Check for spaces or duplicate names in server config keys.
Since server config keys are case insensitive,
a setting like

```
{
  compression = "yes";
  Compression = "no";
}
```

would lead to an ambiguous configuration.
2023-12-02 09:09:27 +01:00
Yarny0
3fb29fecd5 nixos/tsm-client: use freeformType for server config
`tsm-client` uses a global configuration
file that must contain coordinates for each
server that it is supposed to contact.
This configuration consists of text
lines with key-value pairs.

In the NixOS module, these servers may be declared
with an attribute set, where the attribute name
defines an alias for the server, and the value
is again an attribute set with the settings for
the respective server.
This is organized as an option of type `attrsOf submodule...`.

Before this commit:

Important settings have their own option within
the submodule.  For everything else, there is
the "catch-all" option `extraConfig` that may
be used to declare any key-value pairs.
There is also `text` that can be used to
add arbitrary text to each server's
section in the global config file.

After this commit:

`extraConfig` and `text` are gone,
the attribute names and values of each server's attribute
set are translated directly into key-value pairs,
with the following notable rules:

* Lists are translated into multiple lines
  with the same key, as such is permitted by
  the software for certain keys.
* `null` may be used to override/shadow a value that
  is defined elsewhere and hides the corresponding key.

Those "important settings" that have previously been
defined as dedicated options are still defined as such,
but they have been renamed to match their
corresponding key names in the configuration file.
There is a notable exception:
"Our" boolean option `genPasswd` influences the "real"
option `passwordaccess', but the latter one is
uncomfortable to use and might lead
to undesirable outcome if used the wrong way.
So it seems advisable to keep the boolean option
and the warning in its description.
To this end, the value of `getPasswd` itself is
later filtered out when the config file is generated.

The tsm-backup service module and the vm test are adapted.

Migration code will be added in a separate
commit to permit easy reversal later, when the
migration code is no longer deemed necessary.
2023-12-02 09:09:27 +01:00
Yarny0
8b918ed8ab nixos/tsm-client: submodule doesn't need singleton list 2023-12-02 09:09:27 +01:00
Yarny0
5bc6eb731e nixos/tsm-client: server alias names cannot have spaces 2023-12-02 09:09:27 +01:00
Yarny0
fe96d79adf nixos/tsm-client: drop own checkIUnique for allUnique 2023-12-02 09:09:27 +01:00
Yarny0
363cf1e363 nixos/tsm-client: use mkPackageOption for wrappedPackage 2023-12-02 09:08:47 +01:00
Yarny0
d5f337809e nixos/backup/tsm: use lib.getExe' for service command line 2023-12-02 09:05:45 +01:00
Yarny0
cec6d7f51a nixos/tsm*: update product name and URLs
With the tsm-client 8.1.19.0 release,
IBM renamed the product brand from
"IBM Spectrum Protect" to "IBM Storage Protect":
https://www.ibm.com/support/pages/node/6964770 .

The package already got updated in commits
5ff5b2ae4c and
a4b7a62532 .

The commit at hand updates the modules accordingly.
2023-12-02 09:05:45 +01:00
Aaron Jheng
f697235162
etcd_3_4: 3.4.27 -> 3.4.28 2023-12-02 15:50:15 +08:00
Pol Dellaiera
b08671a4f5
Merge pull request #271492 from drupol/frankenphp/bump
frankenphp: 1.0.0-rc.3 -> 1.0.0-rc.4
2023-12-02 08:29:07 +01:00
Jonas Heinrich
fdb13abdbd
Merge pull request #271490 from drupol/phpunit/bump/10-5-1
phpunit: 10.5.0 -> 10.5.1
2023-12-02 08:09:35 +01:00
R. Ryantm
5b9f691ffe python310Packages.fontawesomefree: 6.4.2 -> 6.5.1 2023-12-02 06:43:03 +00:00
OTABI Tomoya
5e81ab42b8
Merge pull request #271419 from GaetanLepage/vprof
vprof: init at 0.38
2023-12-02 15:42:25 +09:00
Aaron Jheng
190d261984
etcd_3_5: 3.5.9 -> 3.5.10 2023-12-02 14:37:08 +08:00
Peder Bergebakken Sundt
56678bcfad
Merge pull request #268840 from pbsds/fix-normcap-1700522645
normcap: refactor, wrap with runtime inputs, enable checks, add maintainer
2023-12-02 07:35:06 +01:00
Bobby Rong
74065b1858
nixos/rl-2405: Mention Cinnamon 6.0 update 2023-12-02 14:06:13 +08:00
OTABI Tomoya
83bf011027
Merge pull request #271487 from GaetanLepage/torchmetrics
python311Packages.torchmetrics: 1.2.0 -> 1.2.1
2023-12-02 14:55:20 +09:00
Mario Rodas
20ff1364e6
Merge pull request #271448 from r-ryantm/auto-update/python311Packages.type-infer
python311Packages.type-infer: 0.0.15 -> 0.0.16
2023-12-02 00:09:12 -05:00
Mario Rodas
f732b15aae
Merge pull request #256471 from will/update-heroku
heroku: 7.66.4 -> 8.4.3 (and then 8.7.1)
2023-12-02 00:06:49 -05:00
Mario Rodas
60d6c63752
Merge pull request #271327 from SuperSandro2000/dnscontrol
dnscontrol: 4.6.1 -> 4.6.2
2023-12-01 23:52:02 -05:00
Mario Rodas
e9c621debc
Merge pull request #271109 from kirillrdy/opera
opera: 100.0.4815.47 -> 105.0.4970.21
2023-12-01 23:51:33 -05:00
Mario Rodas
cdbb058317
Merge pull request #271517 from SuperSandro2000/gojq
gojq: 0.12.13 -> 0.12.14
2023-12-01 23:47:45 -05:00
Mario Rodas
581115ac3f
Merge pull request #271331 from SuperSandro2000/lscolors
lscolors: 0.15.0 -> 0.16.0
2023-12-01 23:47:31 -05:00
Kirill Radzikhovskyy
853e3d5a36 amoeba: fix build 2023-12-02 15:43:31 +11:00
John Chadwick
ee0dfa5192 librewolf: 120.0-1 -> 120.0.1-1 2023-12-01 23:22:27 -05:00
Mario Rodas
90b6a0206e pgpool: 4.4.4 -> 4.4.5
Changelog: https://www.pgpool.net/docs/latest/en/html/release-4-4-5.html
2023-12-02 04:20:00 +00:00
Mario Rodas
5fe7754662 twilio-cli: 5.16.2 -> 5.16.3
Changelog: https://github.com/twilio/twilio-cli/blob/5.16.3/CHANGES.md
2023-12-02 04:20:00 +00:00
Mario Rodas
8339ce0e0f flow: 0.222.0 -> 0.223.2
Diff: https://github.com/facebook/flow/compare/v0.222.0...v0.223.2

Changelog: https://github.com/facebook/flow/blob/v0.223.2/Changelog.md
2023-12-02 04:20:00 +00:00
Mario Rodas
4c17c83b27 buildkit: 0.12.3 -> 0.12.4
Diff: https://github.com/moby/buildkit/compare/v0.12.3...v0.12.4

Changelog: https://github.com/moby/buildkit/releases/tag/v0.12.4
2023-12-02 04:20:00 +00:00
Brennon Loveless
9af32e98fd wash-cli: init at 0.24.0 2023-12-01 20:13:07 -08:00
Bobby Rong
9247bdfce7
nixos/cinnamon: switch to xdg.portal.configPackages
This will make sure the config is in sync with upstream.
2023-12-02 12:12:48 +08:00
Bobby Rong
b7fa2ea58b
nixosTests.cinnamon-wayland: init 2023-12-02 12:12:47 +08:00
R. RyanTM
8849d2174e
lightdm-slick-greeter: 1.8.2 -> 2.0.0
https://github.com/linuxmint/slick-greeter/compare/1.8.2...2.0.0
2023-12-02 12:12:47 +08:00
Bobby Rong
a0822e5c0a
cinnamon.xviewer: 3.4.1 -> 3.4.2
https://github.com/linuxmint/xviewer/compare/3.4.1...3.4.2
2023-12-02 12:12:47 +08:00
Bobby Rong
75ea2708c4
cinnamon.xapp: 2.6.1 -> 2.8.0
https://github.com/linuxmint/xapp/compare/2.6.1...2.8.0
2023-12-02 12:12:47 +08:00
Bobby Rong
7abff91341
cinnamon.pix: 3.0.2 -> 3.2.0
https://github.com/linuxmint/pix/compare/3.0.2...3.2.0
2023-12-02 12:12:47 +08:00
Bobby Rong
ade3f1a030
cinnamon.nemo-extensions: 5.8.0 -> 6.0.0
https://github.com/linuxmint/nemo-extensions/compare/5.8.0...6.0.0
2023-12-02 12:12:47 +08:00
Bobby Rong
a72559cdbe
cinnamon.nemo: 5.8.5 -> 6.0.0
https://github.com/linuxmint/nemo/compare/5.8.5...6.0.0
2023-12-02 12:12:47 +08:00
Bobby Rong
08b6183fb7
cinnamon.muffin: 5.8.1 -> 6.0.0
https://github.com/linuxmint/muffin/compare/5.8.1...6.0.0

Restores wayland support.
bc10efe828
2023-12-02 12:12:47 +08:00
Bobby Rong
4253d19b64
cinnamon.cjs: 5.8.0 -> 6.0.0
https://github.com/linuxmint/cjs/compare/5.8.0...6.0.0
2023-12-02 12:12:46 +08:00
Bobby Rong
4155ccd1c8
cinnamon.cinnamon-translations: 5.8.2 -> 6.0.0
https://github.com/linuxmint/cinnamon-translations/compare/5.8.2...6.0.0
2023-12-02 12:12:46 +08:00
Bobby Rong
2ebb125847
cinnamon.cinnamon-settings-daemon: 5.8.1 -> 6.0.0
https://github.com/linuxmint/cinnamon-settings-daemon/compare/5.8.1...6.0.0

New settings-remap plugin for sync cinnamon/gnome settings.
c5b3e5f85f
2023-12-02 12:12:46 +08:00
Bobby Rong
b21bfd8b5d
cinnamon.cinnamon-session: 5.8.1 -> 6.0.1
https://github.com/linuxmint/cinnamon-session/compare/5.8.1...6.0.1

New cinnamon-session-quit dialog.
264a4d0a67
2023-12-02 12:12:46 +08:00
Bobby Rong
540072b8a1
cinnamon.cinnamon-screensaver: 5.8.1 -> 6.0.0
https://github.com/linuxmint/cinnamon-screensaver/compare/5.8.1...6.0.0

Removes accountsservice dependency.
d5ad373572
2023-12-02 12:12:46 +08:00
Bobby Rong
1ddb3ffa60
cinnamon.cinnamon-menus: 5.8.0 -> 6.0.0
https://github.com/linuxmint/cinnamon-menus/compare/5.8.0...6.0.0
2023-12-02 12:12:46 +08:00
Bobby Rong
a4e2be76d7
cinnamon.cinnamon-desktop: 5.8.0 -> 6.0.0
https://github.com/linuxmint/cinnamon-desktop/compare/5.8.0...6.0.0

Added gnome-systemd.
7eadfb1da9

Added gnome-idle-monitor (replaces cs-idle-monitor).
2419322898
2023-12-02 12:12:46 +08:00
Bobby Rong
4aff26b630
cinnamon.cinnamon-control-center: 5.8.2 -> 6.0.0
https://github.com/linuxmint/cinnamon-control-center/compare/5.8.2...6.0.0
2023-12-02 12:12:46 +08:00
Bobby Rong
8d209118f5
cinnamon.cinnamon-common: 5.8.4 -> 6.0.0
https://github.com/linuxmint/cinnamon/compare/5.8.4...6.0.0

Removes libXfixes dependency.
3295a2d631

New hardcode absolute /usr/bin paths.
62b184e821

No longer need to patch scrollbar-test-widget.py.
9b9400cda3
2023-12-02 12:12:46 +08:00
Bobby Rong
f9c72bdea4
cinnamon.bulky: 2.10 -> 3.0
https://github.com/linuxmint/bulky/compare/2.10...3.0
2023-12-02 12:12:45 +08:00