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

Remove pre-0.16 support #557

Merged
merged 32 commits into from
Mar 16, 2024
Merged

Conversation

jkloetzke
Copy link
Member

Get rid of a good portion of legacy compatibility that makes the code hard to follow...

If a package is fingerprinted, the result is effectively declared to
depend on the host system. How exactly is not known to Bob. Despite the
actual host system, each sandbox represents a potentially different host
system environment. This means that the same fingerprint script might
yield different results if being executed in a sandbox, a different
sandbox or the host system.

This implies that packages which are fingerprinted need to be built
separately for the host system and each sandbox image. With the
introduction of the sandboxInvariant Bob erroneously coalesced
fingerprinted packages which only differ in their host/sandbox
environment. Now Bob will always use separate workspaces again for such
packages.

The fix will impact the calculation of the variant-id which might lead
to some rebuilds. On the other hand, the build-id is not affected and
existing binary artifacts will continue to be used.
As announced, support for pre-0.16 projects is removed. If no
config.yaml is present, version 0.16 is implied. This might silently
break old projects but the likelihood is minimal.
It never had a use case.
Remove because all pre-0.16 compatibility is removed.
Move the respective description to a new "Obsolte policies" section.
Older versions ob Bob may still refer to the documentation.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
Since the removal of the sandboxInvariant policy this method is
identical to getVariantId.
This parameter has no effect since the sandboxInvariant policy was
removed.
This parameter has no effect since the sandboxInvariant policy was
removed.
This parameter has no effect since the sandboxInvariant policy was
removed.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
Remove because all pre-0.16 compatibility is removed.
This support was scheduled to be removed for the 1.0 release.
Copy link

codecov bot commented Mar 16, 2024

Codecov Report

Attention: Patch coverage is 94.93671% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 88.92%. Comparing base (9f789e6) to head (88fc6b5).

Files Patch % Lines
pym/bob/input.py 91.30% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
- Coverage   88.93%   88.92%   -0.01%     
==========================================
  Files          46       46              
  Lines       14803    14679     -124     
==========================================
- Hits        13165    13054     -111     
+ Misses       1638     1625      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jkloetzke jkloetzke merged commit 43d8cac into BobBuildTool:master Mar 16, 2024
10 of 11 checks passed
@jkloetzke jkloetzke deleted the remove-legacy branch March 16, 2024 16:56
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.

1 participant