Closed sigurdm closed 7 months ago
Im also not sure why I'm constantly getting [UNKNOWN PLATFORMS] when I publish my package?
When I run $pana locally, it shows supported platforms:
(## ✓ Platform support (20 / 20)
There is some verbage noting package geolocator/geolocator.dart doesnt support the platform howover in pub.dev, geolocator package supports all platforms????
Here is the pana output when running locally:
WARNING Flutter SDK path was not specified, pana will use the default Dart SDK to run dart analyze
on Flutter packages.
INFO Running dart.exe --version
...
INFO Running flutter.bat --no-version-check --version --machine
...
INFO Running git rev-parse --show-toplevel
...
INFO Running flutter.bat --no-version-check pub pub get --no-example
...
INFO Running flutter.bat --no-version-check pub pub get --no-example
...
INFO Running flutter.bat --no-version-check pub pub outdated --json --up-to-date --no-dev-dependencies --no-dependency-overrides
...
INFO Analyzing package...
INFO Running dart.exe analyze --format machine lib
...
INFO Running git init
...
INFO Running git remote add origin https://github.com/AppDaddy-Software-Solutions-Inc/Flutter-Markup-Language
...
INFO Running git remote show origin
...
INFO Running git fetch --depth 1 --no-recurse-submodules origin main
...
INFO Running git ls-tree -r --name-only --full-tree origin/main
...
INFO Unable to read "example/pubspec.yaml".
Path "example/pubspec.yaml" is not normalized.
INFO Running git show origin/main:pubspec.yaml
...
INFO Running dart.exe format --output=none --set-exit-if-changed C:\Users\jeff\AppData\Local\Temp\pana_d17dd08e\.\lib
...
FINE Downloading: https://pub.dartlang.org/api/packages/audioplayers
FINE Downloading: https://pub.dartlang.org/api/packages/intl
INFO Running dart.exe pub global activate dartdoc
...
INFO Running flutter.bat --no-version-check pub global run dartdoc --output C:\Users\jeff\AppData\Local\Temp\pana.1710846528695.61fc232a\doc --sanitize-html --max-file-count 10000000 --max-total-size 2147483648 --no-validate-links
...
pubspec.yaml
README.md
CHANGELOG.md
871 out of 5867 API elements (14.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
Some symbols that are missing documentation: alarm_model
, alarm_model.AlarmModel
, alarm_model.AlarmModel.AlarmModel
, alarm_model.AlarmModel.alarming
, alarm_model.AlarmModel.deserialize
.
These issues are present but do not affect the score, because they may not originate in your package:
Found 393 issues. Showing the first 2:
Package | Constraint | Compatible | Latest |
---|---|---|---|
audioplayers |
^5.2.1 |
5.2.1 | 6.0.0 |
camera |
^0.10.3 |
0.10.5+9 | 0.10.5+9 |
camera_windows |
^0.2.1+9 |
0.2.1+9 | 0.2.1+9 |
collection |
^1.18.0 |
1.18.0 | 1.18.0 |
community_charts_common |
^1.0.1 |
1.0.2 | 1.0.2 |
community_charts_flutter |
^1.0.1 |
1.0.2 | 1.0.2 |
connectivity_plus |
^5.0.2 |
5.0.2 | 5.0.2 |
cross_file |
^0.3.3+1 |
0.3.4+1 | 0.3.4+1 |
crypto |
^3.0.2 |
3.0.3 | 3.0.3 |
decimal |
^2.3.3 |
2.3.3 | 2.3.3 |
expressions |
0.2.5+1 |
0.2.5+1 | 0.2.5+1 |
file_picker |
^6.2.0 |
6.2.0 | 6.2.0 |
firebase_auth |
^4.9.0 |
4.17.9 | 4.17.9 |
firebase_core |
^2.15.1 |
2.27.1 | 2.27.1 |
fl_chart |
^0.66.1 |
0.66.2 | 0.66.2 |
flex_color_picker |
^3.4.0 |
3.4.1 | 3.4.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_beacon |
^0.5.1 |
0.5.1 | 0.5.1 |
flutter_code_editor |
^0.3.1 |
0.3.1 | 0.3.1 |
flutter_highlight |
^0.7.0 |
0.7.0 | 0.7.0 |
flutter_image_transform |
^1.0.1 |
1.0.1 | 1.0.1 |
flutter_map |
^6.1.0 |
6.1.0 | 6.1.0 |
flutter_multi_formatter |
^2.12.4 |
2.12.4 | 2.12.4 |
flutter_nfc_kit |
^3.4.2 |
3.4.2 | 3.4.2 |
flutter_svg |
^2.0.10+1 |
2.0.10+1 | 2.0.10+1 |
flutter_typeahead |
^5.2.0 |
5.2.0 | 5.2.0 |
geolocator |
^11.0.0 |
11.0.0 | 11.0.0 |
google_fonts |
^6.2.1 |
6.2.1 | 6.2.1 |
google_maps_flutter |
^2.6.0 |
2.6.0 | 2.6.0 |
google_maps_flutter_web |
^0.5.6+2 |
0.5.6+2 | 0.5.6+2 |
google_mlkit_barcode_scanning |
^0.10.0 |
0.10.0 | 0.10.0 |
google_mlkit_text_recognition |
^0.11.0 |
0.11.0 | 0.11.0 |
highlight |
^0.7.0 |
0.7.0 | 0.7.0 |
hive |
^2.2.3 |
2.2.3 | 2.2.3 |
http |
^1.2.1 |
1.2.1 | 1.2.1 |
image |
^4.0.17 |
4.1.7 | 4.1.7 |
intl |
^0.18.0 |
0.18.1 | 0.19.0 |
jaguar_jwt |
^3.0.0 |
3.0.0 | 3.0.0 |
jiffy |
^6.2.1 |
6.2.1 | 6.2.2 |
latlong2 |
^0.9.0 |
0.9.0 | 0.9.0 |
mime |
^1.0.4 |
1.0.5 | 1.0.5 |
mqtt_client |
^10.2.0 |
10.2.0 | 10.2.0 |
ndef |
^0.3.1 |
0.3.3 | 0.3.3 |
open_filex |
^4.2.2 |
4.4.0 | 4.4.0 |
path |
^1.8.2 |
1.9.0 | 1.9.0 |
path_provider |
^2.0.11 |
2.1.2 | 2.1.2 |
perfect_freehand |
^2.3.2 |
2.3.2 | 2.3.2 |
petitparser |
^6.0.2 |
6.0.2 | 6.0.2 |
pluto_grid_plus |
^8.3.0 |
8.3.0 | 8.3.0 |
pluto_grid_plus_export |
^1.0.4 |
1.0.4 | 1.0.4 |
pointycastle |
^3.7.3 |
3.7.4 | 3.7.4 |
provider |
^6.0.3 |
6.1.2 | 6.1.2 |
quiver |
^3.2.1 |
3.2.1 | 3.2.1 |
stream_channel |
^2.1.1 |
2.1.2 | 2.1.2 |
universal_html |
^2.2.4 |
2.2.4 | 2.2.4 |
url_launcher |
^6.2.5 |
6.2.5 | 6.2.5 |
uuid |
^4.3.3 |
4.3.3 | 4.3.3 |
validators |
^3.0.0 |
3.0.0 | 3.0.0 |
video_player |
^2.8.3 |
2.8.3 | 2.8.3 |
video_player_win |
^2.3.5 |
2.3.5 | 2.3.5 |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 |
web_socket_channel |
^2.2.0 |
2.4.4 | 2.4.4 |
webview_flutter |
^4.7.0 |
4.7.0 | 4.7.0 |
xml |
^6.5.0 |
6.5.0 | 6.5.0 |
xml2json |
^6.2.2 |
6.2.2 | 6.2.2 |
zxing_lib |
^1.1.2 |
1.1.2 | 1.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Points: 100/140.
@JeffOlajos: It seems like analysis is timing out for some reason. If you have some time to debug this, you may run the exact image pub.dev is running using this tool (otherwise we should also find some time to debug such timouts, but it may not be an immediate priority): https://github.com/dart-lang/pub-dev/blob/master/pkg/pub_worker/tool/trypkg.dart
Otherwise it seems like analysis has not been run at all.
See: https://pub.dev/packages/fml/score