Conversation
Codecov Report
@@ Coverage Diff @@
## main #13062 +/- ##
==========================================
+ Coverage 63.85% 66.52% +2.66%
==========================================
Files 430 425 -5
Lines 33142 33677 +535
==========================================
+ Hits 21163 22402 +1239
+ Misses 9942 9342 -600
+ Partials 2037 1933 -104
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
I don't think the test failures are related to the documentation updates. |
|
I think that the tests fail due to shellcheck not understaning tripple quotes: |
chalin
left a comment
There was a problem hiding this comment.
See inline comments, and feedback by @ptabor.
@nate-double-u - have you been able to run this script? I'm getting sed errors under macOS. Maybe this currently only runs under Linux?
The files I linked in the description were generated. I admittedly did not run it on multiple platforms though. |
Doing a quick look around, it looks like there may be differences between |
Thanks @ptabor, I'll take a closer look at that |
|
Files generated by the most recent commit: |
|
[edit] I had made a comment about tests, but as of the time of this writing the testing hasn't finished. I'm removing the comment and am waiting for the system to finish. |
Ya I just noticed that and have removed those edits. |
f1785c3 to
f223b8b
Compare
|
Rebased to clean up commits. Latest force push updates .gitignore file, adds env vars, and adds new console output on success: Generated files: |
If we don't move it, do we want to consider building a GitHub action or something to build the references and push the files across to the etcd-io/website repo automatically? (I've found systems that automate this sort of thing to be fairly fragile in past, but does have the advantage of not requiring someone to remember to update the files manually). [edit] we may want to consider something like this even if we do decide to move the script. |
scripts/genproto.sh
Outdated
| run sed -i -e 1,3d ${API_REFERENCE_CONCURRENCY_FILE} | ||
|
|
||
| log_success "protodoc is finished." | ||
| log_success "" |
There was a problem hiding this comment.
Maybe:
log_warning "The files has NOT been automatically published on the website."
|
@ptabor - does this need to be ported to https://github.com/etcd-io/etcd/tree/release-3.5? |
Changing protos (so public wire formats) is rather unexpected during a minor version lifetime, so I don't think there are strong reasons to backport (but also costs are low). |
f223b8b to
8f6e514
Compare
|
The last force push updates the output as per @ptabor's suggestion. |
Changing API-reference generator - matching changes mentioned in etcd-io/website#330 - generating page frontmater - updating .gitignore Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
8f6e514 to
9e4dd4d
Compare
|
The last force-push is a copy edit: |
Changing API-reference generator
fixes #13050
contributes to: #111, #12768
Files generated
Most recent commit:
Previous commits:
/cc @chalin