External data checker: how to debug it?

Apr 9, 2025 Closed
F

The doc page on the external data checker doesn’t say where we should look if something is not working.

I can run the command on my manifest and I see that a new version is detected.
I hoped it was enough to get the automatic PR working but it’s not.

I’ve introduced the check in this PR. It was merged in master 5 days ago, but flathubbot didn’t create any PR to update the app.

I think I should search some logs on Buildbot… but where?!?

B

You are using the wrong checker type. Rotating URL checker is for when the URL doesn’t change and always points to the latest version eg. https://example.org/foobar.deb

Use something like this com.vscodium.codium/com.vscodium.codium.yaml at 9e125911020a220c5b2b237b11ae6a3fb09fdef9 · flathub/com.vscodium.codium · GitHub

F
Replying to #2

Thanks, it works.

And I’ve just realized that if I add a couple of options I can verify if the update works (before opening a PR):

flatpak run org.flathub.flatpak-external-data-checker --update --edit-only MANIFEST