Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish app on f-droid #18

Open
yozachar opened this issue Jul 14, 2022 · 26 comments
Open

Publish app on f-droid #18

yozachar opened this issue Jul 14, 2022 · 26 comments

Comments

@yozachar
Copy link

F-Droid | App Developers | FAQ

@provokateurin
Copy link
Member

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

@provokateurin
Copy link
Member

provokateurin commented Jul 19, 2022

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
Copy link
Member

provokateurin commented Jul 24, 2022

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

@provokateurin
Copy link
Member

@joe733 Can you try it out?

@provokateurin
Copy link
Member

F-Droig nightly actually works now

@p1gp1g
Copy link

p1gp1g commented Mar 1, 2023

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)

@wrenix
Copy link
Contributor

wrenix commented Oct 15, 2023

The nightlt shows me a 404

@provokateurin
Copy link
Member

@wrenix
Copy link
Contributor

wrenix commented Oct 16, 2023

merci, this link works

@provokateurin
Copy link
Member

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

@Leptopoda
Copy link
Member

@provokateurin it was probably the one a few comments above (#18 (comment))

I just edited it.

@Leptopoda Leptopoda added this to the Release App 1.0 milestone Nov 2, 2023
@alexandru0-dev
Copy link

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

@provokateurin
Copy link
Member

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

@provokateurin
Copy link
Member

The nightly fixed itself somehow, I have no clue why

@wrenix
Copy link
Contributor

wrenix commented Aug 22, 2024

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

@provokateurin
Copy link
Member

I know 😬
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.

@wrenix
Copy link
Contributor

wrenix commented Aug 25, 2024

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.

@provokateurin
Copy link
Member

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 🤔

@provokateurin
Copy link
Member

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
Copy link
Member

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
Copy link
Member

No luck with the previous commit or version from the ppa either 😢

@wrenix
Copy link
Contributor

wrenix commented Aug 29, 2024

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

@provokateurin has test it here successful:
#2437

@provokateurin
Copy link
Member

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

@wrenix
Copy link
Contributor

wrenix commented Aug 30, 2024

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

@provokateurin
Copy link
Member

provokateurin commented Aug 30, 2024

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

@wrenix
Copy link
Contributor

wrenix commented Aug 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants