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

fix(remote-build): warn instead of error when using unsupported bases #4396

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

sergiusens
Copy link
Collaborator

  • 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 #4357

@sergiusens sergiusens changed the title Craft 2031 fix(remote-build): warn instead of error when using unsupported bases Oct 6, 2023
Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@codecov-commenter
Copy link

Codecov Report

Merging #4396 (d862a43) into main (80ffb51) will decrease coverage by 0.01%.
The diff coverage is 88.88%.

❗ Current head d862a43 differs from pull request most recent head 32eb779. Consider uploading reports for the commit 32eb779 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main    #4396      +/-   ##
==========================================
- Coverage   89.13%   89.12%   -0.01%     
==========================================
  Files         321      318       -3     
  Lines       21502    21181     -321     
==========================================
- Hits        19165    18878     -287     
+ Misses       2337     2303      -34     
Files Coverage Δ
snapcraft/errors.py 93.61% <100.00%> (+0.13%) ⬆️
snapcraft/commands/remote.py 98.33% <88.23%> (-1.67%) ⬇️

... and 11 files with indirect coverage changes

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

try:
base = self._get_effective_base()
except MaintenanceBase as base_err:
base = base_err.base
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting way to recover the base value.

@sergiusens sergiusens merged commit 5d19d28 into main Oct 6, 2023
9 of 10 checks passed
@sergiusens sergiusens deleted the CRAFT-2031 branch October 6, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in handling remote-build
4 participants