Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix copy in regenerate-files script #194

Merged
merged 1 commit into from
May 8, 2024

Conversation

brianneville
Copy link
Contributor

As in the original regenerate-files script from
https://github.com/openconfig/gnsi/pull/37/files#diff-fc93ffaaee0a108cd0141877980a22c2c5f782b529e4561cd11243753b91eed8
the copy should be from
"${BASE}"/"${pkg}"/"${proto}"_go_proto_/"${GNOI_NS}"/"${pkg}"/*.pb.go
to the target package rather than the
"${BASE}"/"${pkg}"/"${proto}"_go_proto_/"${GNOI_NS}"/"${proto}"/*.pb.go
which was in the base patch
e.g. the files for packet link qualification will be under linkqual_go_proto_/github.com/openconfig/gnoi/packet_link_qualification/packet_link_qualification.pb.go

As in the original regenerate-files script from
https://github.com/openconfig/gnsi/pull/37/files#diff-fc93ffaaee0a108cd0141877980a22c2c5f782b529e4561cd11243753b91eed8
the copy should be from
"${BASE}"/"${pkg}"/"${proto}"_go_proto_/"${GNOI_NS}"/"${pkg}"/*.pb.go
to
the target package
rather than the
"${BASE}"/"${pkg}"/"${proto}"_go_proto_/"${GNOI_NS}"/"${proto}"/*.pb.go
which was in the base patch
e.g. the files for packet link qualification will be under
linkqual_go_proto_/github.com/openconfig/gnoi/packet_link_qualification/packet_link_qualification.pb.go
@brianneville
Copy link
Contributor Author

related issue thread: #173 (comment)

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8990651044

Details

  • 0 of 175 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 1.201%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packet_capture/packet_capture_grpc.pb.go 0 38 0.0%
packet_link_qualification/packet_link_qualification_grpc.pb.go 0 137 0.0%
Totals Coverage Status
Change from base Build 8911885186: -0.001%
Covered Lines: 166
Relevant Lines: 13817

💛 - Coveralls

Copy link
Contributor

@bstoll bstoll left a comment

Choose a reason for hiding this comment

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

LGTM

@marcushines marcushines merged commit 5d2a36c into openconfig:main May 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants