Backport fixes for conflicts between [workspace] and [sources] relative paths to release-1.12#4513
Conversation
f7eb74c to
661a2ea
Compare
661a2ea to
2233e1a
Compare
[workspace] and [sources] relative paths to release-1.12
|
fb8b74d should not be in, right? That's a feature. |
|
So at least with my local testing, I couldn't get this to work without that commit, presumably because of the way it modified But maybe I was just being dumb, or there's a more surgical way we can take only the parts of that commit that are needed to make this work. I'll try a branch without it again and see what happens. |
|
Ugh looks like there actually is a problem here too that's not just on Windows, I had accidentally only tested the version that didn't have the commit I actually wanted 🤦. Sorry for the premature ping on Slack. |
a0846c2 to
1a2b5ac
Compare
|
Okay, so this is actually looking promising other than 2 things:
(Pkg.project()).sources["Example"] == Dict("url" => "https://github.com/JuliaLang/Example.jl")but got which I think is okay if I'm understanding correctly, because that's what we are already doing on the master branch: https://github.com/JuliaLang/Pkg.jl/blob/master/test/sources.jl#L25, so I will update the test to do that
|
|
Okay, sorry for the noise previously, @KristofferC. This was my first time doing manual backporting and I made some dumb mistakes along the way, but I think it's looking good now. |
535f002 to
c4856a8
Compare
|
Okay, I think I correctly got rid of that stray change to |
|
Hmm, that change to |
f975286 to
fea1961
Compare
|
Bump @KristofferC |
|
Is the diff in 55455a2 weird? It shows it adds a large number of workspace tests but those are already on 1.12 as far as I can see? |
|
Actually, I think the whole testing block in the workspace file has gotten duplicated? We should run runic on the 1.12 branch as well so that backports are conflicting less. |
…roject relative upon writing to a project file (JuliaLang#4427)
fea1961 to
a99f4a6
Compare
|
Okay, so I started over again with a fresh clone and re-did the
I think the reason the diff was messed up for the workspace was that it merged funny. i.e., compare the diff in the link above against the diff in the merge commit: 55455a2#diff-f95997eecce5f2754dd5a12ee49dc25041c2b377cb8239112ec267a5abf7f0c0 Regarding Runic, do you want it applied after these commits, or before them? |
Neither, it is just something that we should do later, to simplify future backports. |
|
Sounds good. Thanks for your patience as I bumbled through this! :P |
|
I think this enabled auto adding of source entries to Project.toml when using e.g. |
|
Ah crap, yeah it does appear to do that. I think this is the same problem I was having with Uh, what's the best way to address this now that it's released? |
|
Revert this and 1.12.3 I guess... |
|
I've opened a PR to try and address the problem without reverting the whole thing: #4513 |
…lative paths to release-1.12 (#4513)
Backport of #4427 which fixes conflicts between
[workspaces]and[sources](e.g. #3842).In order to to get it, I also needed to backport
#4225and #4229I also needed to modify the CI to run on
v1.12-nightlyinstead ofnightly, since otherwise the REPL extension failed to precompile.