| 7 May 2023 |
figsoda | the nurl stuff goes in src =, sourceRoot is part of mkDerivation | 21:20:15 |
raitobezarius | Good point | 21:21:25 |
raitobezarius | In reply to @figsoda:matrix.org I'm thinking we run this for subdirectories, maybe with a configurable max depth What would that be for though? | 21:21:57 |
raitobezarius | You probably want to run inside the source root directly? | 21:22:05 |
figsoda | In reply to @raitobezarius:matrix.org What would that be for though? we would find subdirectories that contain those files, ask the user to choose a sourceRoot if any was found, then mutate src_dir to the chosen subdirectory | 21:23:43 |
figsoda | In reply to @raitobezarius:matrix.org What would that be for though? * we would find subdirectories that contain those files, ask the user to choose a sourceRoot if any was found, then mutate/shadow src_dir to the chosen subdirectory | 21:23:59 |
figsoda | main.rs is a bit unorganized right now, I will try to make a refactor in the future | 21:25:11 |
figsoda | * main.rs is a bit unorganized right now, I will try to make a refactor in the (probably not near) future | 21:25:23 |
raitobezarius | hacking something | 21:46:27 |
raitobezarius | hm figsoda filename completers cannot take a restriction for the folders to autocomplete right? | 21:50:33 |
raitobezarius | do I need a helper hmm? | 21:50:43 |
raitobezarius | ah yes doesn't seem like there's "here's a list of strings helper" | 21:51:32 |
figsoda | In reply to @raitobezarius:matrix.org hm figsoda filename completers cannot take a restriction for the folders to autocomplete right? yes I think need a new enum variant | 21:51:41 |
raitobezarius | what do you prefer? | 21:51:50 |
figsoda | In reply to @raitobezarius:matrix.org hm figsoda filename completers cannot take a restriction for the folders to autocomplete right? * yes I think we need a new enum variant | 21:51:54 |
raitobezarius | I think we need like List(Vec<String>) but I might be wrong | 21:52:05 |
raitobezarius | or PathBuf | 21:52:14 |
raitobezarius | which has the same implementation as Prompter::Build I guess | 21:53:11 |
figsoda | either one works for me | 21:53:14 |
figsoda | not sure about List though | 21:53:20 |
raitobezarius | I take any better names | 21:53:27 |
figsoda | no actually List would work just fine | 21:53:49 |
figsoda | but maybe we want to have hints to suggest the available builders | 21:54:30 |
figsoda | idk | 21:54:30 |
figsoda | anything works | 21:54:38 |
raitobezarius | available builders would require to compute them right? | 21:54:53 |
figsoda | sorry, could you elaborate on that? | 21:55:46 |
raitobezarius |
but maybe we want to have hints to suggest the available builders
if I have a list of source root candidates, what do you mean by suggesting the available builders?
| 21:56:05 |
raitobezarius | my source root candidates list is already made of subfolders which contains an appropriate build system file | 21:56:18 |
raitobezarius | the only way to hint about the buildable ones would be to compute the rust_vendors, etc. | 21:56:31 |