neon
neon copied to clipboard
Publish app on f-droid
This is on my TODO list. Still need to work on the app itself first though :smile:
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.
A nightly repository is now available at https://github.com/provokateurin/nextcloud-neon-nightly !
@joe733 Can you try it out?
F-Droig nightly actually works now
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)
The nightlt shows me a 404
@wrenix https://github.com/provokateurin/nextcloud-neon-nightly/ this?
merci, this link works
Which link did you use before? I can fix it if you tell me where the wrong link is.
@provokateurin it was probably the one a few comments above (https://github.com/nextcloud/neon/issues/18#issuecomment-1193405061)
I just edited it.
@provokateurin did the repo got deleted? now it's empty
Yeah it's broken right now :/ I'll try to fix it soon
The nightly fixed itself somehow, I have no clue why
@provokateurin it is broken again (for 3 weeks or so)
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.
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.
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:
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...
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.
No luck with the previous commit or version from the ppa either :cry:
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
Nightly workflow will work properly again thanks to the debugging and fix by @wrenix !
Do we like to have an link (and the QRcode) to the nightly F-Droid in this Readme ?
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.
https://github.com/nextcloud/neon/pull/2451 <- see rendered here: https://github.com/wrenix/nextcloud-neon/blob/feat/readme/README.md