Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethFra committed Jul 11, 2018
1 parent e3aa9d8 commit afa6b21
Show file tree
Hide file tree
Showing 459 changed files with 33,846 additions and 1 deletion.
1 change: 1 addition & 0 deletions .build/checkouts/console.git--2431895819212044213
Submodule console.git--2431895819212044213 added at 5b9796
1 change: 1 addition & 0 deletions .build/checkouts/core.git-9210800844849382486
Submodule core.git-9210800844849382486 added at e55829
1 change: 1 addition & 0 deletions .build/checkouts/crypto.git-7980259129511365902
Submodule crypto.git-7980259129511365902 added at 4b8540
1 change: 1 addition & 0 deletions .build/checkouts/database-kit.git--3872818599693266265
Submodule database-kit.git--3872818599693266265 added at 4ac3e7
1 change: 1 addition & 0 deletions .build/checkouts/fluent-sqlite.git--5503918280859119093
Submodule fluent-sqlite.git--5503918280859119093 added at 8c5c44
1 change: 1 addition & 0 deletions .build/checkouts/fluent.git-6251908308727715749
Submodule fluent.git-6251908308727715749 added at ba8bd2
1 change: 1 addition & 0 deletions .build/checkouts/http.git-9159899851620770205
Submodule http.git-9159899851620770205 added at 8123ea
1 change: 1 addition & 0 deletions .build/checkouts/multipart.git-4210556629793786970
Submodule multipart.git-4210556629793786970 added at 7778dc
1 change: 1 addition & 0 deletions .build/checkouts/routing.git-5366657101075133678
Submodule routing.git-5366657101075133678 added at 3219e3
1 change: 1 addition & 0 deletions .build/checkouts/service.git--3029908809087319447
Submodule service.git--3029908809087319447 added at 281a70
1 change: 1 addition & 0 deletions .build/checkouts/sqlite.git--8232814251736334455
Submodule sqlite.git--8232814251736334455 added at 767086
Submodule swift-nio-ssl-support.git--2359138821295600615 added at c02eec
1 change: 1 addition & 0 deletions .build/checkouts/swift-nio-ssl.git-1370587408992578247
Submodule swift-nio-ssl.git-1370587408992578247 added at 0adc93
Submodule swift-nio-zlib-support.git--1071467962839356487 added at 37760e
1 change: 1 addition & 0 deletions .build/checkouts/swift-nio.git-3108475404973543938
Submodule swift-nio.git-3108475404973543938 added at 695afc
1 change: 1 addition & 0 deletions .build/checkouts/template-kit.git--6129928586187134836
Submodule template-kit.git--6129928586187134836 added at 43b57b
1 change: 1 addition & 0 deletions .build/checkouts/url-encoded-form.git--8133570518800567758
Submodule url-encoded-form.git--8133570518800567758 added at 57cf7f
1 change: 1 addition & 0 deletions .build/checkouts/validation.git--4403154650041669468
Submodule validation.git--4403154650041669468 added at ab6c5a
1 change: 1 addition & 0 deletions .build/checkouts/vapor.git-5492988889259800272
Submodule vapor.git-5492988889259800272 added at 09faa9
1 change: 1 addition & 0 deletions .build/checkouts/websocket.git-995660844808513665
Submodule websocket.git-995660844808513665 added at 141cb4
1 change: 1 addition & 0 deletions .build/dependencies-state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"object": {"dependencies": [{"basedOn": null, "packageRef": {"identity": "swift-nio-zlib-support", "isLocal": false, "name": "swift-nio-zlib-support", "path": "https://github.com/apple/swift-nio-zlib-support.git"}, "state": {"checkoutState": {"branch": null, "revision": "37760e9a52030bb9011972c5213c3350fa9d41fd", "version": "1.0.0"}, "name": "checkout"}, "subpath": "swift-nio-zlib-support.git--1071467962839356487"}, {"basedOn": null, "packageRef": {"identity": "validation", "isLocal": false, "name": "Validation", "path": "https://github.com/vapor/validation.git"}, "state": {"checkoutState": {"branch": null, "revision": "ab6c5a352d97c8687b91ed4963aef8e7cfe0795b", "version": "2.0.0"}, "name": "checkout"}, "subpath": "validation.git--4403154650041669468"}, {"basedOn": null, "packageRef": {"identity": "http", "isLocal": false, "name": "HTTP", "path": "https://github.com/vapor/http.git"}, "state": {"checkoutState": {"branch": null, "revision": "8123ea00e9858b369cd168d0303d33e7d3804d19", "version": "3.0.7"}, "name": "checkout"}, "subpath": "http.git-9159899851620770205"}, {"basedOn": null, "packageRef": {"identity": "sqlite", "isLocal": false, "name": "SQLite", "path": "https://github.com/vapor/sqlite.git"}, "state": {"checkoutState": {"branch": null, "revision": "7670865534744e5acc1f8899a7d0110d7c2c5ab5", "version": "3.0.0-rc.3.0.1"}, "name": "checkout"}, "subpath": "sqlite.git--8232814251736334455"}, {"basedOn": null, "packageRef": {"identity": "console", "isLocal": false, "name": "Console", "path": "https://github.com/vapor/console.git"}, "state": {"checkoutState": {"branch": null, "revision": "5b9796d39f201b3dd06800437abd9d774a455e57", "version": "3.0.2"}, "name": "checkout"}, "subpath": "console.git--2431895819212044213"}, {"basedOn": null, "packageRef": {"identity": "core", "isLocal": false, "name": "Core", "path": "https://github.com/vapor/core.git"}, "state": {"checkoutState": {"branch": null, "revision": "e5582911ed940289212a36321e15ec561d947dbe", "version": "3.3.0"}, "name": "checkout"}, "subpath": "core.git-9210800844849382486"}, {"basedOn": null, "packageRef": {"identity": "database-kit", "isLocal": false, "name": "DatabaseKit", "path": "https://github.com/vapor/database-kit.git"}, "state": {"checkoutState": {"branch": null, "revision": "4ac3e7437f9b95ce32b4d970bafa590bb3579647", "version": "1.1.0"}, "name": "checkout"}, "subpath": "database-kit.git--3872818599693266265"}, {"basedOn": null, "packageRef": {"identity": "crypto", "isLocal": false, "name": "Crypto", "path": "https://github.com/vapor/crypto.git"}, "state": {"checkoutState": {"branch": null, "revision": "4b85405430df1892ee3aa1554bdb477e96cf46ad", "version": "3.2.0"}, "name": "checkout"}, "subpath": "crypto.git-7980259129511365902"}, {"basedOn": null, "packageRef": {"identity": "websocket", "isLocal": false, "name": "WebSocket", "path": "https://github.com/vapor/websocket.git"}, "state": {"checkoutState": {"branch": null, "revision": "141cb4d3814dc8062cb0b2f43e72801b5dfcf272", "version": "1.0.1"}, "name": "checkout"}, "subpath": "websocket.git-995660844808513665"}, {"basedOn": null, "packageRef": {"identity": "swift-nio-ssl-support", "isLocal": false, "name": "swift-nio-ssl-support", "path": "https://github.com/apple/swift-nio-ssl-support.git"}, "state": {"checkoutState": {"branch": null, "revision": "c02eec4e0e6d351cd092938cf44195a8e669f555", "version": "1.0.0"}, "name": "checkout"}, "subpath": "swift-nio-ssl-support.git--2359138821295600615"}, {"basedOn": null, "packageRef": {"identity": "swift-nio", "isLocal": false, "name": "swift-nio", "path": "https://github.com/apple/swift-nio.git"}, "state": {"checkoutState": {"branch": null, "revision": "695afc5205aaa49fca092b94b479ff71c43d9d3c", "version": "1.8.0"}, "name": "checkout"}, "subpath": "swift-nio.git-3108475404973543938"}, {"basedOn": null, "packageRef": {"identity": "service", "isLocal": false, "name": "Service", "path": "https://github.com/vapor/service.git"}, "state": {"checkoutState": {"branch": null, "revision": "281a70b69783891900be31a9e70051b6fe19e146", "version": "1.0.0"}, "name": "checkout"}, "subpath": "service.git--3029908809087319447"}, {"basedOn": null, "packageRef": {"identity": "routing", "isLocal": false, "name": "Routing", "path": "https://github.com/vapor/routing.git"}, "state": {"checkoutState": {"branch": null, "revision": "3219e328491b0853b8554c5a694add344d2c6cfb", "version": "3.0.1"}, "name": "checkout"}, "subpath": "routing.git-5366657101075133678"}, {"basedOn": null, "packageRef": {"identity": "template-kit", "isLocal": false, "name": "TemplateKit", "path": "https://github.com/vapor/template-kit.git"}, "state": {"checkoutState": {"branch": null, "revision": "43b57b5861d5181b906ac6411d28645e980bb638", "version": "1.0.1"}, "name": "checkout"}, "subpath": "template-kit.git--6129928586187134836"}, {"basedOn": null, "packageRef": {"identity": "fluent", "isLocal": false, "name": "Fluent", "path": "https://github.com/vapor/fluent.git"}, "state": {"checkoutState": {"branch": null, "revision": "ba8bd2fb3c09cd6e9e2e75eb8cf7c3968d123fb9", "version": "3.0.0-rc.3.0.1"}, "name": "checkout"}, "subpath": "fluent.git-6251908308727715749"}, {"basedOn": null, "packageRef": {"identity": "url-encoded-form", "isLocal": false, "name": "URLEncodedForm", "path": "https://github.com/vapor/url-encoded-form.git"}, "state": {"checkoutState": {"branch": null, "revision": "57cf7fb9c1a1014c50bc05123684a9139ad44127", "version": "1.0.3"}, "name": "checkout"}, "subpath": "url-encoded-form.git--8133570518800567758"}, {"basedOn": null, "packageRef": {"identity": "multipart", "isLocal": false, "name": "Multipart", "path": "https://github.com/vapor/multipart.git"}, "state": {"checkoutState": {"branch": null, "revision": "7778dcb62f3efa845e8e2808937bb347575ba7ce", "version": "3.0.1"}, "name": "checkout"}, "subpath": "multipart.git-4210556629793786970"}, {"basedOn": null, "packageRef": {"identity": "vapor", "isLocal": false, "name": "Vapor", "path": "https://github.com/vapor/vapor.git"}, "state": {"checkoutState": {"branch": null, "revision": "09faa90db7ca49d7f75d5f8e385abce93bc7afb3", "version": "3.0.4"}, "name": "checkout"}, "subpath": "vapor.git-5492988889259800272"}, {"basedOn": null, "packageRef": {"identity": "swift-nio-ssl", "isLocal": false, "name": "swift-nio-ssl", "path": "https://github.com/apple/swift-nio-ssl.git"}, "state": {"checkoutState": {"branch": null, "revision": "0adc938bc8de3d3829b842f9767d81c7480b8403", "version": "1.1.1"}, "name": "checkout"}, "subpath": "swift-nio-ssl.git-1370587408992578247"}, {"basedOn": null, "packageRef": {"identity": "fluent-sqlite", "isLocal": false, "name": "FluentSQLite", "path": "https://github.com/vapor/fluent-sqlite.git"}, "state": {"checkoutState": {"branch": null, "revision": "8c5c44a76c6d47034607c1af6286ede85581d3f5", "version": "3.0.0-rc.3.0.1"}, "name": "checkout"}, "subpath": "fluent-sqlite.git--5503918280859119093"}]}, "version": 2}
1 change: 1 addition & 0 deletions .build/regenerate-token
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
1 change: 1 addition & 0 deletions .build/repositories/checkouts-state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"object": {"repositories": {"https://github.com/apple/swift-nio-ssl-support.git": {"repositoryURL": "https://github.com/apple/swift-nio-ssl-support.git", "status": "available", "subpath": "swift-nio-ssl-support.git--2359138821295600615"}, "https://github.com/apple/swift-nio-ssl.git": {"repositoryURL": "https://github.com/apple/swift-nio-ssl.git", "status": "available", "subpath": "swift-nio-ssl.git-1370587408992578247"}, "https://github.com/apple/swift-nio-zlib-support.git": {"repositoryURL": "https://github.com/apple/swift-nio-zlib-support.git", "status": "available", "subpath": "swift-nio-zlib-support.git--1071467962839356487"}, "https://github.com/apple/swift-nio.git": {"repositoryURL": "https://github.com/apple/swift-nio.git", "status": "available", "subpath": "swift-nio.git-3108475404973543938"}, "https://github.com/vapor/console.git": {"repositoryURL": "https://github.com/vapor/console.git", "status": "available", "subpath": "console.git--2431895819212044213"}, "https://github.com/vapor/core.git": {"repositoryURL": "https://github.com/vapor/core.git", "status": "available", "subpath": "core.git-9210800844849382486"}, "https://github.com/vapor/crypto.git": {"repositoryURL": "https://github.com/vapor/crypto.git", "status": "available", "subpath": "crypto.git-7980259129511365902"}, "https://github.com/vapor/database-kit.git": {"repositoryURL": "https://github.com/vapor/database-kit.git", "status": "available", "subpath": "database-kit.git--3872818599693266265"}, "https://github.com/vapor/fluent-sqlite.git": {"repositoryURL": "https://github.com/vapor/fluent-sqlite.git", "status": "available", "subpath": "fluent-sqlite.git--5503918280859119093"}, "https://github.com/vapor/fluent.git": {"repositoryURL": "https://github.com/vapor/fluent.git", "status": "available", "subpath": "fluent.git-6251908308727715749"}, "https://github.com/vapor/http.git": {"repositoryURL": "https://github.com/vapor/http.git", "status": "available", "subpath": "http.git-9159899851620770205"}, "https://github.com/vapor/multipart.git": {"repositoryURL": "https://github.com/vapor/multipart.git", "status": "available", "subpath": "multipart.git-4210556629793786970"}, "https://github.com/vapor/routing.git": {"repositoryURL": "https://github.com/vapor/routing.git", "status": "available", "subpath": "routing.git-5366657101075133678"}, "https://github.com/vapor/service.git": {"repositoryURL": "https://github.com/vapor/service.git", "status": "available", "subpath": "service.git--3029908809087319447"}, "https://github.com/vapor/sqlite.git": {"repositoryURL": "https://github.com/vapor/sqlite.git", "status": "available", "subpath": "sqlite.git--8232814251736334455"}, "https://github.com/vapor/template-kit.git": {"repositoryURL": "https://github.com/vapor/template-kit.git", "status": "available", "subpath": "template-kit.git--6129928586187134836"}, "https://github.com/vapor/url-encoded-form.git": {"repositoryURL": "https://github.com/vapor/url-encoded-form.git", "status": "available", "subpath": "url-encoded-form.git--8133570518800567758"}, "https://github.com/vapor/validation.git": {"repositoryURL": "https://github.com/vapor/validation.git", "status": "available", "subpath": "validation.git--4403154650041669468"}, "https://github.com/vapor/vapor.git": {"repositoryURL": "https://github.com/vapor/vapor.git", "status": "available", "subpath": "vapor.git-5492988889259800272"}, "https://github.com/vapor/websocket.git": {"repositoryURL": "https://github.com/vapor/websocket.git", "status": "available", "subpath": "websocket.git-995660844808513665"}}}, "version": 1}
1 change: 1 addition & 0 deletions .build/repositories/console.git--2431895819212044213/HEAD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ref: refs/heads/master
10 changes: 10 additions & 0 deletions .build/repositories/console.git--2431895819212044213/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/vapor/console.git
fetch = +refs/*:refs/*
mirror = true
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename this file to "applypatch-msg".

. git-sh-setup
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
:
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commit message file.
#
# To enable this hook, rename this file to "commit-msg".

# Uncomment the below to add a Signed-off-by line to the message.
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
# hook is more suited to it.
#
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"

# This example catches duplicate Signed-off-by lines.

test "" = "$(grep '^Signed-off-by: ' "$1" |
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
echo >&2 Duplicate Signed-off-by lines.
exit 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".

exec git update-server-info
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-applypatch".

. git-sh-setup
precommit="$(git rev-parse --git-path hooks/pre-commit)"
test -x "$precommit" && exec "$precommit" ${1+"$@"}
:
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".

if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi

# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --bool hooks.allownonascii)

# Redirect output to stderr.
exec 1>&2

# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
# Note that the use of brackets around a tr range is ok here, (it's
# even required, for portability to Solaris 10's /usr/bin/tr), since
# the square bracket bytes happen to fall in the designated range.
test $(git diff --cached --name-only --diff-filter=A -z $against |
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
then
cat <<\EOF
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF
exit 1
fi

# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/sh

# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
#
# If pushing without using a named remote those arguments will be equal.
#
# Information about the commits which are being pushed is supplied as lines to
# the standard input in the form:
#
# <local ref> <local sha1> <remote ref> <remote sha1>
#
# This sample shows how to prevent push of commits where the log message starts
# with "WIP" (work in progress).

remote="$1"
url="$2"

z40=0000000000000000000000000000000000000000

while read local_ref local_sha remote_ref remote_sha
do
if [ "$local_sha" = $z40 ]
then
# Handle delete
:
else
if [ "$remote_sha" = $z40 ]
then
# New branch, examine all commits
range="$local_sha"
else
# Update to existing branch, examine new commits
range="$remote_sha..$local_sha"
fi

# Check for WIP commit
commit=`git rev-list -n 1 --grep '^WIP' "$range"`
if [ -n "$commit" ]
then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi
fi
done

exit 0
Loading

0 comments on commit afa6b21

Please sign in to comment.