canonical / craft-archives

A library for handling archives/repositories in Craft applications
https://canonical-craft-archives.readthedocs-hosted.com
GNU Lesser General Public License v3.0
0 stars 8 forks source link

repo: create the keyrings dir if necessary #47

Closed tigarmo closed 1 year ago

tigarmo commented 1 year ago

/etc/apt/keyrings is only created by Apt after a certain version; for ubuntu 18.04, the directory is not there by default, so check and create it if necessary.


codecov[bot] commented 1 year ago

Codecov Report

Merging #47 (519ef7d) into main (1b2ce9c) will increase coverage by 0.15%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   82.16%   82.32%   +0.15%     
==========================================
  Files          12       12              
  Lines         673      679       +6     
  Branches      153      154       +1     
==========================================
+ Hits          553      559       +6     
  Misses         88       88              
  Partials       32       32              
Impacted Files Coverage Δ
craft_archives/repo/apt_key_manager.py 98.00% <100.00%> (+0.12%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.