-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update with JSOBestieTemplate for Krylov (#924)
* Apply JSOBestieTemplate update * Remove CommentPR.yml * Update Breakage.yml --------- Co-authored-by: Alexis Montoison <alexis.montoison@polymtl.ca>
- Loading branch information
1 parent
8efa3d0
commit f6f5a3f
Showing
5 changed files
with
134 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
PackageName: "Krylov" | ||
PackageOwner: "JuliaSmoothOptimizers" | ||
PackageUUID: "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7" | ||
_src_path: "https://github.com/JuliaSmoothOptimizers/JSOBestieTemplate.jl" | ||
_commit: "v0.13.0" | ||
AddBreakage: true | ||
AddBenchmark: false | ||
AddBenchmarkCI: true |