I would like to try:
https://github.com/JuliaEcosystem/PkgDeps.jl/pull/39
How can I install it in Julia on Linux?
I would like to try:
https://github.com/JuliaEcosystem/PkgDeps.jl/pull/39
How can I install it in Julia on Linux?
if you already have the original pkg deved or git cloned somewhere, cd there and:
git remote add somefork https://github.com/danielmatz/PkgDeps.jl/
git fetch
git switch use-pkg-registry-api
actually, it’s probably easier if you just use Julia Pkg:
] dev https://github.com/danielmatz/PkgDeps.jl
then cd to ~/.julia/dev/PkgDeps/
and run
git switch use-pkg-registry-api
(you may need to ]resolve
afterwards)
Thanks for your explanation!
It did not solve my original problem, though. All I want is to be able to use the package “PackageAnalyzer”. It does not work with Julia 1.7 without the pull request mentioned above.
Bug report: Deal with compressed registry in Julia v1.7 · Issue #67 · JuliaEcosystem/PackageAnalyzer.jl · GitHub
I still get this error message:
"julia> analyze("DataFrames")
ERROR: ArgumentError: collection must be non-empty
Stacktrace:
[1] first
@ ./abstractarray.jl:419 [inlined]
[2] general_registry
@ ~/.julia/packages/PackageAnalyzer/8nIpt/src/PackageAnalyzer.jl:165 [inlined]
[3] analyze(name_or_dir_or_url::String)
@ PackageAnalyzer ~/.julia/packages/PackageAnalyzer/8nIpt/src/PackageAnalyzer.jl:453
[4] top-level scope
@ REPL[8]:1
"
Any idea?
check ]st
to see if you’re using your local copy correctly ?
You can also use GitHubs official CLI tool gh
(I like it a lot). Specifically, you clone the repo as usual and then simply run
gh pr checkout 39