You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to speed up the nextcloud updater script in nixpkgs NixOS/nixpkgs#244057 (comment) but I am limited by the opiniated choices made in nc4nix. Could nc4nix output to stdout its content ? the caller could then choose where to output the generated content via shell redirection ?
aka nc4nix > nc27.nix (and print errors to stderr).
This may be annoying if nc4nix is called for different versions of nextcloud but as mentioned here #8 maybe it would be more flexible to accept only one version, e.g. nc4nix 27 > nc27.nix and have the callee call several nc4nix in parallel.
Is there any advantage of the current infrastructure with nc4nix ? does it gain anything from having several versions in NEXTCLOUD_VERSIONS ?
The text was updated successfully, but these errors were encountered:
I see that nc4nix creates a $VERSION.json upon successful run in the current working directory, e.g. 28.json. This certainly isn't nice, but works fine for our intended purposes. Also it allows for concurrent updates of multiple version files (doesn't look like this is implemented as of now though).
I've been trying to speed up the nextcloud updater script in nixpkgs NixOS/nixpkgs#244057 (comment) but I am limited by the opiniated choices made in nc4nix. Could nc4nix output to stdout its content ? the caller could then choose where to output the generated content via shell redirection ?
aka
nc4nix > nc27.nix
(and print errors to stderr).This may be annoying if nc4nix is called for different versions of nextcloud but as mentioned here #8 maybe it would be more flexible to accept only one version, e.g.
nc4nix 27 > nc27.nix
and have the callee call several nc4nix in parallel.Is there any advantage of the current infrastructure with nc4nix ? does it gain anything from having several versions in NEXTCLOUD_VERSIONS ?
The text was updated successfully, but these errors were encountered: