Multiple x-checker-data PRs

I’m using the x-checker-data with git commits.
I get daily PRs with the same version, until one is merged.

How can I avoid this behaviour?

The yaml file is here: org.swi_prolog.swipl/org.swi_prolog.swipl.yml at master · flathub/org.swi_prolog.swipl · GitHub

That’s because each time it changes the appstream file which instead should be, along the .desktop and the icon file, be coming from and be managed upstream.

Thanks for the answer. It’s not entirely clear to me why that would be the case.
Is there a way to only open one PR per release?

I think you’re running into this bug Git checker doesn't get timestamps, resulting in unwanted PRs · Issue #154 · flathub-infra/flatpak-external-data-checker · GitHub

1 Like

If you can, switch to the JSON checker and add timestamp-query to the checker.

I’m not sure if I can do that. The only json I have access to is https://api.github.com/repos/SWI-Prolog/swipl-devel/git/refs/tags

There is no timestamp as far as I can tell. An element is:

    "ref": "refs/tags/V9.3.23",
    "node_id": "MDM6UmVmMTc1MTY3OTM6cmVmcy90YWdzL1Y5LjMuMjM=",
    "url": "https://api.github.com/repos/SWI-Prolog/swipl-devel/git/refs/tags/V9.3.23",
    "object": {
      "sha": "72f4ffd55afdcc49e7f689edc68873e5e4307991",
      "type": "tag",
      "url": "https://api.github.com/repos/SWI-Prolog/swipl-devel/git/tags/72f4ffd55afdcc49e7f689edc68873e5e4307991"
    }

Yea it won’t work with GitHub tags, that’s also what the issue above is about.