git based dependencies are a great start. However I imagine as you scale up then you start running into a problem with lots of projects having hard coded git urls. What happens if you want to reorganize your git repos? You'd have to edit every project that depends on it.
Strikes me that the sort of indirection that pub gives you starts being useful. Ie private pub servers. This is similar to running local maven repos which is very common in orgs.
Potentially acting as local caches for pub.dartlang might be useful too particularly in conservative orgs like banks that want to restrict what libs you can use (typically due to licenses)
Any thought gone into how this might work? I know you can run a local pub server. Is that one expected use of it?
A
Yeah seems that hosted dependencies with a local pub server might fit the bill. Be good to have some doco around how the dart team envisages how this would be set up
On Wednesday, 15 January 2014 17:21:07 UTC+11, Günter Zöchbauer wrote:There was a question lately on SO how to build your own pub server.I'm courious too what options are available.
On Wednesday, January 15, 2014 5:22:00 AM UTC+1, Anders Holmgren wrote:I've been thinking about how dart development might scale in a reasonable sized org.git based dependencies are a great start. However I imagine as you scale up then you start running into a problem with lots of projects having hard coded git urls. What happens if you want to reorganize your git repos? You'd have to edit every project that depends on it.
Strikes me that the sort of indirection that pub gives you starts being useful. Ie private pub servers. This is similar to running local maven repos which is very common in orgs.
Potentially acting as local caches for pub.dartlang might be useful too particularly in conservative orgs like banks that want to restrict what libs you can use (typically due to licenses)
Any thought gone into how this might work? I know you can run a local pub server. Is that one expected use of it?
A
--
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.
Pub actually has the ability to server packages from the file system, we utilize this in our own testing scripts, but afaik there is no easy way to have a local pub server running that servers up some set of packages, Bob can elaborate on this.