feat: make search path for BinaryFinder customizable.#43968
feat: make search path for BinaryFinder customizable.#43968AndyScherzinger merged 1 commit intonextcloud:masterfrom
Conversation
68c348b to
2d5a7fb
Compare
e18dbbf to
a00f68b
Compare
|
@kesselb i force pushed a change to address the workflow failures. It seems to need another review/approval now |
dee2942 to
30d13cd
Compare
|
@kesselb every time, all the tests checking out submodules fail for branches that don't originate from github.com/nextcloud. Is this something I'm doing wrong, or are the CI checks just funky? I don't know what I did to cause the errors in the failing actions. |
|
@exi the cypress will fail, it's broken for forks. |
30d13cd to
0c2509b
Compare
|
Hi @exi, I hope you are still with us, I'm sorry it's taking so long 🙈 We migrated to spdx copyright headers meanwhile, and therefore the new test file needs an update. Example: And then another rebase would be nice to have a recent CI run and the remove the merge commits. |
ee24bc5 to
2785c56
Compare
|
@kesselb I applied one suggestion and rebased it. should be good now. |
2785c56 to
f3bdacf
Compare
|
@kesselb fixed the new type error and reverted it to the "$result === null" check as before. |
d5a074c to
af19d53
Compare
|
@exi I fear we need another rebase/squash because "Update tests/lib/BinaryFinderTest.php" is not a conventional commit 🙈 |
90cbaed to
bfc560d
Compare
|
@kesselb done |
bfc560d to
7aac23b
Compare
|
I rebased the branch via GitHub to pull a fix for our CI pipeline. |
|
The failing CI is wip, nothing needs to be done here for now. I will rebase the pr again, once our issues with the CI are resolved. (Please ping me if I haven't done that within one week) |
7aac23b to
481b0e3
Compare
|
rebased |
96b9dbb to
2b71212
Compare
|
I force-pushed to your branch to fix some code style issues. |
This feature is important for nextcloud running on distributions like NixOS, where all the standard search paths do not exist. Also added tests. This fixes issue nextcloud#43922 Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Reno Reckling <e-github@wthack.de>
2b71212 to
ef7e857
Compare
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Summary
This feature is important for nextcloud running on distributions like NixOS, where all the standard
search paths do not exist.
I chose to make the list overridable instead of appendable because having a default list that always gets
applied might cause reproducibility issues on distros like NixOS where we have multiple versions
of the same binary at the same time.
This fixes issue #43922
Checklist