Commit Graph

17 Commits

Author SHA1 Message Date
Johannes Weiß a6239a9005 make contributors generator executable & change dir correctly (#403)
Motivation:

The script to generate the contributors list wasn't executable and
forgot to change to the correct directory before invoking `git`.

Modifications:

- make `scripts/generate_contributors_list.sh` executable
- correctly change directory before invoking git

Result:

it's now possible to invoke the script without explicitly running `bash`
and it's no longer important what directory one invokes the script from.
2018-05-15 10:24:32 +01:00
Damiaan Dufaux b041136b76 Update contributors.txt using shell script (#398)
Problem: contributors.txt file is out of date

Cause: it is a tedious job to edit this file manually everytime a new person contributes to the project

Solution: create a shell script that extracts all contributors from the git repository and adds it to the contributors.txt file
2018-05-11 17:48:12 +02:00
Johannes Weiß 5599bfe4c8 add useful dtrace scripts to debug allocations (#352)
Motivation:

dtrace is extrmely useful when debugging allocation related issues. This
adds two scripts that have helped me many times.

Modifications:

- `dev/malloc-aggregation.d` which prints an aggregation of all
  stacks that have allocated
- `dev/boxed-existentials.d` which live prints all allocations of boxed
  existentials

Result:

sharing debugging tools is great
2018-04-25 15:23:09 +01:00
Johannes Weiß 9360bd5c49
run integration tests in info mode (#332)
Motivation:

The integration tests' info mode lets us see the number of allocations
the did, that's great.

Modifications:

run integration tests in info mode

Result:

mode information
2018-04-18 18:32:40 +01:00
Cory Benfield 851dad09af
Generate WebSocket documentation. (#276) 2018-04-04 17:45:52 +01:00
Frank Kair dbe321424d Refactors generate_linux_tests script (#236)
Motivation:

generate_linux_tests.rb is written in a non idiomatic way.

Modifications:

I used Rubocop to refactor the code.
More info: https://github.com/bbatsov/rubocop

Result:

A more idiomatic Ruby script.
2018-03-27 11:36:45 -07:00
Damiaan Dufaux a09479c0eb Turn off Jekyll for GitHub Pages (#145)
Problem: Documentation for classes like _ChannelInboundHandler are not accesible via the official API documentation pages

Cause: GitHub treats the gh-pages branch as Jekyll

Solution: Turn off Jekyll by adding a .nojekyll file to the gh-pages branch
2018-03-13 20:11:22 +01:00
Cory Benfield b542775605 Add initial websocket codec. (#109)
Motivation:

Websockets is a major protocol in use on the web today, and is
particularly valuable in applications that use asynchronous I/O
as it allows servers to keep connections open for long periods of
time for fully-duplex communication.

Users of NIO should be able to build websocket clients and servers
without too much difficulty.

Modifications:

Provided a WebsocketFrameEncoder and Decoder that can serialize and
deserialize Websocket frames.

Result:

Easier use of websockets.
2018-03-13 17:24:54 +01:00
Johannes Weiß 3cfbd075e4 improve license header checking (#131)
Motivation:

We need license headers at the top of all files but we didn't
automatically check for it in all source files.

Modifications:

Check for the full licensing header in all files (Swift, C & Shell).

Result:

If we're missing a licensing header a PR won't turn green.
2018-03-13 03:03:23 +09:00
Johannes Weiß 1065c9d38e
add license headers for shell scripts (#135)
Motivation:

Our shell scripts didn't have license headers but they should.

Modifications:

Add licensing headers to all shell scripts

Result:

Licensing clear for shell scripts too.
2018-03-12 17:12:47 +00:00
tomer doron ade7eb1b37 add license headers check to sanity script (#106)
Motivation:

prevent adding source that does not include the license header

Modifications:

add a check in sanity script to grep over all swift files and make sure they have the license header

Result:

ci build will fail if/when trying to commit source files that do not include the license header
2018-03-07 18:39:21 +09:00
Cory Benfield 898c2f5882
Update test generation script to append newline character. (#70)
Motivation:

Nicely written files end in newline characters.

Modifications:

Edited the test generation script to put a newline at the end of the
LinuxMain.swift file.

Result:

One more newline
2018-03-02 17:51:20 +09:00
tomer doron 9652984b60 prepare ci scripts (#32)
Motivation:

set up continuous integration

Modifications:

* update docker file to include all dependencies required for build, unit tests, integration tests and doc generation
* remove dependency steps from doc generation script
* add integration tests driver script

Result:

able to set up docker based continuous integration
2018-02-26 11:27:53 +00:00
tomer doron 31a693fd93 fix doc generation (#8)
Motivation:

doc generation broken due to module rename and lack of tags

Modifications:

* update module names
* set default version if tag not found

Result:

doc generation works again
2018-02-22 07:57:46 +01:00
Cory Benfield 088c09ece5 Improve Linux test gen script to match current format. (#3)
Motivation:

Right now the test gen script will rewrite every file. Not ideal!

Modifications:

Added the license header, and made the follow-on comment match that
style.

Result:

Test files will look the same when running this script as they do
now.
2018-02-21 20:16:28 +01:00
Tom Doron 5f114eb3f7 fix documentation generation
motivation: bring documentation generation closer to what it will look like on oss

changes:
* make cacheable steps conditional
* use absolute path for source-kitten generated index files
2018-02-19 17:38:34 -08:00
Tom Doron 7d5dc67af8 scripts cleanup
motivation: nicer source tree

chanages:
* move scripts to scripts directory
* move integration tests to IntegrationTests directory and remove driver script
* add .sh extension to bash scripts
* adjust rio.yaml
2018-02-12 10:06:46 -08:00