Skip to content

Commit

Permalink
Merge #362
Browse files Browse the repository at this point in the history
362: Better error message when one or more dependencies does not exist in the General registry r=DilumAluthge a=DilumAluthge

Closes #361 

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
  • Loading branch information
bors[bot] and DilumAluthge authored Mar 14, 2021
2 parents 31f70b1 + df0313f commit 49c6058
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RegistryCI"
uuid = "0c95cc5f-2f7e-43fe-82dd-79dbcba86b32"
authors = ["Dilum Aluthge <dilum@aluthge.com>", "Fredrik Ekre <ekrefredrik@gmail.com>", "contributors"]
version = "6.7.5"
version = "6.8.0"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
4 changes: 4 additions & 0 deletions src/registry_testing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ function test(path = pwd();
deps = Pkg.TOML.parsefile(depsfile)
# Require all deps to exist in the General registry or be a stdlib
depuuids = Set{Base.UUID}(Base.UUID(x) for (_, d) in deps for (_, x) in d)
if !(depuuids alluuids)
msg = "It is not the case that all dependencies exist in the General registry"
@error msg setdiff(depuuids, alluuids)
end
Test.@test depuuids alluuids
# Test that the way Pkg loads this data works
Test.@test load_deps(depsfile, vnums)
Expand Down

2 comments on commit 49c6058

@DilumAluthge
Copy link
Member

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/31904

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v6.8.0 -m "<description of version>" 49c605860b04a39c3f2bb07ab593447dccc46317
git push origin v6.8.0

Please sign in to comment.