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

Rewrite for dependency tracking #23

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Rewrite for dependency tracking #23

merged 3 commits into from
Jun 18, 2024

Conversation

staticfloat
Copy link
Member

This significantly reworks the datastructures used to encode the historical stdlib data, so that we can include dependencies and weak dependencies for all stdlib versions. This will be used by Pkg to properly resolve transitive dependencies of stdlibs.

This also changes HistoricalStdlibVersions to register the data structures with Pkg on load. This simplifies things greatly, and also allows us to maintain a single location that knows how to deal with multiple different Pkg versions, as only Julia v1.12+ will know how to use the newer datastructures here.

staticfloat added a commit to JuliaLang/Pkg.jl that referenced this pull request Jun 3, 2024
This makes use of the new functionality in HistoricalStdlibVersions [0]
to properly pull out the dependency information in old stdlibs.  This
fixes JuliaPackaging/HistoricalStdlibVersions.jl#9.

[0] JuliaPackaging/HistoricalStdlibVersions.jl#23
This significantly reworks the datastructures used to encode the
historical stdlib data, so that we can include dependencies and weak
dependencies for all stdlib versions.  This will be used by Pkg to
properly resolve transitive dependencies of stdlibs.

This also changes `HistoricalStdlibVersions` to register the data
structures with `Pkg` on load.  This simplifies things greatly, and also
allows us to maintain a single location that knows how to deal with
multiple different `Pkg` versions, as only Julia v1.12+ will know how to
use the newer datastructures here.
staticfloat added a commit to JuliaLang/Pkg.jl that referenced this pull request Jun 3, 2024
This makes use of the new functionality in HistoricalStdlibVersions [0]
to properly pull out the dependency information in old stdlibs.  This
fixes JuliaPackaging/HistoricalStdlibVersions.jl#9.

[0] JuliaPackaging/HistoricalStdlibVersions.jl#23
staticfloat added a commit to JuliaLang/Pkg.jl that referenced this pull request Jun 3, 2024
This makes use of the new functionality in HistoricalStdlibVersions [0]
to properly pull out the dependency information in old stdlibs.  This
fixes JuliaPackaging/HistoricalStdlibVersions.jl#9.

[0] JuliaPackaging/HistoricalStdlibVersions.jl#23
@staticfloat staticfloat merged commit 5879c5f into main Jun 18, 2024
3 checks passed
@staticfloat staticfloat deleted the sf/track_deps branch June 18, 2024 00:23
KristofferC pushed a commit to JuliaLang/Pkg.jl that referenced this pull request Jul 12, 2024
* Use historical stdlib dependency information

This makes use of the new functionality in HistoricalStdlibVersions [0]
to properly pull out the dependency information in old stdlibs.  This
fixes JuliaPackaging/HistoricalStdlibVersions.jl#9.

[0] JuliaPackaging/HistoricalStdlibVersions.jl#23
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