We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a minor issue when trying to dev a relative directory in REPL package mode.
dev
My package has uppercase letters, say MyPackage, but I have moved there using the shell environment, having used a lower case letter by mistake:
MyPackage
shell> cd mypackage/test
which works.
pwd() gives the global path with mypackage in lower case letters, so the mistake is not "corrected".
pwd()
mypackage
If I activate the environment there (still works) and try to dev the parent folder, I get
(test) pkg> dev .. ERROR: `..` appears to be a local path, but directory does not exist
Funnily, FileSystem does not have any issues:
FileSystem
julia> Base.Filesystem.readdir("..")
works as expected.
Also, this is not a Pkg.jl bug since
Pkg.jl
julia> import Pkg; Pkg.develop(path="..")
works as well.
My versioninfo() output is:
versioninfo()
Julia Version 1.9.3 Commit bed2cd540a (2023-08-24 14:43 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: 12 × 12th Gen Intel(R) Core(TM) i5-12400 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-14.0.6 (ORCJIT, alderlake) Threads: 4 on 12 virtual cores Environment: JULIA_EDITOR = code JULIA_NUM_THREADS = 4
The text was updated successfully, but these errors were encountered:
Does (test) pkg> dev ./.. work?
(test) pkg> dev ./..
Sorry, something went wrong.
It is explicitly checking case sensitively in
Pkg.jl/src/REPLMode/argument_parsers.jl
Line 146 in c26ad23
Not sure if it should
No, same error:
ERROR: `./..` appears to be a local path, but directory does not exist
No branches or pull requests
I have a minor issue when trying to
dev
a relative directory in REPL package mode.My package has uppercase letters, say
MyPackage
, but I have moved there using the shell environment, having used a lower case letter by mistake:which works.
pwd()
gives the global path withmypackage
in lower case letters, so the mistake is not "corrected".If I activate the environment there (still works) and try to
dev
the parent folder, I getFunnily,
FileSystem
does not have any issues:works as expected.
Also, this is not a
Pkg.jl
bug sinceworks as well.
My
versioninfo()
output is:The text was updated successfully, but these errors were encountered: