-
Notifications
You must be signed in to change notification settings - Fork 66
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
Qualify pegged/peg.d as @safe and when possible pure nothrow @nogc #311
Conversation
|
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 doing this!
It seems to me that the CI failures are due to deficiencies in moderately recent (2 years old) druntime. I am thinking of determining the release at which this starts working a bit more precisely, putting that in a |
Yes, specifically when |
Hitting 2.091-version compiler bugs aswell at https://ci.appveyor.com/project/PhilippeSigaud/pegged/builds/43483820/job/3503ke4jawrotjej#L83. |
We only care about the compilers we actively support (@nordlow the ones our setup scripts install) |
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.
Can you please react to #311 (comment)? I think it fits into this PR. If you don't want to do it then that's fine, and I'll see if I can do a follow-up PR.
Sorry, missed that. I'll have look. |
I think we should try to support as far back as we reasonably can, so like you suggest:
but then also make that explicit with a I'll have to think about whether that demands a major version bump, since technically that would brake the build for people that don't update their compiler regularly. I'll ask the forum. |
Correction: |
|
I cannot release this yet, since I really need to review the CI so that this is covered in the future. |
Can you give me a sample command line call that does this? Then I can dig into having the generated parser be |
It is in https://github.com/PhilippeSigaud/Pegged/tree/master/pegged/dev. But that doesn't work anymore because I have accepted too many PRs that weren't sound :-(
but that reverses some changes from some earlier PRs. It's a mess. If you are waiting for this, I can tag a new release in the mean time while I clean this up. It has been this way since a few releases. Would a beta work for you? |
Awesome! Thank you! Is there anything more you need help with? |
Can you please bump https://code.dlang.org/packages/pegged tag aswell to 0.4.6? It's still at 0.4.5. |
Seriously? There is a lot to do actually, but most of it requires a deeper dive. We can talk about those if you are interested. Otherwise, I'd really like an automated check on PRs to make sure the committed |
To my knowledge, it should update automatically. It probably scans for new tags every so many hours. |
Still no bump to 0.4.6 at https://code.dlang.org/packages/pegged. Can you bump it yourself, please? Are you the only one who has permissions to do so? FYI, @skoppe. |
No, I don't even have an account. I think that one is still with @PhilippeSigaud. I am wondering if it is because the other releases have a commit signature icon, but I don't know why the latest doesn't. |
Do you have any clues as to why, @John-Colvin @skoppe? |
I don't think the signature has anything to do with it, other packages that did update in the Dub registry within the last 16 hours don't have that icon either. I've checked the syntax of the tag multiple times, should be no problems there. I made sure that the pre-release checkbox is unchecked. The Dub docs say that tags are scanned about twice an hour. This is not my first release, and I don't think I did anything different from last time. |
Do you have any clues, @CyberShadow? |
I remember that the updater used to sometimes get stuck. Sonke would come in and restart it. However, I just tried to update my own package and it succeeded, so I don't think it's that in this case. It seems to have trouble with this specific package. A package admin could go to https://code.dlang.org/my_packages/pegged and perhaps that page would show an error message. @s-ludwig Seems that we need your help again; also, if there's anyone else who could help here, perhaps they should be listed on https://wiki.dlang.org/People#Points_of_contact . |
Further note that https://github.com/PhilippeSigaud has been inactive for at least one year. |
Maybe it's time to transfer Pegged to https://github.com/dlang-community? I'm fine with continuing as a maintainer of Pegged. At least then there is a group of people that are able to pick up the ball it case it is dropped. Is there a shared dub account for those projects? What is the procedure for such a transfer? |
I vote for that. Ping, @John-Colvin @RazvanN7. |
Yes, I have had this happen repeatably the last year. Sometimes it works, sometimes it doesn't. The page says its processing, but nothing happens (for days) unless I manually hit the button, all the while other packages are just updating. |
It finally got through now. |
Thank you. Was it thanks to somebody manually refreshing the tag on code.dlang.org? |
Don't know. There was an issue with an expired certificate, but I doubt it is related because other packages had no issue. |
No description provided.