Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bases: improve errors for ESM bases #4274

Merged
merged 2 commits into from Jul 13, 2023

Conversation

sergiusens
Copy link
Collaborator

Bases that were once supported and no longer supported in the current version provide a reference to the version/channel of Snapcraft where they once were.

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run pytest tests/unit?

Fixes #4246

@sergiusens sergiusens force-pushed the work/CRAFT-1850-better-error-for-core18 branch from 1bc9e1f to 3150ce2 Compare July 12, 2023 22:07
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2023

Codecov Report

Merging #4274 (0fe8f58) into main (4c6b1fd) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #4274      +/-   ##
==========================================
- Coverage   88.98%   88.97%   -0.01%     
==========================================
  Files         296      295       -1     
  Lines       20194    20167      -27     
==========================================
- Hits        17970    17944      -26     
+ Misses       2224     2223       -1     
Impacted Files Coverage Δ
snapcraft/commands/lint.py 100.00% <100.00%> (ø)
snapcraft/errors.py 93.47% <100.00%> (+2.30%) ⬆️
snapcraft/parts/yaml_utils.py 93.33% <100.00%> (+0.47%) ⬆️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sergiusens sergiusens force-pushed the work/CRAFT-1850-better-error-for-core18 branch from 3150ce2 to 58a18e2 Compare July 12, 2023 23:19
Bases that were once supported and no longer supported in the current
version provide a reference to the version/channel of Snapcraft where
they once were.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
@sergiusens sergiusens force-pushed the work/CRAFT-1850-better-error-for-core18 branch from 58a18e2 to 693429f Compare July 12, 2023 23:23
@sergiusens sergiusens requested a review from tigarmo July 12, 2023 23:48
snapcraft/errors.py Outdated Show resolved Hide resolved
tests/unit/parts/test_yaml_utils.py Show resolved Hide resolved
tests/unit/test_errors.py Outdated Show resolved Hide resolved
Co-authored-by: Tiago Nobrega <tiago.nobrega@canonical.com>
@sergiusens sergiusens merged commit dbe76f2 into main Jul 13, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reported error message building base: core18 with newer snapcrafts is wrong
3 participants