(investigate) package for f-droid #141

Open
opened 2021-08-07 02:41:39 +00:00 by dan · 11 comments
Owner
No description provided.
dan self-assigned this 2021-08-07 02:41:39 +00:00
dan added this to the Cwtch Beta 1.2 project 2021-08-07 02:41:39 +00:00
sarah removed this from the Cwtch Beta 1.2 project 2021-08-24 20:22:15 +00:00
sarah added the
cwtch-beta-1.3
label 2021-08-30 20:18:41 +00:00
Owner

Explore in 1.3

Explore in 1.3
sarah changed title from package for f-droid to (investigate) package for f-droid 2021-08-30 20:19:27 +00:00
sarah added the
need-replication-or-investigation
label 2021-08-30 20:19:44 +00:00
sarah added this to the Cwtch Beta 1.3 project 2021-08-30 20:21:44 +00:00
sarah removed this from the Cwtch Beta 1.3 project 2021-09-21 20:40:16 +00:00
sarah removed the
cwtch-beta-1.3
label 2021-09-23 19:16:42 +00:00
sarah added this to the Cwtch Beta 1.5 project 2021-10-24 04:43:09 +00:00
sarah modified the project from Cwtch Beta 1.5 to Cwtch Beta 1.7 2021-10-24 04:43:17 +00:00
sarah modified the project from Cwtch Beta 1.7 to Cwtch Beta 1.6 2021-10-24 04:43:25 +00:00
Author
Owner

https://gitlab.com/fdroid/fdroiddata/blob/master/CONTRIBUTING.md

"We build apps from source, so a new app must have at least one working build."

I've seen one reddit post that seemed to indicate fdroid could compile flutter but looking for more confrimation

The next question is how happy they'll be about us fetching a library we build (libcwtch-go) ... also we normally fetch as part of build steps, will have to see what their build system supports or if we'll have to keep a version in the repo we ship to them..

https://gitlab.com/fdroid/fdroiddata/blob/master/CONTRIBUTING.md "We build apps from source, so a new app must have at least one working build." I've seen one reddit post that seemed to indicate fdroid could compile flutter but looking for more confrimation The next question is how happy they'll be about us fetching a library we build (libcwtch-go) ... also we normally fetch as part of build steps, will have to see what their build system supports or if we'll have to keep a version in the repo we ship to them..
sarah removed this from the Cwtch Beta 1.6 project 2022-02-09 21:31:02 +00:00

Some feedback on my notes and an APK test would be nice: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11110

What's missing, besides your okay, some sort of metadata (screenshots/icon/changelogs/description/etc) added in this repo, like in a Fastlane or Triple-T folder structure

Some feedback on my notes and an APK test would be nice: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11110 What's missing, besides your okay, some sort of metadata (screenshots/icon/changelogs/description/etc) added in this repo, like in a [Fastlane](https://gitlab.com/snippets/1895688) or [Triple-T](https://gitlab.com/snippets/1901490) folder structure
Owner

Hi @Licaon_Kter

Sorry about the delay in getting back to you on this! It's been a busy few months and this definitely got lost in the turbulence.

Thank you for the work you have put in on this already. Please take this as an official OK from our end!

What's missing, besides your okay, some sort of metadata (screenshots/icon/changelogs/description/etc) added in this repo, like in a Fastlane or Triple-T folder structure

This has been on my list for a while and I will finally get around to it by end of this week.

@dan is currently working on a bunch of mobile related changes for 1.9 which would be good to finalize before finishing this up.

We have plans to get those released by the end of August.

Some feedback on my notes and an APK test would be nice: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11110

I notice that the current PR is for 1.7.1, we recently released 1.8 which contained a major dependency upgrade (Flutter 2 -> Flutter 3), this had some impact on mobile and might have an impact the Fdroid build that is would be worth redoing with the current version.

Thanks again.

