-
Notifications
You must be signed in to change notification settings - Fork 19
Improve and unify names (2) #277
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #277 +/- ##
=======================================
Coverage 77.85% 77.86%
=======================================
Files 43 43
Lines 18394 18398 +4
=======================================
+ Hits 14321 14325 +4
Misses 4073 4073
|
|
I am also fine with calling the inner nodes of a recog tree node a "splitting node". |
|
@ssiccha, there is a file Edit: This is probably not intended, as this page is used in the documentation. Probably we do not grep this file in our renaming script. |
|
Perhaps |
I've updated our script. See here: |
fde0c27 to
59ddac1
Compare
Done. |
This comment has been minimized.
This comment has been minimized.
|
Btw.: I'm seeing whether I can come up with better names for the whole |
45e7260 to
6bf24d2
Compare
wilfwilson
left a comment
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.
Sergio! I'm happy with these four name changes, but you have been a bit overzealous with the search-and-replace of "factor" to "image".
888e9d2 to
95fd513
Compare
|
This needs to be rebased first? |
wilfwilson
left a comment
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.
Thanks for making those fixes. But yes, it's rebasing time 🙂
95fd513 to
d03dd8c
Compare
|
Rebased onto master. Let's see whether the test workflows pass. |
doc/renaming_index.xml
Outdated
| <Index Key="RIParent"><C>RIParent</C></Index> | ||
| <Index Key="methodsforfactor"><C>methodsforfactor</C></Index> | ||
| <Index Key="forfactor"><C>forfactor</C></Index> | ||
| <Index Key="forkernel"><C>forkernel</C></Index> |
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.
Not about this PR, but: why is there a separate index file? Why aren't those index entries directly in renaming_table.xml?
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.
I changed our script such that the index is also written into the renaming_table.xml.
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.
And I also tested whether the index still works. Everything is fine.
| DeclareAttribute( "KernelRecogNode", IsRecogNode, "mutable" ); | ||
|
|
||
| ## <#GAPDoc Label="RIParent"> | ||
| ## <#GAPDoc Label="ParentRecogNode"> |
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.
These renames potentially break existing code using recog.
Is there a strong reason why we don't use DeclareObsoleteSynonym resp. DeclareObsoleteSynonymAttr for these (and other, previously renamed things)?
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.
I added synonyms for the renames in this PR and am currently opening a PR for the renames that are already in master.
doc/recognition.xml
Outdated
|
|
||
| <ManSection> | ||
| <Attr Name="forkernel" Arg="ri"/> | ||
| <Attr Name="InitDataForKernelRecogNode" Arg="ri"/> |
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.
I was confused by this name as to me init stands for the verb initialize, not for initial or initialization. And that makes for some confusing reading. So perhaps
| <Attr Name="InitDataForKernelRecogNode" Arg="ri"/> | |
| <Attr Name="InitialDataForKernelRecogNode" Arg="ri"/> |
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.
I changed the names accordingly.
d03dd8c to
b7e75da
Compare
`RIParent` -> `ParentRecogNode` `methodsforfactor` -> `methodsforimage` `forfactor` -> `InitialDataForImageRecogNode` `forkernel` -> `InitialDataForKernelRecogNode`
b7e75da to
f462f18
Compare
|
I've double-checked the touched files and the links in the generated manual. Everything looks fine so I'm merging this. |
This continues #253.
Renames as follows:
RIParent->ParentRecogNodemethodsforfactor->methodsforimageforfactor->InitDataForImageRecogNodeforkernel->InitDataForKernelRecogNodeThe documentation builds on my machine and I've checked a few cross-references and index entries. Everything looks fine there.
testquick.galso passes on my machine.Edit: I've moved the whole nice generators business into a separate branch.