Discussion:
[dart-misc] Whish: Pub: No "packages" directory
Gen
2015-10-21 06:43:43 UTC
Permalink
Hi,

will it be possible to avoid the "packages" directory with the next SDK
1.13.0 dev release ?
As there is the .packages file now, I do not see any reason to keep the
"packages" directory.
--
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-10-21 06:57:55 UTC
Permalink
You can already run `pub get` or `pub upgrade` with `--no-package-symlinks`
to skip the `packages` directory and symlinks creation.
The reason this is not the default behavior is that some things still
depend on `packages` and symlinks.
The most important is probably the test package.
From the issues I have seen, they are working to get this fixed, but I have
no idea what will be shipped in 1.13
Post by Gen
Hi,
will it be possible to avoid the "packages" directory with the next SDK
1.13.0 dev release ?
As there is the .packages file now, I do not see any reason to keep the
"packages" directory.
--
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.
Gen
2015-10-21 07:20:02 UTC
Permalink
Thanks for the reply.
pub upgrade --no-package-symlinks
works well (SDK 1.13.0 dev 7.1) and the test package still works without
the packages directory.
Post by Günter Zöchbauer
You can already run `pub get` or `pub upgrade` with
`--no-package-symlinks` to skip the `packages` directory and symlinks
creation.
The reason this is not the default behavior is that some things still
depend on `packages` and symlinks.
The most important is probably the test package.
From the issues I have seen, they are working to get this fixed, but I
have no idea what will be shipped in 1.13
Post by Gen
Hi,
will it be possible to avoid the "packages" directory with the next SDK
1.13.0 dev release ?
As there is the .packages file now, I do not see any reason to keep the
"packages" directory.
--
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-10-21 07:38:33 UTC
Permalink
Didn't try test for a while without symlinks. Maybe test is already fixed
or it depends on symlinks only for specific configurations.
Post by Gen
Thanks for the reply.
pub upgrade --no-package-symlinks
works well (SDK 1.13.0 dev 7.1) and the test package still works without
the packages directory.
Post by Günter Zöchbauer
You can already run `pub get` or `pub upgrade` with
`--no-package-symlinks` to skip the `packages` directory and symlinks
creation.
The reason this is not the default behavior is that some things still
depend on `packages` and symlinks.
The most important is probably the test package.
From the issues I have seen, they are working to get this fixed, but I
have no idea what will be shipped in 1.13
Post by Gen
Hi,
will it be possible to avoid the "packages" directory with the next SDK
1.13.0 dev release ?
As there is the .packages file now, I do not see any reason to keep the
"packages" directory.
--
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.
Alexander Doroshko
2015-10-21 11:53:11 UTC
Permalink
Dart SDK 1.13 final release will still be generating 'packages' folder
and symlinks by default. A flag can be used to avoid it.
Dart SDK 1.14 will stop doing this from the very first dev edition. Only
.packages file will remain.
Post by Gen
Hi,
will it be possible to avoid the "packages" directory with the next
SDK 1.13.0 dev release ?
As there is the .packages file now, I do not see any reason to keep
the "packages" directory.
--
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.
Gen
2015-10-21 12:07:13 UTC
Permalink
Thanks for the schedule.
Post by Alexander Doroshko
Dart SDK 1.13 final release will still be generating 'packages' folder
and symlinks by default. A flag can be used to avoid it.
Dart SDK 1.14 will stop doing this from the very first dev edition. Only
.packages file will remain.
Post by Gen
Hi,
will it be possible to avoid the "packages" directory with the next
SDK 1.13.0 dev release ?
As there is the .packages file now, I do not see any reason to keep
the "packages" directory.
--
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.
Kevin Moore
2015-10-22 00:08:50 UTC
Permalink
Update on the schedule:

- Part of making this transition work is allowing isolates to interact
with this new package model.
- We've experimented with some APIs, but we've realized that our current
implementation for 1.13 is not good enough.
- We're going to spend the early part of 1.14 trying to get the
package/isolate APIs clean and logical
- We'll expose the API in pub to stop generating the package symlinks in
1.14, but we'll likely not get to changing the default until after 1.14
Post by Gen
Thanks for the schedule.
Post by Alexander Doroshko
Dart SDK 1.13 final release will still be generating 'packages' folder
and symlinks by default. A flag can be used to avoid it.
Dart SDK 1.14 will stop doing this from the very first dev edition. Only
.packages file will remain.
Post by Gen
Hi,
will it be possible to avoid the "packages" directory with the next
SDK 1.13.0 dev release ?
As there is the .packages file now, I do not see any reason to keep
the "packages" directory.
--
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...