git_lfs_server 0.0.1 copy "git_lfs_server: ^0.0.1" to clipboard
git_lfs_server: ^0.0.1 copied to clipboard

A simple git-lfs server.

0
likes
80/ 160
pub points
26
downloads

We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

3 out of 22 API elements (13.6 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: auth_service, auth_service.tag, git_lfs, git_lfs.Operation, git_lfs.StatusCode.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:git_lfs_server/auth/auth_service.dart that imports:
  • package:grpc/grpc.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:git_lfs_server/auth/auth_service.dart that imports:
  • package:grpc/grpc.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:grpc/src/shared/status.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits_io.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 14 issues. Showing the first 2:

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.14.4 <3.0.0' don't guarantee it.

lib/auth/auth_service.dart:76:49

   ╷
76 │     if (request.operation != Operation.download.name) {
   │                                                 ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/auth/auth_service.dart

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.14.4 <3.0.0' don't guarantee it.

lib/git_lfs.dart:5:40

  ╷
5 │ final operations = [Operation.download.name, Operation.upload.name];
  │                                        ^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/git_lfs.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
grpc ^3.0.2 3.2.4 4.0.1
http_multi_server ^3.2.0 3.2.2 3.2.2
logging ^1.0.2 1.3.0 1.3.0
protobuf ^2.0.1 2.1.0 3.1.0
shelf ^1.2.0 1.4.2 1.4.2
shelf_router ^1.0.0 1.1.4 1.1.4
shelf_static ^1.0.0 1.1.3 1.1.3
tuple ^2.0.0 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
google_identity_services_web - 0.3.3 0.3.3
googleapis_auth - 1.6.0 1.6.0
http - 1.2.2 1.2.2
http2 - 2.3.1 2.3.1
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.0.2` on grpc does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions grpc to update the constraint.

The constraint `^2.0.1` on protobuf does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions protobuf to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • UNDEFINED_METHOD - lib/http_server/http_server.dart:203:23 - The method 'badRequest' isn't defined for the type 'Response'.
  • UNDEFINED_METHOD - lib/http_server/http_server.dart:207:23 - The method 'badRequest' isn't defined for the type 'Response'.
  • UNDEFINED_METHOD - lib/http_server/http_server.dart:212:23 - The method 'badRequest' isn't defined for the type 'Response'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
80
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A simple git-lfs server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

grpc, http_multi_server, logging, protobuf, shelf, shelf_router, shelf_static, tuple

More

Packages that depend on git_lfs_server