mmazzarolo / breathly-app

A tiny breath training app built with React-Native
https://breathly.app
Mozilla Public License 2.0
520 stars 69 forks source link

F-Droid #111

Open ikanakova opened 1 year ago

ikanakova commented 1 year ago

Will the new version be available on F-Droid? There is still a version 1.9 on F-Droid.

mmazzarolo commented 1 year ago

Hey! I don't see why not. That said, I'm not managing the F-Droid version, so someone else should jump in and update it (I guess?).

ikanakova commented 1 year ago

I don't know, but perhaps @IzzySoft could advise.

IzzySoft commented 1 year ago
UpdateCheckMode: Tags ^android-\d\.\d$

Proper tag names might help, no? :wink: Check when that pattern matched last (hint: android-1.9), and what the tag names are now (android-2.0-(3145745)). Since you've appended -(\d) at the end, updates could no longer be found by the updater.

mmazzarolo commented 1 year ago

Additionally, @ikanakova , besides the new tag format the build step might be different now since I'm using Expo.

ikanakova commented 1 year ago

@mmazzarolo Does that mean the new version won't be on the F-Droid?

mmazzarolo commented 1 year ago

Hey @ikanakova I didn't create and I never updated the F-Droid version of Breathly... I'm not even familiar with F-Droid and unfortunately I don't have much free time lately to investigate/learn how to update and support the new version :/ However, if anyone is willing to give it a try and see how to support the new Expo build (besides updating the tag pattern) and just need my permissions to update the release flow I'm happy to help you with that (as long as you already know the changes we need to make).

IzzySoft commented 1 year ago

@mmazzarolo if you want I can adjust the UpdateCheckMode mentioned above at F-Droid (disclosure: I'm one of the maintainers there) and we can see if the build succeeds once the updater has picked up the new release. We'd just need to remove the trailing $ so the RegEx allows for "anything else following". We'd only need to keep the android- prefix to make sure the correct tags are matched.

mmazzarolo commented 1 year ago

@IzzySoft that works for me, thank you

IzzySoft commented 1 year ago

OK, there you go – and fingers crossed!

IzzySoft commented 1 year ago

Hm. I've no idea why it insists on v1.9 being the latest release – stripped UCM down to ^android-.+ now which should really match android-2.1-(3145747)

licaon-kter commented 1 year ago

Did you rewrite the app in Expo? The recipe needs a complete overhaul then...

mmazzarolo commented 1 year ago

Did you rewrite the app in Expo? The recipe needs a complete overhaul then...

Yes.

IzzySoft commented 1 year ago

Thanks @licaon-kter – and yes, see above…

licaon-kter commented 1 year ago

@mmazzarolo help?

Updated recipe: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/12791/diffs?commit_id=fb2d997a907effcf86057090cd8818bc79828d51

But fails later: com.mmazzarolo.breathly_3145747.log.gz

Where are the build instructions exactly?

licaon-kter commented 1 year ago
...
warning: the transform cache was reset.
                Welcome to Metro v0.72.4
              Fast - Scalable - Integrated

error index.js: [BABEL]: Cannot find module 'tailwindcss/lib/util/resolveConfigPath'
Require stack:
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/nativewind/dist/babel/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/nativewind/babel.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/config/files/module-types.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/config/files/configuration.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/config/files/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/metro-transform-worker/src/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/metro/src/DeltaBundler/Worker.flow.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/metro/src/DeltaBundler/Worker.js
Error: [BABEL]: Cannot find module 'tailwindcss/lib/util/resolveConfigPath'
Require stack:
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/jest-worker/build/workers/processChild.js (While processing: /home/v
agrant/build/com.mmazzarolo.breathly/node_modules/nativewind/babel.js).
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/nativewind/dist/babel/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/nativewind/babel.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/config/files/module-types.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/config/files/configuration.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/config/files/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/@babel/core/lib/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/metro-transform-worker/src/index.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/metro/src/DeltaBundler/Worker.flow.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/metro/src/DeltaBundler/Worker.js
- /home/vagrant/build/com.mmazzarolo.breathly/node_modules/jest-worker/build/workers/processChild.js (While processing: /home/vagrant/build/com.mmazzarolo.breathly/node_modules/nativewind/babel.js)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/home/vagrant/build/com.mmazzarolo.breathly/node_modules/nativewind/dist/babel/index.js:9:45)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/home/vagrant/build/com.mmazzarolo.breathly/node_modules/nativewind/babel.js:1:18)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
info Run CLI with --verbose flag for more details.

> Task :app:bundleReleaseJsAndAssets FAILED
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions

FAILURE: Build completed with 2 failures.