Skip to content

Commit

Permalink
Suggest CompatHelper if package does not meet compat rules (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Dec 17, 2019
1 parent 35c101c commit 0d19525
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
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 <[email protected]>", "Fredrik Ekre <[email protected]>"]
version = "0.4.7"
version = "0.4.8"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
13 changes: 12 additions & 1 deletion src/AutoMerge/guidelines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,18 @@ function meets_compat_for_all_deps(working_directory::AbstractString, pkg, versi
end
end
sort!(bad_dependencies)
message = string("The following dependencies do not have a compat entry that has an upper bound: ", join(bad_dependencies, ", "))
message = string("The following dependencies ",
"do not have a ",
"compat entry that has ",
"an upper bound: ",
join(bad_dependencies,
", "),
". You may find ",
"[CompatHelper]",
"(https://github.com/bcbi/CompatHelper.jl) ",
"helpful for keeping ",
"your compat entries ",
"up-to-date.")
return false, message
end
end
Expand Down

2 comments on commit 0d19525

@DilumAluthge
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register branch=master

@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/6824

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.8 -m "<description of version>" 0d19525c7120176e5e0f11637dcca7b229b5f0c9
git push origin v0.4.8

Please sign in to comment.