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

Inclusion in F-Droid #37

Closed
buongiorgio opened this issue Jun 11, 2023 · 26 comments
Closed

Inclusion in F-Droid #37

buongiorgio opened this issue Jun 11, 2023 · 26 comments

Comments

@buongiorgio
Copy link

Hello,
you already said you're not going to add the app in the F-Droid repository #12
F-Droid policy permits also to someone who isn't the author to propose the inclusion of an app, if the original author does not oppose.
So this issue is just to ask you if you are OK with me proposing the inclusion of your app in F-Droid.

@hagaygo
Copy link
Owner

hagaygo commented Jun 11, 2023

No objection here.

@yurtpage
Copy link
Contributor

@IzzySoft is any progress on this? That would be really great

@IzzySoft
Copy link
Contributor

I cannot tell, I'm currently not active at F-Droid.

@IzzySoft
Copy link
Contributor

@yurtpage but you can add my repo to your F-Droid Client, where OpenWrtManager is listed.

@hagaygo if you wish, you can pick a badge to link there from your Readme, so that Google one doesn't look so loneley 😉

@yurtpage
Copy link
Contributor

@IzzySoft that's sad to hear. Maybe still you may help to create the app descriptor for inclusion? That would help to get the app to the store and attract more users and contributors.

@IzzySoft
Copy link
Contributor

I can send a PR with the fastlane structures if @hagaygo wants it, they are set up at my end anyway.

@hagaygo
Copy link
Owner

hagaygo commented Apr 30, 2024

As far i can understand inclusion in F-Droid is awaiting donating ?

https://gitlab.com/fdroid/rfp/-/issues/2442

@yurtpage
Copy link
Contributor

@IzzySoft you already sent it, ty. We need the yaml file
https://gitlab.com/fdroid/fdroiddata/-/blob/master/templates/build-flutter.yml

@hagaygo that's optionally, more like to filter out garbage

@IzzySoft
Copy link
Contributor

inclusion in F-Droid is awaiting donating ?

No, that is not mandatory, it's rather a hint to the possibility.

We need the yaml file

Sorry, can't help you with that. I just run a binary repo, so I don't have all the build stuff in. The parts from my YAML that would be useful there are only these:

Categories:
  - Connectivity
License: GPL-3.0-only
AuthorName: Hagay Goshen
AuthorEmail: [email protected]
SourceCode: https://github.com/hagaygo/OpenWrtManager
IssueTracker: https://github.com/hagaygo/OpenWrtManager/issues
Changelog: https://github.com/hagaygo/OpenWrtManager/releases

AutoName: OpenWRT Manager

// here go the build details

AutoUpdateMode: Version
UpdateCheckMode: Tags

@yurtpage
Copy link
Contributor

yurtpage commented Apr 30, 2024

@hagaygo
Copy link
Owner

hagaygo commented Apr 30, 2024

Normally i use the latest stable one.

3.19 currently.

@yurtpage
Copy link
Contributor

@licaon-kter
Copy link

great, but with 3.7.12 or 3.19.6, it fails to build: https://gitlab.com/fdroid/rfp/-/issues/2442#note_1886893631

@hagaygo
Copy link
Owner

hagaygo commented Apr 30, 2024

great, but with 3.7.12 or 3.19.6, it fails to build: https://gitlab.com/fdroid/rfp/-/issues/2442#note_1886893631

The log start with missing files at this point :

"Install Android SDK Platform 34 (revision: 3)" complete.
"Install Android SDK Platform 34 (revision: 3)" finished.
lib/Page/mainPage.dart:9:8: Error: Error when reading 'lib/OpenWrt/Model/AuthenticateReply.dart': No such file or directory
import 'package:openwrt_manager/OpenWrt/Model/AuthenticateReply.dart';
       ^
lib/Page/mainPage.dart:10:8: Error: Error when reading 'lib/OpenWrt/Model/CommandReplyBase.dart': No such file or directory
import 'package:openwrt_manager/OpenWrt/Model/CommandReplyBase.dart';
       ^

It seems your build does not find the app files from some reason.

@hagaygo hagaygo reopened this Apr 30, 2024
@licaon-kter
Copy link

@hagaygo

It seems your build does not find the app files from some reason.

yes, Linux is case sensitive, lib/OpenWrt vs https://github.com/hagaygo/OpenWrtManager/blob/github/lib/OpenWRT 😄

@hagaygo
Copy link
Owner

hagaygo commented May 1, 2024

Might be the problem, i currently don't have access to a working flutter sdk environment for testing it on Linux and fixing the case sensitivity.

The folder you mentioned might be the only problem , i guess its a by product of f59b8f8

@yurtpage
Copy link
Contributor

yurtpage commented May 1, 2024

maybe you can make a case sensitive search in logs

@hagaygo
Copy link
Owner

hagaygo commented May 1, 2024

maybe you can make a case sensitive search in logs

You are welcome to fork and try until it works on the fork while testing it with @licaon-kter and then create a pull request.

Currently i can test only on windows 🤷‍♂️

hagaygo added a commit that referenced this issue Jun 15, 2024
@hagaygo
Copy link
Owner

hagaygo commented Jun 15, 2024

@licaon-kter

Hi , managed to setup a working linux development using docker

sudo docker run --name flutter --rm -v <hostAppDirectory>:/home/mobiledevops/app -it mobiledevops/flutter-sdk-image:3.19.4

Got the same errors you mentioned and fixed the filename case on d585f99

Please try again.

Thanks.

@licaon-kter
Copy link

@hagaygo builds fine

reproducible builds ( https://f-droid.org/docs/Inclusion_How-To/#reproducible-builds ) are not possible since you build on windows and Flutter embeds its code paths ( https://f-droid.org/docs/Reproducible_Builds/#embedded-build-paths )

on macOS/Linux we can use the same path, but yours is C:/Users/hagay/source/repos/...

for autopupdates we need a place to find the exact flutter version, eg. have Flutter as a git submodule that you use during builds too so it's always up to date, or at least have it written somewhere so we can grep it

@hagaygo
Copy link
Owner

hagaygo commented Jun 19, 2024

for autopupdates we need a place to find the exact flutter version, eg. have Flutter as a git submodule that you use during builds too so it's always up to date, or at least have it written somewhere so we can grep it

Hi

Placing the whole flutter SDK (even as submodule) in the repo seems wrong.

Adding a file called flutter.version in the repo root, which contains the flutter version is used ( 3.19.6 for example) would be enough ?

@licaon-kter
Copy link

Yes, just make sure to keep it up to date

hagaygo added a commit that referenced this issue Jun 21, 2024
required for F-Droid builds.

More info on 

#37
@hagaygo
Copy link
Owner

hagaygo commented Jun 21, 2024

@licaon-kter just added the file , please let me know if you need anything else.

@licaon-kter
Copy link

@yurtpage
Copy link
Contributor

yurtpage commented Jul 24, 2024 via email

@yurtpage
Copy link
Contributor

Thank you @licaon-kter @hagaygo
The issue can be closed

@hagaygo hagaygo closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants