Discussion:
[dart-misc] Private pub server implementation (Speakeasy)
Don Olmstead
2015-09-02 17:28:54 UTC
Permalink
I started work on a private pub server implementation off of the pub_api
called Speakeasy, https://github.com/donny-dont/speakeasy. Its meant for
corporate deployments for use cases like wanting to publish private
packages, or for CI to have a caching server right next to the CI system
which improves latency and handles the rare case where pub.dartlang.org is
down.

Its early days, the current implementation just took out the examples
directory in pub_api and then started adding configuration options. I
wanted to get a read on what people would want out of a private pub server
in terms of configuration. Currently I'm following
Sinopia, https://github.com/rlidwka/sinopia, a private NPM registry which
I've had a lot of success with at work. I was wondering what people's use
cases were for something like this and what features you might like to see.
One big thing I think is missing from pub currently is the ability to add
webhooks so I wanted to add that capability to Speakeasy. Other than that
I'm pretty open to ideas and collaborators.

Any feedback is appreciated!

Thanks!
Don
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Natalie Weizenbaum' via Dart Misc
2015-09-02 20:43:10 UTC
Permalink
Great name :).
Post by Don Olmstead
I started work on a private pub server implementation off of the pub_api
called Speakeasy, https://github.com/donny-dont/speakeasy. Its meant for
corporate deployments for use cases like wanting to publish private
packages, or for CI to have a caching server right next to the CI system
which improves latency and handles the rare case where pub.dartlang.org
is down.
Its early days, the current implementation just took out the examples
directory in pub_api and then started adding configuration options. I
wanted to get a read on what people would want out of a private pub server
in terms of configuration. Currently I'm following Sinopia,
https://github.com/rlidwka/sinopia, a private NPM registry which I've had
a lot of success with at work. I was wondering what people's use cases were
for something like this and what features you might like to see. One big
thing I think is missing from pub currently is the ability to add webhooks
so I wanted to add that capability to Speakeasy. Other than that I'm pretty
open to ideas and collaborators.
Any feedback is appreciated!
Thanks!
Don
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Don Olmstead
2015-09-02 21:01:04 UTC
Permalink
Thanks! I thought it was clever :)

On Wed, Sep 2, 2015 at 1:43 PM, 'Natalie Weizenbaum' via Dart Misc <
Post by 'Natalie Weizenbaum' via Dart Misc
Great name :).
Post by Don Olmstead
I started work on a private pub server implementation off of the pub_api
called Speakeasy, https://github.com/donny-dont/speakeasy. Its meant for
corporate deployments for use cases like wanting to publish private
packages, or for CI to have a caching server right next to the CI system
which improves latency and handles the rare case where pub.dartlang.org
is down.
Its early days, the current implementation just took out the examples
directory in pub_api and then started adding configuration options. I
wanted to get a read on what people would want out of a private pub server
in terms of configuration. Currently I'm following Sinopia,
https://github.com/rlidwka/sinopia, a private NPM registry which I've
had a lot of success with at work. I was wondering what people's use cases
were for something like this and what features you might like to see. One
big thing I think is missing from pub currently is the ability to add
webhooks so I wanted to add that capability to Speakeasy. Other than that
I'm pretty open to ideas and collaborators.
Any feedback is appreciated!
Thanks!
Don
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Dániel Varga
2015-09-03 14:19:26 UTC
Permalink
Great idea (and awesome name)!

I would definitely use a private pub server. I have got a few questions:
While I think the answer will be yes, do you plan on supporting package
versioning for private packages?
Will it be a drop-in replacement for pub?
What steps can the Speakeasy administrator take to make sure that the
source code won't get published by accident?

Thanks,
Daniel
Post by Don Olmstead
Thanks! I thought it was clever :)
On Wed, Sep 2, 2015 at 1:43 PM, 'Natalie Weizenbaum' via Dart Misc <
Post by 'Natalie Weizenbaum' via Dart Misc
Great name :).
Post by Don Olmstead
I started work on a private pub server implementation off of the pub_api
called Speakeasy, https://github.com/donny-dont/speakeasy. Its meant
for corporate deployments for use cases like wanting to publish private
packages, or for CI to have a caching server right next to the CI system
which improves latency and handles the rare case where pub.dartlang.org
is down.
Its early days, the current implementation just took out the examples
directory in pub_api and then started adding configuration options. I
wanted to get a read on what people would want out of a private pub server
in terms of configuration. Currently I'm following Sinopia,
https://github.com/rlidwka/sinopia, a private NPM registry which I've
had a lot of success with at work. I was wondering what people's use cases
were for something like this and what features you might like to see. One
big thing I think is missing from pub currently is the ability to add
webhooks so I wanted to add that capability to Speakeasy. Other than that
I'm pretty open to ideas and collaborators.
Any feedback is appreciated!
Thanks!
Don
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Günter Zöchbauer
2015-09-03 17:13:44 UTC
Permalink
You can prevent accidental publishing
http://stackoverflow.com/questions/25131100/how-to-prevent-accidental-publishing-of-a-private-pub-package/25131121#25131121

