Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Regenerate protos and update protobuf constraint #182

Merged
merged 4 commits into from
Sep 10, 2024

Conversation

sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Sep 5, 2024

Improves/changes the regeneration script:

  • Use the protoc_plugin from the pubspec.yaml - so the constraint is
    fixed
  • Move it to tool/ for better discovery.
  • Mention in README.md for better discovery.
  • Clone into tmp/ so we don't have to redownload everything
  • Compile all protos in one command (much faster)
  • Use dart format instead of dartfmt (actually works on modern SDK).

Prepares for a new publication.

Improves/changes the regeneration script:
* Use the protoc_plugin from the pubspec.yaml - so the constraint is
  fixed
* Move it to `tool/` for better discovery.
* Mention in `README.md` for better discovery.
* Clone into `tmp/` so we don't have to redownload everything
* Compile all protos in one command (much faster)
* Use `dart format` instead of `dartfmt` (actually works on modern SDK).

Prepares for a new publication.
@sigurdm sigurdm force-pushed the adjust_protobuf_upper_bound branch from a5c37e2 to 878fad6 Compare September 6, 2024 08:29
@sigurdm sigurdm changed the title Allow newer protobuf versions Regenerate protos and update protobuf constraint Sep 6, 2024
@sigurdm sigurdm requested a review from jonasfj September 6, 2024 11:21
@sigurdm sigurdm merged commit d9587b8 into dart-archive:master Sep 10, 2024
3 checks passed
devoncarew pushed a commit to dart-lang/labs that referenced this pull request Oct 1, 2024
…ine#182)

* Allow newer protobuf versions

* Regenerate protos and update protobuf constraint

Improves/changes the regeneration script:
* Use the protoc_plugin from the pubspec.yaml - so the constraint is
  fixed
* Move it to `tool/` for better discovery.
* Mention in `README.md` for better discovery.
* Clone into `tmp/` so we don't have to redownload everything
* Compile all protos in one command (much faster)
* Use `dart format` instead of `dartfmt` (actually works on modern SDK).

Prepares for a new publication.

* Remove obsolete test script

* Fix tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants