dart-lang / pub

The pub command line tool
https://dart.dev/tools/pub/cmd
BSD 3-Clause "New" or "Revised" License
1.04k stars 229 forks source link

Support GitHub Packages #2632

Open softmarshmallow opened 4 years ago

softmarshmallow commented 4 years ago

actually, guthub packages should support pub. anyway, It will be nice to create ticket/issue for this, and get some updates for this!

Any plans for contacting github for this? officially from dart team?

jonasfj commented 4 years ago

There is a repository specification here: https://github.com/dart-lang/pub/blob/master/doc/repository-spec-v2.md

But it's unclear to me what the use-cases for this is?

softmarshmallow commented 4 years ago

It's not shown from drop down menu by default from github. didn't know it exists.

stefandevo commented 4 years ago

Because of missing authentication features of current pub implementation for get and publish it was not possible to build a secure package repository for Github. With this PR https://github.com/dart-lang/pub/pull/2654 it will. Once this is merged, Github can be contacted and I am sure other players in the field of private packages can follow.

sigurdm commented 1 year ago

We can now publish from github, and authorize with custom repositories with dart pub token add.

Maybe this should be opened with github - there is not much we can do in the client.