-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
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
add subdir functionality #1422
add subdir functionality #1422
Conversation
KristofferC
commented
Sep 25, 2019
•
edited
Loading
edited
Codecov Report
@@ Coverage Diff @@
## master #1422 +/- ##
===========================================
- Coverage 87.29% 59.95% -27.34%
===========================================
Files 25 25
Lines 5445 5396 -49
===========================================
- Hits 4753 3235 -1518
- Misses 692 2161 +1469
Continue to review full report at Codecov.
|
This is something we are rather interested in and would love to have. However, it seems this PR has stalled for now. I was wondering if there is any interest in / need for help from outsiders? I may have some time in a few weeks to dig into this, but obviously I don't want to step on any toes or waste time in case somebody is actually working on this elsewhere, or perhaps there are reasons for the stall (e.g. perhaps problems where discovered with the approach, or further design discussions are needed, or ...) Anyway, just wanted to say I'd be interested in chipping in, but of course I understand you guys may have other priorities. |
IIRC, this PR was pretty much done, with the exception of the Pkg REPL implementation of it, and bashing my head against Pkg.jl/src/REPLMode/argument_parsers.jl Line 21 in 54eae6c
I do think we could just punt on supporting this from the REPL though. Help to get this rebased and a bit more tested would be appreciated because I think it is a good feature to have. |
I rebased this, should be good to go. It doesn't include any REPL syntax but that can be added later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much! Looks pretty good to me. I am an outsider, but since I am excited about this feature, I had a look at the changes, and found them quite clean and pleasant to read. I left a few comments, which of course you are completely free to ignore.
Thanks again!
project_file === nothing && pkgerror(string("could not find project file in package at ", | ||
pkg.repo.source !== nothing ? pkg.repo.source : (pkg.path))) | ||
project_file === nothing && pkgerror(string("could not find project file in package at `", | ||
pkg.repo.source !== nothing ? pkg.repo.source : (pkg.path)), "` maybe `subdir` needs to be specified") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice detail!