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

Conversation

@gmichelo
Copy link
Contributor

@gmichelo gmichelo commented Jul 12, 2020

List of changes:

  1. Created a new script from "docker-compose_test.sh" that allows
    users to deploy, and later cleanup, the KeyTransparency service
    locally;
  2. Updated the README's related section with the new script's usage;
  3. Substituted the instruction go get github.com/google/keytransparency/...
    which fails due to missing (autogenerated ?) files, with the
    equivalent git clone version;
  4. Fixed the key file existance check in script "docker-compose_test.sh";

Fixes #1581

List of changes:
1) Created a new script from "docker-compose_test.sh" that allows
   users to deploy, and later cleanup, the KeyTransparency service
   locally;
2) Updated the README's related section with the new script's usage;
3) Substituted the instruction `go get github.com/google/keytransparency/...`
   which fails due to missing (autogenerated ?) files, with the
   equivalent `git clone` version;
4) Fixed the key file existance check in script "docker-compose_test.sh";
@gmichelo gmichelo requested a review from a team as a code owner July 12, 2020 20:23
@gmichelo gmichelo requested review from NatalieDoduc and removed request for a team July 12, 2020 20:23
- Docker Compose 1.11.0+ `docker-compose --version`

```sh
go get github.com/google/keytransparency/...
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This failed with the below error message:

$ go get github.com/google/keytransparency/...

# github.com/google/keytransparency/impl/authorization/authz_go_proto
../google/keytransparency/impl/authorization/authz_go_proto/authz.pb.go:40:11: undefined: "github.com/golang/protobuf/proto".ProtoPackageIsVersion4
# github.com/google/keytransparency/core/sequencer/sequencer_go_proto
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:50:11: undefined: "github.com/golang/protobuf/proto".ProtoPackageIsVersion4
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1205:7: undefined: grpc.ClientConnInterface
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1209:11: undefined: grpc.SupportPackageIsVersion6
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1234:5: undefined: grpc.ClientConnInterface
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1237:43: undefined: grpc.ClientConnInterface

It seems to be related to some autogenerated file not committed in the repo.

@codecov
Copy link

codecov bot commented Jul 12, 2020

Codecov Report

Merging #1582 into master will decrease coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1582      +/-   ##
==========================================
- Coverage   69.66%   69.55%   -0.12%     
==========================================
  Files          59       59              
  Lines        4385     4385              
==========================================
- Hits         3055     3050       -5     
- Misses        898      901       +3     
- Partials      432      434       +2     
Impacted Files Coverage Δ
core/keyserver/revisions.go 62.58% <0.00%> (-2.05%) ⬇️
impl/mysql/directory/storage.go 67.66% <0.00%> (-1.51%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74d4671...f74d17e. Read the comment docs.

Copy link

@NatalieDoduc NatalieDoduc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for making the changes and updating the README.

Let me find and add a current OWNER from keytransparency for Approval.

@eomara eomara merged commit 7ac85c7 into google:master Oct 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instructions to run KT server locally might be incorrect.

4 participants