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

Extract subdirectory info when tracking a repository if it exists #24

Open
SamuraiAku opened this issue Oct 21, 2023 · 0 comments
Open

Comments

@SamuraiAku
Copy link
Owner

The DownloadLocation field of SpdxPackageV2 has a space for marking when a package is not at the root of a repository:

<vcs_tool>+<transport>://<host_name>[/<path_to_repository>][@<revision_tag_or_branch>][#<sub_path>]

For an example of when this is true, see RecipesBase.jl which is in a subdirectory of the Plots.jl repository. If you're getting the package through a registry we can fill in the information from the registry.

But when tracking a repository directly, there is no registry information and the subdirectory is not in the package infomation, just the repository root. There must be a registry-like piece of information somewhere in Pkg for tracking this. Need to find that and somehow incorporate it into the code.

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