Skip to content

Commit

Permalink
Update with JSOBestieTemplate for NLPModels (#483)
Browse files Browse the repository at this point in the history
* Apply JSOBestieTemplate update

* Remove CommentPR.yml
  • Loading branch information
tmigot authored Nov 2, 2024
1 parent 0ff1f5a commit 6a2b47e
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 221 deletions.
3 changes: 3 additions & 0 deletions .breakage/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[deps]
GitHub = "bc5e4493-9b4d-5f90-b8aa-2b2bcaad7a26"
PkgDeps = "839e9fc8-855b-5b3c-a3b7-2833d3dd1f59"
18 changes: 18 additions & 0 deletions .breakage/get_jso_users.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import GitHub, PkgDeps # both export users()

length(ARGS) >= 1 || error("specify at least one JSO package as argument")

jso_repos, _ = GitHub.repos("JuliaSmoothOptimizers")
jso_names = [splitext(x.name)[1] for x jso_repos]

name = splitext(ARGS[1])[1]
name jso_names || error("argument should be one of ", jso_names)

dependents = String[]
try
global dependents = filter(x -> x jso_names, PkgDeps.users(name))
catch e
# package not registered; don't insert into dependents
end

println(dependents)
74 changes: 0 additions & 74 deletions .github/workflows/CommentPR.yml

This file was deleted.

Loading

0 comments on commit 6a2b47e

Please sign in to comment.