pub server

110 views
Skip to first unread message

Shlomo Belleli

unread,
Oct 28, 2020, 1:42:13 PM10/28/20
to Dart Misc
I think that it is an impossible situation for a product that is declared as "batteries included" not to have a simple functionality like a team / personal pub server / or another HTTP server that speaks the same API
GIT, pub.dev, and GitHub are more-complicated solutions for small teams.


Daniel Varga

unread,
Oct 28, 2020, 2:08:56 PM10/28/20
to mi...@dartlang.org
I'd argue that git is the simplest. But anyway, is this what you were looking for? https://pub.dev/packages/unpub

Hope that's helpful.

On Wed, Oct 28, 2020, 18:42 Shlomo Belleli <shlomo....@gmail.com> wrote:
I think that it is an impossible situation for a product that is declared as "batteries included" not to have a simple functionality like a team / personal pub server / or another HTTP server that speaks the same API
GIT, pub.dev, and GitHub are more-complicated solutions for small teams.


--
For more ways to connect visit https://dart.dev/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/a27846be-8c07-4181-bcbe-32d25518a1f5n%40dartlang.org.

Bob Nystrom

unread,
Oct 28, 2020, 4:34:52 PM10/28/20
to General Dart Discussion
On Wed, Oct 28, 2020 at 10:42 AM Shlomo Belleli <shlomo....@gmail.com> wrote:
I think that it is an impossible situation for a product that is declared as "batteries included" not to have a simple functionality like a team / personal pub server / or another HTTP server that speaks the same API
GIT, pub.dev, and GitHub are more-complicated solutions for small teams.

The pub.dev server is itself open source and you're welcome to run your own instance: https://github.com/dart-lang/pub-dev

If you want something simpler, you could try starting with: https://pub.dev/packages/pub_server

The server API is really not very complicated (or, at least it wasn't when I last worked on it which was some time ago), so it shouldn't be too hard to get something up and running.

– bob

Michael Thomsen

unread,
Oct 30, 2020, 6:41:44 AM10/30/20
to mi...@dartlang.org

--
For more ways to connect visit https://dart.dev/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.

Shlomo Belleli

unread,
Oct 30, 2020, 10:09:19 AM10/30/20
to Dart Misc, Michael Thomsen
Hi all
I will check all solutions you all mentioned here, and choose the one that can suit our situation
But I still think that this ability must be included in the SDK, 
Thank you

Shlomo Belleli

unread,
Nov 3, 2020, 6:27:11 AM11/3/20
to Dart Misc, Shlomo Belleli, Michael Thomsen
Hi
cloudsmith - to pay 99 $ monthly for this function is too much (over 500 MB), and the site/solution is too complicated,  it adds more complications to a very simple request, a hosting service is a relation that two sides need to maintain, its too much!
unpub - we installed it, but no docs, how we publish packages to this server? how we expose them as dependencies? with the right docs, it could be a good solution.
Bob's suggestionhttps://pub.dev/packages/pub_server or https://github.com/dart-lang/pub-dev we will check it, but it takes us from our main focus (our application)

Another question - the pubspec file got a GIT option, is this option is only for GIT repositories or we can use other VCS systems instead?

Thank you

Bob Nystrom

unread,
Nov 5, 2020, 12:34:25 PM11/5/20
to General Dart Discussion, Shlomo Belleli, Michael Thomsen
On Tue, Nov 3, 2020 at 3:27 AM Shlomo Belleli <shlomo....@gmail.com> wrote:
Another question - the pubspec file got a GIT option, is this option is only for GIT repositories or we can use other VCS systems instead?

Pub only supports Git at the moment. This may be the first time I've seen any user request a VCS other than Git, so there doesn't seem to be much demand for other systems.

– bob

Lama M

unread,
Dec 9, 2020, 3:15:05 PM12/9/20
to Dart Misc, Bob Nystrom, shlomo....@gmail.com, Michael Thomsen

Does dart support Abstract data type?

Randal L. Schwartz

unread,
Dec 9, 2020, 3:25:28 PM12/9/20
to Lama M, Dart Misc, Bob Nystrom, shlomo....@gmail.com, Michael Thomsen
>>>>> "Lama" == Lama M <lmco...@gmail.com> writes:

Lama> Does dart support Abstract data type?

Yes. I suggest you go through the Language Tour
<https://dart.dev/guides/language/language-tour> to answer many more
questions at this level.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/Dart consulting, Technical writing, Comedy, etc. etc.
Still trying to think of something clever for the fourth line of this .sig
Reply all
Reply to author
Forward
0 new messages