Hi @Licaon_Kter Sorry about the delay in getting back to you on this! It's been a busy few months and this definitely got lost in the turbulence. Thank you for the work you have put in on this already. Please take this as an official OK from our end! > What's missing, besides your okay, some sort of metadata (screenshots/icon/changelogs/description/etc) added in this repo, like in a Fastlane or Triple-T folder structure This has been on my list for a while and I will finally get around to it by end of this week. @dan is currently working on a bunch of mobile related changes for 1.9 which would be good to finalize before finishing this up. We have plans to get those released by the end of August. > Some feedback on my notes and an APK test would be nice: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11110 I notice that the current PR is for 1.7.1, we recently released 1.8 which contained a major dependency upgrade (Flutter 2 -> Flutter 3), this had some impact on mobile and might have an impact the Fdroid build that is would be worth redoing with the current version. Thanks again.
Author
Owner

if it does get packaged the packagers need to be aware Cwtch has a concept of a "Dev build" vs a prod build, this is controled by injecting two variables at build time, as seen in our automated build script .drone.yml

echo `git describe --tags --abbrev=1` > VERSION
echo `date +%G-%m-%d-%H-%M` > BUILDDATE
flutter build appbundle --dart-define BUILD_VER=`cat VERSION` --dart-define BUILD_DATE=`cat BUILDDATE`
if it does get packaged the packagers need to be aware Cwtch has a concept of a "Dev build" vs a prod build, this is controled by injecting two variables at build time, as seen in our automated build script `.drone.yml` ``` echo `git describe --tags --abbrev=1` > VERSION echo `date +%G-%m-%d-%H-%M` > BUILDDATE flutter build appbundle --dart-define BUILD_VER=`cat VERSION` --dart-define BUILD_DATE=`cat BUILDDATE` ```

@sarah

I notice that the current PR is for 1.7.1, we recently released 1.8 which contained a major dependency upgrade (Flutter 2 -> Flutter 3)

The old build was with flutter@stable so 3.x.x already ;)

@dan

if it does get packaged the packagers need to be aware Cwtch has a concept of a "Dev build" vs a prod build

And this influences the final APK how?

Anyway, I've updated the recipe to 1.8.0, so please revise it, my notes in OP and, specially important, test the attached APK for correctness.

/LE: @dan ah, thing I understand now, these will be seen in "About Cwtch" dialogue, right?

/LE2: updated recipe and APK

@sarah > I notice that the current PR is for 1.7.1, we recently released 1.8 which contained a major dependency upgrade (Flutter 2 -> Flutter 3) The old build was with `flutter@stable` so 3.x.x already ;) @dan > if it does get packaged the packagers need to be aware Cwtch has a concept of a "Dev build" vs a prod build And this influences the final APK how? Anyway, I've updated the recipe to 1.8.0, so please revise it, my notes in OP and, specially important, test the attached APK for correctness. /LE: @dan ah, thing I understand now, these will be seen in "About Cwtch" dialogue, right? /LE2: updated recipe and APK
sarah added this to the Cwtch Beta (In Progress) project 2022-08-12 17:27:40 +00:00
Owner

