To make the review of your request easier, please use the following template to provide all the required details and also include any other information that may be relevant.
name: gimp
description: general purpose image editor extensible by plugins, supports migrating config data between multiple gimp versions
reasoning: we own $HOME/.config/GIMP. That dir is used to save GIMP config data on versioned subdirs. So, the latest channel would save as $HOME/.config/GIMP/3.0 and the preview one as $HOME/.config/GIMP/3.2. Without such interface, our config migration code is not working properly for snap: https://gitlab.gnome.org/GNOME/gimp/-/issues/15547
(WARNING: I am just opening this report in advance to accelerate the voting but none of our tracks on gimp snap have such interface enabled yet. If approved, please wait until GIMP 3.2 release).
Hello! This is a +1 (#voteFor) from me as well for personal-files write access to the $HOME/.config/GIMP directory, as the ownership expectations for the folder is clear.
One question: does snapcraft upload CLI tool return a different return value from a real error status and a âneed manual reviewâ status?
A problem we saw is that this status broke our pipeline (as it obviously didnât return 0; though the pipeline doesnât say what it returned), only uploaded one of the 2 archs then stopped. The other problem is that when the pipeline ends in error, a few other steps in the release procedure are more annoying (because Gitlab wonât generate some âeasyâ redirection URLs â which our scripts use â for failed pipelines).
We still want to see real failures, but âneed manual reviewâ is not actually a failure, right? We just wait a bit to get the manual validation. So Iâd like for our pipeline to still pass as success in this âmanual reviewâ case, which is why I hope that we can react conditionally on the return value.
P.S.: the alternative could be to process the stdout/stderr strings, but this is not always ideal, especially as such strings are not always stable so this makes for flimsy error handling.
Snapcraft doesnât differentiate between a real error and a âneeds manual reviewâ response.
Iâm seeing that the store does respond with a status like ready_to_release or need_manual_review, so Snapcraft could handle these programatically. I donât see this documented, so Iâd need to ask the store team what the possible values are.
I think Snapcraft should have some solution for this. If you make an issue here, we can discuss it further.