Repository navigation
immich: 1.136.0 -> 1.137.3 - #430306
immich: 1.136.0 -> 1.137.3#430306
Conversation
https://github.com/immich-app/immich/releases/tag/v1.137.0 https://github.com/immich-app/immich/releases/tag/v1.137.1 https://github.com/immich-app/immich/releases/tag/v1.137.3 Signed-off-by: Sefa Eyeoglu <[email protected]>
|
|
It may make sense to handle it similarly as nextcloud with a "state version" variable. But since immich is not breaking with each version, with ranges of versions for each state. The state is simply an integer. Whenever immich gets a non-breaking update, the version corresponding to the latest state is simply incremented. Whenever there is a breaking update, then the version assigned to the current state number is frozen instead, and a new state number is added with the breaking immich version. The user then increments the state version one by one, and is not allowed to skip any state version without starting immich in between. I hope this makes a bit of sense. |
|
But that would mean we would have to maintain multiple versions of Immich at the same time :/ |
|
I have in one VM not been able to build this since about 1.131, even though once the cache is available it has worked fine. This is not a bug, but until now, it has never been clear why, but this time vite build specifically told me. I went back to 1.135 PR and tested, and no, it is an ambiguous build failure, that works fine after setting the micro-architecture to x64-64-v3. Given it is Vite and not immich, this probably does not belong here, but I was wondering if it was possible to do something like |
@Scrumplex I have limited understanding of nixos. But wouldn't old versions of immich be maintenance-free because they don't change anymore? Well, at least every time nixos stable gets upgraded and the old nixos stable gets deprecated, all the older immich state versions can be deprecated or simply removed as well. |
i mean there needs to be extra code to support multiple versions like in the nextcloud case. and even if old immich version isn't moving its dependencies might and it might require to be fixed by removing old version or by doing more maintainence to its dependencies. |
These are good points. It may be the easiest to write in the docs everywhere that immich requires regular NixOS upgrades. Immich does not have these kind of unskippable upgrades that often anyways, so it may just be fine. If someone really wants to implement a state version system for immich, they can of course still make a pull request :) |
i feel like it is good idead too we can even provide git hash of nixpkgs upgrade you need to do before fully updating if you were updating from old version also it should be fine to update from lastest stable to new stable fine but this shouldnt be a problem since versions seems to be backported. |
dotlambda
left a comment
There was a problem hiding this comment.
Since the stable channel already has a version people can update from, I don't see a need to provide any other versions or choose the version based on an option.
|
Successfully created backport PR for |
https://github.com/immich-app/immich/releases/tag/v1.137.0
https://github.com/immich-app/immich/releases/tag/v1.137.1
https://github.com/immich-app/immich/releases/tag/v1.137.3
1.137.0 requires updating from Immich 1.132.0 or later.
I don't know how to ensure this elegantly.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.