-
-
Notifications
You must be signed in to change notification settings - Fork 828
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
chore: Move rfd dependency to workspace #17610
Conversation
This makes sure there's only one version of rfd used and fixes Flatpak compilation issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want this to really stick, you could also add rfd
to deny.toml
, next to tracy-client
and image
.
I don't think it's an issue specific to rfd. I suspect any dependency defined two times (git + crates.io) with the same version will produce this error :/ Probably a bug in flatpak-builder-tools or in cargo. |
Would it make sense to add a Flatpak build check as a weekly CI run (like for the AMO Docker image), or not, because updates are done manually by us anyway, and any issues can be fixed immediately? |
I'll think about and maybe create a workflow, but in general I do not expect huge discrepancies in the build process, as Flatpak build is just |
The "internal" Rust build may be, but isn't there some additional bells and whistles to turn the binary into an actual Flatpak? I meant more to check those parts, not necessarily what |
That is true, but unintuitively these bells and whistles are problematic to be tested here, as in case they need to be updated, the build will fail even if everything's okay. Imagine that we move a .desktop file in upstream (so here), the path will also need to be changed downstream (Flathub), but if we just take the downstream as-is and replace sources, the build will fail because the path is not yet updated. Moreover, it cannot be updated unless we also update the version of upstream, so there's the chicken and egg problem. |
This makes sure there's only one version of
rfd
used and fixes Flatpak compilation issues.