GithubHelp home page GithubHelp logo

raku / blin Goto Github PK

View Code? Open in Web Editor NEW
10.0 142.0 9.0 111 KB

๐Ÿฅž Project Blin โ€“ Toasting Reinvented

License: GNU Affero General Public License v3.0

Dockerfile 3.49% Shell 0.45% Raku 96.07%
ecosystem rakudo raku

blin's Introduction

Project Blin โ€“ Toasting Reinvented

Blin is a quality assurance tool for Rakudo releases. Blin is based on Whateverable.

Blin was inspired by Toaster. Here are some advantages:

  • Fetches archives from whateverable instead of spending time to build rakudo
  • Installs modules in proper order to avoid testing the same module more than once
  • Deflaps modules that fail intermittently
  • Automatically bisects regressed modules
  • Avoids segfaults by producing no useful output instead of using DBIish

Installation

Install required packages:

sudo apt install zstd lrzip graphviz

Install dependencies:

zef install --deps-only .

Many modules require native dependencies. See this page for the list of packages to install.

Running

Currently it is supposed to run only on 64-bit linux systems.

If you want to test one or more modules:

PERL6LIB=lib bin/blin.p6 SomeModuleHere AnotherModuleHere

Here is a more practical example:

time PERL6LIB=lib bin/blin.p6 --old=2018.06 --new=2018.09 Foo::Regressed Foo::Regressed::Very Foo::Dependencies::B-on-A

You can also test arbitrary scripts. The code can depend on modules, in which case they have to be listed on the command line (e.g. for a script depending on WWW you should list WWW module, dependencies of WWW will be resolved automatically).

Using this ticket as an example: rakudo/rakudo#2779

Create file foo.p6 with this content:

use WWW;
my @stations;
@stations = | jpost "https://www.perl6.org", :limit(42);

Then run Blin:

./bin/blin.p6 --old=2018.12 --new=HEAD --custom-script=foo.p6 WWW

Then check out the output folder to see the results. Essentially, it is a local Bisectable.

If you want to test the whole ecosystem:

time PERL6LIB=lib bin/blin.p6

Estimated time to test the whole ecosystem with 24 cores is โ‰ˆ60 minutes.

โš โ˜  SECURITY NOTE: issues mentioned in Toaster still apply. Do not run this for the whole ecosystem on non-throwaway installs. โ˜ โš 

Viewing

See output/overview file for a basic overview of results. More details for specific modules can be found in installed/ directory. Betters ways to view the data should come soon (hopefully).

Docker

For info about the Docker image, have a look at the Readme file in the docker directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.