-
Notifications
You must be signed in to change notification settings - Fork 58
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
[Docs] Add a PlantUML activity diagram of header fixing mechanism #41
Conversation
@kezhenxu94 Please check the flow, I just want to ask whether we should host svg in a source repo or website repo? |
@emschu I can't see any main repo referring this graph. Could you polish and make the structure more clear about how end-users could know this graph and read it. |
Thanks for doing this, @emschu
It's better to do one thing in one PR, as #40 is complete enough on its own and this is a separate doc polish, let's continue this independently.
The diagram is very useful for new contributors, I have some comments:
@wu-sheng as |
@emschu can you please also fix the CI, either ignore them in license checker or add licenser headers to them |
It is fine to keep them once they are licensed to ASF. |
Thank you very much for your feedback. @kezhenxu94 Yes, the The main Readme refers to the |
Usually, if the generated files are only used at runtime, we will generate them on the fly when compiling (e.g. There is a risk that future contributors update
This part looks good to me. |
Ooops, it seems that we don't support |
a9bd4dd
to
3ae68b2
Compare
@kezhenxu94 Thank you very much for the hint about the CI and the consistency check. I saw this check logic and I decided to remove the This is a (currently valid) PlantUML proxy link to the Doing it this way could "solve" the possible consistency problem between What do you think about this (temporary) solution? |
Hi @emschu , thanks for looking into this problem. Comparing to using the web proxy I personally think introducing a JRE in CI is more preferable, here are my reasons
|
@kezhenxu94 Thank you for your feedback, I get your points :) I will try to integrate a JRE to generate the plantuml |
Some hints:
|
@emschu Are you going to finish this? |
@wu-sheng Yes, I plan to finish this task in this week |
…current CommentStyle header fixing easily
…roxy link. Avoid generating consistency problems between .plantuml and .svg files.
…nse headers for docs/*.svg
3877862
to
35289c6
Compare
…o check consistency of diagrams' svg files with their associated PlantUML source files
35289c6
to
633bfa1
Compare
…n unsuccessfully now
…d run successfully.
Hey @kezhenxu94, @wu-sheng, I just finished a working integration of the plantuml <--> svg consistency check (in both directions) into this project. Please consider, that this is the first time I am working with Github actions/workflows. I did some recent tests in multiple commits to test if the new consistency check works, I hope these commits will be squashed. I'm looking forward to get feedback about this issue from you :) What do you think about the two new make targets and the JRE integration? Should we rely on $JAVA_HOME environment variable instead of java being available on $PATH? |
NO worry, they will be squashed when merging.
Assuming |
Basically LGTM, just one nit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @emschu !!!
I took some time to create an activity diagram in descriptive PlantUML syntax which shows how the current header fixing mechanism works. I think this could simplify future discussions about the header fixing mechanism and its technical requirements.
My original idea was to add this to PR #40 which is merged already, therefore I create this new PR.
Feel free to refuse this PR, if the diagram or the SVG file is not desired (in this repository) or if you think this does not belong here.