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

Revise the API of is_manifest_current. #3701

Merged

Conversation

GunnarFarneback
Copy link
Contributor

The API function is_manifest_current was not working as intended and was mostly useless for its intended purpose of verifying in tests that the manifest and project files of a package were synchronized. See
#2815 (comment) for details.

This PR removes the zero-argument method of is_manifest_current and adds a new is_manifest_current(::AbstractString) method that can be used in tests in, e.g., the form

using Pkg, Test, Package
@test Pkg.is_manifest_current(pkgdir(Package))

Copy link
Sponsor Member

@IanButterworth IanButterworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me. There don't seem to be any public users of the function, so this shouldn't be too bad of a breaking bugfix, I think.

@IanButterworth IanButterworth merged commit a509bc0 into JuliaLang:master Dec 17, 2023
10 of 13 checks passed
@GunnarFarneback GunnarFarneback deleted the fix_is_manifest_current branch January 21, 2024 10:39
KristofferC pushed a commit that referenced this pull request May 9, 2024
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