Support for pub packages #8842

Closed
opened 2025-11-02 08:20:28 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @CodeDoctorDE on GitHub (Apr 18, 2022).

Feature Description

I found the new packages system very useful.
But currently it doesn't have the option to host a private pub server. Dart has the option to use private repositories but they don't support updating the package automatically and resolve versions based on tags.

Some documentation, how to integrate it:

Screenshots

No response

Originally created by @CodeDoctorDE on GitHub (Apr 18, 2022). ### Feature Description I found the new packages system very useful. But currently it doesn't have the option to host a private pub server. Dart has the option to use private repositories but they don't support updating the package automatically and resolve versions based on tags. Some documentation, how to integrate it: * https://medium.com/dartlang/hosting-a-private-dart-package-repository-774c3c51dff9 * https://dart.dev/tools/pub/custom-package-repositories * https://github.com/dart-lang/pub/blob/master/doc/repository-spec-v2.md ### Screenshots _No response_
GiteaMirror added the topic/packagestype/featuretype/proposal labels 2025-11-02 08:20:28 -06:00
Author
Owner

@lunny commented on GitHub (Apr 18, 2022):

Looks like there is no owner concept and router /api/packages has been used.

@lunny commented on GitHub (Apr 18, 2022): Looks like there is no owner concept and router `/api/packages` has been used.
Author
Owner

@CodeDoctorDE commented on GitHub (Apr 18, 2022):

Maybe it can be solved by having an own registry per org/user.

@CodeDoctorDE commented on GitHub (Apr 18, 2022): Maybe it can be solved by having an own registry per org/user.
Author
Owner

@CodeDoctorDE commented on GitHub (Apr 22, 2022):

Like with ruby gems https://docs.gitea.io/en-us/packages/rubygems/

@CodeDoctorDE commented on GitHub (Apr 22, 2022): Like with ruby gems https://docs.gitea.io/en-us/packages/rubygems/
Author
Owner

@KN4CK3R commented on GitHub (Jul 29, 2022):

I don't understand this request. Are you requesting the package type "Pub" which is usable with Flutter and Dart?

@KN4CK3R commented on GitHub (Jul 29, 2022): I don't understand this request. Are you requesting the package type "Pub" which is usable with Flutter and Dart?
Author
Owner

@CodeDoctorDE commented on GitHub (Jul 29, 2022):

Yes, a selfhosted version of pub.dev

@CodeDoctorDE commented on GitHub (Jul 29, 2022): Yes, a selfhosted version of pub.dev
Author
Owner

@KN4CK3R commented on GitHub (Jul 31, 2022):

Added in #20560

@KN4CK3R commented on GitHub (Jul 31, 2022): Added in #20560
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8842