There is one commit in our version control that seems to be very odd. It appears every yaml file in the entire application changed. The changes appear to have been in taking long lines and wrapping them.
I am quite sure that I did not do this to 160+ files. Is this something anvil could have done?
We did not do any renaming of forms that I could tell. In the template.yaml
It turned this:
code: "from ._anvil_designer import $NAME$Template\nfrom anvil import *\n\nclass\
\ $NAME$($NAME$Template):\n\n def __init__(self, **properties):\n # Set\
\ Form properties and Data Bindings.\n self.init_components(**properties)\n\
\n # Any code you write here will run when the form opens.\n \n"
Into this:
code: "from ._anvil_designer import $NAME$Template\nfrom anvil import *\n\nclass $NAME$($NAME$Template):\n\n def __init__(self, **properties):\n # Set Form properties and Data Bindings.\n self.init_components(**properties)\n\n # Any code you write here will run when the form opens.\n \n"
It’s entirely possible the format of the yaml files changed between those times, and in updating the old project Anvil also updated the yaml files to the new format.
That really trips up a conventional DIFF utility. It takes a hierarchy-aware DIFF to deal with some of those things. There are a few out there, including some in the Python Package Index. The latter may help if you need to automate the DIFF processing, e.g., to filter out false positives.
Same thing happened to me. I remember this happening a while ago. When I look at my diff in Anvil and nothing is showing up, I assume its a change in the YAML format