Skip to content

Shareable

Aleks-Daniel Jakimenko-Aleksejev edited this page Feb 10, 2018 · 13 revisions

This is an IRC bot that makes rakudo builds produced by Whateverable publicly available. It can be addressed by its full name ('shareable6').

You can find some extra examples in tests: shareable.t

⚠ How to use these files

As of today, rakudo is not relocatable. For that reason the tars contain absolute paths, so you have to extract these archives accordingly. Note that the build will be located in /tmp/whateverable/rakudo-moar/SOME-SHA/. Also, as of today these files are only useful for you if you're on linux x86_64.

With zstd archives, use this:

zstd -dqc -- "$PATH-TO-ARCHIVE" | tar x --absolute-names

With lrz archives, use this:

lrzip -dqo - -- "$PATH-TO-ARCHIVE" | tar x --absolute-names -- "/tmp/whateverable/rakudo-moar/$SHA_OF_REQUIRED_BULID"

Bot usage examples

<AlexDaniel> shareable: HEAD
<shareable> AlexDaniel, https://whateverable.6lang.org/HEAD

<AlexDaniel>shareable6: f583f22
<shareable6> AlexDaniel, https://whateverable.6lang.org/f583f22

<AlexDaniel> shareable6: 2015.12
<shareable6> AlexDaniel, https://whateverable.6lang.org/2015.12

MoarVM builds and other things

MoarVM builds are also available. Then link will look like this:

Also, if you want to specify the architecture, use this full syntax:

The server will return 404 if it cannot satisfy your request.

Clone this wiki locally