-
Notifications
You must be signed in to change notification settings - Fork 196
Makefile.coq.local: reduce long line warnings in alectryon build #1836
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
No, alectryon didn't recognize the Do we need to update to a newer alectryon? @JasonGross ? |
@Alizter Is it easy to update alectryon? Should we do it? If it's not easy and/or risks breaking things, I'll just close this. |
@jdchristensen I'll see what I can do. |
I had a look and we are using Jason's patches on top of an older version of alectryon in a submodule. The issue that these patches fix is a naming collision with the html files which we appear to be susceptible to. I tried to rebase the patches on a newer version of alectryon but I have no idea what I am doing basically so it didn't work. Our only hope is for @JasonGross to update his fork. Also FTR the patches are sitting in a PR upstream for alectryon but the discussion seems to have diverged and it didn't end up getting integrated. I haven't been able to understand the full story and what exactly alectryon is missing for us however. |
It would be nice if upstream alectryon could be adapted to accommodate our set-up, so we don't need to be stuck with an out-of-date version. |
The alectryon PR that @Alizter mentioned is cpitclaudel/alectryon#25 |
@jdchristensen Try rebasing this PR now that we've updated alectryon. |
9e78dd6
to
c4828b2
Compare
It looks like it is working. I only see two long-line warnings so far, for lines that are > 999 characters long. I could increase 999 to 9999, or we could leave those, as they don't clutter the output that much. |
@jdchristensen Let's just make it 99 999. |
@JasonGross Now that the long-line warnings are gone, another repeated warning is visible:
Should we try to get rid of this warning some how? |
It seems the unicode is causing the lexer to choke. Perhaps @cpitclaudel can say more. |
Fixes the issue reported in HoTT/Coq-HoTT#1836.
Oh, sorry folks. My Coq notifications filter was too aggressive and I missed this message. Two things:
The fix should be live on Alectryon's master branch. Do you need me to cut a release or do you track master? |
@cpitclaudel We can track master as we use a submodule for alectryon. We currently follow cpitclaudel/alectryon#25 which Jason recently rebased. If you merge that in some form then it will make our lives easier and we can just continue tracking master. |
Right, I'm working on this. |
It's not that important, but the alectryon builds spew out long line warnings because of our conventions on not having line breaks in comments, and I think this will get rid of them. Let's see what happens when the CI runs.