google / git-appraise

Distributed code review system for Git repos
Apache License 2.0
5.13k stars 146 forks source link

Missing endLine property for range in comment schema? #61

Closed estan closed 6 years ago

estan commented 8 years ago

I just came across this project, looks very interesting!

While browsing the comment schema, I saw that a range has a startLine but no endLine:

https://github.com/google/git-appraise/blob/master/schema/comment.json#L35

Was this an oversight or am I just missing something? (The latter is more likely I think)

ojarjur commented 8 years ago

Ultimately, the schema should include:

i.e. it should exactly match the TextRange protocol buffer message defined by Shipshape

The only reason the omitted fields haven't been included yet is that the command line UI doesn't support displaying them.

At some point, however, they will be added.

As a meta-point, the schema's just define a foundation for the formats; it's always OK to add additional, optional fields.

tcolgate commented 6 years ago

Made an attempted start on this in #83

tcolgate commented 6 years ago

I think is is closed by the merge of #83

ojarjur commented 6 years ago

@tcolgate Yes; you are right.

Thanks for the feature work and for pointing out that the issue is fixed.