Skip to content
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

Allow running flatpak-*-generator on update #347

Open
hadess opened this issue Feb 1, 2023 · 1 comment
Open

Allow running flatpak-*-generator on update #347

hadess opened this issue Feb 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@hadess
Copy link
Contributor

hadess commented Feb 1, 2023

When pocket-sync has a new release, I need to run flatpak-node-generator npm package-lock.json and flatpak-cargo-generator.py src-tauri/Cargo.lock manually to update the generated sources for both types of dependencies, even if flatpak-external-data-checker already updates the version.

Ideally, it would be possible to run helpers like flatpak-node-generator and flatpak-cargo-generator.py, but that would mean it would need to know how to:

  • check out the upstream
  • apply patches (as needed)
  • run the generators with the correct arguments
  • and then use those generated sources in the Flatpak update

The first 2 items become easier if we can ask flatpak-builder to do that for us.

@wvengen
Copy link

wvengen commented Aug 20, 2024

Similar need for https://github.com/flathub/org.artisan_scope.artisan which uses a custom script to update all dependencies (consisting of a number of steps in a specific order).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants