Skip to content

Instantly share code, notes, and snippets.

@ugexe
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ugexe/2a2d4a2654dea9b253a2 to your computer and use it in GitHub Desktop.
Save ugexe/2a2d4a2654dea9b253a2 to your computer and use it in GitHub Desktop.
perl6-[m|j] bin/zef -v --report install Zef `# bootstraping self install`
Backend OS name OS version Architecture Build Test
jvm linux 3.18.5.x.86._.64.linode.52 64 PASS PASS http://testers.perl6.org/reports/55209.html
moar linux 3.18.5.x.86._.64.linode.52 64 PASS PASS http://testers.perl6.org/reports/55210.html
jvm win32 6.3 64 PASS PASS http://testers.perl6.org/reports/55211.html
moar win32 6.3 64 PASS PASS http://testers.perl6.org/reports/55212.html
# Example `install` output. (Test output is from parallel tests being run)
# The test output is from parallel tests running as are the other phases
# (we try to know the entire dependency chain/order before we start building or testing)
# such that we can easily take this one step further and allow the entire install process
# to be parallelized between all steps.
# ~$ perl6 -Ilib bin/zef install -v --report HTTP::Server::Threaded
===> Build directory: /tmp/HTTP--Server
[lib/HTTP/Request.pm6] ...................... ok: blib/lib/HTTP/Request.pm6.moarvm
[lib/HTTP/Response.pm6] ..................... ok: blib/lib/HTTP/Response.pm6.moarvm
[lib/HTTP/Server.pm6] ....................... ok: blib/lib/HTTP/Server.pm6.moarvm
===> Build directory: /tmp/HTTP--Server--Threaded
[lib/HTTP/Server/Threaded/Request.pm6] ...... ok: blib/lib/HTTP/Server/Threaded/Request.pm6.moarvm
[lib/HTTP/Server/Threaded/Response.pm6] ..... ok: blib/lib/HTTP/Server/Threaded/Response.pm6.moarvm
[lib/HTTP/Server/Threaded.pm6] .............. ok: blib/lib/HTTP/Server/Threaded.pm6.moarvm
===> Building [done]
===> Build OK for: HTTP::Server HTTP::Server::Threaded
02_plugins.t # 1..2
07_chunkedrequestecho.t # 1..1
07_chunkedrequestecho.t # ok 1 -
00-use.t # 1..2
00-use.t # ok 1 - Class must implement methods from role
00-use.t # ok 2 - Can instantiate with all methods defined
01_request.t # 1..12
01_request.t # ok 1 - The object is-a 'HTTP::Server::Threaded'
01_request.t # ok 2 - Response stack contains no elements yet
01_request.t # ok 3 - Response stack contains no elements yet
01_request.t # ok 4 - Response stack contains elements
01_request.t # ok 5 - The object is-a 'Sub'
05_laggyrequest.t # 1..1
02_plugins.t # ok 1 - Testing for XYZ Middleware Header
02_plugins.t # ok 2 - Testing for 1436241833
04_unbuffered_laggy_response.t# 1..3
09_unbuffer.t # 1..7
03_statuscode.t # 1..1
03_statuscode.t # ok 1 - HTTP Status Code: 404
01_request.t # ok 6 - The object is-a 'IO::Socket::INET'
01_request.t # ok 7 - IO::Socket::INET correct host
01_request.t # ok 8 - IO::Socket::INET correct port
04_unbuffered_laggy_response.t# ok 1 - chunk 1
09_unbuffer.t # ok 1 - The object is-a 'IO::Socket::INET'
09_unbuffer.t # ok 2 - IO::Socket::INET correct host
09_unbuffer.t # ok 3 - IO::Socket::INET correct port
01_request.t # ok 9 - HTTP Status Code: 200
01_request.t # ok 10 - Content-Type
01_request.t # ok 11 - Content-Length
01_request.t # ok 12 - Content: Hello World!
09_unbuffer.t # ok 4 - HTTP Status Code: 200
09_unbuffer.t # ok 5 - Content-Type
09_unbuffer.t # ok 6 - Content: bufferedHello World!
09_unbuffer.t # ok 7 - Time between flush and write ~2
04_unbuffered_laggy_response.t# ok 1 - chunk 1
04_unbuffered_laggy_response.t# ok 3 - Time lag (5)
05_laggyrequest.t # ok 1 - Response
===> Testing [done]
===> Testing OK for: 00-use.t 01_request.t 04_unbuffered_laggy_response.t 03_statuscode.t 09_unbuffer.t 07_chunkedrequestecho.t 05_laggyrequest.t 02_plugins.t
===> Reporting [done]
===> Reporting OK for: HTTP::Server HTTP::Server::Threaded
===> Reports can be seen shortly at:
http://testers.perl6.org/reports/55229.html
http://testers.perl6.org/reports/55230.html
===> Installing [done]
===> Install OK for: HTTP::Server HTTP::Server::Threaded
# Example `search` output.
# We show an example of sizing the terminal output based on the buffer width.
# On MoarVM we can even change the terminal size mid-run and the table will resize accordingly.
# ~/perl6/zef$ perl6 -Ilib bin/zef --version="*" search HTTP*
===> Querying Server [done]
===> Filtering Results [done]
===> Found 13 results
-------------------------------------------------------------------------------
ID | Package | Version | Description
-------------------------------------------------------------------------------
1 | HTTP::Server::Simple | * | Simple webserv...
2 | HTTP::UserAgent | 1.1.2 | Web user agent
3 | HTTP::Easy | * | HTTP servers m...
4 | HTTP::Status | * | Get the text m...
5 | HTTP::Client | * | A flexible HTT...
6 | HTTP::ParseParams | 1.0.0 | cookie/query/p...
7 | HTTP::Server::Async | 0.1.0 | Asynchronous B...
8 | HTTP::Server::Async::Plugins::Router::Simple | 0.1.0 | Basic routing ...
9 | HTTP::Server::Threaded | 0.1.0 | Threaded Base ...
10 | HTTP::Server::Router | 0.1.0 | Router for HTT...
11 | HTTP::Server | 0.1 | role for HTTP:...
12 | HTTP::Server::Logger | 0.1 | A common log f...
13 | HTTP::Headers | 0.1 | Tools for work...
-------------------------------------------------------------------------------
# Example of a version range
# ~/perl6/zef$ perl6 -Ilib bin/zef --version="1+" search HTTP*
===> Querying Server [done]
===> Filtering Results [done]
===> Found 2 results
-----------------------------------------------------------------
ID | Package | Version | Description
-----------------------------------------------------------------
1 | HTTP::UserAgent | 1.1.2 | Web user agent
2 | HTTP::ParseParams | 1.0.0 | cookie/query/post data parsing
-----------------------------------------------------------------
# Additionally:
# CLI overlay/status bar thing. Once MoarVM on windows outputs "\r" correctly the output will be much smoother
# (revereted to using multiple \b to get full OS/VM compatability)
# HTTP library ::(Client, Dialer, Transport, Header, Response, Request).pm6
# built around interfaces for building simple custom clients.
# HTTP Grammars (RFC7230-7235 + others) and basic set of Actions
# Uses CompUnitRepo::Local::Installation (curli)
# No external dependencies or submodules (although IO::Socket::SSL will allow SSL)
# other than the 'git' system command (although a decompression library is planned to avoid this)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment