| 17 Mar 2025 |
GGG | it's just that some people use .netrc files to connect to private nuget repos, and since we change $HOME in fetch-deps, that entirely breaks that use-case | 23:33:28 |
GGG | but it's not related to your fix at all, it's a problem that already was in there to begin with | 23:33:49 |
Whovian9369 | Ah okay, thanks! | 23:33:56 |
Matt Sturgeon | So should the script copy ~/.netrc if it exists before it creates the temp home? Does it have to be ~/.netrc or can it also be configured at some other locations (e.g. XDG dirs)? | 23:37:40 |
GGG | no idea, but that's probably another issue we have to open and then consider how to fix. | 23:38:06 |
GGG | and I wouldn't even copy it, I'd just straight up link it to the temporary home if possible | 23:38:21 |
Matt Sturgeon | yeah copy/symlink/whatever | 23:38:56 |
GGG | but yeah, that would be the solution most likely | 23:39:08 |
GGG | if we cannot find a way to not use an entire $HOME dir | 23:39:20 |
Corngood | Don't we already do something like that to leak the nuget http cache? Could probably do the same thing. | 23:59:12 |
GGG | we do? | 23:59:23 |
| 18 Mar 2025 |
Corngood | I thought so. I can check when I'm back online. | 00:00:03 |
GGG | I'll try to find out when I have free time to try to save you time, but I can't guarantee that | 00:00:24 |
Matt Sturgeon | You do something with the NUGET_HTTP_CACHE_PATH variable in the add-nuget-deps wrapper | 13:22:42 |
Matt Sturgeon | (thanks for getting the curl fix merged early btw) | 13:23:13 |
lzcunt | Heyy, remember me? I've figured out the differences between nuget restore and dotnet restore and I have a hacky patch for nuget-to-json that seems to work for nuget restore | 18:14:23 |
lzcunt | Expect a patch | 18:14:34 |
GGG | oh hey | 18:16:19 |
GGG | very nice, good job! | 18:16:21 |
lzcunt | thanks it was rough lol, there's still a bug (on my part) that's preventing me from restoring OpenBVE with this | 18:16:57 |
lzcunt | after I'm done with it I'll send a PR | 18:17:06 |