Instead of 'none' you can specify a server where the package is allowed to
be published.
Not sure this is what you are asking for.
Post by Dániel Varga
Great idea (and awesome name)!
While I think the answer will be yes, do you plan on supporting package
versioning for private packages?
Will it be a drop-in replacement for pub?
What steps can the Speakeasy administrator take to make sure that the
source code won't get published by accident?
Thanks,
Daniel
Post by Don Olmstead
Thanks! I thought it was clever :)
On Wed, Sep 2, 2015 at 1:43 PM, 'Natalie Weizenbaum' via Dart Misc <
Post by 'Natalie Weizenbaum' via Dart Misc
Great name :).
Post by Don Olmstead
I started work on a private pub server implementation off of the
pub_api called Speakeasy, https://github.com/donny-dont/speakeasy. Its
meant for corporate deployments for use cases like wanting to publish
private packages, or for CI to have a caching server right next to the CI
system which improves latency and handles the rare case where
pub.dartlang.org is down.
Its early days, the current implementation just took out the examples
directory in pub_api and then started adding configuration options. I
wanted to get a read on what people would want out of a private pub server
in terms of configuration. Currently I'm following Sinopia,
https://github.com/rlidwka/sinopia, a private NPM registry which I've
had a lot of success with at work. I was wondering what people's use cases
were for something like this and what features you might like to see. One
big thing I think is missing from pub currently is the ability to add
webhooks so I wanted to add that capability to Speakeasy. Other than that
I'm pretty open to ideas and collaborators.
Any feedback is appreciated!
Thanks!
Don
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Don Olmstead
2015-09-03 19:00:02 UTC
Permalink
Right what Gunter said for preventing public publishing. You'd just want
that in your pubspec and you're good to go.

In terms of versioning it does support it out of the box as I'm
piggybacking on https://github.com/dart-lang/pub_server which is what the
pub server uses in the wild. The problem with running a server on your own
is that there's a dependence on app engine which is not what you want for
an on prem install.

If you have any other specific asks feel free to open an issue on the
tracker for more discussion.
Post by Günter Zöchbauer
You can prevent accidental publishing
http://stackoverflow.com/questions/25131100/how-to-prevent-accidental-publishing-of-a-private-pub-package/25131121#25131121
Instead of 'none' you can specify a server where the package is allowed to
be published.
Not sure this is what you are asking for.
Post by Dániel Varga
Great idea (and awesome name)!
While I think the answer will be yes, do you plan on supporting package
versioning for private packages?
Will it be a drop-in replacement for pub?
What steps can the Speakeasy administrator take to make sure that the
source code won't get published by accident?
Thanks,
Daniel
Post by Don Olmstead
Thanks! I thought it was clever :)
On Wed, Sep 2, 2015 at 1:43 PM, 'Natalie Weizenbaum' via Dart Misc <
Post by 'Natalie Weizenbaum' via Dart Misc
Great name :).
Post by Don Olmstead
I started work on a private pub server implementation off of the
pub_api called Speakeasy, https://github.com/donny-dont/speakeasy.
Its meant for corporate deployments for use cases like wanting to publish
private packages, or for CI to have a caching server right next to the CI
system which improves latency and handles the rare case where
pub.dartlang.org is down.
Its early days, the current implementation just took out the examples
directory in pub_api and then started adding configuration options. I
wanted to get a read on what people would want out of a private pub server
in terms of configuration. Currently I'm following Sinopia,
https://github.com/rlidwka/sinopia, a private NPM registry which I've
had a lot of success with at work. I was wondering what people's use cases
were for something like this and what features you might like to see. One
big thing I think is missing from pub currently is the ability to add
webhooks so I wanted to add that capability to Speakeasy. Other than that
I'm pretty open to ideas and collaborators.
Any feedback is appreciated!
Thanks!
Don
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...