-
Notifications
You must be signed in to change notification settings - Fork 12
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
Remove Version pin to Dafny 2.3.0 #67
Comments
Hi @fabianhauser @kailingP . Sorry, I got here a bit late. From what I'm hearing, the problem with #66 was that the .zip files can't be properly unzipped. Do we know why this is? Is it possible that, when creating them, I used a zip utility that doesn't work properly? That's a problem I need to fix, but I don't understand enough of what's going wrong to know how to fix it. Any help appreciated. Ironically, I had published the pre-release (actually, in the last three days, I did a pre-release 0, then a pre-release 0a which included two missing DLLs, and then a pre-release 1 which fixed a problem with calling the C# compiler on some platforms) to give easy access to a Dafny version newer than 2.3.0. This is why I marked didn't mark the new release as "prerelease" on github. It's always nerve-racking to do a new release. Would it be possible for the VS Code plug-in to offer a choice of which Dafny release to use? Then, someone could revert to 2.3.0 if the breaking changes in 3.0.0 caused a problem. And it would allow us to really do a "pre-release" (in the github sense) of a new release, and by manually selecting such a pre-release in VS Code, we could try it out before marking it as "stable" on github and having VS Code update the whole world to it? |
As I said on #66 the current version seems to work now. As well as students on VScode we have people using their own installations, plus installations in the lab, plus two different marking systems (one for quick formative quetions, one for assessed projects) that all depend on particular versions of Dafny. Dafny verifiability doesn't seem to be monotonic - there are some things 3.0.0 will verify that 2.3.0 won't - and vice versa - but either way could cause students problems, if e.g. they are running 3.0.0 but our marking system So one way or another, it would be great to have positive control over which version of Dafny people are running - even if that's just a "stable" (2.3.0) vs "latest" (3.0.0) switch. |
I've taken a quick look at it, but could not figure out what the problem is with the zip files. Maybe it has something to do with the Node-Library that is used here.
Yes, that would be great; currently, the way to achieve that is manually downloading and configuring the paths to the version. I plan to take a look at a version manager with the major new release™ that's currently waiting on some spare time on my side... |
I think that's quite likely, given that I don't think anyone's had problems unzipping the archive using a zip command on anything.
which is OK really - although it's also good to have Dafny downloaded and installed within the VSC extension, that's not something we'd really want to lose either. The other thing I still don't understand, and which seems to affect Macs most, is that even deleting the whole .vscode directory didn't erase the memory of the extension completely. The 0.18.0 installation was able to clean stuff up in a way that uninstalling or reinstalling did not. |
Following up: is it now possible to use Dafny 3.0.0 (prerelease) via this extension? |
As part of #66 , @kailingP added 2d7fc93 which pins the downloaded Dafny version to 2.3.0. This should be reverted as soon as Dafny 3.0.0 is stable.
The text was updated successfully, but these errors were encountered: