neon icon indicating copy to clipboard operation
neon copied to clipboard

Publish app on f-droid

Open yozachar opened this issue 3 years ago • 26 comments

F-Droid | App Developers | FAQ

yozachar avatar Jul 14 '22 08:07 yozachar

This is on my TODO list. Still need to work on the app itself first though :smile:

provokateurin avatar Jul 14 '22 08:07 provokateurin

Template for submission later:

Categories:
  - Internet
  - Graphics
  - Multimedia
  - Reading
  - Writing
License: BSD-3-Clause
AuthorName: jld3103
SourceCode: https://github.com/jld3103/nextcloud-neon
Liberapay: jld3103

AutoName: Nextcloud Neon

RepoType: git
Repo: https://github.com/jld3103/nextcloud-neon

Builds:
  - versionName: 1.0.0
    versionCode: 1
    commit: dce04ed
    subdir: packages/neon
    output: build/app/outputs/flutter-apk/app-release-unsigned.apk
    srclibs:
      - [email protected]
    build:
      - $$flutter$$/bin/flutter config --no-analytics
      - $$flutter$$/bin/flutter packages pub get
      - $$flutter$$/bin/flutter build apk

AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: packages/neon/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 1.0.0
CurrentVersionCode: 1

I think once I make a first proper 1.0.0 release I'll make a MR for inclusion in the official F-Droid repo.

provokateurin avatar Jul 19 '22 09:07 provokateurin

A nightly repository is now available at https://github.com/provokateurin/nextcloud-neon-nightly !

provokateurin avatar Jul 24 '22 22:07 provokateurin

@joe733 Can you try it out?

provokateurin avatar Jul 25 '22 11:07 provokateurin

F-Droig nightly actually works now

provokateurin avatar Jul 30 '22 10:07 provokateurin

Steps to get a reproducible build on fdroid with flutter are listed here: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/12398

TLDR;

  • flutter as a submodule of the git project
  • Known build path for instance /tmp/build (git clone https://foo /tmp/build)

p1gp1g avatar Mar 01 '23 20:03 p1gp1g

The nightlt shows me a 404

wrenix avatar Oct 15 '23 22:10 wrenix

@wrenix https://github.com/provokateurin/nextcloud-neon-nightly/ this?

provokateurin avatar Oct 16 '23 06:10 provokateurin

merci, this link works

wrenix avatar Oct 16 '23 06:10 wrenix

Which link did you use before? I can fix it if you tell me where the wrong link is.

provokateurin avatar Oct 16 '23 07:10 provokateurin

@provokateurin it was probably the one a few comments above (https://github.com/nextcloud/neon/issues/18#issuecomment-1193405061)

I just edited it.

Leptopoda avatar Oct 16 '23 08:10 Leptopoda

@provokateurin did the repo got deleted? now it's empty

alexandru0-dev avatar Nov 04 '23 15:11 alexandru0-dev

Yeah it's broken right now :/ I'll try to fix it soon

provokateurin avatar Nov 04 '23 16:11 provokateurin

The nightly fixed itself somehow, I have no clue why

provokateurin avatar Nov 17 '23 05:11 provokateurin

@provokateurin it is broken again (for 3 weeks or so)

wrenix avatar Aug 22 '24 09:08 wrenix

I know :grimacing: There isn't really anything I can do about it. At some point the f-droid action just fails every time. Usually clearing the entire repository works, but I did that already and it still doesn't work.

provokateurin avatar Aug 22 '24 10:08 provokateurin

I open an Issue: https://gitlab.com/fdroid/fdroidserver/-/issues/1223

and maybe a fix: https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1511

if you like to test it in your github-workflow ping me for the result.

wrenix avatar Aug 25 '24 03:08 wrenix

Thank you @wrenix! The fix worked (https://github.com/nextcloud/neon/actions/runs/10546640045/job/29218364673?pr=2422), but neither the official F-Droid client nor NeoStore show the app to me. The APKs are definitely there (https://github.com/provokateurin/nextcloud-neon-nightly/tree/master/fdroid/repo), but something else must still be going wrong :thinking:

provokateurin avatar Aug 25 '24 12:08 provokateurin

Oh I was wrong, only the signatures are in there but the APKs are missing. Then it makes sense that I don't get the app displayed...

provokateurin avatar Aug 25 '24 12:08 provokateurin

To add some further information: The workflow stopped working on 12th of June. There were two merges around that time: https://gitlab.com/fdroid/fdroidserver/-/commit/aeb8a7a3e5cfe4e2360350167e67f2288cec8ce4 https://gitlab.com/fdroid/fdroidserver/-/commit/21e03e62a86775370ee58754f6264c02472b3bb9 Looking at the changes of the later, those could be related to the failure.

provokateurin avatar Aug 28 '24 14:08 provokateurin

No luck with the previous commit or version from the ppa either :cry:

provokateurin avatar Aug 28 '24 17:08 provokateurin

Build a fix, that looks solving the problem https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1512

@provokateurin has test it here successful: https://github.com/nextcloud/neon/pull/2437

wrenix avatar Aug 29 '24 07:08 wrenix

Nightly workflow will work properly again thanks to the debugging and fix by @wrenix !

provokateurin avatar Aug 29 '24 11:08 provokateurin

Do we like to have an link (and the QRcode) to the nightly F-Droid in this Readme ?

wrenix avatar Aug 30 '24 12:08 wrenix

It was automatically generated in the past, but that doesn't seem to happen anymore :thinking: The HTML file https://github.com/provokateurin/nextcloud-neon-nightly/blob/master/fdroid/repo/index.html still contains the QR code.

provokateurin avatar Aug 30 '24 12:08 provokateurin

https://github.com/nextcloud/neon/pull/2451 <- see rendered here: https://github.com/wrenix/nextcloud-neon/blob/feat/readme/README.md

wrenix avatar Aug 30 '24 13:08 wrenix