Skip to content
Permalink
Branch: master
Commits on Apr 11, 2019
  1. optional max payload size for ByteToMessageDecoder (#957)

    tomerd authored and Lukasa committed Apr 11, 2019
    * optional max payload size for ByteToMessageDecoder
    
    Motivation:
    
    ByteToMessageDecoder aggregate data in memory as part of their normal operation. the ability to limit how much they aggregate is critical in many real-life applications
    
    Modifications:
    
    * add optional maximumBufferSize argument to ByteToMessageDecoder initializer
    * test for buffer size when maximumBufferSize is set and throw ByteToMessageDecoderError.payloadTooLarge error
    
    Result:
    
    users can limit how much memory ByteToMessageDecoder takes and handle the exception on their end
Commits on Dec 6, 2018
  1. add support for swift 5.0 (#679)

    tomerd committed Dec 6, 2018
    Motivation: enable tests against swift 5.0
    
    Modifications:
    * add a docker-compose file for ubuntu 18.04 and swift 5.0-DEVELOPMENT-SNAPSHOT-2018-12-04-a
    * update Dockerfile to correctly handle development builds
    
    Result:
    * you can now test against swift 5.0 with docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.1804.50.yaml run test
Commits on May 1, 2018
  1. expose sanity script through docker compose (#375)

    tomerd committed May 1, 2018
    Motivation:
    
    be able to run the sanity check via docker compose
    
    Modifications:
    
    add sanity task to docker compose file
    
    Result:
    
    you can now run sanity check via docker
  2. extend docker setup to multiple version of ubuntu and swift (#357)

    tomerd authored and Lukasa committed May 1, 2018
    Motivation: easier testing across different permutations of os and language versions
    
    Modifications:
    
    * update dockerfile to take both swift_version adn ubuntu_version
    * update default linux version to 16.04
    * create multiple docker-compose files that use arguments to define os and swift versions
    * make docker-compose file DRYer with yaml anchors
    
    Result: users/ci can easily run tests across various versions of ubuntu and swift
Commits on Mar 7, 2018
  1. add license headers check to sanity script (#106)

    tomerd authored and Lukasa committed Mar 7, 2018
    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
Commits on Mar 5, 2018
  1. nicer way to use docker compose (#105)

    tomerd authored and normanmaurer committed Mar 5, 2018
    Motivation:
    
    asking to `cd` into the docker directory is not user firendly
    
    Modifications:
    
    use `docker-compose -f` directive
    
    Result:
    
    happier users
  2. docker cleanup (#90)

    tomerd authored and Lukasa committed Mar 5, 2018
    Motivation:
    
    repository currently contains two seperate docker definitions that are confusing to users
    
    Modifications:
    
    * remove Dockerfile.xenial so we have a canonical docker file for CI and developer testing
    * point docker compose to canonical docker file
    * define docker compose services for unit and integration tests. and make "test" service run both
    * update readme
    
    Result:
    
    users are less confused about docker setup
Commits on Feb 26, 2018
  1. prepare ci scripts (#32)

    tomerd authored and weissi committed Feb 26, 2018
    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
Commits on Feb 22, 2018
  1. fix doc generation (#8)

    tomerd authored and normanmaurer committed Feb 22, 2018
    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
Commits on Feb 21, 2018
  1. fix broken swift-nio-http2 link (#6)

    tomerd committed Feb 21, 2018
    Motivation:
    
    swift-nio-http2 is not released yet, link is broken
    
    Modifications:
    
    replace link with coming soon notice
    
    Result:
    
    no broken link
  2. update getting started guide to use git ssh address (#5)

    tomerd authored and normanmaurer committed Feb 21, 2018
    Motivation:
    
    consistency with other examples
    
    Modifications:
    
    use git ssh address in Package.swift example
    
    Result:
    
    more consistent with other getting started guides
Commits on Feb 20, 2018
  1. fix documentation generation

    tomerd committed Feb 20, 2018
    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
Commits on Feb 12, 2018
  1. scripts cleanup

    tomerd committed Feb 12, 2018
    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
Commits on Jan 31, 2018
  1. fix doc generation to include deleted files

    tomerd committed Jan 31, 2018
    motivation: in git 2.0 deleted files are ignored unless --all is specified
    
    ```
    warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal',
    whose behaviour will change in Git 2.0 with respect to paths you removed.
    Paths like 'docs/current/NIOOpenSSL/Classes.html' that are
    removed from your working tree are ignored with this version of Git.
    ```
    
    changes: use git add -all docs to includes removeals
Commits on Jan 27, 2018
  1. make docs script more resilient

    tomerd committed Jan 27, 2018
    motivation: doc generation fails when no changes detected
    
    changes: make git commit/push conditional on changes
Commits on Jan 19, 2018
  1. doc generation fixes

    tomerd committed Jan 19, 2018
    motivation: make doc generation work in ci
    
    changes:
    * update to non-root mode
    * use keyserver.ubuntu.com with port 80
    * increase timeout
Commits on Jan 18, 2018
  1. doc generation

    tomerd committed Jan 18, 2018
    motivation: publish api docs via gh-pages
    
    changes:
    * update generate_docs script to install required dependencies, perform sourcekitten index and commit the docs when running in CI
    * create a rio pipeline to run docs generation script
Commits on Oct 17, 2017
  1. sort linux tests

    tomerd committed Oct 17, 2017
    motivation: generated linux tests dont have consitent sorting in different OSs
    
    changes:
    
    * change test generator to sort tests and imports in memory before writing to file
    * update LinuxMain to the sorted version
Commits on Oct 16, 2017
  1. add prb sanity check

    tomerd committed Oct 16, 2017
    motivation: make sure we have linux test coverage
    
    changes: add pr check to test for "sanity" which now only includes linux tests, but can be extended to do other things
Commits on Jun 22, 2017
  1. test generation should not include timestamp

    tomerd committed Jun 22, 2017
    motivation: keep changeset smaller
    
    changes: remove timestamp from test generator template, regenerate tests with new template
Commits on Jun 21, 2017
  1. linux support

    tomerd committed Jun 21, 2017
    motivation: be able to build and test on linux
    
    changes:
    * add dockerfile to create docker image running all toold required for testing on linux
    * add readme with instruction on how to use the docker setup
    * add script to generate linux tests mapping
    * add .swift_version file to explicitly call out the swift version needed to build the project
    * adjust code that did not build on linux, mainly casting between Int32 and Int
You can’t perform that action at this time.