Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

sherpa without sherpa.#94

Open
r2ishiguro wants to merge 19 commits into
YahooArchive:masterfrom
r2ishiguro:sherpa
Open

sherpa without sherpa.#94
r2ishiguro wants to merge 19 commits into
YahooArchive:masterfrom
r2ishiguro:sherpa

Conversation

@r2ishiguro

Copy link
Copy Markdown

No description provided.

Comment thread httpfront/httpfront.go Outdated
if err != nil {
return nil, err
}
fmt.Printf("lookup: %v\n", lr);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we remove this?

Comment thread lookup.go Outdated
return nil, nil
} else {
if pf.Entry == nil || pf.Profile == nil {
return nil, nil // empty entry or profile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

shouldn't this return an error?

Comment thread lookup.go Outdated
return n.value
}

// getUpdate returns the last update to profile of idx during or before epoch.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/getUpdate/GetUpdate?

Comment thread proto/AuthorizationPolicypr_test.go Outdated
import (
github_com_gogo_protobuf_jsonpb "github.com/maditya/protobuf/jsonpb"
github_com_gogo_protobuf_proto "github.com/maditya/protobuf/proto"
github_com_gogo_protobuf_jsonpb "github.com/maditya/protobuf/jsonpb"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

shouldn't this point to gogo/protobuf ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Can I remove generated files? It's confusing.

Comment thread keyserver/server_test.go
// as specified in https://github.com/yahoo/coname/blob/master/proto/client.proto#L63-L89
type lp struct {
Entry string `json:"entry"`
Entry json.RawMessage `json:"entry"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why did we have to change this?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

because it's not a struct, not a string.

Comment thread proto/generate.sh Outdated
print($0)
}' < client.pb.go > client.pb.go.tmp && mv client.pb.go.tmp client.pb.go

for i in *.pb.go; do sed "s/\(NewPopulatedEncoded[A-Za-z_0-1]*\)(\(.*\))/\1(\2, easy)/" < $i > $i...; mv -f $i... $i; done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you add a comment on what this is trying to do?

Comment thread proto/replication.proto Outdated

message EpochUpdate {
EpochDelimiter delimiter = 1;
bool update = 2;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you add a comment on the purpose of this field?

Comment thread proto/replication.proto Outdated
message EpochUpdate {
EpochDelimiter delimiter = 1;
bool update = 2;
fixed64 UID = 3;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you add a comment on the purpose of this field?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants