The readme in the pub-dartlang repo says that it can't be run locally because of the app-engine dependency but that the code can be used as reference when creating your custom implementation.The protocol is not complicated (JSON-based)
checkouti will perhaphs meet your needs
If we decide to start using Dart for our projects, we're going to end up with a lot of internal packages that we need to be able to reference from other projects without publishing them publicly on pub.dartlang.org. We already do this with .NET for our NuGet packages using the official NuGet Server package.I found that the pub.dartlang.org code is on GitHub; but I have two questions:1. Is this easily runnable without AppEngine? We would want to host it within our office on a Windows box, and the AppEngine SDK seems like a weird way to do it (since it runs interactively in a logged on session).
dependencies: transmogrify: hosted: name: transmogrify url: http://your-package-server.com version: '>=0.4.0 <1.0.0'
If it's not complicated; seems kinda silly Google don't provide one. Doesn't make sense for every company wanted a private feed to have to implement it themselves; it's just another stumbling block for companies :(
If it's not complicated; seems kinda silly Google don't provide one. Doesn't make sense for every company wanted a private feed to have to implement it themselves; it's just another stumbling block for companies :(It's really a question of time. Our main mission is to do things that benefit all pub users, and we already have our own server that works. Even if we were to write a new one in, say, Dart, we'd want to write one that we'd use—which would probably mean also being hosted on AppEngine.
Well; I must say that sounds kinda silly. If you were going to go to the effort of rewriting it in, say, Dart; you should really think about how beneficial it would be for companies if it was also hostable locally too.
You should really think about, if it is worth while implementing a private pub instance. If you are in a big company it does not make sence to force all teams to use your central components, because they have different requirements and it would slow down their productivity if they would have to use components which do not fit their needs 100 percent.
If you are in a small company you could choose different approaches like organizing shared libraries in a common structure.
--
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+uns...@dartlang.org.
A pub server implementation has to store packages somewhere, right? We could, I suppose, use raw dart:io and write directly to the file system, but once you start thinking about querying, searching, performance, logging, etc., you really want something better than just bare file IO.That means you have to pick some kind of back-end datastore. And that means, yes, you are dependent on that datastore platform. We could pick MongoDB, or MySQL, or whatever, and users would just as rightfully object to being locked into one of those. The current implementation uses AppEngine because AppEngine was a pretty natural answer for a managed, cloud hosted application written by a bunch of Googlers.It would be possible to write some kind of back-end agnostic server with a pluggable back-end layer, but that's a complex undertaking. The server itself is extremely simple. It's a tiny vanilla CRUD app. It's probably easier to just rewrite it (maybe reusing some of the front-end code) for each back-end than to try to make a generic one.
You should really think about, if it is worth while implementing a private pub instance. If you are in a big company it does not make sence to force all teams to use your central components, because they have different requirements and it would slow down their productivity if they would have to use components which do not fit their needs 100 percent.
If you are in a small company you could choose different approaches like organizing shared libraries in a common structure.
You can host the libraries in a self-hosted git repository too if you need to. Plus you get versioning and access control (almost) for free. I already use a git repo for libraries that I don't want to put on pub. The only thing missing is robust versioning queries.
--
You can host the libraries in a self-hosted git repository too if you need to. Plus you get versioning and access control (almost) for free. I already use a git repo for libraries that I don't want to put on pub. The only thing missing is robust versioning queries.
What happened to Dart being "batteries included"? More time should be spent making Dart easier to adopt/sell :(
Worth remembering that in Java there is nothing like pub that is provided by the Java team.
Worth remembering that in Java there is nothing like pub that is provided by the Java team.
See also: Go, Ruby, Python, PHP, C# (until Win 10, I think?), C, C++, Lua, etc.