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

Normalize URL filenames for better reporting #562

Merged
merged 2 commits into from
Sep 11, 2020
Merged

Conversation

mtdowling
Copy link
Member

When a URL is imported with the model assembler, it will now strip off
leading "jar:" and "file:" prefixes in order to create a normalized
de-dupe key so that imports through URLs and through Path to the same
files are de-duped. This also offers better SourceLocation reporting for
files that are imported through a URL.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When a URL is imported with the model assembler, it will now strip off
leading "jar:" and "file:" prefixes in order to create a normalized
de-dupe key so that imports through URLs and through Path to the same
files are de-duped. This also offers better SourceLocation reporting for
files that are imported through a URL.
@mtdowling mtdowling merged commit b432c90 into master Sep 11, 2020
@mtdowling mtdowling deleted the dedupe-models branch September 14, 2020 22:48
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.

2 participants