nixpkgs
nixpkgs copied to clipboard
platformsh: 4.17.0 -> 5.0.12
Description of changes
Remove the deprecated legacy cli in favor of the new version.
Things done
This script is a copy of the Upsun CLI package which is released under the same repository.
I have modified the binary to use platform instead of upsun
Also is it not possible to be built from source now? I prefer to wait longer to see if there is a solution.
its still complicated build at the moment using docker buildx. If possible I think we should try to have platformsh cli updated because we are migrating new features there
Also why is @shyim removed from maintainers?
Also why is @shyim removed from maintainers?
Sorry, fixed this.
maybe commits can be squashed to platformsh: 4.17.0 -> 5.0.13
Okay
It doesn't build on Hydra now: https://hydra.nixos.org/eval/1806362?filter=platformsh#tabs-now-fail
@trsteel88 are you fixing it? Otherwise I'll fix it
@trsteel88 are you fixing it? Otherwise I'll fix it
Was just looking at it and it is because the binary is called "platform" rather than "platformsh". I'm not sure what needs to be adjusted to fix this.
I am creating a PR to fix it
@shyim thanks for sorting that. I am new to nix but wondering how updates get delivered. e.g. 5.0.14 has been released. Does someone have to come into this repository and update the version and hashes on https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/pl/platformsh/package.nix each time a new release comes out?
If that's correct it is very manual - is there a way to automate this?
There's a bot that can detect updates for some kinds of packages and open pull requests: https://github.com/NixOS/nixpkgs/pulls/r-ryantm
The better way would we if we provide a update script, so we can run it also locally 🤔
The bot uses those update scripts, too.
Look like the bot is using https://repology.org/project/platformsh/versions but since the package is not on any distributions (beside nixos) it fails to fetch the latest one?
Yes, repology is used, but if you provide an update script, it should be used instead AFAIK: https://nix-community.github.io/nixpkgs-update/batch-updates/#batch-updates