[FR] Ignore a given package
When CompatHelper is used for subdirs, e.g. docs or eventual examples, one wants to use the latest commit version of the current PR or of master/main from the parent repo/package.
Therefore putting a compat for the parent package does not makes sense. A solution would be to pass a list of packages to ignore when running CompatHelper.jl, maybe a blacklist keyword?
As a short-term workaround, if you put a compat entry of the form e.g.
[compat]
Foo = ">= 1.2.3"
Then CompatHelper won't make any PRs to modify the compat entry for Foo.
My problem is that I would like to not put any compact so that the GH actions for creating the docs and other things use the dev version of the package.
a blacklist keyword would indeed be nice.
The propoesd workaround does not set an uper-bound and hence would not work if I don't want to support a new breaking version of a dependency (for lack of bandwidth to upgrade or other reasons).
A few options off the top of my head:
- use a
blacklistkeyword an support acompat-settings.ymlfile that can be put in the the repository to pass the list of blacklisted packages toCompatHelper.jl - do not open a PR if the version is specified in the form
< 0.3 - do not open the PR if there's a similar one (either open or closed)