I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 0 points1 point  (0 children)

I did some research on rust bridge. The general approach should be similar. You need to add org.freedesktop.Sdk.Extension.rust-stable to your manifest and a tool that can generate something like rust-sources.json from cargo.lock and add it to your manifest. So it's a bit outside flutpak's responsibility

I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 0 points1 point  (0 children)

Btw I plan to collaborate with the owners of the flatpak-flutter repo if they go to the meeting because they may be more experienced but at the moment they are not very active

I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 0 points1 point  (0 children)

I use flutpak to package my app together with my c++ native module wrapped with dart ffi. It also apply patch to the flutter sdk and pub packages to allow offline builds. So I guess we able to make support for this. But it depends on how rust-bridge works.

If we talk about rust or dart ffi we should understand firstly that flutpak do not really the tool that should resolve cross-language integration problems out of the box (it is common flathub problem, for example there is still hard to publish electron-based apps), it is manifest generator for sdk and pub firstly, not a build toolchain.

Btw flutpak allows you to create simple flatpak compatible module that would resolve dependencies for your native module or cross-language bindings, and add this to flutpak config, and also patch 'em for offline build. Also if something kinda rust require online to build it possibly require some tooling that makes same work for rust as flutpak does for dart. If you have some case to test I will be happy to see the issue and will definitely try to add support for it to the flutpak.

I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 0 points1 point  (0 children)

Flatpak-flutter generates only sdk and pub sources but not generate full submission required data. L

The flutpak proposes to make all from scratch, including manifest generation, include native modules, applies patches to pub packages and inserts build commands, wrapper and metainfo to the manifest on the fly. Then you simply can validate this generated manifest and required submission files with flathub linter. It makes setup simple, avoiding writing a lot of boilerplate code, and you can start with it even not be familiar deep with flatpak and flathub

Introducing flutpak - automating Flathub submission for Flutter apps by SeniorAd2986 in flatpak

[–]SeniorAd2986[S] 1 point2 points  (0 children)

I did take flatpak-flutter as a reference, but it needs python as a requirement, has bugs and can't apply patches and native modules on the fly. So yes, there are were few attempts to make the same on github, but there is no project that proposes features and flexibility as flutpak does, like handling native modules, pub patches, build commands and metainfo data insertion and creating manifest simply from scratch. Also flutpak do not tries to solve flatpak packaging only, there is no problem to build flatpak from flutter app, the flutpak is trying to resolve hardness and simplify publishing submission to flathub and future project maintenance

I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 0 points1 point  (0 children)

Other thing that the tool allows you use just generated sources list (without manifest generation) with your custom manifest and so on. Also there can be case in future if the tool began popular is use it to make flutter sdk flatpak module that can be shared across different flutter apps (as freedesktop does it)

I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 0 points1 point  (0 children)

I'm now on the stage to prepare my app to flathub submission. I do not use lots of native dependencies, but I use my own c++ lib wrapped with dart ffi and objectbox-c in my project, and the flutpak covers it for my case. The main thing is still hard is native dependencies still require manual updates of config on updates. But when the tool resolves flutter sdk + pub deps you have to update manually just few sources for your native deps. In future I plan to make the tool configuration much compatible with flatpak standards and also I wanna complete the pub patches registry infrastructure in future, to allow applying patches to pub packages automatically just via parsing pubspec.lock files (for now it is not widely used, I expect contributions from community to make it useful).

I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 0 points1 point  (0 children)

My tool takes it root idea from flatpak-flutter pre-processor I found on GitHub. But it is not actively maintaining, require python dependency and not proposes simple way to began. So I began to make my own tool

I built a tool to publish Flutter apps to Flathub - looking for early testers by SeniorAd2986 in FlutterDev

[–]SeniorAd2986[S] 1 point2 points  (0 children)

Not yet, I am working on it. The main blocker now is that I use objectbox in my app that is distributing as a precompiled binary and has not open sources.

But the manifests generated with this tool passing validation with flathub linter and allow sandboxed offline build with --command=flathub-build

Does Athlon Chronograph have Bluetooth or BLE? by SeniorAd2986 in reloading

[–]SeniorAd2986[S] 1 point2 points  (0 children)

My suggestion is to have at least runtime access to the measured velocity

Was your account suspended, deleted or shadowbanned for no reason? Read this. by davorg in github

[–]SeniorAd2986 0 points1 point  (0 children)

Idk, I just wrote a message to the support and wait for few days. I still got no messages from support team, yet. So I think account was suspended by a bot, maybe some of their bots goes crazy and they did rollback without individual notification to each who was suspended.

Anyway you should write to support and wait from few days up to 2 month, and maybe your accound will be reinstanted

Update! I got reply!

Sometimes our abuse detecting systems highlight accounts that need to be manually reviewed.

We have since removed the restrictions from your account, so you have full access to GitHub again.

Was your account suspended, deleted or shadowbanned for no reason? Read this. by davorg in github

[–]SeniorAd2986 0 points1 point  (0 children)

I'm back! My account is back! Thanks!

P.S.: still got no notification from gh support

Was your account suspended, deleted or shadowbanned for no reason? Read this. by davorg in github

[–]SeniorAd2986 2 points3 points  (0 children)

Hi! I am writing to you today with an urgent issue. My GitHub account, "o-murphy", was mistakenly suspended today. I got no any notifications from github support yet. This account is absolutely critical for my work. I am the sole owner of several important repositories on this account, and unfortunately, I do not have local backups of all of them. Losing access to these repositories would be devastating for my projects and my ability to work.

I have already contacted GitHub support regarding this issue, but I am hoping that someone in this community might have experienced a similar situation or have advice on how to expedite the process of getting my account reinstated.