And this influences the final APK how?

  1. The "About Cwtch" version information

  2. We have several debug features and logs that are behind the dev build flag (e.g. https://git.openprivacy.ca/cwtch.im/cwtch-ui/search?q=EnvironmentConfig.debugLog&t= and https://git.openprivacy.ca/cwtch.im/cwtch-ui/search?q=EnvironmentConfig.BUILD_VER+%3D%3D+dev_version+&t=) like switches for enabling semantic debugging for screenreaders and display of perf/memory use statistics from the Go library.

> And this influences the final APK how? 1) The "About Cwtch" version information 2) We have several debug features and logs that are behind the `dev` build flag (e.g. https://git.openprivacy.ca/cwtch.im/cwtch-ui/search?q=EnvironmentConfig.debugLog&t= and https://git.openprivacy.ca/cwtch.im/cwtch-ui/search?q=EnvironmentConfig.BUILD_VER+%3D%3D+dev_version+&t=) like switches for enabling semantic debugging for screenreaders and display of perf/memory use statistics from the Go library.
sarah added
android
testing-needed
cwtch-beta-1.9
and removed
need-replication-or-investigation
labels 2022-08-12 17:34:14 +00:00

~~Is tor-android build directly from Tor Project? ~~

Eg. https://git.openprivacy.ca/cwtch.im/cwtch-ui/src/tag/v1.9.0/fetch-tor.sh#L9 but there's no 0.4.7.10 here https://github.com/guardianproject/tor-android/tags

/LE: tor-android got updated

~~Is tor-android build directly from Tor Project? ~~ ~~Eg. https://git.openprivacy.ca/cwtch.im/cwtch-ui/src/tag/v1.9.0/fetch-tor.sh#L9 but there's no 0.4.7.10 here https://github.com/guardianproject/tor-android/tags~~ /LE: tor-android got updated

Updated for 1.9.0, pls sign and test the APK and take a look at the recipe.

This is ready to merge in F-Droid, fyi ;)

Updated for 1.9.0, pls sign and test [the APK](https://gitlab.com/fdroid/fdroiddata/-/jobs/3201869187/artifacts/raw/unsigned/im.cwtch.flwtch_35.apk) and take a look at [the recipe](https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11110/diffs). This is ready to merge in F-Droid, fyi ;)
sarah removed the
cwtch-beta-1.9
label 2022-11-22 21:15:45 +00:00
sarah modified the project from Cwtch Beta (In Progress) to Platform Work 2024-02-13 19:24:48 +00:00

Just a heads up that there are several issues with F-Droid:
https://www.privacyguides.org/en/android/#f-droid

https://privsec.dev/posts/android/f-droid-security-issues/

Accrescent is a promising google-free app store, but not stable yet:
https://github.com/accrescent/accrescent

Docs here:
https://accrescent.app/docs/index.html

Just a heads up that there are several issues with F-Droid: https://www.privacyguides.org/en/android/#f-droid https://privsec.dev/posts/android/f-droid-security-issues/ Accrescent is a promising google-free app store, but not stable yet: https://github.com/accrescent/accrescent Docs here: https://accrescent.app/docs/index.html
Author
Owner

Hey sorry for the long delays, we've been under resourced and distracted for a while but I want to jump on here and help get this over the finish line. So I'll try to be more available to help.

Some feedback on my notes and an APK test would be nice: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11110

What's missing, besides your okay, some sort of metadata (screenshots/icon/changelogs/description/etc) added in this repo, like in a Fastlane or Triple-T folder structure

and you need that all in this repo? so the icon is already in if it's ok. And we can look at getting the changelog in no problem, and some screenshots if that's what's needed.

Looking at your MR on gitlab for fdroid, we do not use the guardian project's tor-android, we just harvest the tor project shipped expert bundles and then grab those from our git at compile time with out fetch-tor.sh script

Hey sorry for the long delays, we've been under resourced and distracted for a while but I want to jump on here and help get this over the finish line. So I'll try to be more available to help. > Some feedback on my notes and an APK test would be nice: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11110 > What's missing, besides your okay, some sort of metadata (screenshots/icon/changelogs/description/etc) added in this repo, like in a Fastlane or Triple-T folder structure - Changelog: we keep an ongoing one at https://cwtch.im/changelog/ does that work? - Screenshots, do what we have in the google store (attached) work? - Icon: https://git.openprivacy.ca/cwtch.im/cwtch-ui/src/branch/trunk/assets/knott.png is 512x512 ok? and you need that all in this repo? so the icon is already in if it's ok. And we can look at getting the changelog in no problem, and some screenshots if that's what's needed. Looking at your MR on gitlab for fdroid, we do not use the guardian project's tor-android, we just harvest the tor project shipped expert bundles and then grab those from our git at compile time with out `fetch-tor.sh` script
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#141
No description provided.