snapcraft icon indicating copy to clipboard operation
snapcraft copied to clipboard

feat: add `success-exit-status` field

Open gabelluardo opened this issue 4 months ago • 3 comments

  • [x] Have you followed the guidelines for contributing?
  • [x] Have you signed the CLA?
  • [x] Have you successfully run make lint?
  • [x] Have you successfully run make test?

Close #5692

gabelluardo avatar Aug 12 '25 09:08 gabelluardo

Update: The upstream snapd PR for this is still in progress (https://github.com/canonical/snapd/pull/15826)

mr-cal avatar Aug 26 '25 20:08 mr-cal

@mr-cal - I'm refactoring this to support systemd codes only, as discussed in the upstream snapd PR. Also, I'll gate this feature behind snapd 2.74 version

gabelluardo avatar Dec 11 '25 12:12 gabelluardo

@medubelko - Thank you! I've refactored to address all the suggestions

gabelluardo avatar Dec 12 '25 10:12 gabelluardo