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

DM-42580: Do not attempt to convert the label to a ResourcePath in butler config #945

Merged
merged 1 commit into from Jan 22, 2024

Conversation

timj
Copy link
Member

@timj timj commented Jan 20, 2024

With the recent change in ResourcePath to force /repo/main to an absolute URI the code that was seeing if anything was found got confused a bit because file:///repo/main was not the same as /repo/main. Change it to allow the get_repo_uri call to raise and if it raises continue to use the original label.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Copy link

codecov bot commented Jan 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f4d8695) 88.37% compared to head (b7211c8) 88.37%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #945   +/-   ##
=======================================
  Coverage   88.37%   88.37%           
=======================================
  Files         303      303           
  Lines       38979    38979           
  Branches     8221     8221           
=======================================
  Hits        34448    34448           
  Misses       3339     3339           
  Partials     1192     1192           

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

@timj timj requested a review from ktlim January 20, 2024 21:22
With the recent change in ResourcePath to force /repo/main to an
absolute URI the code that was seeing if anything was found
got confused a bit because file:///repo/main was not the same
as /repo/main. Change it to allow the get_repo_uri call
to raise and if it raises continue to use the original label.
@timj timj merged commit d50c352 into main Jan 22, 2024
18 checks passed
@timj timj deleted the tickets/DM-42580 branch January 22, 2024 17:37
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.

None yet

2 participants