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

Review how to separate Location paths that's within an archive. #411

Open
another-rex opened this issue Jan 24, 2025 · 0 comments
Open

Review how to separate Location paths that's within an archive. #411

another-rex opened this issue Jan 24, 2025 · 0 comments

Comments

@another-rex
Copy link
Collaborator

For the java archive extractor, we add location paths that's within the jar file and does not exist on the filesystem. We should determine how we can mark those paths as such.

Some options are:

Two options here:

  • Just account for the common case and assume that it's unlikely to have a directory : in the file path, so we can add /:/ as a separator between the jar file and the internal path. E.g. /path/to/item.jar/:/internal/path/pom.properties
  • Escape the : character in the path (maybe just doubling it ::). This seems extra tough to do with the current architecture, as every extractor directly fills out the Location field.

Maybe something to look into for the new API.

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

No branches or pull requests

1 participant