The getGoodSpur*VM.sh scripts assume that the VM mentioned in the You can view, comment on, or merge this pull request online at:https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/326 Commit Summary
File Changes
Patch Links:
— |
This looks good, however shouldn't it "exit 1" on error so the calling script knows not to proceed? Bonus points :-): It would be really nice if it could retrieve the previous version (but I haven't looked at bintray to see if they is practical). — |
In reply to this post by David T Lewis
@gcotelli commented on this pull request. > @@ -52,6 +52,14 @@ else exit fi curl -L "$URL" -o "$LATESTVM" + # bug in bintray: on a 404 error, + # it will return a 200 with garbage data + if [[ $(file "$LATESTVM" | grep 'gzip compressed data') ]]; then + tar xzf "$LATESTVM" + else + echo No gzip data at "$URL" + exit + fi tar xzf "$LATESTVM" This line seems to be duplicated. It's already contained in the if — |
In reply to this post by David T Lewis
@shingarov pushed 2 commits.
— |
In reply to this post by David T Lewis
Looks good. I'll leave it a bit longer in case there is any more feedback and then merge it in. Thanks, — |
In reply to this post by David T Lewis
Merged #326 into Cog. — |
In reply to this post by David T Lewis
Hi Boris, I’m wondering if the right thing to do is to build a vm that includes the processor simulator plugins in the relevant ../build.* directories. The makefiles are set up to build the processor simulator plugins only if the support libraries (the processor simulator code itself) have been built, so by default the CI does not build them. I would prefer that we set up a CI to build the processor simulator plugins and download and install these as part of the getGoodSpurVM scripts, but that’s work I haven’t found time for and at least on Mac installing a plugin in the .app will break the signature and provoke a warning on launch. So building a vm in place, while slow and not yet automated might be the right approach. It does mean running the conf.COG scripts and make in the relevant build./{bochsx86,bochsx64,gdbarm32} directories, none of which is as smooth as it might be. What do you think? — |
On Sun, 23 Dec 2018 at 7:44 pm, Eliot Miranda <[hidden email]> wrote:
These kind of plugins (and probably others as well, say SqueakSSL) can easily be pulled/downloaded into the plugins directory from sub-repositories as part of the main CI builds. This way, they will also be signed correctly. Fabio
|
Free forum by Nabble | Edit this page |