F-Droid build failed #154

Open
opened 2025-10-31 17:06:39 -05:00 by GiteaMirror · 17 comments
Owner

Originally created by @linsui on GitHub (Jun 3, 2021).

The current Dart SDK version is 2.10.4.
Because git_touch requires SDK version >=2.12.0 <3.0.0, version solving failed.

Which flutter version should be used? Thanks!

Originally created by @linsui on GitHub (Jun 3, 2021). ``` The current Dart SDK version is 2.10.4. Because git_touch requires SDK version >=2.12.0 <3.0.0, version solving failed. ``` Which flutter version should be used? Thanks!
Author
Owner

@pd4d10 commented on GitHub (Jun 3, 2021):

Stable channel should be fine

@pd4d10 commented on GitHub (Jun 3, 2021): Stable channel should be fine
Author
Owner

@linsui commented on GitHub (Jun 3, 2021):

I tried 2.2.1 and it stucked forever.

@linsui commented on GitHub (Jun 3, 2021): I tried 2.2.1 and it stucked forever.
Author
Owner

@pd4d10 commented on GitHub (Jun 3, 2021):

This is the version in my local machine:

> flutter --version
Flutter 2.2.1 • channel stable • git@github.com:flutter/flutter.git
Framework • revision 02c026b03c (7 days ago) • 2021-05-27 12:24:44 -0700
Engine • revision 0fdb562ac8
Tools • Dart 2.13.1
@pd4d10 commented on GitHub (Jun 3, 2021): This is the version in my local machine: ```sh > flutter --version Flutter 2.2.1 • channel stable • git@github.com:flutter/flutter.git Framework • revision 02c026b03c (7 days ago) • 2021-05-27 12:24:44 -0700 Engine • revision 0fdb562ac8 Tools • Dart 2.13.1 ```
Author
Owner

@linsui commented on GitHub (Jun 5, 2021):

The build recipe is

  - versionName: 1.12.4
    versionCode: 25
    commit: v1.12.4
    output: build/app/outputs/flutter-apk/app-release.apk
    srclibs:
      - flutter@2.2.1
    build:
      - $$flutter$$/bin/flutter config --no-analytics
      - $$flutter$$/bin/flutter build apk --no-tree-shake-icons

It stuck at

To see a detailed report, use the untranslated-messages-file 
option in the l10n.yaml file:
untranslated-messages-file: desiredFileName.txt
<other option>: <other selection> 
This will generate a JSON format file containing all messages that 
need to be translated.
lib/screens/ge_search.dart:28:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null.
  String get _keyword => _controller!.text?.trim() ?? '';
                                      ^
lib/screens/gh_repo.dart:273:54: Warning: Operand of null-aware operation '?.' has type 'GRepoCommit_history' which excludes null.
 - 'GRepoCommit_history' is from 'package:git_touch/graphql/github.data.gql.dart' ('lib/graphql/github.data.gql.dart').
                        ((ref.target as GRepoCommit).history?.totalCount ?? 0)
                                                     ^
lib/screens/gl_search.dart:29:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null.
  String get _keyword => _controller!.text?.trim() ?? '';
                                      ^
lib/screens/gh_search.dart:28:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null.
  String get _keyword => _controller!.text?.trim() ?? '';
                                      ^
@linsui commented on GitHub (Jun 5, 2021): The build recipe is ```yml - versionName: 1.12.4 versionCode: 25 commit: v1.12.4 output: build/app/outputs/flutter-apk/app-release.apk srclibs: - flutter@2.2.1 build: - $$flutter$$/bin/flutter config --no-analytics - $$flutter$$/bin/flutter build apk --no-tree-shake-icons ``` It stuck at ``` To see a detailed report, use the untranslated-messages-file option in the l10n.yaml file: untranslated-messages-file: desiredFileName.txt <other option>: <other selection> This will generate a JSON format file containing all messages that need to be translated. lib/screens/ge_search.dart:28:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null. String get _keyword => _controller!.text?.trim() ?? ''; ^ lib/screens/gh_repo.dart:273:54: Warning: Operand of null-aware operation '?.' has type 'GRepoCommit_history' which excludes null. - 'GRepoCommit_history' is from 'package:git_touch/graphql/github.data.gql.dart' ('lib/graphql/github.data.gql.dart'). ((ref.target as GRepoCommit).history?.totalCount ?? 0) ^ lib/screens/gl_search.dart:29:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null. String get _keyword => _controller!.text?.trim() ?? ''; ^ lib/screens/gh_search.dart:28:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null. String get _keyword => _controller!.text?.trim() ?? ''; ^ ```
Author
Owner

@shreyas1599 commented on GitHub (Jun 8, 2021):

The current Dart SDK version is 2.10.4.
I tried 2.2.1 and it stucked forever.

@linsui seems like your dart version is 2.10.4 but your flutter version is fine. You've to update dart to >=2.12.0 separately. Or are you already using dart >= 2.12.0?

@shreyas1599 commented on GitHub (Jun 8, 2021): > The current Dart SDK version is 2.10.4. > I tried 2.2.1 and it stucked forever. @linsui seems like your dart version is 2.10.4 but your flutter version is fine. You've to update dart to >=2.12.0 separately. Or are you already using dart >= 2.12.0?
Author
Owner

@linsui commented on GitHub (Jun 8, 2021):

The current Dart SDK version is 2.10.4.

This is from an old flutter version. I'm not sure which Dart version is used. The full log is available at https://gitlab.com/linsui/fdroiddata/-/jobs/1321205433 if it's useful.

@linsui commented on GitHub (Jun 8, 2021): > The current Dart SDK version is 2.10.4. This is from an old flutter version. I'm not sure which Dart version is used. The full log is available at https://gitlab.com/linsui/fdroiddata/-/jobs/1321205433 if it's useful.
Author
Owner

@shreyas1599 commented on GitHub (Jun 8, 2021):

Oh ok

  String get _keyword => _controller!.text?.trim() ?? '';
                                      ^
lib/screens/gh_repo.dart:273:54: Warning: Operand of null-aware operation '?.' has type 'GRepoCommit_history' which excludes null.
 - 'GRepoCommit_history' is from 'package:git_touch/graphql/github.data.gql.dart' ('lib/graphql/github.data.gql.dart').
                        ((ref.target as GRepoCommit).history?.totalCount ?? 0)
                                                     ^
lib/screens/gl_search.dart:29:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null.
  String get _keyword => _controller!.text?.trim() ?? '';
                                      ^
lib/screens/gh_search.dart:28:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null.
  String get _keyword => _controller!.text?.trim() ?? '';

These shouldn't cause a problem. They're just warnings. I tried building an android release on my local machine and it works fine. Not sure what the problem is. Did a re-run of the build also not work?

@shreyas1599 commented on GitHub (Jun 8, 2021): Oh ok ``` lib/screens/ge_search.dart:28:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null. String get _keyword => _controller!.text?.trim() ?? ''; ^ lib/screens/gh_repo.dart:273:54: Warning: Operand of null-aware operation '?.' has type 'GRepoCommit_history' which excludes null. - 'GRepoCommit_history' is from 'package:git_touch/graphql/github.data.gql.dart' ('lib/graphql/github.data.gql.dart'). ((ref.target as GRepoCommit).history?.totalCount ?? 0) ^ lib/screens/gl_search.dart:29:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null. String get _keyword => _controller!.text?.trim() ?? ''; ^ lib/screens/gh_search.dart:28:39: Warning: Operand of null-aware operation '?.' has type 'String' which excludes null. String get _keyword => _controller!.text?.trim() ?? ''; ``` These shouldn't cause a problem. They're just warnings. I tried building an android release on my local machine and it works fine. Not sure what the problem is. Did a re-run of the build also not work?
Author
Owner

@linsui commented on GitHub (Jun 8, 2021):

I tried to rerun it but got the same error.

@linsui commented on GitHub (Jun 8, 2021): I tried to rerun it but got the same error.
Author
Owner

@linsui commented on GitHub (Jun 17, 2021):

1.13.0 stuch at

"ca": 4 untranslated message(s).
"hu": 87 untranslated message(s).
"ru": 15 untranslated message(s).
"si": 85 untranslated message(s).
To see a detailed report, use the untranslated-messages-file 
option in the l10n.yaml file:
untranslated-messages-file: desiredFileName.txt
<other option>: <other selection> 
This will generate a JSON format file containing all messages that 
need to be translated.
@linsui commented on GitHub (Jun 17, 2021): 1.13.0 stuch at ``` "ca": 4 untranslated message(s). "hu": 87 untranslated message(s). "ru": 15 untranslated message(s). "si": 85 untranslated message(s). To see a detailed report, use the untranslated-messages-file option in the l10n.yaml file: untranslated-messages-file: desiredFileName.txt <other option>: <other selection> This will generate a JSON format file containing all messages that need to be translated. ```
Author
Owner

@shreyas1599 commented on GitHub (Jun 17, 2021):

@linsui is there any way to test this locally? Do you have any links?

@shreyas1599 commented on GitHub (Jun 17, 2021): @linsui is there any way to test this locally? Do you have any links?
Author
Owner

@linsui commented on GitHub (Jun 17, 2021):

Yes, you can test it with fdroidserver locally. The gitlab CI use the docker image.

@linsui commented on GitHub (Jun 17, 2021): Yes, you can test it with [fdroidserver](https://gitlab.com/fdroid/fdroidserver) locally. The gitlab CI use the docker image.
Author
Owner

@michaelblyons commented on GitHub (Sep 26, 2021):

Please note that the last available F-Droid version does not include #236, so GitHub authentication does not work for new users. They cannot complete the auth flow.

@michaelblyons commented on GitHub (Sep 26, 2021): Please note that the last available F-Droid version does not include #236, so GitHub authentication does not work for new users. They cannot complete the auth flow.
Author
Owner

@RokeJulianLockhart commented on GitHub (Jan 3, 2025):

The last F-Droid build remains from 2021. 1

@RokeJulianLockhart commented on GitHub (Jan 3, 2025): The last F-Droid build remains from 2021. [^1] [^1]: [`f-droid.org/repo/io.github.pd4d10.gittouch_24.apk`](https://f-droid.org/repo/io.github.pd4d10.gittouch_24.apk)
Author
Owner

@linsui commented on GitHub (Jan 3, 2025):

The last version is also from 2021. Obviously this project has been discontinued.

@linsui commented on GitHub (Jan 3, 2025): The last version is also from 2021. Obviously this project has been discontinued.
Author
Owner

@michaelblyons commented on GitHub (May 12, 2025):

I can no longer find Git Touch on F-Droid. They may be willing to accept a fork if someone maintains it. When I asked a year ago, they suggested forking and changing the name, but now it might be fine to keep the name, too. See links in https://github.com/pd4d10/git-touch/issues/292#issuecomment-2602933085

@michaelblyons commented on GitHub (May 12, 2025): I can no longer find Git Touch on F-Droid. They may be willing to accept a fork if someone maintains it. When I asked a year ago, they suggested forking and changing the name, but now it might be fine to keep the name, too. See links in https://github.com/pd4d10/git-touch/issues/292#issuecomment-2602933085
Author
Owner

@linsui commented on GitHub (May 12, 2025):

Git Touch is archived since it's not maintained.

@linsui commented on GitHub (May 12, 2025): Git Touch is archived since it's not maintained.
Author
Owner

@RokeJulianLockhart commented on GitHub (May 12, 2025):

@linsui, the translations are! 1

Image

@RokeJulianLockhart commented on GitHub (May 12, 2025): <!-- > https://github.com/pd4d10/git-touch/issues/239#issuecomment-2872684592 --> @linsui, the translations are! [^1] ![Image](https://github.com/user-attachments/assets/e811445d-5372-4862-8048-c1099d1f4cdc) [^1]: [`pull/247#event-17509737883`](https://github.com/pd4d10/git-touch/pull/247#event-17509737883)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#154