-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add package:record_use
with JSON storage
#1479
Conversation
Package publishing
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR HealthChangelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
License Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
Package publish validation ✔️
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is going to need a number of iterations, but let's start landing & iterating.
lgtm with comments
Actually, for our iteration speed and also conceptually, it may actually make sense for this Once the format is stable we could move it here (if there's a reason for it) @mosuem wdyt? |
But we would still publish it, right? Also, do we have any restrictions on adding packages to the SDK? I don't want to start any discussions there. |
Of course we can publish it.
Not AFAIK |
This package provides (de-)serialization for recorded usages (formerly known as resource identifiers). Adding to the SDK packages for faster development for now - to be moved to dart-lang/ on Github in the future. See also the review at dart-lang/native#1479. Change-Id: I4796bbf5616f64ce700a1bc59f279883acb36263 Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/383340 Commit-Queue: Moritz Sümmermann <[email protected]> Reviewed-by: Martin Kustermann <[email protected]>
Update: Landing as https://dart-review.googlesource.com/c/sdk/+/383340 instead.
While this feature is under development, we should not over-complicate things and go with JSON as a storage format. Once we have a working feature behind an experimental flag, we should re-evaluate if other formats such as protobuf make more sense. Same goes for the API, which we should evolve while testing use cases.
This package will be imported into the SDK and used by the vm and dart2js.
After this is merged, import this package into g3, and then merge the corresponding SDK CL.
TODO: update https://dart-review.googlesource.com/c/sdk/+/369620 to this PR.
cc @dcharkes
Contribution guidelines:
dart format
.Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.