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
Improving the file selection using external command with a new "download" mode #8140
base: main
Are you sure you want to change the base?
Improving the file selection using external command with a new "download" mode #8140
Conversation
It seeems quite OK for me. I try to made minimal changes. The logic of This behavior allows people to rename the file downloaded. If a folder is given, the file is downloaded into keeping its original name, and if a filename is given, as a basename or a full path, it is downloaded under this name, or in the default folder qutebrowser set, or in the path given. About the 5 tests which didn't succed, I can't understand how they could be linked to my changes. When I read the logs, I saw a problem about a ' test_clicking_on_focused_element_when_there_is_none', another one a ssl client socket error, a problem in 'test_insert_mode.py'... It seems completely unrelated. |
For context, #7884 was the original PR. Unfortunately. it looks like you force-pushed and removed your changes there, so I'm lacking a bit of context. What's the problem you're trying to solve here exactly? It looks like right now you're adding a new prompt mode but it's not actually used anywhere at all, which means I can't see how this would change any behavior. I agree the test failures look unrelated. Sadly we're struggling quite a bit with flaky tests. If it looks unrelated and only happens in one environment (rather than all of them), chances are big it's just flaky unfortunately. |
In case it helps, you can still see the original commit before the force-push. edit: Here is the full diff between #7884's pre-force push state and the last commit on this PR for your convenience. |
Hi @The-Compiler, yes, sorry, I messed up with git trying to reset the branch to the main state... I am not making enough often contribs to projects to get used to git! My setup (the context)I am using a script launching ranger as file external selector. In config.py The solution proposed by this pull requestSO, that's why I created this new mode, 'download', using it in the config Its changes are minimal it just:
PS: here are the files of the previous #7884 pull request before the force push |
I am coming back on this idea... I will see if I can get rid of the previous errors in the tests...