I am building a pub server. When does the client send the name and version of the package and how can I access it?

This page summarizes the projects mentioned and recommended in the original post on /r/dartlang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • pub

    The pub command line tool

  • As u/Which-Adeptness6908 already pointed out, the repository specification is small, and that's all you need to implement a server: https://github.com/dart-lang/pub/blob/master/doc/repository-spec-v2.md

  • unpub

    Self-hosted private Dart Pub server for Enterprise

  • There are multiple servers/mirrors already shared on pub.dev, without any particular order or selection, I've found these with a simple search (NOTE: I'm not really familiar with the particular details of these, not endorsing, just pointing out examples): https://pub.dev/packages/unpub https://pub.dev/packages/repo_pub_server https://pub.dev/packages/pub_mirror

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • pub-dev

    The pub.dev website

  • These are fields that are specific to your upload mechanism. pub.dev uses an upload that puts the archive files directly into a google cloud bucket, and there are fields that needs to be prepared for that. The actual code for the live data is here: https://github.com/dart-lang/pub-dev/blob/master/app/lib/package/upload_signer_service.dart#L84-L92

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts