snapd icon indicating copy to clipboard operation
snapd copied to clipboard

tests: show that snap from snapd deb can be bundled

Open zyga opened this issue 1 year ago • 4 comments

Developers may want to bundle the snap executable from the snapd project into their application to get access to the snap APIs in a convenient form.

This test shows that this can be safely done for as long as the snapd deb is used as the source (not snapd snap) and that the ABI of snapd.deb and the application snap's base match.

Relates to changes made here: https://github.com/canonical/snapd/pull/14509

Jira: https://warthogs.atlassian.net/browse/SNAPDENG-32203

zyga avatar Sep 30 '24 10:09 zyga

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.87%. Comparing base (ac897ee) to head (96ec47f). Report is 37 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14551      +/-   ##
==========================================
+ Coverage   78.85%   78.87%   +0.01%     
==========================================
  Files        1079     1082       +3     
  Lines      145615   145941     +326     
==========================================
+ Hits       114828   115109     +281     
- Misses      23601    23635      +34     
- Partials     7186     7197      +11     
Flag Coverage Δ
unittests 78.87% <ø> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Sep 30 '24 11:09 codecov[bot]

Changing milestone to 2.67. It is not important to have merged when cutting the release.

ernestl avatar Oct 01 '24 20:10 ernestl

discussed the test with @zyga, he'll push an update.

bboozzoo avatar Oct 09 '24 08:10 bboozzoo

As per feedback from @zyga, removing from milestone 2.67 in favour of landing layout improvements.

ernestl avatar Oct 21 '24 13:10 ernestl