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

Migrate verb lockfiles into verb's base path #42

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Migrate verb lockfiles into verb's base path #42

wants to merge 11 commits into from

Conversation

ruffsl
Copy link
Owner

@ruffsl ruffsl commented Sep 29, 2022

In order to simplify the provenance, ownership, and cleaning of lockfiles saved to disk. By relocating lockfiles closer to the artifacts they reflect, it should be more straightforward to clean cached lockfiles while cleaning artifacts from a verbs base path.

for colcon_cache to colcon_clean
so colcon_clean can clean the cache base path
for specifying a verb's own base path
to simplify provenance, ownership, and cleaning
of lockfiles saved to disk,
by keeping lockfiles closer to the artifacts they reflect.
@codecov
Copy link

codecov bot commented Sep 29, 2022

Codecov Report

Base: 100.00% // Head: 90.90% // Decreases project coverage by -9.09% ⚠️

Coverage data is based on head (0c1f519) compared to base (0a23776).
Patch coverage: 75.75% of modified lines in pull request are covered.

❗ Current head 0c1f519 differs from pull request most recent head 2bba32a. Consider uploading reports for the commit 2bba32a to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##            master      #42      +/-   ##
===========================================
- Coverage   100.00%   90.90%   -9.10%     
===========================================
  Files           19       20       +1     
  Lines          559      605      +46     
  Branches        97       99       +2     
===========================================
- Hits           559      550       -9     
- Misses           0       47      +47     
- Partials         0        8       +8     
Impacted Files Coverage Δ
colcon_cache/base_handler/cache.py 0.00% <0.00%> (ø)
colcon_cache/package_selection/valid.py 85.71% <ø> (-14.29%) ⬇️
colcon_cache/verb_handler/list.py 85.71% <85.71%> (ø)
colcon_cache/event_handler/__init__.py 100.00% <100.00%> (ø)
colcon_cache/subverb/lock.py 100.00% <100.00%> (ø)
colcon_cache/verb_handler/__init__.py 100.00% <100.00%> (ø)
colcon_cache/verb_handler/build.py 100.00% <100.00%> (ø)
colcon_cache/verb_handler/cache.py 93.33% <100.00%> (-6.67%) ⬇️
colcon_cache/verb_handler/test.py 100.00% <100.00%> (ø)
colcon_cache/task/lock/__init__.py 69.23% <0.00%> (-30.77%) ⬇️
... and 7 more

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

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

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