forked from uber/prototool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
83 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Maintenance | ||
|
||
[Back to README.md](README.md) | ||
|
||
## Releasing a new version | ||
|
||
See [release.md](release.md) for the release process. | ||
|
||
## Updating the default version of protoc | ||
|
||
Check https://github.com/protocolbuffers/protobuf/releases regularly for new releases. A release | ||
that can be used for Prototool must include `protoc-VERSION-linux-x86_64.zip` and | ||
`protoc-VERSION-osx-x86_64.zip`, which small releases sometimes do not. | ||
|
||
The following files need to be updated: | ||
|
||
- All files in `docs` that contain the current `protoc` version. As of this writing, this is | ||
`docs/README.md`, `docs/faq.md`, and `docs/protoc.md`. | ||
- `internal/vars/vars.go` | ||
- `example/proto/prototool.yaml` | ||
|
||
Once these files are updated, run `make generate`. Do not manually update | ||
`etc/config/example/prototool.yaml` as this will be automatically updated with `make generate`. | ||
|
||
See https://github.com/uber/prototool/pull/417 for an example. | ||
|
||
## Updating dependencies | ||
|
||
See https://github.com/uber/prototool/pull/418 for an example of updating versions of dependencies. | ||
|
||
## Updating Docker image dependencies | ||
|
||
To update the Docker image, edit the [Dockerfile](../Dockerfile). | ||
|
||
Note that for version changes, the versions are copied in four places: once for each layer in the | ||
Dockerfile (sharing these is harder than you think), once in | ||
[etc/docker/testing/bin/test.sh](../etc/docker/testing/bin/test.sh), and once in | ||
[docker.md](docker.md). | ||
|
||
Updates of `protobuf` and `grpc` must match the current versions for `alpine:edge` for now. See | ||
[here](https://pkgs.alpinelinux.org/packages?name=protobuf&branch=edge&repo=main&arch=x86_64) and | ||
[here](https://pkgs.alpinelinux.org/packages?name=grpc&branch=edge&repo=testing&arch=x86_64) for | ||
the current versions. | ||
|
||
See https://github.com/uber/prototool/pull/437 for an example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
protoc: | ||
version: 3.7.1 | ||
lint: | ||
group: uber2 | ||
generate: | ||
|