Issue with checkupdates and rewritemeta in a new app

Hi!

I’m trying to add a new app to the fdroid repo but I’m failing at the test pipeline (checkupdates and rewritemeta) and don’t understand why :confused:

Sorry, I don’t know what to paste here to make my issue clear, but if someone can help me, this is the more recent pipeline failure in my fdroiddata fork: Pipeline #2620776893 · hipgnose / Data · GitLab

The code is in the `shortcut.healthconnect` branch and my shortcut.healthconnect.yml file is:

Categories:
  - System
License: GPL-3.0-only
AuthorName: hipgnose
SourceCode: https://codeberg.org/hipgnose/health-connect-shortcut
IssueTracker: https://codeberg.org/hipgnose/health-connect-shortcut/issues

RepoType: git
Repo: https://codeberg.org/hipgnose/health-connect-shortcut.git

Builds:
  - versionName: 1.0.2
    versionCode: 10002
    commit: d4b20fb3c472bc228ca87e4e11d395159598952a
    subdir: app/
    gradle:
      - yes

AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 1.0.2
CurrentVersionCode: 10002

Thanks in advance!

See the green text? Modify recipe to look like it :slight_smile:

Thanks for your help, @Licaon_Kter, I made the changes and now it is passing!

For someone with a similar issue, there were 2 problems with my file:

  1. A missing, empty, newline at end of file.
  2. Missing the AutoName tag.

But the AutoName tag was an issue for me because I thought that it was something the fdroidserver populates by it’s on and it was not in the templates. Also, the doc says that it is generated:

The AutoName entry is generated automatically when fdroid checkupdates is run, and is only used for the commit messages generated by fdroid checkupdates.

@Licaon_Kter do you think I should look to do a merge request updating the general template with this field and also make it more clear in the docs that the user also needs to enter something in this mandatory field?

Thanks again for your time!

It’s not mandatory, it’s something pulled from your code: Not display detailed ahead/behind counts for a network.

Not sure what you think the issue is

Weird, my pipeline passed only when I included the autoname field to the shortcut.healthconnect.yml.

The commit with the pipeline passing with the inclusion is here.

The previous commit with `checkupdates` job failing is here, it was also highlighted in green by diff --git, so I included that and it passed!

That made me think that it’s a mandatory field.

1 Like

Is there any issue with Conduit that might be causing new versions to not be picked up? I have the f-droid build status app and it shows 1.0.8 as the highest metadata version, however new versions have been released since. I’m sorry if I sound impatient or something. I would just like to know if there are any issues on my side, because I’m new here and previous updates where caught pretty fast. Thank you!

click Metadata → metadata/com.gwitko.conduit.yml · master · F-Droid / Data · GitLab

upper right see green pill-> bot: Update Conduit to 173 (!40993) · Merge requests · F-Droid / Data · GitLab

1.0.9 failed to be repro: fdroid build (#14961982295) · Jobs · F-Droid / checkupdates-bot-fdroiddata · GitLab

testing 1.2.0 now, brb

If 1.0.9 failed repro that is probably the issue with other versions as well. Thanks for the info, will try to fix it today!

Seems to have passed now? check apk (#15014549133) · Jobs · F-Droid / Data · GitLab

I think I know what the issue was with 1.0.9 and it won’t repeat again! Thanks for the help!

thanks for the heads up, we would get to it but later anyway

1 Like