diff --git a/.gitignore b/.gitignore index e30d6dc..eca217d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,125 @@ +# ignore uncle archie config file +config.py + +# ignore virtualenv +vp + .htpasswd __pycache__ site/ config.json -vp + +# mkdocs +site/ + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json diff --git a/LICENSE b/LICENSE index 1d130c3..85f19cf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,41 +1,29 @@ Copyright (c) 2018 Charles Reid -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +BSD 3-Clause License: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. -------------------------------------- +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. -Original license of carlos-jenkins/python-github-webhooks on github: +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - https://github.com/carlos-jenkins/python-github-webhooks.git - -Copyright (C) 2014, 2015, 2016 Carlos Jenkins - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..afe0e1e --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +graft src/webapp/templates +graft src/webapp/static +graft src/tests/payloads + diff --git a/Readme.md b/Readme.md index dac1f5c..2964e71 100644 --- a/Readme.md +++ b/Readme.md @@ -27,9 +27,12 @@ Source code mirror: ## Quick Start +**(Unless otherwise noted, the following commands should be +executed from the command line.)** + To get started, run the Uncle Archie Flask server: -``` +```bash python uncle_archie.py ``` @@ -41,7 +44,9 @@ define a custom function that takes the payload, a dictionary of meta-info (repo, branch name, and action name), and the configuration dictionary: -``` +(The following is Python code) + +```python def process_payload(payload, meta, config): # Do some stuff here, # like use the payload to see @@ -53,7 +58,7 @@ def process_payload(payload, meta, config): Put this in a Python file in the the `hooks/` directory: -``` +```bash cat > hooks/my_cool_hook.py < while the nginx proxy server is -at . The location of -the Jenkins server is set to . - -![Configure Jenkins page - location](images/jenkins-configure-location.png) diff --git a/attic/css/custom.css b/attic/css/custom.css deleted file mode 100644 index ba1a533..0000000 --- a/attic/css/custom.css +++ /dev/null @@ -1,18 +0,0 @@ -.md-typeset h1 { font-weight: 600; } -.md-typeset h2 { font-weight: 600; } -.md-typeset h3 { font-weight: 600; } -.md-typeset h4 { font-weight: 600; } - -body { - background-color: #FAFAFA; -} -div.body { - background-color: #FAFAFA; -} -a.md-logo img { - width: 30px; - height: 30px; -} -.md-typeset code { - font-size: 100%; -} diff --git a/attic/ghprb.md b/attic/ghprb.md deleted file mode 100644 index 59a9f5a..0000000 --- a/attic/ghprb.md +++ /dev/null @@ -1,8 +0,0 @@ -# github pull request builder (ghprb) plugin - -This is a plugin that allows Jenkins to run -Pipelines to do pull request checks. - -[github link](https://github.com/jenkinsci/ghprb-plugin/blob/master/README.md) - - diff --git a/attic/images/jenkins-configure-location.png b/attic/images/jenkins-configure-location.png deleted file mode 100644 index bf97807..0000000 Binary files a/attic/images/jenkins-configure-location.png and /dev/null differ diff --git a/attic/images/jenkins-configure.png b/attic/images/jenkins-configure.png deleted file mode 100644 index d2d8a33..0000000 Binary files a/attic/images/jenkins-configure.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-1.png b/attic/images/jenkins-ghprb-1.png deleted file mode 100644 index e95c7f9..0000000 Binary files a/attic/images/jenkins-ghprb-1.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-2.png b/attic/images/jenkins-ghprb-2.png deleted file mode 100644 index b7da5a9..0000000 Binary files a/attic/images/jenkins-ghprb-2.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-3.png b/attic/images/jenkins-ghprb-3.png deleted file mode 100644 index 8d3ef05..0000000 Binary files a/attic/images/jenkins-ghprb-3.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-4.png b/attic/images/jenkins-ghprb-4.png deleted file mode 100644 index e356c50..0000000 Binary files a/attic/images/jenkins-ghprb-4.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-5-test-1.png b/attic/images/jenkins-ghprb-5-test-1.png deleted file mode 100644 index 7bb9fe2..0000000 Binary files a/attic/images/jenkins-ghprb-5-test-1.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-5-test-2.png b/attic/images/jenkins-ghprb-5-test-2.png deleted file mode 100644 index 2f20edf..0000000 Binary files a/attic/images/jenkins-ghprb-5-test-2.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-5-test-3.png b/attic/images/jenkins-ghprb-5-test-3.png deleted file mode 100644 index 6417a32..0000000 Binary files a/attic/images/jenkins-ghprb-5-test-3.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-5-test-4.png b/attic/images/jenkins-ghprb-5-test-4.png deleted file mode 100644 index 6c07fcd..0000000 Binary files a/attic/images/jenkins-ghprb-5-test-4.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-5-test-5.png b/attic/images/jenkins-ghprb-5-test-5.png deleted file mode 100644 index b015179..0000000 Binary files a/attic/images/jenkins-ghprb-5-test-5.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-5-test-6.png b/attic/images/jenkins-ghprb-5-test-6.png deleted file mode 100644 index 7fd28ce..0000000 Binary files a/attic/images/jenkins-ghprb-5-test-6.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-5-test-7.png b/attic/images/jenkins-ghprb-5-test-7.png deleted file mode 100644 index 87d435f..0000000 Binary files a/attic/images/jenkins-ghprb-5-test-7.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-6-config-1.png b/attic/images/jenkins-ghprb-6-config-1.png deleted file mode 100644 index f5f224b..0000000 Binary files a/attic/images/jenkins-ghprb-6-config-1.png and /dev/null differ diff --git a/attic/images/jenkins-ghprb-6-config-2.png b/attic/images/jenkins-ghprb-6-config-2.png deleted file mode 100644 index e1735ef..0000000 Binary files a/attic/images/jenkins-ghprb-6-config-2.png and /dev/null differ diff --git a/attic/images/jenkins-installing-1.png b/attic/images/jenkins-installing-1.png deleted file mode 100644 index fc39fd0..0000000 Binary files a/attic/images/jenkins-installing-1.png and /dev/null differ diff --git a/attic/images/jenkins-installing-2.png b/attic/images/jenkins-installing-2.png deleted file mode 100644 index 78dd800..0000000 Binary files a/attic/images/jenkins-installing-2.png and /dev/null differ diff --git a/attic/images/jenkins-installing-3.png b/attic/images/jenkins-installing-3.png deleted file mode 100644 index 26897f5..0000000 Binary files a/attic/images/jenkins-installing-3.png and /dev/null differ diff --git a/attic/images/jenkins-job-1.png b/attic/images/jenkins-job-1.png deleted file mode 100644 index 035e066..0000000 Binary files a/attic/images/jenkins-job-1.png and /dev/null differ diff --git a/attic/images/jenkins-job-2.png b/attic/images/jenkins-job-2.png deleted file mode 100644 index 173cfcd..0000000 Binary files a/attic/images/jenkins-job-2.png and /dev/null differ diff --git a/attic/images/jenkins-job-3.png b/attic/images/jenkins-job-3.png deleted file mode 100644 index 95bd375..0000000 Binary files a/attic/images/jenkins-job-3.png and /dev/null differ diff --git a/attic/images/jenkins-job-4.png b/attic/images/jenkins-job-4.png deleted file mode 100644 index 02c2e0c..0000000 Binary files a/attic/images/jenkins-job-4.png and /dev/null differ diff --git a/attic/images/jenkins-job-5.png b/attic/images/jenkins-job-5.png deleted file mode 100644 index 4fd8b09..0000000 Binary files a/attic/images/jenkins-job-5.png and /dev/null differ diff --git a/attic/images/jenkins-login-post.png b/attic/images/jenkins-login-post.png deleted file mode 100644 index 6c50434..0000000 Binary files a/attic/images/jenkins-login-post.png and /dev/null differ diff --git a/attic/images/jenkins-login-pre.png b/attic/images/jenkins-login-pre.png deleted file mode 100644 index 3cebce8..0000000 Binary files a/attic/images/jenkins-login-pre.png and /dev/null differ diff --git a/attic/images/jenkins-manage-2.png b/attic/images/jenkins-manage-2.png deleted file mode 100644 index fda61c4..0000000 Binary files a/attic/images/jenkins-manage-2.png and /dev/null differ diff --git a/attic/images/jenkins-manage.png b/attic/images/jenkins-manage.png deleted file mode 100644 index fbcd432..0000000 Binary files a/attic/images/jenkins-manage.png and /dev/null differ diff --git a/attic/images/jenkins-pm-avail.png b/attic/images/jenkins-pm-avail.png deleted file mode 100644 index 90aa439..0000000 Binary files a/attic/images/jenkins-pm-avail.png and /dev/null differ diff --git a/attic/images/jenkins-pm-inst-2.png b/attic/images/jenkins-pm-inst-2.png deleted file mode 100644 index 3322fd4..0000000 Binary files a/attic/images/jenkins-pm-inst-2.png and /dev/null differ diff --git a/attic/images/jenkins-pm-inst.png b/attic/images/jenkins-pm-inst.png deleted file mode 100644 index 6a21e60..0000000 Binary files a/attic/images/jenkins-pm-inst.png and /dev/null differ diff --git a/attic/images/jenkins-pm.png b/attic/images/jenkins-pm.png deleted file mode 100644 index 69fdae6..0000000 Binary files a/attic/images/jenkins-pm.png and /dev/null differ diff --git a/attic/images/jenkins-running-1.png b/attic/images/jenkins-running-1.png deleted file mode 100644 index 0d37fc4..0000000 Binary files a/attic/images/jenkins-running-1.png and /dev/null differ diff --git a/attic/images/jenkins-running-2.png b/attic/images/jenkins-running-2.png deleted file mode 100644 index ee1b092..0000000 Binary files a/attic/images/jenkins-running-2.png and /dev/null differ diff --git a/attic/images/jenkins-running-3.png b/attic/images/jenkins-running-3.png deleted file mode 100644 index f726463..0000000 Binary files a/attic/images/jenkins-running-3.png and /dev/null differ diff --git a/attic/index.md b/attic/index.md deleted file mode 100644 index 2a19ad8..0000000 --- a/attic/index.md +++ /dev/null @@ -1,36 +0,0 @@ -# uncle-jenkins - - - -**Uncle Jenkins** is a home-brewed continuous integration server. -It handles pull request checks (build-test) and push-to-deploy -functionality (build-test-deploy). - -**Uncle Jenkins** is intended to run behind an nginx reverse proxy -so that SSL can be used. This requires the server running -Uncle Jenkins be accessible at a domain name, and not just be -a bare IP address. - -## Table of Contents - -* Preparing Jenkins: - * [Installing Jenkins](installing.md) - * [Nginx and Jenkins](nginx.md) - * [Configuring Jenkins](configuring.md) - -* Jenkins Plugins: - * [Installing Plugins](plugins.md) - * [Github Pull Request Builder](plugins_ghprb.md) - -* Pipelines: - * [Pull Request Reviews](#) (in progress) - -## Links - -Documentation (you are here): - -Source code: - -Source code mirror: - - diff --git a/attic/installing.md b/attic/installing.md deleted file mode 100644 index 8c37ec2..0000000 --- a/attic/installing.md +++ /dev/null @@ -1,83 +0,0 @@ -# Installing Jenkins - -These instructions assume you are running Ubuntu 16.04. - -* See the [jenkins installation page](https://jenkins.io/doc/book/installing/) - on jenkins.io for coverage of other platforms. - -* See [jenkins download page](https://jenkins.io/download/) on jenkins.io - to download jenkins for your platform. - -## Installing Jenkins With Aptitude - -To install jenkins, we use aptitude, which installs -jenkins as a system service: - -``` -wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - -echo deb https://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list -sudo apt-get update -sudo apt-get install jenkins -``` - -Now start jenkins running on port 8080: - -``` -sudo systemctl start jenkins -``` - -## Starting/Stopping The Jenkins Service - -Jenkins will be installed as a system service, so it can be -started and stopped using systemctl: - -``` -sudo systemctl start jenkins -sudo systemctl stop jenkins -sudo systemctl restart jenkins -``` - -## Unlocking Jenkins - -Verify your installation went okay by visiting -`http://:8080` in your browser. You should -be asked for an admin password: - -![Jenkins unlock](images/jenkins-installing-1.png) - -Run this from the Jenkins server to get the key: - -``` -sudo cat /var/lib/jenkins/secrets/initialAdminPassword -``` - -You can set a new user/password, or you can use -the admin username with the alphanumeric string in -the above file as the password. - -Next it will ask if you want to install any plugins. -I selected the default (the "community choice" -plugins): - -![Jenkins unlock](images/jenkins-installing-2.png) - -This will run through an installation process: - -![Jenkins unlock](images/jenkins-installing-3.png) - -Once you set up an admin user, you should now see -the following login page when you visit your jenkins -instance: - -![Jenkins pre-login](images/jenkins-login-pre.png) - - -## Installing Nginx Proxy - -If you are running Jenkins behind an nginx server (optional), -this is the proper time to set up the nginx server to reverse -proxy Jenkins. - -See [nginx and jenkins](nginx.md) - - diff --git a/attic/jobs_ghprb.md b/attic/jobs_ghprb.md deleted file mode 100644 index 16e0c90..0000000 --- a/attic/jobs_ghprb.md +++ /dev/null @@ -1,114 +0,0 @@ -# Jenkins Job: Github Pull Request Builder (GHPRB) - -## Creating PR Builder Job - -Start by logging into your Jenkins instance. - -Once you are logged in you should see a view like this: - -![Jenkins home view](images/jenkins-login-post.png) - -Click "Create New Jobs" to create a new job. This job will build -our pull requests and determine if they pass the build process or not, -then update their status accordingly. - -Select a job of type "Freestyle": - -![Jenkins create new job](images/jenkins-job-1.png) - -Once you create the job you will be taken to a page where you can configure -the job. We will edit the "Source Code Management" section and select "Git" -instead of "None". - -![Jenkins job configuration](images/jenkins-job-2.png) - -Once you select the Git radio button, other options appear. Fill out the Github -repository with the URL that you would normally visit to see the repo in Github. - -From the [Github Pull Request Builder README](https://github.com/jenkinsci/ghprb-plugin): - -``` - In Branch Specifier, instead of the default */master, enter: - - ${ghprbActualCommit} if you want to use the head of the pull request branch - (e.g. refs/pull/4/head); or - - ${sha1}, to use GitHub's tentative merge of the compare and base branches - (e.g. refs/pull/4/merge) if the PR can be automatically merged - or, - the head of the pull request branch (e.g. refs/pull/4/head) - if they can not be automatically merged. -``` - -![Jenkins create new job](images/jenkins-job-3.png) - -Next, go to the Build Triggers section and check the box for "Github Pull -Request Builder" which will, surprise, give you configuration options. Enter a -list of Github users who are authorized as admins _for this job_. That means -they are allowed to order the bot around, for this job - anywhere this job -applies. - -![Jenkins create new job](images/jenkins-job-4.png) - -Now your home page should show your new job! - -![Jenkins create new job](images/jenkins-job-5.png) - -Ready to rock. - -## running PR builder job - -Once you have created the Github PR Builder job, you are ready to -trigger it. Starting from the Jenkins home page, you should see -your job in the list: - -![List of jobs, Running Jenkins page](images/jenkins-running-1.png) - -Click the project name to open the project page. On the left side, -you will see a "Build Now" option. Use this to trigger a build job. - -Before you trigger a build job, open another pull request for the -GHPRB to try and build. - -![Build now action, Running Jenkins page](images/jenkins-running-2.png) - -Once you trigger a build, it will show up in a box on the bottom -left part of the page, labeled "Build History". - -![Viewing build results, Running Jenkins page](images/jenkins-running-3.png) - -Click on a build number to open its page: - -![Viewing individual build result, Running Jenkins page](images/jenkins-running-4.png) - -From here, you can also view the output log from the build job. - -![Viewing build log, Running Jenkins page](images/jenkins-running-5.png) - -## Dealing With Failed Build - -Your first build will probably result in a failure: - -![Viewing build log, Running Jenkins page](images/jenkins-running-5.png) - -The error message is: - - ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. - Finished: FAILURE - -This issue is caused by a change in Jenkins and how it deals with exporting -variables. See [this issue](https://github.com/jenkinsci/ghprb-plugin/issues/341) -in the GHPRB plugin repo, and [this announcement](https://jenkins.io/blog/2016/05/11/security-update/) -from Jenkins about what changed and broke GHPRB. - -To make this work, we need to modify the Jenkins startup service -in `/etc/init.d/jenkins` and add flags to the Jenkins run line. -Specifically, change this line (line 157): - - $SU -l $JENKINS_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -jar $JENKINS_WAR $JENKINS_ARGS" || return 2 - -to this line: - - $SU -l $JENKINS_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -Dhudson.model.ParametersAction.safeParameters=ghprbActualCommit,ghprbActualCommitAuthor,ghprbActualCommitAuthorEmail,ghprbAuthorRepoGitUrl,ghprbCommentBody,ghprbCredentialsId,ghprbGhRepository,ghprbPullAuthorEmail,ghprbPullAuthorLogin,ghprbPullAuthorLoginMention,ghprbPullDescription,ghprbPullId,ghprbPullLink,ghprbPullLongDescription,ghprbPullTitle,ghprbSourceBranch,ghprbTargetBranch,ghprbTriggerAuthor,ghprbTriggerAuthorEmail,ghprbTriggerAuthorLogin,ghprbTriggerAuthorLoginMention,GIT_BRANCH,sha1 -jar $JENKINS_WAR $JENKINS_ARGS" || return 2 - - diff --git a/attic/nginx.md b/attic/nginx.md deleted file mode 100644 index 281b6e9..0000000 --- a/attic/nginx.md +++ /dev/null @@ -1,165 +0,0 @@ -# Nginx and Jenkins - -## Background - -### What Is Nginx? - -nginx is a web server that can allow for a lot more flexibility -in routing domain names and web traffic from the frontend to -various backend servers. - -One of the more useful functionalities in nginx is the ability to -set up a reverse proxy. - -### What Is A Reverse Proxy? - -A proxy is defined as _the authority to represent someone else_. -Typically a proxy is set up to "surround" and "wrap" actions that -the user takes, and relay them to the "outside world" (i.e., the -world beyond the proxy). - -A reverse proxy means that instead of "surrounding" and "wrapping" -the client, a reverse proxy wraps the end server. That means that -any requests for , say, `https://jenkins.mydomain.com` can be reverse -proxied to `http://localhost:8080/`, where an instance of Jenkins -is running. - -The advantage of this is that Jenkins is not accessible via port -8080 to outside users. Every request must pass through nginx. - -## First Steps: Installing Nginx - -Using your operating system's package manager is recommended: - -``` -apt-get install nginx -``` - -On Ubuntu, this will install configuration files to: - -``` -/etc/nginx/ -``` - -and will make nginx a service that can be started/stopped with: - -``` -sudo service nginx start -sudo service nginx stop -``` - -**Jenkins runs on port 8080 and is available at -`localhost:8080`.** - -## Nginx Standard Configuration - -The "standard configuration" for nginx is to use port 443 for -HTTPS, port 80 for HTTP, and to automatically redirect HTTP -requests on port 80 to the more secure port 443. - -The nginx configuration file below sets up nginx as a -reverse proxy in front of Jenkins, and makes it available -via a subdomain like `jenkins.mysite.com`. - -Here is the nginx configuration file and the location -on disk where it should be using an aptitude-installed -nginx: - -**`/etc/nginx/sites-available/jenkins.conf`** - -```plain -server { - listen 80; - listen [::]:80; - server_name jenkins.mydomain.com; - location / { - return 301 https://jenkins.mydomain.com$request_uri; - } -} - -server { - listen 443; - listen [::]:443; - server_name jenkins.mydomain.com; - - ssl on; - ssl_certificate /etc/letsencrypt/live/jenkins.mydomain.com/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/jenkins.mydomain.com/privkey.pem; - include /etc/letsencrypt/options-ssl-nginx.conf; - - location / { - proxy_set_header Host $host:$server_port; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_redirect http:// https://; - proxy_pass http://localhost:8080; - # Required for new HTTP-based CLI - proxy_http_version 1.1; - proxy_request_buffering off; - proxy_buffering off; # Required for HTTP-based CLI to work over SSL - # workaround for https://issues.jenkins-ci.org/browse/JENKINS-45651 - add_header 'X-SSH-Endpoint' 'jenkins.domain.tld:50022' always; - } -} -``` - -### Alternative Nginx Configuration - -Alternatively, if you want your server to be publicly available on a non-standard -port like 8081, but still use SSL, for example being available at - -``` -https://jenkins.mydomain.com:8081 -``` - -then you can remove the port 80 redirect and change port 443 to 8081: - -``` -server { - listen 8081; - listen [::]:8081; - server_name jenkins.mydomain.com; - - ssl on; - ssl_certificate /etc/letsencrypt/live/jenkins.mydomain.com/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/jenkins.mydomain.com/privkey.pem; - include /etc/letsencrypt/options-ssl-nginx.conf; - - location / { - proxy_set_header Host $host:$server_port; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_redirect http:// https://; - proxy_pass http://localhost:8080; - # Required for new HTTP-based CLI - proxy_http_version 1.1; - proxy_request_buffering off; - proxy_buffering off; # Required for HTTP-based CLI to work over SSL - # workaround for https://issues.jenkins-ci.org/browse/JENKINS-45651 - add_header 'X-SSH-Endpoint' 'jenkins.domain.tld:50022' always; - } -} -``` - -The configuration file (full contents given above) should be copied to -(requires sudo access): - -``` -/etc/nginx/sites-available/jenkins.conf -``` - -The site should then be enabled by linking this configuration -file to the `sites-enabled` folder: - -``` -sudo ln -fs /etc/nginx/sites-available/jenkins.conf /etc/nginx/sites-enabled/ -``` - -Now nginx can be restarted: - -``` -sudo service nginx restart -``` - diff --git a/attic/plugins.md b/attic/plugins.md deleted file mode 100644 index b7c8d78..0000000 --- a/attic/plugins.md +++ /dev/null @@ -1,38 +0,0 @@ -# Installing Jenkins Plugins - -The last step for getting our uncle-jenkins server prepared -is to install the right jenkins plugins to perform the tasks -we want. - -## plugins - -* [**Github Pull Request Builder (GHPRB)**](plugins_ghprb.md) - the GHPRB - plugin allows Jenkins to create builds on pull requests, which allows Jenkins - to be integrated as a PR build check step in a repository. See the - [GHPRB plugin](plugins_ghprb.md) page. - -## how to install plugins - -Once you are logged in you should see a view like this: - -![Jenkins home page](images/jenkins-login-post.png) - -After clicking "Manage Jenkins" on the left, you should see a list of menu items: - -![Manage Jenkins page](images/jenkins-manage.png) - -Scroll down to the item "Manage Plugins" (gren puzzle piece): - -![Manage Plugins item on Manage Jenkins page](images/jenkins-manage-2.png) - -This takes you to the plugin manager view: - -![Plugin Manager page](images/jenkins-pm.png) - -Click the Available tab to see a list of plugins that are available on the -server and can be installed into your Jenkins instance: - -![Available tab of Plugin Manager page](images/jenkins-pm-avail.png) - -From here, you can install any of the plugins listed. - diff --git a/attic/plugins_ghprb.md b/attic/plugins_ghprb.md deleted file mode 100644 index 5ca1d8c..0000000 --- a/attic/plugins_ghprb.md +++ /dev/null @@ -1,223 +0,0 @@ -# Github Pull Request Builder (GHPRB) Jenkins Plugin - -Also see the [Installing Plugins](plugins.md) page. - -## installing jenkins GHPRB plugin - -To enable Jenkins to build Pull Requests and act as a PR check, we need -to install the "Github Pull Request Builder" plugin into Jenkins. - -Use Control + F to search for "Github Pull Request Builder" and check -the box next to it. Then click the button at the bottom that says -"Install without restart." - -Now click the Installed tab on the plugin manager page to see a list -of plugins that are installed on the server: - -![Installed tab of Plugin Manager page](images/jenkins-pm-inst.png) - -Control + F search for "Github Pull Request Builder" and you should -see it come up: - -![GHPRB in Installed tab of Plugin Manager page](images/jenkins-pm-inst-2.png) - -Don't bother clicking the link, since it will take you to -the Jenkins wiki page for the plugin. - -## getting to the jenkins configuration page - -To configure the GHPRB plugin, start from the home view: - -![Jenkins home page](images/jenkins-login-post.png) - -After clicking "Manage Jenkins" on the left, you should see a list of menu items: - -![Manage Jenkins page](images/jenkins-manage.png) - -After clicking the first item, "Configure System", you should see a page with -many sections: - -![Configure Jenkins page](images/jenkins-configure.png) - -Let's go through how to set up the pull request build plugin -to properly authenticate with Github. - -## configuring jenkins GHPRB plugin - -Note: these steps are based largely on the README in the -[Github Pull Request Builder plugin -repo](https://github.com/jenkinsci/ghprb-plugin/blob/master/README.md) -(on Github, of course). - -Once at the configuration page, scroll down to the section titled -"Github Pull Request Builder" (or Control + F it). - -![GHPRB section on Configure Jenkins page](images/jenkins-ghprb-1.png) - -This has a couple of key fields: - -* Github server API URL: this is for Github Enterprise users; leave as is if - using Github.com - -* Credentials: this is where we will add our Github credentials (log in under - the bot account we want Jenkins to use). - -* Connect to API: we will use this to test our credentials. - -* Advanced: this button will open up a whole host of options. These are covered - below. - -## basic configuration - -### authenticating with the Github API - -Click the "Add" button next to credentials and select Jenkins as your -credentials provider. Create a credential of Kind "Secret Text". -For the Secret, you will enter a Github Personal Access Token, -which we'll cover next. - -Here is what the jenkins credentials provider looks like: - -![Credentials Provider in GHPRB section on Configure Jenkins page](images/jenkins-ghprb-2.png) - -To create a Github Authentication Token, log in to Github using the account -jenkins will review PRs as. Go to the Settings page and click Developer Settings, -then Personal acess tokens, or just visit -once you are logged in. - -Now click "Generate New Token". You will see some options like those shown -below. Configure the check boxes to match those shown in the image below: - -![Generate New Token in GHPRB section on Configure Jenkins page](images/jenkins-ghprb-3.png) - -Now create a token. The token will only be shown once, and cannot be viewed -again, so store it somewhere safe like a password manager. - -Back at the jenkins credentials provider window, enter the -API key you generated into the "Secret" field. Leave the -other fields blank. Click Add. - -Here's what the Github Pull Request Builder section of the jenkins configuration -page will look like once you've authenticated with Github: - -![Github Auth in GHPRB section on Configure Jenkins page](images/jenkins-ghprb-3.png) - -Now test the authentication mechanism by clicking Test Credentials. - -### testing authentication with Github - -There are several tests to run to ensure Github authentication is -working okay. - -Starting from the Github Pull Request Builder section of the configuration -page, click the Test Credentials button: - -![Test Credentials in GHPRB section](images/jenkins-ghprb-4.png) - -This opens several checkboxes with options. To run the given test, -you check the box. (Weird, I know.) - -![Test Credentials in GHPRB section - test 1](images/jenkins-ghprb-5-test-1.png) - -When you check the "Test basic connection to Github" box, you'll see -the results of checking that you can connect to Github: - -![Test Credentials in GHPRB section - test 2](images/jenkins-ghprb-5-test-2.png) - -Enter a repository that your Jenkins user should have access to, -and then check the next checkbox, "Test Permissions to a Repository": - -![Test Credentials in GHPRB section - test 3](images/jenkins-ghprb-5-test-3.png) - -For the next test, you should create a pull request in the repository -that you entered in the text box. You can do this easily by opening -the README file in your repository, clicking the pencil "Edit" button -in Github, and adding an empty line at the top of the file. - -When you click the green submit button, make sure you select the option -to create a new branch and start a pull request. Once you have submitted -the change as a pull request, click the "Pull Requests" tab of the repository -and find the pull request's number. In the example below, the pull request -is #1: - -![Test Credentials in GHPRB section - test 4](images/jenkins-ghprb-5-test-4.png) - -When you click "Comment to Issue", Jenkins will use the Github credentials -to attempt to leave the comment specified in the text box in the pull -request thread. - -Here's what it should look like if everything goes according to plan: - -![Comment on a pull request](images/jenkins-ghprb-5-test-5.png) - -Let's keep moving through the tests, there is still one more to get through! - -The last test is the most important, and that is testing whether the Jenkins -server can mark a pull request as passing or failing checks, or whether they -resulted in an error. - -Click the "Test updating commit status" button and it will give several -options to set. For the commit hash, use the commit hash of the single -commit in the pull request. We will test setting the state to FAILURE. - -The other settings will make more sense in context, but we can set a -URL that links to a page with more details on the build, a message -to post about the failure, and some context (more info). - -Here is what the settings look like filled out: - -![Settings filled out in GHPRB section](images/jenkins-ghprb-5-test-6.png) - -When "Update Status" is clicked it results in the following change to -the pull request page: - -![Failed pull request](images/jenkins-ghprb-5-test-7.png) - -Note that the pull request can still be merged, but in the repository -settings we can require that build checks pass before any pull requests -can be merged. - -## advanced configuration - -The configuration never ends. Clicking the "Advanced" button reveals additional -configuration options: - -![Advanced config options](images/jenkins-ghprb-6-config-1.png) - -![More advanced config options](images/jenkins-ghprb-6-config-2.png) - -Let's walk through what these mean. - -* **Request for testing phase:** (default value: "Can one of the admins verify this - patch please?") When a new pull request is opened in the project and the author of - the pull request isn't whitelisted, builder will post this message. - -* **Accept to test phrase:** (default value: "ok to test") one of the admins can - comment with this message to green-light this pull request for testing - (prevents random strangers from running code thru Jenkins tests). - -* **Add to whitelist phrase:** (default value: "add to whitelist") one of the - admins can reply with this message to instruct Jenkins to add the author of the - PR to the whitelist. - -* **Test phrase:** (default value: "test this please") one of the admins can comment - with this message to instruct Jenkins to do a one-time test run. - -* **Skip build phrase:** (default value: "skip ci") one of the admins can - comment with this message to instruct Jenkins not to run any tests - -* **Crontab line:** the jenkins user on the server installs its own crontab to - check for new jobs. crontab has a maximum resolution of 1 minute, so that's - the fastest you can check for new tasks. - -* **List of GitHub labels for which the build should not be triggered:** this - allows users to skip CI by applying a label to their pull request. - -* **List of GitHub labels for which the build should only be triggered. (Leave - blank for 'any')** (Self-explanatory) - -* **Application Setup:** this section allows you to update the build status - while the build is going on. We will leave this alone for the purposes of - these instructions. - - diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000..77f4f37 --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1,3 @@ +secrets.py +dum.py +prototype.py diff --git a/examples/dcppc.py b/examples/dcppc.py new file mode 100644 index 0000000..31b8825 --- /dev/null +++ b/examples/dcppc.py @@ -0,0 +1,42 @@ +import archie +import logging +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +# logging stuff +logging.basicConfig(level=logging.DEBUG) +console = logging.StreamHandler() +console.setLevel(logging.INFO) +annoying = logging.getLogger('urllib3.connectionpool') +annoying.disabled=True + +# archie app +app = archie.webapp.get_flask_app() +app.config['DEBUG'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN +app.set_payload_handler('dcppc') + +# archie test client +client = app.test_client() + + +############################ +# tests + +logging.debug("-"*40) +logging.debug("sync") +r = archie.tests.dcppc_private_www_sync(client) + +logging.debug("-"*40) +logging.debug("closed (merged)") +r = archie.tests.dcppc_private_www_closed_merged(client) + +logging.debug("-"*40) +logging.debug("closed (unmerged)") +r = archie.tests.dcppc_private_www_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("push") +r = archie.tests.dcppc_private_www_push(client) diff --git a/examples/dcppc_4yp.py b/examples/dcppc_4yp.py new file mode 100644 index 0000000..ca246a1 --- /dev/null +++ b/examples/dcppc_4yp.py @@ -0,0 +1,43 @@ +import archie +import logging +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +# logging stuff +logging.basicConfig(level=logging.DEBUG) +console = logging.StreamHandler() +console.setLevel(logging.INFO) +annoying = logging.getLogger('urllib3.connectionpool') +annoying.disabled=True + +# archie app +app = archie.webapp.get_flask_app() +app.config['DEBUG'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN +app.set_payload_handler('dcppc') + +# archie test client +client = app.test_client() + + +############################ +# 4yp + +logging.debug("-"*40) +logging.debug("sync") +r = archie.tests.dcppc_4yp_sync(client) + +logging.debug("-"*40) +logging.debug("closed (merged)") +r = archie.tests.dcppc_4yp_closed_merged(client) + +logging.debug("-"*40) +logging.debug("closed (unmerged)") +r = archie.tests.dcppc_4yp_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("push") +r = archie.tests.dcppc_4yp_push(client) + diff --git a/examples/dcppc_int.py b/examples/dcppc_int.py new file mode 100644 index 0000000..191c89c --- /dev/null +++ b/examples/dcppc_int.py @@ -0,0 +1,43 @@ +import archie +import logging +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +# logging stuff +logging.basicConfig(level=logging.DEBUG) +console = logging.StreamHandler() +console.setLevel(logging.INFO) +annoying = logging.getLogger('urllib3.connectionpool') +annoying.disabled=True + +# archie app +app = archie.webapp.get_flask_app() +app.config['DEBUG'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN +app.set_payload_handler('dcppc') + +# archie test client +client = app.test_client() + + +############################ +# internal + +logging.debug("-"*40) +logging.debug("sync") +r = archie.tests.dcppc_internal_sync(client) + +logging.debug("-"*40) +logging.debug("closed (merged)") +r = archie.tests.dcppc_internal_closed_merged(client) + +logging.debug("-"*40) +logging.debug("closed (unmerged)") +r = archie.tests.dcppc_internal_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("push") +r = archie.tests.dcppc_internal_push(client) + diff --git a/examples/dcppc_org.py b/examples/dcppc_org.py new file mode 100644 index 0000000..e372767 --- /dev/null +++ b/examples/dcppc_org.py @@ -0,0 +1,42 @@ +import archie +import logging +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +# logging stuff +logging.basicConfig(level=logging.DEBUG) +console = logging.StreamHandler() +console.setLevel(logging.INFO) +annoying = logging.getLogger('urllib3.connectionpool') +annoying.disabled=True + +# archie app +app = archie.webapp.get_flask_app() +app.config['DEBUG'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN +app.set_payload_handler('dcppc') + +# archie test client +client = app.test_client() + + +############################ +# organize + +logging.debug("-"*40) +logging.debug("sync") +r = archie.tests.dcppc_organize_sync(client) + +logging.debug("-"*40) +logging.debug("closed (merged)") +r = archie.tests.dcppc_organize_closed_merged(client) + +logging.debug("-"*40) +logging.debug("closed (unmerged)") +r = archie.tests.dcppc_organize_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("push") +r = archie.tests.dcppc_organize_push(client) diff --git a/examples/dcppc_pw.py b/examples/dcppc_pw.py new file mode 100644 index 0000000..212d39c --- /dev/null +++ b/examples/dcppc_pw.py @@ -0,0 +1,44 @@ +import archie +import logging +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +# logging stuff +logging.basicConfig(level=logging.DEBUG) +console = logging.StreamHandler() +console.setLevel(logging.INFO) +annoying = logging.getLogger('urllib3.connectionpool') +annoying.disabled=True + +# archie app +app = archie.webapp.get_flask_app() +app.config['DEBUG'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN +app.set_payload_handler('dcppc') + +# archie test client +client = app.test_client() + + +############################ +# private-www + +logging.debug("-"*40) +logging.debug("sync") +r = archie.tests.dcppc_private_www_sync(client) + +logging.debug("-"*40) +logging.debug("closed (merged)") +r = archie.tests.dcppc_private_www_closed_merged(client) + +logging.debug("-"*40) +logging.debug("closed (unmerged)") +r = archie.tests.dcppc_private_www_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("push") +r = archie.tests.dcppc_private_www_push(client) + + diff --git a/examples/dcppc_ucl.py b/examples/dcppc_ucl.py new file mode 100644 index 0000000..8979b33 --- /dev/null +++ b/examples/dcppc_ucl.py @@ -0,0 +1,43 @@ +import archie +import logging +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +# logging stuff +logging.basicConfig(level=logging.DEBUG) +console = logging.StreamHandler() +console.setLevel(logging.INFO) +annoying = logging.getLogger('urllib3.connectionpool') +annoying.disabled=True + +# archie app +app = archie.webapp.get_flask_app() +app.config['DEBUG'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN +app.set_payload_handler('dcppc') + +# archie test client +client = app.test_client() + + +############################ +# use case library + +logging.debug("-"*40) +logging.debug("sync") +r = archie.tests.dcppc_ucl_sync(client) + +logging.debug("-"*40) +logging.debug("closed (merged)") +r = archie.tests.dcppc_ucl_closed_merged(client) + +logging.debug("-"*40) +logging.debug("closed (unmerged)") +r = archie.tests.dcppc_ucl_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("push") +r = archie.tests.dcppc_ucl_push(client) + diff --git a/examples/dcppc_wks.py b/examples/dcppc_wks.py new file mode 100644 index 0000000..1140c26 --- /dev/null +++ b/examples/dcppc_wks.py @@ -0,0 +1,43 @@ +import archie +import logging +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +# logging stuff +logging.basicConfig(level=logging.DEBUG) +console = logging.StreamHandler() +console.setLevel(logging.INFO) +annoying = logging.getLogger('urllib3.connectionpool') +annoying.disabled=True + +# archie app +app = archie.webapp.get_flask_app() +app.config['DEBUG'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN +app.set_payload_handler('dcppc') + +# archie test client +client = app.test_client() + + +############################ +# workshops + +logging.debug("-"*40) +logging.debug("sync") +r = archie.tests.dcppc_workshops_sync(client) + +logging.debug("-"*40) +logging.debug("closed (merged)") +r = archie.tests.dcppc_workshops_closed_merged(client) + +logging.debug("-"*40) +logging.debug("closed (unmerged)") +r = archie.tests.dcppc_workshops_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("push") +r = archie.tests.dcppc_workshops_push(client) + diff --git a/examples/example_payload_handler_pr.py b/examples/example_payload_handler_pr.py new file mode 100644 index 0000000..fdc1529 --- /dev/null +++ b/examples/example_payload_handler_pr.py @@ -0,0 +1,36 @@ +import logging +logging.basicConfig(level=logging.DEBUG) + +import archie +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +app = archie.webapp.get_flask_app() + +app.config['DEBUG'] = True +app.config['TESTING'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN + +client = app.test_client() + +app.set_payload_handler('pr_build') + +logging.debug("-"*40) +logging.debug("post_pr_opened(client)") +r = archie.tests.post_pr_opened(client) + +logging.debug("-"*40) +logging.debug("post_pr_closed_merged(client)") +r = archie.tests.post_pr_closed_merged(client) + +logging.debug("-"*40) +logging.debug("post_pr_closed_unmerged(client)") +r = archie.tests.post_pr_closed_unmerged(client) + +logging.debug("-"*40) +logging.debug("post_pr_sync(client)") +r = archie.tests.post_pr_sync(client) + + diff --git a/examples/prototype.py b/examples/prototype.py new file mode 100644 index 0000000..25ac61b --- /dev/null +++ b/examples/prototype.py @@ -0,0 +1,61 @@ +import archie + +exit(1) + + +################################ +# in payload handler factory: + +payload_handlers = { + 'default': DefaultPayloadHandler, + 'dcppc': DCPPCPayloadHandler +} + +def create_payload_handler(self,handler_type): + return payload_handlers[handler_type]() + + + +################################ +# in archie flask webapp: + +class UAFlask(Flask): + def __init__(self,**kwargs): + self.super(**kwargs) + config = self.config + self.payload_handler = None + + def set_payload_handler(self,handler_id,**kwargs): + config = self.config + self.payload_handler = PayloadHandlerFactory( + handler_id, + config, + **kwargs + ) + + def get_payload_handler(self,): + return self.payload_handler + +#... + + +@app.route('/webhook') +def webhook(): + ... + payload_handler = app.get_payload_handler() + payload_handler.process_payload(payload, meta, config) + + + +################################ +# meanwhile... + +app = archie.webapp.app +config = archie.webapp.app.config +# optional modification of tests +config['private_www_build_test'] = { + 'repo_whitelist' : ['dcppc/private-www','charlesreid1/private-www'] +} +app.set_payload_handler('dcppc') +app.run() + diff --git a/examples/simple.py b/examples/simple.py new file mode 100644 index 0000000..bcd0964 --- /dev/null +++ b/examples/simple.py @@ -0,0 +1,38 @@ +import logging +logging.basicConfig(level=logging.DEBUG) + +import archie +import os +import json + +from secrets import GITHUB_ACCESS_TOKEN + +""" +Uncle Archie: Simple Example + +This is a simple example of running the Uncle Archie +webapp after creating a Flask app, loading a config file +(specified by UNCLE_ARCHIE_CONFIG env var), and updating +the config with any additional settings. + +This sets a DCPPC payload handler and simply listens for +incoming webhooks. + +To run: + + $ UNCLE_ARCHIE_CONFIG="../config.py" python simple.py + +""" + +app = archie.webapp.get_flask_app() + +app.config['DEBUG'] = True +app.config['TESTING'] = True +app.config['GITHUB_ACCESS_TOKEN'] = GITHUB_ACCESS_TOKEN + +# set payload handler +app.set_payload_handler('dcppc') + +# listen for incoming webhooks +app.run() + diff --git a/museum/push_event_A.json b/museum/new_branch_event.json similarity index 100% rename from museum/push_event_A.json rename to museum/new_branch_event.json diff --git a/museum/push_event_B.json b/museum/push_to_branch_event.py similarity index 100% rename from museum/push_event_B.json rename to museum/push_to_branch_event.py diff --git a/museum/push_to_master_2.json b/museum/push_to_master_2.json deleted file mode 100644 index e237d0a..0000000 --- a/museum/push_to_master_2.json +++ /dev/null @@ -1,208 +0,0 @@ -{ - "ref": "refs/heads/master", - "before": "bf5558c2f57e87645ed9401853096f74f5e8d825", - "after": "ec793dcddb6f6024495d43ce39a93bb7dfb9ff3e", - "created": false, - "deleted": false, - "forced": false, - "base_ref": null, - "compare": "https://github.com/charlesreid1/search-demo-mkdocs-material/compare/bf5558c2f57e...ec793dcddb6f", - "commits": [ - { - "id": "ba53185922e71c68404a0d74664806026622c9e1", - "tree_id": "01d0357e488bc34cd7d5523fea0aa33521d4a274", - "distinct": false, - "message": "fix readme", - "timestamp": "2018-08-30T15:24:07-07:00", - "url": "https://github.com/charlesreid1/search-demo-mkdocs-material/commit/ba53185922e71c68404a0d74664806026622c9e1", - "author": { - "name": "Charles Reid", - "email": "charlesreid1@gmail.com", - "username": "charlesreid1" - }, - "committer": { - "name": "Charles Reid", - "email": "charlesreid1@gmail.com", - "username": "charlesreid1" - }, - "added": [], - "removed": [], - "modified": [ - "Readme.md" - ] - }, - { - "id": "ec793dcddb6f6024495d43ce39a93bb7dfb9ff3e", - "tree_id": "01d0357e488bc34cd7d5523fea0aa33521d4a274", - "distinct": true, - "message": "Merge pull request #38 from charlesreid1/fix-readme\n\nFix readme", - "timestamp": "2018-08-30T15:37:42-07:00", - "url": "https://github.com/charlesreid1/search-demo-mkdocs-material/commit/ec793dcddb6f6024495d43ce39a93bb7dfb9ff3e", - "author": { - "name": "Chaz Reid", - "email": "charlesreid1@gmail.com", - "username": "charlesreid1" - }, - "committer": { - "name": "GitHub", - "email": "noreply@github.com", - "username": "web-flow" - }, - "added": [], - "removed": [], - "modified": [ - "Readme.md" - ] - } - ], - "head_commit": { - "id": "ec793dcddb6f6024495d43ce39a93bb7dfb9ff3e", - "tree_id": "01d0357e488bc34cd7d5523fea0aa33521d4a274", - "distinct": true, - "message": "Merge pull request #38 from charlesreid1/fix-readme\n\nFix readme", - "timestamp": "2018-08-30T15:37:42-07:00", - "url": "https://github.com/charlesreid1/search-demo-mkdocs-material/commit/ec793dcddb6f6024495d43ce39a93bb7dfb9ff3e", - "author": { - "name": "Chaz Reid", - "email": "charlesreid1@gmail.com", - "username": "charlesreid1" - }, - "committer": { - "name": "GitHub", - "email": "noreply@github.com", - "username": "web-flow" - }, - "added": [], - "removed": [], - "modified": [ - "Readme.md" - ] - }, - "repository": { - "id": 134825489, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzQ4MjU0ODk=", - "name": "search-demo-mkdocs-material", - "full_name": "charlesreid1/search-demo-mkdocs-material", - "owner": { - "name": "charlesreid1", - "email": "charlesreid1@gmail.com", - "login": "charlesreid1", - "id": 368075, - "node_id": "MDQ6VXNlcjM2ODA3NQ==", - "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/charlesreid1", - "html_url": "https://github.com/charlesreid1", - "followers_url": "https://api.github.com/users/charlesreid1/followers", - "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", - "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", - "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", - "organizations_url": "https://api.github.com/users/charlesreid1/orgs", - "repos_url": "https://api.github.com/users/charlesreid1/repos", - "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", - "received_events_url": "https://api.github.com/users/charlesreid1/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "description": "Demo: make a pile of markdown documents into a searchable, beautiful page with one command. https://pages.charlesreid1.com/search-demo-mkdocs-material", - "fork": false, - "url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "forks_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/forks", - "keys_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/teams", - "hooks_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/hooks", - "issue_events_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/events{/number}", - "events_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/events", - "assignees_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/assignees{/user}", - "branches_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/branches{/branch}", - "tags_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/tags", - "blobs_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/statuses/{sha}", - "languages_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/languages", - "stargazers_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/stargazers", - "contributors_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/contributors", - "subscribers_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/subscribers", - "subscription_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/subscription", - "commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/contents/{+path}", - "compare_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/merges", - "archive_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/downloads", - "issues_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues{/number}", - "pulls_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls{/number}", - "milestones_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/milestones{/number}", - "notifications_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/labels{/name}", - "releases_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/releases{/id}", - "deployments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/deployments", - "created_at": 1527235977, - "updated_at": "2018-08-10T13:36:46Z", - "pushed_at": 1535668663, - "git_url": "git://github.com/charlesreid1/search-demo-mkdocs-material.git", - "ssh_url": "git@github.com:charlesreid1/search-demo-mkdocs-material.git", - "clone_url": "https://github.com/charlesreid1/search-demo-mkdocs-material.git", - "svn_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "homepage": "", - "size": 417, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 1, - "license": { - "key": "bsd-3-clause", - "name": "BSD 3-Clause \"New\" or \"Revised\" License", - "spdx_id": "BSD-3-Clause", - "url": "https://api.github.com/licenses/bsd-3-clause", - "node_id": "MDc6TGljZW5zZTU=" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master", - "stargazers": 0, - "master_branch": "master" - }, - "pusher": { - "name": "charlesreid1", - "email": "charlesreid1@gmail.com" - }, - "sender": { - "login": "charlesreid1", - "id": 368075, - "node_id": "MDQ6VXNlcjM2ODA3NQ==", - "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/charlesreid1", - "html_url": "https://github.com/charlesreid1", - "followers_url": "https://api.github.com/users/charlesreid1/followers", - "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", - "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", - "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", - "organizations_url": "https://api.github.com/users/charlesreid1/orgs", - "repos_url": "https://api.github.com/users/charlesreid1/repos", - "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", - "received_events_url": "https://api.github.com/users/charlesreid1/received_events", - "type": "User", - "site_admin": false - } -} \ No newline at end of file diff --git a/museum/webhook_pr_1.json b/museum/webhook_pr_1.json deleted file mode 100644 index 8448d84..0000000 --- a/museum/webhook_pr_1.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "ref": "charlesreid1-patch-6", - "ref_type": "branch", - "master_branch": "master", - "description": "Demo: make a pile of markdown documents into a searchable, beautiful page with one command. https://pages.charlesreid1.com/search-demo-mkdocs-material", - "pusher_type": "user", - "repository": { - "id": 134825489, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzQ4MjU0ODk=", - "name": "search-demo-mkdocs-material", - "full_name": "charlesreid1/search-demo-mkdocs-material", - "owner": { - "login": "charlesreid1", - "id": 368075, - "node_id": "MDQ6VXNlcjM2ODA3NQ==", - "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/charlesreid1", - "html_url": "https://github.com/charlesreid1", - "followers_url": "https://api.github.com/users/charlesreid1/followers", - "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", - "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", - "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", - "organizations_url": "https://api.github.com/users/charlesreid1/orgs", - "repos_url": "https://api.github.com/users/charlesreid1/repos", - "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", - "received_events_url": "https://api.github.com/users/charlesreid1/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "description": "Demo: make a pile of markdown documents into a searchable, beautiful page with one command. https://pages.charlesreid1.com/search-demo-mkdocs-material", - "fork": false, - "url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material", - "forks_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/forks", - "keys_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/teams", - "hooks_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/hooks", - "issue_events_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/events{/number}", - "events_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/events", - "assignees_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/assignees{/user}", - "branches_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/branches{/branch}", - "tags_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/tags", - "blobs_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/statuses/{sha}", - "languages_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/languages", - "stargazers_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/stargazers", - "contributors_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/contributors", - "subscribers_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/subscribers", - "subscription_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/subscription", - "commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/contents/{+path}", - "compare_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/merges", - "archive_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/downloads", - "issues_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues{/number}", - "pulls_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls{/number}", - "milestones_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/milestones{/number}", - "notifications_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/labels{/name}", - "releases_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/releases{/id}", - "deployments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/deployments", - "created_at": "2018-05-25T08:12:57Z", - "updated_at": "2018-08-07T19:28:50Z", - "pushed_at": "2018-08-09T04:37:53Z", - "git_url": "git://github.com/charlesreid1/search-demo-mkdocs-material.git", - "ssh_url": "git@github.com:charlesreid1/search-demo-mkdocs-material.git", - "clone_url": "https://github.com/charlesreid1/search-demo-mkdocs-material.git", - "svn_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "homepage": "", - "size": 407, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 5, - "license": { - "key": "bsd-3-clause", - "name": "BSD 3-Clause \"New\" or \"Revised\" License", - "spdx_id": "BSD-3-Clause", - "url": "https://api.github.com/licenses/bsd-3-clause", - "node_id": "MDc6TGljZW5zZTU=" - }, - "forks": 0, - "open_issues": 5, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "charlesreid1", - "id": 368075, - "node_id": "MDQ6VXNlcjM2ODA3NQ==", - "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/charlesreid1", - "html_url": "https://github.com/charlesreid1", - "followers_url": "https://api.github.com/users/charlesreid1/followers", - "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", - "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", - "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", - "organizations_url": "https://api.github.com/users/charlesreid1/orgs", - "repos_url": "https://api.github.com/users/charlesreid1/repos", - "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", - "received_events_url": "https://api.github.com/users/charlesreid1/received_events", - "type": "User", - "site_admin": false - } -} \ No newline at end of file diff --git a/museum/webhook_pr_2.json b/museum/webhook_pr_2.json deleted file mode 100644 index 2ad5b98..0000000 --- a/museum/webhook_pr_2.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "ref": "refs/heads/charlesreid1-patch-6", - "before": "0000000000000000000000000000000000000000", - "after": "be3465a25d140875770826d032928f39061c5973", - "created": true, - "deleted": false, - "forced": false, - "base_ref": null, - "compare": "https://github.com/charlesreid1/search-demo-mkdocs-material/commit/be3465a25d14", - "commits": [ - { - "id": "be3465a25d140875770826d032928f39061c5973", - "tree_id": "6cf88738edc403156644542d8b05b800af117795", - "distinct": true, - "message": "Update Readme.md", - "timestamp": "2018-08-08T21:37:52-07:00", - "url": "https://github.com/charlesreid1/search-demo-mkdocs-material/commit/be3465a25d140875770826d032928f39061c5973", - "author": { - "name": "Chaz Reid", - "email": "charlesreid1@gmail.com", - "username": "charlesreid1" - }, - "committer": { - "name": "GitHub", - "email": "noreply@github.com", - "username": "web-flow" - }, - "added": [], - "removed": [], - "modified": [ - "Readme.md" - ] - } - ], - "head_commit": { - "id": "be3465a25d140875770826d032928f39061c5973", - "tree_id": "6cf88738edc403156644542d8b05b800af117795", - "distinct": true, - "message": "Update Readme.md", - "timestamp": "2018-08-08T21:37:52-07:00", - "url": "https://github.com/charlesreid1/search-demo-mkdocs-material/commit/be3465a25d140875770826d032928f39061c5973", - "author": { - "name": "Chaz Reid", - "email": "charlesreid1@gmail.com", - "username": "charlesreid1" - }, - "committer": { - "name": "GitHub", - "email": "noreply@github.com", - "username": "web-flow" - }, - "added": [], - "removed": [], - "modified": [ - "Readme.md" - ] - }, - "repository": { - "id": 134825489, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzQ4MjU0ODk=", - "name": "search-demo-mkdocs-material", - "full_name": "charlesreid1/search-demo-mkdocs-material", - "owner": { - "name": "charlesreid1", - "email": "charlesreid1@gmail.com", - "login": "charlesreid1", - "id": 368075, - "node_id": "MDQ6VXNlcjM2ODA3NQ==", - "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/charlesreid1", - "html_url": "https://github.com/charlesreid1", - "followers_url": "https://api.github.com/users/charlesreid1/followers", - "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", - "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", - "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", - "organizations_url": "https://api.github.com/users/charlesreid1/orgs", - "repos_url": "https://api.github.com/users/charlesreid1/repos", - "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", - "received_events_url": "https://api.github.com/users/charlesreid1/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "description": "Demo: make a pile of markdown documents into a searchable, beautiful page with one command. https://pages.charlesreid1.com/search-demo-mkdocs-material", - "fork": false, - "url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "forks_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/forks", - "keys_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/teams", - "hooks_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/hooks", - "issue_events_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/events{/number}", - "events_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/events", - "assignees_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/assignees{/user}", - "branches_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/branches{/branch}", - "tags_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/tags", - "blobs_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/statuses/{sha}", - "languages_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/languages", - "stargazers_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/stargazers", - "contributors_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/contributors", - "subscribers_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/subscribers", - "subscription_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/subscription", - "commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/contents/{+path}", - "compare_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/merges", - "archive_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/downloads", - "issues_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues{/number}", - "pulls_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls{/number}", - "milestones_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/milestones{/number}", - "notifications_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/labels{/name}", - "releases_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/releases{/id}", - "deployments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/deployments", - "created_at": 1527235977, - "updated_at": "2018-08-07T19:28:50Z", - "pushed_at": 1533789473, - "git_url": "git://github.com/charlesreid1/search-demo-mkdocs-material.git", - "ssh_url": "git@github.com:charlesreid1/search-demo-mkdocs-material.git", - "clone_url": "https://github.com/charlesreid1/search-demo-mkdocs-material.git", - "svn_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", - "homepage": "", - "size": 407, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 5, - "license": { - "key": "bsd-3-clause", - "name": "BSD 3-Clause \"New\" or \"Revised\" License", - "spdx_id": "BSD-3-Clause", - "url": "https://api.github.com/licenses/bsd-3-clause", - "node_id": "MDc6TGljZW5zZTU=" - }, - "forks": 0, - "open_issues": 5, - "watchers": 0, - "default_branch": "master", - "stargazers": 0, - "master_branch": "master" - }, - "pusher": { - "name": "charlesreid1", - "email": "charlesreid1@gmail.com" - }, - "sender": { - "login": "charlesreid1", - "id": 368075, - "node_id": "MDQ6VXNlcjM2ODA3NQ==", - "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/charlesreid1", - "html_url": "https://github.com/charlesreid1", - "followers_url": "https://api.github.com/users/charlesreid1/followers", - "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", - "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", - "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", - "organizations_url": "https://api.github.com/users/charlesreid1/orgs", - "repos_url": "https://api.github.com/users/charlesreid1/repos", - "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", - "received_events_url": "https://api.github.com/users/charlesreid1/received_events", - "type": "User", - "site_admin": false - } -} \ No newline at end of file diff --git a/payloads/IssueCommentEvent/action_created.json b/payloads/IssueCommentEvent/action_created.json new file mode 100644 index 0000000..9d2425a --- /dev/null +++ b/payloads/IssueCommentEvent/action_created.json @@ -0,0 +1,203 @@ +{ + "action": "created", + "issue": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2", + "id": 327883527, + "node_id": "MDU6SXNzdWUzMjc4ODM1Mjc=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 949737505, + "node_id": "MDU6TGFiZWw5NDk3Mzc1MDU=", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "comment": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments/393304133", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2#issuecomment-393304133", + "issue_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "id": 393304133, + "node_id": "MDEyOklzc3VlQ29tbWVudDM5MzMwNDEzMw==", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "author_association": "OWNER", + "body": "You are totally right! I'll get this fixed right away." + }, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:10Z", + "pushed_at": "2018-05-30T20:18:30Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} + diff --git a/payloads/IssuesEvent/action_created.json b/payloads/IssuesEvent/action_created.json new file mode 100644 index 0000000..61712d9 --- /dev/null +++ b/payloads/IssuesEvent/action_created.json @@ -0,0 +1,202 @@ +{ + "action": "created", + "issue": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2", + "id": 327883527, + "node_id": "MDU6SXNzdWUzMjc4ODM1Mjc=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 949737505, + "node_id": "MDU6TGFiZWw5NDk3Mzc1MDU=", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "comment": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments/393304133", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2#issuecomment-393304133", + "issue_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "id": 393304133, + "node_id": "MDEyOklzc3VlQ29tbWVudDM5MzMwNDEzMw==", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "author_association": "OWNER", + "body": "You are totally right! I'll get this fixed right away." + }, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:10Z", + "pushed_at": "2018-05-30T20:18:30Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/payloads/IssuesEvent/action_edited.json b/payloads/IssuesEvent/action_edited.json new file mode 100644 index 0000000..0bd3571 --- /dev/null +++ b/payloads/IssuesEvent/action_edited.json @@ -0,0 +1,173 @@ +{ + "action": "edited", + "issue": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2", + "id": 327883527, + "node_id": "MDU6SXNzdWUzMjc4ODM1Mjc=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 949737505, + "node_id": "MDU6TGFiZWw5NDk3Mzc1MDU=", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "changes": { + }, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:10Z", + "pushed_at": "2018-05-30T20:18:30Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/museum/merge_pr_event.json b/payloads/PullRequestEvent/action_closed_merged.json similarity index 99% rename from museum/merge_pr_event.json rename to payloads/PullRequestEvent/action_closed_merged.json index ed75494..b439d26 100644 --- a/museum/merge_pr_event.json +++ b/payloads/PullRequestEvent/action_closed_merged.json @@ -478,3 +478,4 @@ } } + diff --git a/payloads/PullRequestEvent/action_closed_unmerged.json b/payloads/PullRequestEvent/action_closed_unmerged.json new file mode 100644 index 0000000..94b3bce --- /dev/null +++ b/payloads/PullRequestEvent/action_closed_unmerged.json @@ -0,0 +1,460 @@ +{ + "action": "closed", + "number": 9, + "pull_request": { + "url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9", + "id": 213099469, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzMDk5NDY5", + "html_url": "https://github.com/charlesreid1/fake-docs/pull/9", + "diff_url": "https://github.com/charlesreid1/fake-docs/pull/9.diff", + "patch_url": "https://github.com/charlesreid1/fake-docs/pull/9.patch", + "issue_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9", + "number": 9, + "state": "closed", + "locked": false, + "title": "Update BETA.md", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "created_at": "2018-09-04T20:48:54Z", + "updated_at": "2018-09-04T20:49:20Z", + "closed_at": "2018-09-04T20:49:19Z", + "merge_commit_sha": "840a2481f55748cf2d01937e7534ca3228f91200", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/commits", + "review_comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/comments", + "review_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9/comments", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/0e9602c4140286350bededd267bd8f9d568f6a1b", + "head": { + "label": "charlesreid1:charlesreid1-patch-9", + "ref": "charlesreid1-patch-9", + "sha": "0e9602c4140286350bededd267bd8f9d568f6a1b", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "charlesreid1:master", + "ref": "master", + "sha": "44352dc9b8017229c041baebe9c1b82458ce8fe2", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9" + }, + "html": { + "href": "https://github.com/charlesreid1/fake-docs/pull/9" + }, + "issue": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9" + }, + "comments": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/0e9602c4140286350bededd267bd8f9d568f6a1b" + } + }, + "author_association": "OWNER", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} + + diff --git a/museum/webhook_pr_3.json b/payloads/PullRequestEvent/action_opened.json similarity index 100% rename from museum/webhook_pr_3.json rename to payloads/PullRequestEvent/action_opened.json diff --git a/museum/pr_sync.json b/payloads/PullRequestEvent/action_synchronize.json similarity index 100% rename from museum/pr_sync.json rename to payloads/PullRequestEvent/action_synchronize.json diff --git a/payloads/PullRequestEvent/dcppc_4yp_closed_merged.json b/payloads/PullRequestEvent/dcppc_4yp_closed_merged.json new file mode 100644 index 0000000..05dd132 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_4yp_closed_merged.json @@ -0,0 +1,515 @@ +{ + "action": "closed", + "number": 40, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40", + "id": 219826716, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODI2NzE2", + "html_url": "https://github.com/dcppc/four-year-plan/pull/40", + "diff_url": "https://github.com/dcppc/four-year-plan/pull/40.diff", + "patch_url": "https://github.com/dcppc/four-year-plan/pull/40.patch", + "issue_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/40", + "number": 40, + "state": "closed", + "locked": false, + "title": "updated to most recent 4YP", + "user": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "created_at": "2018-10-02T19:59:38Z", + "updated_at": "2018-10-02T21:01:02Z", + "closed_at": "2018-10-02T21:01:02Z", + "merged_at": "2018-10-02T21:01:02Z", + "merge_commit_sha": "1f9ba4c1a542dcaa30403f8234c81ca8d794d7c5", + "assignee": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/40/comments", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/bfc96045c38a0a716bec3f8aee2611caf9278e21", + "head": { + "label": "dcppc:update4YP", + "ref": "update4YP", + "sha": "bfc96045c38a0a716bec3f8aee2611caf9278e21", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T18:19:19Z", + "pushed_at": "2018-10-02T21:01:02Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "71b67d9a4cecfca54e41a218c7d7f679a0dce480", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T18:19:19Z", + "pushed_at": "2018-10-02T21:01:02Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40" + }, + "html": { + "href": "https://github.com/dcppc/four-year-plan/pull/40" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/40" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/40/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/statuses/bfc96045c38a0a716bec3f8aee2611caf9278e21" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 283, + "deletions": 241, + "changed_files": 9 + }, + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T18:19:19Z", + "pushed_at": "2018-10-02T21:01:02Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_4yp_closed_unmerged.json b/payloads/PullRequestEvent/dcppc_4yp_closed_unmerged.json new file mode 100644 index 0000000..3c54e98 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_4yp_closed_unmerged.json @@ -0,0 +1,465 @@ +{ + "action": "closed", + "number": 32, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32", + "id": 219187288, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5MTg3Mjg4", + "html_url": "https://github.com/dcppc/four-year-plan/pull/32", + "diff_url": "https://github.com/dcppc/four-year-plan/pull/32.diff", + "patch_url": "https://github.com/dcppc/four-year-plan/pull/32.patch", + "issue_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/32", + "number": 32, + "state": "closed", + "locked": false, + "title": "Test Uncle Archie continous integration tests", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This PR will not be merged. It just changes a newline to trigger Uncle Archie the continuous integration tester.", + "created_at": "2018-09-30T06:09:07Z", + "updated_at": "2018-10-01T23:48:48Z", + "closed_at": "2018-10-01T23:48:48Z", + "merged_at": null, + "merge_commit_sha": "d08f7fd862c9d74fb2e291ff51ccf420bd3151cc", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1071968481, + "node_id": "MDU6TGFiZWwxMDcxOTY4NDgx", + "url": "https://api.github.com/repos/dcppc/four-year-plan/labels/do%20not%20merge", + "name": "do not merge", + "color": "b60205", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/32/comments", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/a2bb76983ed2461ff3d8f07ef5c00c97d470a14d", + "head": { + "label": "dcppc:uncle-archie", + "ref": "uncle-archie", + "sha": "a2bb76983ed2461ff3d8f07ef5c00c97d470a14d", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-01T21:18:26Z", + "pushed_at": "2018-10-01T21:18:49Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11378, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 5, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 5, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "6d8bb9dfdba90f32770df66a33b69f9382daeb93", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-01T21:18:26Z", + "pushed_at": "2018-10-01T21:18:49Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11378, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 5, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 5, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32" + }, + "html": { + "href": "https://github.com/dcppc/four-year-plan/pull/32" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/32" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/32/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/statuses/a2bb76983ed2461ff3d8f07ef5c00c97d470a14d" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 4, + "additions": 0, + "deletions": 0, + "changed_files": 0 + }, + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-01T21:18:26Z", + "pushed_at": "2018-10-01T21:18:49Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11378, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 5, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 5, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_4yp_sync.json b/payloads/PullRequestEvent/dcppc_4yp_sync.json new file mode 100644 index 0000000..90f49c4 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_4yp_sync.json @@ -0,0 +1,458 @@ +{ + "action": "synchronize", + "number": 41, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41", + "id": 219849443, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODQ5NDQz", + "html_url": "https://github.com/dcppc/four-year-plan/pull/41", + "diff_url": "https://github.com/dcppc/four-year-plan/pull/41.diff", + "patch_url": "https://github.com/dcppc/four-year-plan/pull/41.patch", + "issue_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/41", + "number": 41, + "state": "open", + "locked": false, + "title": "Implement changes suggested by Owen", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This rearranges the table of contents and combines documents following suggestions from @owhite.\r\n\r\n", + "created_at": "2018-10-02T21:21:40Z", + "updated_at": "2018-10-02T21:22:47Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "acca53fb53766b7eb6ecae2a1dbffa2e294c49c7", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/41/comments", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/045493b001b474fe6946081da49b4b1ff18b996f", + "head": { + "label": "dcppc:owen-changes", + "ref": "owen-changes", + "sha": "045493b001b474fe6946081da49b4b1ff18b996f", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T21:16:37Z", + "pushed_at": "2018-10-02T21:22:47Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "2a8d36f8b5fd4a3452104ab2f090f924f4ca3995", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T21:16:37Z", + "pushed_at": "2018-10-02T21:22:47Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41" + }, + "html": { + "href": "https://github.com/dcppc/four-year-plan/pull/41" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/41" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/41/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/statuses/045493b001b474fe6946081da49b4b1ff18b996f" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 3, + "additions": 55, + "deletions": 51, + "changed_files": 3 + }, + "before": "29ad9a0063b353d625087bf8e970a193a3d212d7", + "after": "045493b001b474fe6946081da49b4b1ff18b996f", + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T21:16:37Z", + "pushed_at": "2018-10-02T21:22:47Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_internal_closed_merged.json b/payloads/PullRequestEvent/dcppc_internal_closed_merged.json new file mode 100644 index 0000000..3cffcd6 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_internal_closed_merged.json @@ -0,0 +1,533 @@ +{ + "action": "closed", + "number": 145, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/internal/pulls/145", + "id": 213707305, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzNzA3MzA1", + "html_url": "https://github.com/dcppc/internal/pull/145", + "diff_url": "https://github.com/dcppc/internal/pull/145.diff", + "patch_url": "https://github.com/dcppc/internal/pull/145.patch", + "issue_url": "https://api.github.com/repos/dcppc/internal/issues/145", + "number": 145, + "state": "closed", + "locked": false, + "title": "Update for #61 - 5M.6.PRODUCT Resolver Service", + "user": { + "login": "jggautier", + "id": 18374574, + "node_id": "MDQ6VXNlcjE4Mzc0NTc0", + "avatar_url": "https://avatars1.githubusercontent.com/u/18374574?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jggautier", + "html_url": "https://github.com/jggautier", + "followers_url": "https://api.github.com/users/jggautier/followers", + "following_url": "https://api.github.com/users/jggautier/following{/other_user}", + "gists_url": "https://api.github.com/users/jggautier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jggautier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jggautier/subscriptions", + "organizations_url": "https://api.github.com/users/jggautier/orgs", + "repos_url": "https://api.github.com/users/jggautier/repos", + "events_url": "https://api.github.com/users/jggautier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jggautier/received_events", + "type": "User", + "site_admin": false + }, + "body": "*Part of our goal at Team Copper is to provide your team with **suggestions and questions**. We want our internal review to be a layer of **friendly** feedback before products get to the NIH meeting or a lot of public access. Your answers on this form will help us to be better reviewers.*\r\n\r\n**Deliverable Name**\r\n5M.6.PRODUCT Resolver Service \r\n\r\n**Team name(s)**\r\nSodium\r\n\r\n**Link(s) to deliverable**\r\nhttps://github.com/dcppc/dcppc-deliverables/issues/61\r\n\r\n- [OpenAPI specification for the Resolution API Service](https://app.swaggerhub.com/apis/identifiers.org/Resolver/1.0)\r\n- [SmartAPI registry for this service](http://smart-api.info/ui/916275ef69871bde01839e750df18e28)\r\n- [Slug for that API, for having a friendly URL](http://resolver-identifiersorg.smart-api.info)\r\n\r\n**What were you hoping to achieve?**\r\n(a) Provide resolution of KC2-minted GUIDs to digital-object-level metadata and secondarily to object contents in multi-cloud provider buckets, using standard public resolution services (DOI.org & N2T.net) plus KC2 landing service.\r\n(b) Provide resolution of compact identifier (prefix:accession format GUIDs) using standard public resolution services (N2T.net and Identifiers.org).", + "created_at": "2018-09-06T18:20:50Z", + "updated_at": "2018-09-26T19:53:04Z", + "closed_at": "2018-09-26T19:53:03Z", + "merged_at": "2018-09-26T19:53:03Z", + "merge_commit_sha": "0e6462fcfcdbdb26dc79e906a9cf8648afc390fd", + "assignee": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/internal/pulls/145/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/internal/pulls/145/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/internal/issues/145/comments", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/e3f70da939bf70d09691b9c2fdd3d211cee816d7", + "head": { + "label": "dcppc:jggautier-patch-3", + "ref": "jggautier-patch-3", + "sha": "e3f70da939bf70d09691b9c2fdd3d211cee816d7", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T02:04:29Z", + "pushed_at": "2018-09-26T19:53:03Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3722, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "60053e0a00a63c19e3640f07e975f8b64efd9372", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T02:04:29Z", + "pushed_at": "2018-09-26T19:53:03Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3722, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/145" + }, + "html": { + "href": "https://github.com/dcppc/internal/pull/145" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/internal/issues/145" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/internal/issues/145/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/145/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/145/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/internal/statuses/e3f70da939bf70d09691b9c2fdd3d211cee816d7" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 3, + "deletions": 2, + "changed_files": 1 + }, + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T02:04:29Z", + "pushed_at": "2018-09-26T19:53:03Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3722, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_internal_closed_unmerged.json b/payloads/PullRequestEvent/dcppc_internal_closed_unmerged.json new file mode 100644 index 0000000..d240ed2 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_internal_closed_unmerged.json @@ -0,0 +1,474 @@ +{ + "action": "closed", + "number": 198, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/internal/pulls/198", + "id": 219772263, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5NzcyMjYz", + "html_url": "https://github.com/dcppc/internal/pull/198", + "diff_url": "https://github.com/dcppc/internal/pull/198.diff", + "patch_url": "https://github.com/dcppc/internal/pull/198.patch", + "issue_url": "https://api.github.com/repos/dcppc/internal/issues/198", + "number": 198, + "state": "closed", + "locked": false, + "title": "Update index.md", + "user": { + "login": "RLC-DCPPC", + "id": 40363469, + "node_id": "MDQ6VXNlcjQwMzYzNDY5", + "avatar_url": "https://avatars2.githubusercontent.com/u/40363469?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/RLC-DCPPC", + "html_url": "https://github.com/RLC-DCPPC", + "followers_url": "https://api.github.com/users/RLC-DCPPC/followers", + "following_url": "https://api.github.com/users/RLC-DCPPC/following{/other_user}", + "gists_url": "https://api.github.com/users/RLC-DCPPC/gists{/gist_id}", + "starred_url": "https://api.github.com/users/RLC-DCPPC/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/RLC-DCPPC/subscriptions", + "organizations_url": "https://api.github.com/users/RLC-DCPPC/orgs", + "repos_url": "https://api.github.com/users/RLC-DCPPC/repos", + "events_url": "https://api.github.com/users/RLC-DCPPC/events{/privacy}", + "received_events_url": "https://api.github.com/users/RLC-DCPPC/received_events", + "type": "User", + "site_admin": false + }, + "body": "Adding links to webinar milestones 472 and 474 under 6M.7.FULLSTACKS: Broader User Engagement (in collaboration with KC9), per request from @raynamharris.\r\n\r\n*Part of our goal at Team Copper is to provide your team with \r\n**suggestions and questions**. We want our internal review to be a\r\nlayer of **friendly** feedback before products get to the NIH meeting or\r\na lot of public access. Your answers on this form will help us to be better\r\nreviewers.*\r\n\r\n**Deliverable Name**\r\n\r\n6M.7.FULLSTACKS: Broader User Engagement (in collaboration with KC9)\r\n\r\n**Team name(s)**\r\n\r\nPhosphorus\r\n\r\n**Link(s) to deliverable**\r\n\r\nhttps://github.com/dcppc/dcppc-milestones/issues/472\r\nhttps://github.com/dcppc/dcppc-milestones/issues/474\r\n\r\n**What were you hoping to achieve?**\r\n\r\nWe hoped to host two webinars before the end of Phase I.\r\n\r\n**What aspect(s) of your deliverable would you most like feedback on?**\r\n\r\n\r\n**Expected behavior**\r\n\r\n\r\n\r\n**Additional context**\r\n\r\n*Anything else you'd like to tell us*\r\n\r\n**Please assign Github user @ACharbonneau to your pull request**\r\n", + "created_at": "2018-10-02T16:45:43Z", + "updated_at": "2018-10-02T16:49:00Z", + "closed_at": "2018-10-02T16:49:00Z", + "merged_at": null, + "merge_commit_sha": "5a5bbd9b5a1be801c2fa5c4f51bdd167a1adb75f", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/internal/pulls/198/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/internal/pulls/198/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/internal/issues/198/comments", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/b304f8a1ec907fe8898e025bf8539b0c155f56ce", + "head": { + "label": "dcppc:RLC-patch", + "ref": "RLC-patch", + "sha": "b304f8a1ec907fe8898e025bf8539b0c155f56ce", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-10-02T16:29:57Z", + "pushed_at": "2018-10-02T16:45:43Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3793, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 29, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 29, + "watchers": 6, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "f1dae10ab71a1a645ba4e06d1e3d1cc92aa296bb", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-10-02T16:29:57Z", + "pushed_at": "2018-10-02T16:45:43Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3793, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 29, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 29, + "watchers": 6, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/198" + }, + "html": { + "href": "https://github.com/dcppc/internal/pull/198" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/internal/issues/198" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/internal/issues/198/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/198/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/198/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/internal/statuses/b304f8a1ec907fe8898e025bf8539b0c155f56ce" + } + }, + "author_association": "NONE", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "unstable", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 2, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-10-02T16:29:57Z", + "pushed_at": "2018-10-02T16:45:43Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3793, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 29, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 29, + "watchers": 6, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "RLC-DCPPC", + "id": 40363469, + "node_id": "MDQ6VXNlcjQwMzYzNDY5", + "avatar_url": "https://avatars2.githubusercontent.com/u/40363469?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/RLC-DCPPC", + "html_url": "https://github.com/RLC-DCPPC", + "followers_url": "https://api.github.com/users/RLC-DCPPC/followers", + "following_url": "https://api.github.com/users/RLC-DCPPC/following{/other_user}", + "gists_url": "https://api.github.com/users/RLC-DCPPC/gists{/gist_id}", + "starred_url": "https://api.github.com/users/RLC-DCPPC/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/RLC-DCPPC/subscriptions", + "organizations_url": "https://api.github.com/users/RLC-DCPPC/orgs", + "repos_url": "https://api.github.com/users/RLC-DCPPC/repos", + "events_url": "https://api.github.com/users/RLC-DCPPC/events{/privacy}", + "received_events_url": "https://api.github.com/users/RLC-DCPPC/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_internal_sync.json b/payloads/PullRequestEvent/dcppc_internal_sync.json new file mode 100644 index 0000000..28703ca --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_internal_sync.json @@ -0,0 +1,476 @@ +{ + "action": "synchronize", + "number": 169, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/internal/pulls/169", + "id": 218128693, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE4MTI4Njkz", + "html_url": "https://github.com/dcppc/internal/pull/169", + "diff_url": "https://github.com/dcppc/internal/pull/169.diff", + "patch_url": "https://github.com/dcppc/internal/pull/169.patch", + "issue_url": "https://api.github.com/repos/dcppc/internal/issues/169", + "number": 169, + "state": "open", + "locked": false, + "title": "phase 1 post workshop analysis", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "I've been creating all the assessment reports with Qualtrics, but I decide to make y own in R. The script used is in https://github.com/dcppc/dcppc-workshops/pull/111\r\n\r\nThis PR includes the figures, a markdown file for context, and an updated README.", + "created_at": "2018-09-25T21:43:42Z", + "updated_at": "2018-09-27T03:59:39Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "a69a6505c90a3e3f195fd3edc0434d78021907c1", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/internal/pulls/169/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/internal/pulls/169/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/internal/issues/169/comments", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/b4ab037785cf02bbbc94b505061c38eeb13d155e", + "head": { + "label": "dcppc:phase1workshop", + "ref": "phase1workshop", + "sha": "b4ab037785cf02bbbc94b505061c38eeb13d155e", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T19:53:06Z", + "pushed_at": "2018-09-27T03:59:38Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3746, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "b0577a0d67d52442e7ef53c62d960f8bfe06b4fb", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T19:53:06Z", + "pushed_at": "2018-09-27T03:59:38Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3746, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/169" + }, + "html": { + "href": "https://github.com/dcppc/internal/pull/169" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/internal/issues/169" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/internal/issues/169/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/169/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/169/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/internal/statuses/b4ab037785cf02bbbc94b505061c38eeb13d155e" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 5, + "review_comments": 6, + "maintainer_can_modify": false, + "commits": 13, + "additions": 410, + "deletions": 1, + "changed_files": 6 + }, + "before": "86c5102b4eb1732e8b043cd2bcad447dc3a56eb9", + "after": "b4ab037785cf02bbbc94b505061c38eeb13d155e", + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T19:53:06Z", + "pushed_at": "2018-09-27T03:59:38Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3746, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_organize_closed_merged.json b/payloads/PullRequestEvent/dcppc_organize_closed_merged.json new file mode 100644 index 0000000..b573926 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_organize_closed_merged.json @@ -0,0 +1,514 @@ +{ + "action": "closed", + "number": 110, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/organize/pulls/110", + "id": 216156718, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2MTU2NzE4", + "html_url": "https://github.com/dcppc/organize/pull/110", + "diff_url": "https://github.com/dcppc/organize/pull/110.diff", + "patch_url": "https://github.com/dcppc/organize/pull/110.patch", + "issue_url": "https://api.github.com/repos/dcppc/organize/issues/110", + "number": 110, + "state": "closed", + "locked": false, + "title": "Update checklist-create-new-repo.md", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "Adds a bullet point about creating repos that are rendered on the private website. \r\n\r\n - [x] A description of the changes proposed in the pull request\r\n - [x] A reference to a related issue dcppc/internal#138\r\n - [x] @ mentions of the person or team responsible for reviewing proposed changes\r\n - [x] PR is ready for merge - waiting on https://github.com/dcppc/private-www/pull/131\r\n", + "created_at": "2018-09-18T01:13:57Z", + "updated_at": "2018-09-18T01:50:47Z", + "closed_at": "2018-09-18T01:50:46Z", + "merged_at": "2018-09-18T01:50:46Z", + "merge_commit_sha": "987af80b4390dd87fcedf3e0b88f120ed002dd2c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/organize/pulls/110/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/organize/pulls/110/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/organize/issues/110/comments", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc", + "head": { + "label": "dcppc:raynamharris-patch-1", + "ref": "raynamharris-patch-1", + "sha": "b049a4803950db408f555a741ece76608b4c52dc", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:50:46Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 9, + "watchers": 9, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "afed8a4d94e1048fb536a4c1f63ea1d83243ea29", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:50:46Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 9, + "watchers": 9, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110" + }, + "html": { + "href": "https://github.com/dcppc/organize/pull/110" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 7, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:50:46Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 9, + "watchers": 9, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_organize_closed_unmerged.json b/payloads/PullRequestEvent/dcppc_organize_closed_unmerged.json new file mode 100644 index 0000000..ac0079e --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_organize_closed_unmerged.json @@ -0,0 +1,474 @@ +{ + "action": "closed", + "number": 118, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/organize/pulls/118", + "id": 219860179, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODYwMTc5", + "html_url": "https://github.com/dcppc/organize/pull/118", + "diff_url": "https://github.com/dcppc/organize/pull/118.diff", + "patch_url": "https://github.com/dcppc/organize/pull/118.patch", + "issue_url": "https://api.github.com/repos/dcppc/organize/issues/118", + "number": 118, + "state": "closed", + "locked": false, + "title": "An open-and-shut pull request", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This PR is being created so Uncle Archie can capture a webhook for when a pull request in dcppc/organize is closed and not merged.", + "created_at": "2018-10-02T22:07:17Z", + "updated_at": "2018-10-02T22:07:36Z", + "closed_at": "2018-10-02T22:07:36Z", + "merged_at": null, + "merge_commit_sha": "c3f3e31b4d24ff777d88535eedb0f5ecab1e48c9", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/organize/pulls/118/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/organize/pulls/118/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/organize/issues/118/comments", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/3f34e7b8eaee381b61bb1c6a5d574711f40309f5", + "head": { + "label": "dcppc:charlesreid1-patch-2", + "ref": "charlesreid1-patch-2", + "sha": "3f34e7b8eaee381b61bb1c6a5d574711f40309f5", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-29T19:35:33Z", + "pushed_at": "2018-10-02T22:07:18Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 275, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 12, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 12, + "watchers": 10, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "2558c232c46250e305cf89a4440583acc801676e", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-29T19:35:33Z", + "pushed_at": "2018-10-02T22:07:18Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 275, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 12, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 12, + "watchers": 10, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/118" + }, + "html": { + "href": "https://github.com/dcppc/organize/pull/118" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/organize/issues/118" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/organize/issues/118/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/118/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/118/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/organize/statuses/3f34e7b8eaee381b61bb1c6a5d574711f40309f5" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 0, + "deletions": 0, + "changed_files": 0 + }, + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-29T19:35:33Z", + "pushed_at": "2018-10-02T22:07:18Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 275, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 12, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 12, + "watchers": 10, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_organize_sync.json b/payloads/PullRequestEvent/dcppc_organize_sync.json new file mode 100644 index 0000000..842a868 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_organize_sync.json @@ -0,0 +1,517 @@ +{ + "action": "synchronize", + "number": 110, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/organize/pulls/110", + "id": 216156718, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2MTU2NzE4", + "html_url": "https://github.com/dcppc/organize/pull/110", + "diff_url": "https://github.com/dcppc/organize/pull/110.diff", + "patch_url": "https://github.com/dcppc/organize/pull/110.patch", + "issue_url": "https://api.github.com/repos/dcppc/organize/issues/110", + "number": 110, + "state": "open", + "locked": false, + "title": "Update checklist-create-new-repo.md", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "Adds a bullet point about creating repos that are rendered on the private website. \r\n\r\n - [x] A description of the changes proposed in the pull request\r\n - [x] A reference to a related issue dcppc/internal#138\r\n - [x] @ mentions of the person or team responsible for reviewing proposed changes\r\n - [ ] PR is ready for merge - waiting on https://github.com/dcppc/private-www/pull/131\r\n", + "created_at": "2018-09-18T01:13:57Z", + "updated_at": "2018-09-18T01:48:10Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "cb202f0dc533862126522485db72d659014668eb", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/organize/pulls/110/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/organize/pulls/110/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/organize/issues/110/comments", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc", + "head": { + "label": "dcppc:raynamharris-patch-1", + "ref": "raynamharris-patch-1", + "sha": "b049a4803950db408f555a741ece76608b4c52dc", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:48:10Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 10, + "watchers": 9, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "afed8a4d94e1048fb536a4c1f63ea1d83243ea29", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:48:10Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 10, + "watchers": 9, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110" + }, + "html": { + "href": "https://github.com/dcppc/organize/pull/110" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 7, + "deletions": 1, + "changed_files": 1 + }, + "before": "73ea262fc98cce4df5e85b3f5e6c5265decf7c6a", + "after": "b049a4803950db408f555a741ece76608b4c52dc", + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:48:10Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 10, + "watchers": 9, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_private_www_closed_merged.json b/payloads/PullRequestEvent/dcppc_private_www_closed_merged.json new file mode 100644 index 0000000..b9d81eb --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_private_www_closed_merged.json @@ -0,0 +1,475 @@ +{ + "action": "closed", + "number": 156, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/private-www/pulls/156", + "id": 219779724, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5Nzc5NzI0", + "html_url": "https://github.com/dcppc/private-www/pull/156", + "diff_url": "https://github.com/dcppc/private-www/pull/156.diff", + "patch_url": "https://github.com/dcppc/private-www/pull/156.patch", + "issue_url": "https://api.github.com/repos/dcppc/private-www/issues/156", + "number": 156, + "state": "closed", + "locked": false, + "title": "[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "user": { + "login": "fp9695253", + "id": 39098680, + "node_id": "MDQ6VXNlcjM5MDk4Njgw", + "avatar_url": "https://avatars0.githubusercontent.com/u/39098680?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fp9695253", + "html_url": "https://github.com/fp9695253", + "followers_url": "https://api.github.com/users/fp9695253/followers", + "following_url": "https://api.github.com/users/fp9695253/following{/other_user}", + "gists_url": "https://api.github.com/users/fp9695253/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fp9695253/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fp9695253/subscriptions", + "organizations_url": "https://api.github.com/users/fp9695253/orgs", + "repos_url": "https://api.github.com/users/fp9695253/repos", + "events_url": "https://api.github.com/users/fp9695253/events{/privacy}", + "received_events_url": "https://api.github.com/users/fp9695253/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2018-10-02T17:12:23Z", + "updated_at": "2018-10-02T17:14:04Z", + "closed_at": "2018-10-02T17:14:04Z", + "merged_at": "2018-10-02T17:14:04Z", + "merge_commit_sha": "5844f4971afc16f51864aaef93a811f888aba207", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/private-www/pulls/156/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/private-www/pulls/156/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/issues/156/comments", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/90a641adfd5de3214de9dfac0c9fda061c7082fc", + "head": { + "label": "dcppc:update_submodules_20181002_101220", + "ref": "update_submodules_20181002_101220", + "sha": "90a641adfd5de3214de9dfac0c9fda061c7082fc", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": "2018-10-02T17:14:04Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "8939116dda65f88b1b42bae186734fe0d96855d1", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": "2018-10-02T17:14:04Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/156" + }, + "html": { + "href": "https://github.com/dcppc/private-www/pull/156" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/156" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/156/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/156/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/156/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/private-www/statuses/90a641adfd5de3214de9dfac0c9fda061c7082fc" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": "2018-10-02T17:14:04Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_private_www_closed_unmerged.json b/payloads/PullRequestEvent/dcppc_private_www_closed_unmerged.json new file mode 100644 index 0000000..82f3b61 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_private_www_closed_unmerged.json @@ -0,0 +1,456 @@ +{ + "action": "closed", + "number": 152, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/private-www/pulls/152", + "id": 219258450, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5MjU4NDUw", + "html_url": "https://github.com/dcppc/private-www/pull/152", + "diff_url": "https://github.com/dcppc/private-www/pull/152.diff", + "patch_url": "https://github.com/dcppc/private-www/pull/152.patch", + "issue_url": "https://api.github.com/repos/dcppc/private-www/issues/152", + "number": 152, + "state": "closed", + "locked": false, + "title": "update private-www readme", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "created_at": "2018-10-01T04:44:45Z", + "updated_at": "2018-10-01T04:46:28Z", + "closed_at": "2018-10-01T04:46:28Z", + "merged_at": null, + "merge_commit_sha": "8103a395c98c4511629c773e443f6838d728e809", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/private-www/pulls/152/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/private-www/pulls/152/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/issues/152/comments", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/ea8c5a0d0c3db2215c35df6461bca816fbebe72a", + "head": { + "label": "dcppc:set-site-url", + "ref": "set-site-url", + "sha": "ea8c5a0d0c3db2215c35df6461bca816fbebe72a", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-01T04:44:46Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9841, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 8, + "license": null, + "forks": 1, + "open_issues": 8, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "382b8ed2ea3edf8100a29d86ff59c7b253dc8cb4", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-01T04:44:46Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9841, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 8, + "license": null, + "forks": 1, + "open_issues": 8, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/152" + }, + "html": { + "href": "https://github.com/dcppc/private-www/pull/152" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/152" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/152/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/152/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/152/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/private-www/statuses/ea8c5a0d0c3db2215c35df6461bca816fbebe72a" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 112, + "deletions": 61, + "changed_files": 1 + }, + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-01T04:44:46Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9841, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 8, + "license": null, + "forks": 1, + "open_issues": 8, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_private_www_sync.json b/payloads/PullRequestEvent/dcppc_private_www_sync.json new file mode 100644 index 0000000..ea87dba --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_private_www_sync.json @@ -0,0 +1,467 @@ +{ + "action": "synchronize", + "number": 121, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/private-www/pulls/121", + "id": 215715436, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE1NzE1NDM2", + "html_url": "https://github.com/dcppc/private-www/pull/121", + "diff_url": "https://github.com/dcppc/private-www/pull/121.diff", + "patch_url": "https://github.com/dcppc/private-www/pull/121.patch", + "issue_url": "https://api.github.com/repos/dcppc/private-www/issues/121", + "number": 121, + "state": "open", + "locked": false, + "title": "Propose new TOC", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "Propose a new organization to the table of contents. This flattens the contents of the internal folder so everything is listed, and flattens a few other nested items as well.\r\n\r\nThis PR also updates the `fix_toc` script, which was recently added to ensure every document in the repo is listed in the TOC, so that it can take a list of files to ignore (e.g., `internal/CODE_OF_CONDUCT.md`) if they are not found in the table of contents.\r\n\r\ncloses #118 (confused about internal/organize)\r\n\r\ncloses #147 (add sodium submodule)", + "created_at": "2018-09-14T21:26:32Z", + "updated_at": "2018-10-02T02:01:15Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "4d4d25187d0e3191384095777e117bacb684b072", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 964146160, + "node_id": "MDU6TGFiZWw5NjQxNDYxNjA=", + "url": "https://api.github.com/repos/dcppc/private-www/labels/work%20in%20progress", + "name": "work in progress", + "color": "83fcbd", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/private-www/pulls/121/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/private-www/pulls/121/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/issues/121/comments", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/84520513d93ad7099480c7bf68789324ca3d2f9c", + "head": { + "label": "dcppc:propose-new-toc", + "ref": "propose-new-toc", + "sha": "84520513d93ad7099480c7bf68789324ca3d2f9c", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-02T02:01:15Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9847, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": null, + "forks": 1, + "open_issues": 9, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "dde28dc3c31d827c24fdeebaddf720dfc4ad0560", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-02T02:01:15Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9847, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": null, + "forks": 1, + "open_issues": 9, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/121" + }, + "html": { + "href": "https://github.com/dcppc/private-www/pull/121" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/121" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/121/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/121/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/121/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/private-www/statuses/84520513d93ad7099480c7bf68789324ca3d2f9c" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 18, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 18, + "additions": 232, + "deletions": 139, + "changed_files": 6 + }, + "before": "3d4cc17cc76fb8d5690af3f0fcdbe8895876955c", + "after": "84520513d93ad7099480c7bf68789324ca3d2f9c", + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-02T02:01:15Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9847, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": null, + "forks": 1, + "open_issues": 9, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_ucl_closed_merged.json b/payloads/PullRequestEvent/dcppc_ucl_closed_merged.json new file mode 100644 index 0000000..e6cc629 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_ucl_closed_merged.json @@ -0,0 +1,513 @@ +{ + "action": "closed", + "number": 118, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/use-case-library/pulls/118", + "id": 213701211, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzNzAxMjEx", + "html_url": "https://github.com/dcppc/use-case-library/pull/118", + "diff_url": "https://github.com/dcppc/use-case-library/pull/118.diff", + "patch_url": "https://github.com/dcppc/use-case-library/pull/118.patch", + "issue_url": "https://api.github.com/repos/dcppc/use-case-library/issues/118", + "number": 118, + "state": "closed", + "locked": false, + "title": "DON'T print a warning if no tags specified (shhh!)", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "Modifies #117 so it doesn't make so much noise (if no tags are specified, no warnings are printed).\r\n\r\nThis PR uses `add-tags` as the base branch, not `master`, so when it is merged it will update PR #117.\r\n\r\nThis PR is optional.\r\n\r\n- [x] Is this pull request mergeable?\r\n- [x] Have you tested these changes locally or with Uncle Archie?\r\n- [x] Was a spellchecker run on the source code and documentation after\r\n changes were made?\r\n\r\n", + "created_at": "2018-09-06T17:57:20Z", + "updated_at": "2018-09-30T16:24:32Z", + "closed_at": "2018-09-30T16:24:32Z", + "merged_at": "2018-09-30T16:24:32Z", + "merge_commit_sha": "90ab7cd725cffc10cae2644d0839df714964d9b1", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "ctb", + "id": 51016, + "node_id": "MDQ6VXNlcjUxMDE2", + "avatar_url": "https://avatars2.githubusercontent.com/u/51016?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ctb", + "html_url": "https://github.com/ctb", + "followers_url": "https://api.github.com/users/ctb/followers", + "following_url": "https://api.github.com/users/ctb/following{/other_user}", + "gists_url": "https://api.github.com/users/ctb/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ctb/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ctb/subscriptions", + "organizations_url": "https://api.github.com/users/ctb/orgs", + "repos_url": "https://api.github.com/users/ctb/repos", + "events_url": "https://api.github.com/users/ctb/events{/privacy}", + "received_events_url": "https://api.github.com/users/ctb/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1040709557, + "node_id": "MDU6TGFiZWwxMDQwNzA5NTU3", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/ready%20to%20merge", + "name": "ready to merge", + "color": "0052cc", + "default": false + }, + { + "id": 1039675116, + "node_id": "MDU6TGFiZWwxMDM5Njc1MTE2", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/technohackery", + "name": "technohackery", + "color": "f5afeb", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/issues/118/comments", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/e679428cacec32f5ca416a9c407c23cd3c027ae5", + "head": { + "label": "dcppc:add-tags-quietly", + "ref": "add-tags-quietly", + "sha": "e679428cacec32f5ca416a9c407c23cd3c027ae5", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-22T20:02:44Z", + "pushed_at": "2018-09-30T16:24:32Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4603, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:add-tags", + "ref": "add-tags", + "sha": "48d3979f790d1a952adf465ed2a6c8214b7f3e06", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-22T20:02:44Z", + "pushed_at": "2018-09-30T16:24:32Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4603, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/118" + }, + "html": { + "href": "https://github.com/dcppc/use-case-library/pull/118" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/118" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/118/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/use-case-library/statuses/e679428cacec32f5ca416a9c407c23cd3c027ae5" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 0, + "deletions": 5, + "changed_files": 1 + }, + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-22T20:02:44Z", + "pushed_at": "2018-09-30T16:24:32Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4603, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_ucl_closed_unmerged.json b/payloads/PullRequestEvent/dcppc_ucl_closed_unmerged.json new file mode 100644 index 0000000..498f541 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_ucl_closed_unmerged.json @@ -0,0 +1,473 @@ +{ + "action": "closed", + "number": 121, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/use-case-library/pulls/121", + "id": 213993789, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzOTkzNzg5", + "html_url": "https://github.com/dcppc/use-case-library/pull/121", + "diff_url": "https://github.com/dcppc/use-case-library/pull/121.diff", + "patch_url": "https://github.com/dcppc/use-case-library/pull/121.patch", + "issue_url": "https://api.github.com/repos/dcppc/use-case-library/issues/121", + "number": 121, + "state": "closed", + "locked": false, + "title": "Modifying parameter validation to do type checking", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This PR modifies the parameter validation that we're doing to allow type checking as well. \r\n\r\nThis basically adds another conditional clause to the `validate()` method that will check the type of the parameter value that the user passed. The user can pass an optional third argument that's an object whose type should match the parameter value. \r\n\r\nThis enables us to validate a parameter that should be a string by saying, e.g.,\r\n\r\n```\r\nvalidate('name',name,'')\r\n```\r\n\r\nthe third argument, the empty string, will have its type compared to the value of `name` and it will fail if their types don't match.\r\n\r\n- [x] Is this pull request mergeable?\r\n- [x] Have you tested these changes locally or with Uncle Archie?\r\n- [x] Was a spellchecker run on the source code and documentation after\r\n changes were made?\r\n\r\n", + "created_at": "2018-09-07T17:33:40Z", + "updated_at": "2018-09-19T05:44:05Z", + "closed_at": "2018-09-19T05:44:05Z", + "merged_at": null, + "merge_commit_sha": "57a9756cf340d83c102294ea2da121464ddeb3a0", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1040709557, + "node_id": "MDU6TGFiZWwxMDQwNzA5NTU3", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/ready%20to%20merge", + "name": "ready to merge", + "color": "0052cc", + "default": false + }, + { + "id": 1039675116, + "node_id": "MDU6TGFiZWwxMDM5Njc1MTE2", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/technohackery", + "name": "technohackery", + "color": "f5afeb", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/issues/121/comments", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/253309fe9f5ed8647b4f7672e86ea1c5fa79b159", + "head": { + "label": "dcppc:add-param-typechecks", + "ref": "add-param-typechecks", + "sha": "253309fe9f5ed8647b4f7672e86ea1c5fa79b159", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-12T21:37:38Z", + "pushed_at": "2018-09-19T05:39:16Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4580, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 41, + "license": null, + "forks": 2, + "open_issues": 41, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:KC1-rmh", + "ref": "KC1-rmh", + "sha": "05329cb93e644dbc6bbc12f33b6e470eb9443d9c", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-12T21:37:38Z", + "pushed_at": "2018-09-19T05:39:16Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4580, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 41, + "license": null, + "forks": 2, + "open_issues": 41, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/121" + }, + "html": { + "href": "https://github.com/dcppc/use-case-library/pull/121" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/121" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/121/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/use-case-library/statuses/253309fe9f5ed8647b4f7672e86ea1c5fa79b159" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 3, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 45, + "deletions": 11, + "changed_files": 1 + }, + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-12T21:37:38Z", + "pushed_at": "2018-09-19T05:39:16Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4580, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 41, + "license": null, + "forks": 2, + "open_issues": 41, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_ucl_sync.json b/payloads/PullRequestEvent/dcppc_ucl_sync.json new file mode 100644 index 0000000..a417783 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_ucl_sync.json @@ -0,0 +1,458 @@ +{ + "action": "synchronize", + "number": 132, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/use-case-library/pulls/132", + "id": 219515068, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5NTE1MDY4", + "html_url": "https://github.com/dcppc/use-case-library/pull/132", + "diff_url": "https://github.com/dcppc/use-case-library/pull/132.diff", + "patch_url": "https://github.com/dcppc/use-case-library/pull/132.patch", + "issue_url": "https://api.github.com/repos/dcppc/use-case-library/issues/132", + "number": 132, + "state": "open", + "locked": false, + "title": "now with updated inputs and outputs for Biojupies GETex", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "includes the most recent changes from @meganwojciechowicz in https://github.com/dcppc/use-case-library/pull/129#issuecomment-422939982 which are related to https://github.com/dcppc/use-case-library/issues/127\r\n\r\n- [ ] Is this pull request mergeable?\r\n- [ ] Have you tested these changes locally or with Uncle Archie?\r\n- [ ] Was a spellchecker run on the source code and documentation after\r\n changes were made?", + "created_at": "2018-10-01T21:02:50Z", + "updated_at": "2018-10-01T23:15:30Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "1bc7a9dfc16079e05b641b4f33282e52f3866d6a", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/issues/132/comments", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/5830244b6ac8d83be078262ed7c39971053a46ea", + "head": { + "label": "dcppc:gtex-biojupies-2", + "ref": "gtex-biojupies-2", + "sha": "5830244b6ac8d83be078262ed7c39971053a46ea", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-30T18:10:47Z", + "pushed_at": "2018-10-01T23:15:30Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4618, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "3c770affe31d7f921176e2c418ff9fdc0a12bf63", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-30T18:10:47Z", + "pushed_at": "2018-10-01T23:15:30Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4618, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/132" + }, + "html": { + "href": "https://github.com/dcppc/use-case-library/pull/132" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/132" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/132/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/use-case-library/statuses/5830244b6ac8d83be078262ed7c39971053a46ea" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 9, + "additions": 33, + "deletions": 30, + "changed_files": 13 + }, + "before": "775d7932388ca2deab5c97eecd54d85729cde06b", + "after": "5830244b6ac8d83be078262ed7c39971053a46ea", + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-30T18:10:47Z", + "pushed_at": "2018-10-01T23:15:30Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4618, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_workshops_closed_merged.json b/payloads/PullRequestEvent/dcppc_workshops_closed_merged.json new file mode 100644 index 0000000..29e62aa --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_workshops_closed_merged.json @@ -0,0 +1,493 @@ +{ + "action": "closed", + "number": 110, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110", + "id": 216333496, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2MzMzNDk2", + "html_url": "https://github.com/dcppc/dcppc-workshops/pull/110", + "diff_url": "https://github.com/dcppc/dcppc-workshops/pull/110.diff", + "patch_url": "https://github.com/dcppc/dcppc-workshops/pull/110.patch", + "issue_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110", + "number": 110, + "state": "closed", + "locked": false, + "title": "new attendance analysis", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "Split contacts.Rmd into 2 files (contacts.Rmd which only analyses onboarding data and plots onboarding over time and attendance.Rmd which plots workshop attendance)", + "created_at": "2018-09-18T14:40:56Z", + "updated_at": "2018-09-18T15:03:05Z", + "closed_at": "2018-09-18T15:03:05Z", + "merged_at": "2018-09-18T15:03:05Z", + "merge_commit_sha": "55ce6254b08895affaa98fca7fb88e505258ca05", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110/comments", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/e9ec7df93a9d03768e2797096d18fc056365e37b", + "head": { + "label": "dcppc:contacts-attendance", + "ref": "contacts-attendance", + "sha": "e9ec7df93a9d03768e2797096d18fc056365e37b", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T14:39:32Z", + "pushed_at": "2018-09-18T15:03:05Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 247, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 6, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 6, + "watchers": 1, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "76d9f4432cd543e158fb85cc29549cfff595df4c", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T14:39:32Z", + "pushed_at": "2018-09-18T15:03:05Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 247, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 6, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 6, + "watchers": 1, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110" + }, + "html": { + "href": "https://github.com/dcppc/dcppc-workshops/pull/110" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/e9ec7df93a9d03768e2797096d18fc056365e37b" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 6, + "additions": 187, + "deletions": 132, + "changed_files": 8 + }, + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T14:39:32Z", + "pushed_at": "2018-09-18T15:03:05Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 247, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 6, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 6, + "watchers": 1, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_workshops_closed_unmerged.json b/payloads/PullRequestEvent/dcppc_workshops_closed_unmerged.json new file mode 100644 index 0000000..8763118 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_workshops_closed_unmerged.json @@ -0,0 +1,474 @@ +{ + "action": "closed", + "number": 112, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112", + "id": 219861107, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODYxMTA3", + "html_url": "https://github.com/dcppc/dcppc-workshops/pull/112", + "diff_url": "https://github.com/dcppc/dcppc-workshops/pull/112.diff", + "patch_url": "https://github.com/dcppc/dcppc-workshops/pull/112.patch", + "issue_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112", + "number": 112, + "state": "closed", + "locked": false, + "title": "change newline", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "this pull request is intended to create a webhook event for a pull request in dcppc/dcppc-workshops being closed but not merged.", + "created_at": "2018-10-02T22:11:09Z", + "updated_at": "2018-10-02T22:11:44Z", + "closed_at": "2018-10-02T22:11:44Z", + "merged_at": null, + "merge_commit_sha": "3e359b428abb97035099f7e78e58ef024bca6b23", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112/comments", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/74228b709fa60dff242ab2773bdbaa7dcda708e8", + "head": { + "label": "dcppc:charlesreid1-patch-1", + "ref": "charlesreid1-patch-1", + "sha": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-10-02T22:11:10Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "55ce6254b08895affaa98fca7fb88e505258ca05", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-10-02T22:11:10Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112" + }, + "html": { + "href": "https://github.com/dcppc/dcppc-workshops/pull/112" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/74228b709fa60dff242ab2773bdbaa7dcda708e8" + } + }, + "author_association": "COLLABORATOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 0, + "deletions": 0, + "changed_files": 0 + }, + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-10-02T22:11:10Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PullRequestEvent/dcppc_workshops_sync.json b/payloads/PullRequestEvent/dcppc_workshops_sync.json new file mode 100644 index 0000000..0ab5dd2 --- /dev/null +++ b/payloads/PullRequestEvent/dcppc_workshops_sync.json @@ -0,0 +1,476 @@ +{ + "action": "synchronize", + "number": 111, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111", + "id": 218128331, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE4MTI4MzMx", + "html_url": "https://github.com/dcppc/dcppc-workshops/pull/111", + "diff_url": "https://github.com/dcppc/dcppc-workshops/pull/111.diff", + "patch_url": "https://github.com/dcppc/dcppc-workshops/pull/111.patch", + "issue_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111", + "number": 111, + "state": "open", + "locked": false, + "title": "script for analyzing and graphing workshop survey", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "I've been using Qualtrics to make all the assessment reports in https://pilot.nihdatacommons.us/internal/Assessment/Readme/ but the report are too long for my taste.\r\n\r\nI decided to use R to analyze the data. Here's the script. Will link the outputs to `internal`. ", + "created_at": "2018-09-25T21:42:07Z", + "updated_at": "2018-09-25T21:54:50Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "a8efef21462ddaea30b6f46805314e3a9fdee136", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111/comments", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/42986d774aaa54070332fb7ec8073e77f818c2c2", + "head": { + "label": "dcppc:phase1assessment", + "ref": "phase1assessment", + "sha": "42986d774aaa54070332fb7ec8073e77f818c2c2", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-09-25T21:54:50Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 413, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "55ce6254b08895affaa98fca7fb88e505258ca05", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-09-25T21:54:50Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 413, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111" + }, + "html": { + "href": "https://github.com/dcppc/dcppc-workshops/pull/111" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/42986d774aaa54070332fb7ec8073e77f818c2c2" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 2, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 174, + "deletions": 0, + "changed_files": 1 + }, + "before": "85e0f5228312d451deb820c2ba98b82999ee5dc5", + "after": "42986d774aaa54070332fb7ec8073e77f818c2c2", + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-09-25T21:54:50Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 413, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PushEvent/dcppc_4yp_push.json b/payloads/PushEvent/dcppc_4yp_push.json new file mode 100644 index 0000000..f6d84ce --- /dev/null +++ b/payloads/PushEvent/dcppc_4yp_push.json @@ -0,0 +1,148 @@ +{ + "ref": "refs/heads/4yp-style-fixes", + "before": "56532c6f1b85c741a4f061daea641f1b00a5cd0e", + "after": "0000000000000000000000000000000000000000", + "created": false, + "deleted": true, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/four-year-plan/compare/56532c6f1b85...000000000000", + "commits": [], + "head_commit": null, + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://github.com/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": 1537389482, + "updated_at": "2018-10-02T16:11:45Z", + "pushed_at": 1538496987, + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11345, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 13, + "license": null, + "forks": 6, + "open_issues": 13, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "charlesreid1", + "email": "charlesreid1@gmail.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PushEvent/dcppc_internal_push.json b/payloads/PushEvent/dcppc_internal_push.json new file mode 100644 index 0000000..e018b6f --- /dev/null +++ b/payloads/PushEvent/dcppc_internal_push.json @@ -0,0 +1,200 @@ +{ + "ref": "refs/heads/ACharbonneau-patch-14", + "before": "0000000000000000000000000000000000000000", + "after": "8757d6a5f215c42a919a1ea343574680e94114f1", + "created": true, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/internal/commit/8757d6a5f215", + "commits": [ + { + "id": "8757d6a5f215c42a919a1ea343574680e94114f1", + "tree_id": "08a4c6b8a1ce1ad9e6a5c6d919f79f2c64bb3377", + "distinct": true, + "message": "Update index.md", + "timestamp": "2018-10-02T10:58:45-04:00", + "url": "https://github.com/dcppc/internal/commit/8757d6a5f215c42a919a1ea343574680e94114f1", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "phase-1/index.md" + ] + } + ], + "head_commit": { + "id": "8757d6a5f215c42a919a1ea343574680e94114f1", + "tree_id": "08a4c6b8a1ce1ad9e6a5c6d919f79f2c64bb3377", + "distinct": true, + "message": "Update index.md", + "timestamp": "2018-10-02T10:58:45-04:00", + "url": "https://github.com/dcppc/internal/commit/8757d6a5f215c42a919a1ea343574680e94114f1", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "phase-1/index.md" + ] + }, + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://github.com/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": 1526388453, + "updated_at": "2018-10-02T00:32:16Z", + "pushed_at": 1538492326, + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3776, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 28, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 28, + "watchers": 6, + "default_branch": "master", + "stargazers": 6, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "ACharbonneau", + "email": "charbo24@msu.edu" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PushEvent/dcppc_organize_push.json b/payloads/PushEvent/dcppc_organize_push.json new file mode 100644 index 0000000..ef2c0e0 --- /dev/null +++ b/payloads/PushEvent/dcppc_organize_push.json @@ -0,0 +1,246 @@ +{ + "ref": "refs/heads/master", + "before": "9a1db589cba5dc1044eb33fa7a8d8254cf12bf44", + "after": "b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "created": false, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/organize/compare/9a1db589cba5...b4af94ccb51e", + "commits": [ + { + "id": "5e3f1d7e9e100570eb7644a52f780531de660ccc", + "tree_id": "256c56e94037db03a0f04705540fc9219fbe533f", + "distinct": false, + "message": "Update index.md", + "timestamp": "2018-09-27T14:06:38-04:00", + "url": "https://github.com/dcppc/organize/commit/5e3f1d7e9e100570eb7644a52f780531de660ccc", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + }, + { + "id": "44b5e3c554201a97a851778f9a098bc90ab961ac", + "tree_id": "66019760792186115c3da0765a590be7738d50bd", + "distinct": false, + "message": "Update index.md", + "timestamp": "2018-09-27T14:09:14-04:00", + "url": "https://github.com/dcppc/organize/commit/44b5e3c554201a97a851778f9a098bc90ab961ac", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + }, + { + "id": "b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "tree_id": "66019760792186115c3da0765a590be7738d50bd", + "distinct": true, + "message": "Merge pull request #113 from dcppc/ACharbonneau-patch-2\n\nUpdate index.md", + "timestamp": "2018-09-27T14:22:59-04:00", + "url": "https://github.com/dcppc/organize/commit/b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + } + ], + "head_commit": { + "id": "b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "tree_id": "66019760792186115c3da0765a590be7738d50bd", + "distinct": true, + "message": "Merge pull request #113 from dcppc/ACharbonneau-patch-2\n\nUpdate index.md", + "timestamp": "2018-09-27T14:22:59-04:00", + "url": "https://github.com/dcppc/organize/commit/b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + }, + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://github.com/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": 1511718084, + "updated_at": "2018-09-25T17:35:48Z", + "pushed_at": 1538072580, + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 249, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 11, + "watchers": 10, + "default_branch": "master", + "stargazers": 10, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "ACharbonneau", + "email": "charbo24@msu.edu" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PushEvent/dcppc_private_www_push.json b/payloads/PushEvent/dcppc_private_www_push.json new file mode 100644 index 0000000..4be9faf --- /dev/null +++ b/payloads/PushEvent/dcppc_private_www_push.json @@ -0,0 +1,217 @@ +{ + "ref": "refs/heads/master", + "before": "8939116dda65f88b1b42bae186734fe0d96855d1", + "after": "5844f4971afc16f51864aaef93a811f888aba207", + "created": false, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/private-www/compare/8939116dda65...5844f4971afc", + "commits": [ + { + "id": "90a641adfd5de3214de9dfac0c9fda061c7082fc", + "tree_id": "b03290df36a77ab110b73ce5413825f673967681", + "distinct": false, + "message": "[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "timestamp": "2018-10-02T10:12:21-07:00", + "url": "https://github.com/dcppc/private-www/commit/90a641adfd5de3214de9dfac0c9fda061c7082fc", + "author": { + "name": "Florence Python", + "email": "fp9695253@gmail.com", + "username": "fp9695253" + }, + "committer": { + "name": "Florence Python", + "email": "fp9695253@gmail.com", + "username": "fp9695253" + }, + "added": [], + "removed": [], + "modified": [ + "docs/internal" + ] + }, + { + "id": "5844f4971afc16f51864aaef93a811f888aba207", + "tree_id": "b03290df36a77ab110b73ce5413825f673967681", + "distinct": true, + "message": "Merge pull request #156 from dcppc/update_submodules_20181002_101220\n\n[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "timestamp": "2018-10-02T10:14:04-07:00", + "url": "https://github.com/dcppc/private-www/commit/5844f4971afc16f51864aaef93a811f888aba207", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "docs/internal" + ] + } + ], + "head_commit": { + "id": "5844f4971afc16f51864aaef93a811f888aba207", + "tree_id": "b03290df36a77ab110b73ce5413825f673967681", + "distinct": true, + "message": "Merge pull request #156 from dcppc/update_submodules_20181002_101220\n\n[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "timestamp": "2018-10-02T10:14:04-07:00", + "url": "https://github.com/dcppc/private-www/commit/5844f4971afc16f51864aaef93a811f888aba207", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "docs/internal" + ] + }, + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://github.com/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": 1526944961, + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": 1538500445, + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "charlesreid1", + "email": "charlesreid1@gmail.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PushEvent/dcppc_ucl_push.json b/payloads/PushEvent/dcppc_ucl_push.json new file mode 100644 index 0000000..ef9898d --- /dev/null +++ b/payloads/PushEvent/dcppc_ucl_push.json @@ -0,0 +1,465 @@ +{ + "ref": "refs/heads/master", + "before": "d40629eef65699b879b3f9f68952d3dd4179ae4e", + "after": "2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "created": false, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/use-case-library/compare/d40629eef656...2f171241e3bc", + "commits": [ + { + "id": "2fe12148cafa52a45de79f8b159e6c8ff9e02c07", + "tree_id": "b3d52bcccbb19b44b38ebfe5210a70244f11d107", + "distinct": false, + "message": "now with updated inputs and outputs", + "timestamp": "2018-10-01T16:01:18-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/2fe12148cafa52a45de79f8b159e6c8ff9e02c07", + "author": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "committer": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "added": [], + "removed": [ + "library/EPIC-48-share-notebooks.md" + ], + "modified": [ + "library/EPIC-45-build-a-cohort.md", + "library/EPIC-46-select-analyses.md", + "library/EPIC-47-compare-cohorts.md", + "library/SUMMARY-24-GTExBioJupies.md", + "library/USERSTORY-79.md", + "library/USERSTORY-81.md", + "library/USERSTORY-82.md", + "library/USERSTORY-83.md" + ] + }, + { + "id": "795ae0b5d772cc4e33901661d759386feb39aba6", + "tree_id": "ea542225debf26397bcd8986445eb907cc85ec01", + "distinct": false, + "message": "remove periods, update last story, remove obsolete story", + "timestamp": "2018-10-01T16:05:52-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/795ae0b5d772cc4e33901661d759386feb39aba6", + "author": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "committer": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "added": [], + "removed": [ + "library/USERSTORY-85.md" + ], + "modified": [ + "library/USERSTORY-81.md", + "library/USERSTORY-84.md" + ] + }, + { + "id": "899ff584750acbee15ce5a15adb922013b5dd763", + "tree_id": "4e924149a6a66a0ec87181d6f802be1b40eeae55", + "distinct": false, + "message": "add exception handling and improved error message when EPIC missing from NARRATIVE", + "timestamp": "2018-10-01T15:52:51-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/899ff584750acbee15ce5a15adb922013b5dd763", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "scripts/library_objects.py" + ] + }, + { + "id": "1598e3bea4a00c682f7d516a4b07a6eb6bdb97bc", + "tree_id": "ead4a501ce4f21f13a6ce8290ace169ef4421e05", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T15:56:58-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/1598e3bea4a00c682f7d516a4b07a6eb6bdb97bc", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "54a1cce6ddf5940a18756de814d0268d2b9a1ed3", + "tree_id": "3dfd9bc0c07d6c7bd9e1b298ec9aedb026f4ce4a", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T16:07:07-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/54a1cce6ddf5940a18756de814d0268d2b9a1ed3", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "1179967c982c71198461cdaa94f9b7a1bd1f0c13", + "tree_id": "ead4a501ce4f21f13a6ce8290ace169ef4421e05", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T16:09:51-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/1179967c982c71198461cdaa94f9b7a1bd1f0c13", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "3dd4287afb6be587e52a5fcf7e96c428fb2be29c", + "tree_id": "3dfd9bc0c07d6c7bd9e1b298ec9aedb026f4ce4a", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T16:12:02-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/3dd4287afb6be587e52a5fcf7e96c428fb2be29c", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "775d7932388ca2deab5c97eecd54d85729cde06b", + "tree_id": "3dfd9bc0c07d6c7bd9e1b298ec9aedb026f4ce4a", + "distinct": false, + "message": "Merge pull request #133 from dcppc/improve-error-message\n\nadd exception handling and improved error message when EPIC missing", + "timestamp": "2018-10-01T16:13:08-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/775d7932388ca2deab5c97eecd54d85729cde06b", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "README.md", + "scripts/library_objects.py" + ] + }, + { + "id": "5830244b6ac8d83be078262ed7c39971053a46ea", + "tree_id": "a129dfb3ffa131f00a9233df2c10fa318e780af9", + "distinct": false, + "message": "whitespace in readme", + "timestamp": "2018-10-01T16:15:20-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/5830244b6ac8d83be078262ed7c39971053a46ea", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "58144011e4cf609c7e5af7ca242c06b044a3d3a6", + "tree_id": "f2f63d756f2d876238b581d14da647556bdf9b50", + "distinct": false, + "message": "remove link to removed epic 48", + "timestamp": "2018-10-01T20:39:22-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/58144011e4cf609c7e5af7ca242c06b044a3d3a6", + "author": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "committer": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "added": [], + "removed": [], + "modified": [ + "library/NARRATIVE-24-GTExBioJupies.md" + ] + }, + { + "id": "2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "tree_id": "a445983b43f9cddff10b83e622937977a807ed84", + "distinct": true, + "message": "Merge pull request #132 from dcppc/gtex-biojupies-2\n\nnow with updated inputs and outputs for Biojupies GETex", + "timestamp": "2018-10-01T21:58:02-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "author": { + "name": "Rayna M Harris", + "email": "raynamharris@users.noreply.github.com", + "username": "raynamharris" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [ + "library/EPIC-48-share-notebooks.md", + "library/USERSTORY-85.md" + ], + "modified": [ + "README.md", + "library/EPIC-45-build-a-cohort.md", + "library/EPIC-46-select-analyses.md", + "library/EPIC-47-compare-cohorts.md", + "library/NARRATIVE-24-GTExBioJupies.md", + "library/SUMMARY-24-GTExBioJupies.md", + "library/USERSTORY-79.md", + "library/USERSTORY-81.md", + "library/USERSTORY-82.md", + "library/USERSTORY-83.md", + "library/USERSTORY-84.md", + "scripts/library_objects.py" + ] + } + ], + "head_commit": { + "id": "2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "tree_id": "a445983b43f9cddff10b83e622937977a807ed84", + "distinct": true, + "message": "Merge pull request #132 from dcppc/gtex-biojupies-2\n\nnow with updated inputs and outputs for Biojupies GETex", + "timestamp": "2018-10-01T21:58:02-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "author": { + "name": "Rayna M Harris", + "email": "raynamharris@users.noreply.github.com", + "username": "raynamharris" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [ + "library/EPIC-48-share-notebooks.md", + "library/USERSTORY-85.md" + ], + "modified": [ + "README.md", + "library/EPIC-45-build-a-cohort.md", + "library/EPIC-46-select-analyses.md", + "library/EPIC-47-compare-cohorts.md", + "library/NARRATIVE-24-GTExBioJupies.md", + "library/SUMMARY-24-GTExBioJupies.md", + "library/USERSTORY-79.md", + "library/USERSTORY-81.md", + "library/USERSTORY-82.md", + "library/USERSTORY-83.md", + "library/USERSTORY-84.md", + "scripts/library_objects.py" + ] + }, + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://github.com/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": 1535473135, + "updated_at": "2018-10-02T02:34:12Z", + "pushed_at": 1538449083, + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4558, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 35, + "license": null, + "forks": 2, + "open_issues": 35, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "raynamharris", + "email": "raynamharris@users.noreply.github.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PushEvent/dcppc_workshops_push.json b/payloads/PushEvent/dcppc_workshops_push.json new file mode 100644 index 0000000..5d910e0 --- /dev/null +++ b/payloads/PushEvent/dcppc_workshops_push.json @@ -0,0 +1,196 @@ +{ + "ref": "refs/heads/charlesreid1-patch-1", + "before": "0000000000000000000000000000000000000000", + "after": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "created": true, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/dcppc-workshops/commit/74228b709fa6", + "commits": [ + { + "id": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "tree_id": "8e89aa52e5baadbfbfb99e7505acb1d5236088be", + "distinct": true, + "message": "change newline", + "timestamp": "2018-10-02T15:10:41-07:00", + "url": "https://github.com/dcppc/dcppc-workshops/commit/74228b709fa60dff242ab2773bdbaa7dcda708e8", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [] + } + ], + "head_commit": { + "id": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "tree_id": "8e89aa52e5baadbfbfb99e7505acb1d5236088be", + "distinct": true, + "message": "change newline", + "timestamp": "2018-10-02T15:10:41-07:00", + "url": "https://github.com/dcppc/dcppc-workshops/commit/74228b709fa60dff242ab2773bdbaa7dcda708e8", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [] + }, + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://github.com/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": 1525361939, + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": 1538518242, + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master", + "stargazers": 1, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "charlesreid1", + "email": "charlesreid1@gmail.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/payloads/PushEvent/event.json b/payloads/PushEvent/event.json new file mode 100644 index 0000000..b804f5c --- /dev/null +++ b/payloads/PushEvent/event.json @@ -0,0 +1,136 @@ +{ + "ref": "refs/tags/simple-tag", + "before": "a10867b14bb761a232cd80139fbd4c0d33264240", + "after": "0000000000000000000000000000000000000000", + "created": false, + "deleted": true, + "forced": false, + "base_ref": null, + "compare": "https://github.com/Codertocat/Hello-World/compare/a10867b14bb7...000000000000", + "commits": [ + + ], + "head_commit": null, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "name": "Codertocat", + "email": "21031067+Codertocat@users.noreply.github.com", + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://github.com/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": 1527711484, + "updated_at": "2018-05-30T20:18:35Z", + "pushed_at": 1527711528, + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master" + }, + "pusher": { + "name": "Codertocat", + "email": "21031067+Codertocat@users.noreply.github.com" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} + diff --git a/payloads/Readme.md b/payloads/Readme.md new file mode 100644 index 0000000..db6c0eb --- /dev/null +++ b/payloads/Readme.md @@ -0,0 +1,111 @@ +# Sample Payloads + + + +Types of sample payloads: + +* IssueCommentEvent +* IssuesEvent +* PullRequestEvent +* PullRequestReviewEvent +* PullRequestReviewCommentEvent +* PushEvent +* ReleaseEvent + +## IssueCommentEvent + +Issue comment events: + +Actions: + +- [ ] "created" +- [ ] "edited" +- [ ] "deleted" + + +## IssuesEvent + +Actions: + +* "assigned", +* "unassigned", +* "labeled", +* "unlabeled", +* "opened", +* "edited", +* "milestoned", +* "demilestoned", +* "closed", +* "reopened" + + +## PullRequestEvent + +Most complex pull request... lots of possible actions + +Actions: + +* "assigned" +* "unassigned" +* "review_requested" +* "review_request_removed" +* "labeled" +* "unlabeled" +* "opened" +* "edited" +* "closed" +* "reopened" + +if action is "closed": + +* if "closed" and merged key is false, + PR was closed w/ unmerged commits. +* if "closed" and merged key is true, + PR was merged + + +TODO: We need to get an unmerged PR closed +webhook, because we are just guessing at it. +we had to manufacture our own. + + +## PullRequestReviewEvent + +action: + +* "submitted" +* "edited" +* "dismissed" + +The `review` key of the webhook payload +contains info about the review that was +related to this action being triggered. + + +## PullRequestReviewCommentEvent + +action: + +* "created" +* "edited" +* "deleted" + +The `pull_request` key of the webhook payload +contains info about the relevant pull request. + + +## PushEvent + +fields: + +* ref - the full git ref that was pushed (refs/head/master) +* head - sha of most recent commit after push +* before - sha of most recent commit before push +* size - number of commits +* commits - array describing pushed commits + * sha + * message + * author + * url + + diff --git a/requirements.txt b/requirements.txt index 7f88e55..ae8dd70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,5 @@ Flask>=0.12.1 PyGithub>=1.39 requests>=2.19 mkdocs>=1.0 +pyyaml +pytest diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..4cf14ca --- /dev/null +++ b/setup.py @@ -0,0 +1,44 @@ +from setuptools import setup + +""" +setup.py for Uncle Archie + +Continuous integration (CI) testing tool for DCPPC. +""" + +with open('requirements.txt') as f: + required = [x for x in f.read().splitlines() if not x.startswith("#")] + +# Note: the _program variable is set in __init__.py. +# it determines the name of the package/final command line tool. +from src import __version__ + +config = { + 'name': 'archie', + 'description': 'Uncle Archie is a home-brewed continuous integration server', + 'url': 'https://pages.charlesreid1.com/uncle-archie', + 'author': 'Charles Reid', + 'version' : __version__, + 'install_requires': required, + 'include_package_data' : True, + 'test_suite': 'tests', + 'tests_require': ['pytest'], + 'packages': [ + 'archie', + 'archie.webapp', + 'archie.payload_handlers', + 'archie.tasks', + 'archie.tests', + ], + 'package_dir' : { + 'archie' : 'src', + 'archie.webapp' : 'src/webapp', + 'archie.payload_handlers': 'src/payload_handlers', + 'archie.tasks' : 'src/tasks', + 'archie.tests' : 'src/tests', + }, + 'scripts': [], + 'zip_safe' : False +} + +setup(**config) diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..1a0d997 --- /dev/null +++ b/src/__init__.py @@ -0,0 +1,7 @@ +from . import tasks +from . import payload_handlers +from . import webapp +from . import tests + +__version__="0.1" + diff --git a/src/payload_handlers/Readme.md b/src/payload_handlers/Readme.md new file mode 100644 index 0000000..7866ca8 --- /dev/null +++ b/src/payload_handlers/Readme.md @@ -0,0 +1,114 @@ +# Uncle Archie: Payload Handlers + +The Payload Handler class is a high-level class +that adds tasks to a task list at an abstract level. +Payload handlers do not run any commands and only +know what tasks to create and run. + +You can think of a Payload Handler as a suite of +related tasks and tests. + +## Using a Payload Handler + +To use a payload handler, set it using the `app` object +in the `webapp` submodule of Uncle Archie: + +``` +import archie + +app = archie.webapp.app +app.set_payload_handler('default') +app.run() +``` + +This uses the default payload handler, which dumps +the payload to a file on disk. To pass parameters +to the payload handler, set parameters using the +Flask app's config variable: + +``` +import archie + +app = archie.webapp.app +config = archie.webapp.app.config +config['payload_handler'] = { + 'param_1' : 'value_1', + 'param_2' : 'value_2' +} +app.set_payload_handler('default') +app.run() +``` + +The respective Payload Handler class should look +for `param_1` and `param_2` in the Flask config +variable that is passed to it when the +`process_payload()` method is called on it. + +## Defining a Payload Handler + +To define a Payload Handler class, extend the +`BasePayloadHandler` class, and override the +virtual `process_payload()` method. + +Thie `process_payload()` method defined by the +Payload Handler should create and run high-level +Task objects. + +The extra level of abstraction lets you define +a high-level payload handler that loads a whole +suite of tasks and tests, without fussing with +any low-level details. + +## Classes + +### `PayloadHandlerFactory` class + +See [`factory.py`](factory.py) + +Uncle Archie uses a factory pattern to create +Payload Handlers of different types. Each payload +handler has a predefined set of tasks. + +The Payload Handler factory is created/used by the +Flask app in the `/webhook` route. It calls the +factory to create a new Payload Handler object each +time a webhook payload arrives. + +If users wish to define new payload handlers +they can define a new class extending the +`BasePayloadHandler` class, and redefine the +`process_payload()` method to run whatever +tasks they wish. + +Payload Handlers can accept parameters set in the +Flask config object, which is passed to the +`process_payload()` method. + +### `BasePayloadHandler` class + +See [`handlers.py`](handlers.py) + +The `BasePayloadHandler` class defines one virtual method, +`process_payload()`, which is the method that accepts the +payload and Flask configuration and creates and runs +high-level Task objects. + +### `LoggingPayloadHandler` class + +The `LoggingPayloadHandler` class logs the payloads it receives +using the `logging` framework (logs at `DEBUG` level). + +It does this using a Task object, rather than logging directly. + +### `DCPPCPayloadHandler` class + +The `DCPPCPayloadHandler` runs a set of tasks for the +DCPPC organization. + +Telling Uncle Archie to use this handler will run +a DCPPC instance of Uncle Archie. + +Note: this is not for general usage, and requires a +Github API key for an account with appropriate access +to DCPPC repos. + diff --git a/src/payload_handlers/__init__.py b/src/payload_handlers/__init__.py new file mode 100644 index 0000000..f89da91 --- /dev/null +++ b/src/payload_handlers/__init__.py @@ -0,0 +1,18 @@ +from .factory import PayloadHandlerFactory + +from .handlers import \ + BasePayloadHandler, \ + PRBuildPayloadHandler, \ + LoggingPayloadHandler + +from .dcppc import \ + DCPPCPayloadHandler + +__all__ = [ + 'PayloadHandlerFactory', + 'BasePayloadHandler', + 'PRBuildPayloadHandler', + 'LoggingPayloadHandler', + 'DCPPCPayloadHandler' +] + diff --git a/src/payload_handlers/dcppc.py b/src/payload_handlers/dcppc.py new file mode 100644 index 0000000..92e27fb --- /dev/null +++ b/src/payload_handlers/dcppc.py @@ -0,0 +1,44 @@ +from .handlers import TaskPayloadHandler + +from ..tasks import * +import pprint + +class DCPPCPayloadHandler(TaskPayloadHandler): + """ + The DCPPC Payload Handler handles payloads + by running all available DCPPC Tasks on + each payload it receives. + """ + def __init__(self,config,**kwargs): + """ + Create all DCPPC tasks and store them in the task container + """ + super().__init__(config,**kwargs) + + ## private www PR builder + self.tasks.append(private_www_PR_builder(config,**kwargs)) + + ### private www submodule integration PR builder + #self.tasks.append(private_www_submodule_integration_PR_builder(config)) + + ### private www submodule update PR opener + #self.tasks.append(private_www_submodule_update_PR_opener(config)) + + ### private www (heroku) deployer + #self.tasks.append(private_www_deployer(config)) + + ### use case library PR builder + #self.tasks.append(use_case_library_PR_builder(config)) + + ### use case library (gh-pages) deployer + #self.tasks.append(use_case_library_deployer(config)) + + # centillion CI tasks + # + # uncle-archie meta-CI tasks + # + # private-www CI tasks + # + # use-case-library CI tasks + + diff --git a/src/payload_handlers/factory.py b/src/payload_handlers/factory.py new file mode 100644 index 0000000..7ad0922 --- /dev/null +++ b/src/payload_handlers/factory.py @@ -0,0 +1,40 @@ +from .handlers import \ + BasePayloadHandler, \ + PRBuildPayloadHandler, \ + LoggingPayloadHandler + +from .dcppc import DCPPCPayloadHandler + + +class PayloadHandlerFactory(object): + """ + Given the string name of a payload handler, + the factory returns an instance of that + payload handler. + """ + payload_handlers = { + 'default': LoggingPayloadHandler, + 'pr_build': PRBuildPayloadHandler, + 'dcppc': DCPPCPayloadHandler + } + + def factory(self,handler_type,config,**kwargs): + """ + Given a payload handler type + (must be key in dictionary above), + create and return an instance of it. + """ + if handler_type in self.payload_handlers.keys(): + # return user-specified payload handler type + return self.payload_handlers[handler_type](config,**kwargs) + + elif handler_type=='': + # empty payload handler type => default + return self.payload_handlers['default'](config,**kwargs) + + else: + err = "ERROR: PayloadHandlerFactory: factory(): " + err += "Received an invalid handler type \"%s\"\n"%handler_type + err += "Handler type must be one of: %s"%(", ".join(self.payload_handlers.keys())) + raise Exception(err) + diff --git a/src/payload_handlers/handlers.py b/src/payload_handlers/handlers.py new file mode 100644 index 0000000..a7b1d9c --- /dev/null +++ b/src/payload_handlers/handlers.py @@ -0,0 +1,59 @@ +from ..tasks import * +import pprint + + +class BasePayloadHandler(object): + """ + we need a constructor + the construct constructs each task + we pass the config into the constructor + that sets up each task's temp dir, name, etc. + """ + def __init__(self,config,**kwargs): + pass + + def process_payload(self, payload, meta, config): + """Virtual method""" + err = "ERROR: BasePayloadHandler: process_payload() method is " + err += "virtual and cannot be called directly. Use a different " + err += "PayloadHandler object that defines process_payload()." + raise Exception(err) + + +class TaskPayloadHandler(BasePayloadHandler): + def __init__(self,config,**kwargs): + """ + Create a tasks container + """ + self.tasks = [] + + def process_payload(self, payload, meta, config): + """ + Call the parent method (to dump the payload) + then run all the DCPPC tasks. + """ + # Run all tasks on the payload + for t in self.tasks: + t.run(payload,meta,config) + + +class LoggingPayloadHandler(TaskPayloadHandler): + def __init__(self,config,**kwargs): + """ + Create a logging task and store it in the task container + """ + super().__init__(config,**kwargs) + + self.tasks.append(LoggingTask(config,**kwargs)) + + +class PRBuildPayloadHandler(TaskPayloadHandler): + def __init__(self,config,**kwargs): + """ + Create a PR build task and store it in the task container + """ + super().__init__(config,**kwargs) + + self.tasks.append(BuildPRTask(config,**kwargs)) + + diff --git a/src/tasks/DCPPC_Tasks.md b/src/tasks/DCPPC_Tasks.md new file mode 100644 index 0000000..7908ce5 --- /dev/null +++ b/src/tasks/DCPPC_Tasks.md @@ -0,0 +1,139 @@ +# DCPPC Task Classes + +The base Task class handles processing of parameters +common to all tasks: + +- htdocs dir +- status url +- log dir + +Each DCPPC test must look in the config dictionary for +any of the following (and define default values for them): + +- name +- temp dir +- repo whitelist + +Some DCPPC tests take additional parameters: + +- base branch +- submodule remap + +## DCPPC Task Class Parameters + +The general pattern for setting parameters +is as follows: + +``` +import archie + +app = archie.webapp.app +config = app.config + +config['htdocs_dir'] = '/path/to/htdocs' +config['base_url'] = 'https://archie.example.com' + +config['name_of_task'] = { + 'param_1' : 'value_1', + 'param_2' : 'value_2', + 'param_3' : 'value_3', +} + +app.run() +``` + +Full example: + +``` +import archie + +app = archie.webapp.app +config = app.config + +config['htdocs_dir'] = '/www/archie.example.com/htdocs/output' +config['base_url'] = 'https://archie.example.com/output' + +config['private_www_PR_builder'] = { + 'repo_whitelist' : ['dcppc/private-www'], + 'base_branch' : 'master' +} + +config['private_www_submodule_integration_PR_builder'] = { + 'repo_whitelist' : [ + 'dcppc/internal', + 'dcppc/organize', + 'dcppc/nih-demo-meetings', + 'dcppc/dcppc-workshops', + ], + 'base_branch' : 'master', + 'submodule_map' : { + 'dcppc/dcppc-workshops' : 'workshops', + } +} + +app.run() +``` + + +### DCPPC Task Classes + +## private www PR builder + +See [`private_www_PR_builder.py`](private_www_PR_builder.py) + +When a pull request is opened in the `private-www` repo, +run a build test. + +## private www submodule integration PR builder + +See [`private_www_submodule_integration_PR_builder.py`](private_www_submodule_integration_PR_builder.py) + +When a pull request is opened or synced in a repository that is +a submodule of `private-www`, run a build test on the +`private-www` repo using that branch of the submodule. + +## private www submodule update PR opener + +See [`private_www_submodule_update_PR_opener.py`](private_www_submodule_update_PR_opener.py) + +When a pull request is merged into master in a repository that is +a submodule of `private-www`, open a pull request in `private-www` +to update the submodule pointer. + +## private www (heroku) deployer + +See [`private_www_deployer.py`](private_www_deployer.py) + +When a pull request is merged into master in the `private-www` +repo, build the site and deploy it to Heroku. + +## use case library PR builder + +See [`use_case_library_PR_builder.py`](use_case_library_PR_builder.py) + +When a pull request is opened or synced in the use case library +repository, run a build test on the repository. + +## use case library (gh-pages) deployer + +See [`use_case_library_deployer.py`](use_case_library_deployer.py) + +When a pull request is merged into master in the use case library +repo, build the site and deploy it to Github Pages. + +## centillion CI tester + +Run continous integration tests on master and on pull requests. + +## uncle-archie CI tester + +Run continous integration tests on master and on pull requests. + +## private-www CI tester + +Run continous integration tests on master and on pull requests. + +## use case library CI tester + +Run continous integration tests on master and on pull requests. + diff --git a/src/tasks/Readme.md b/src/tasks/Readme.md new file mode 100644 index 0000000..d3c5b07 --- /dev/null +++ b/src/tasks/Readme.md @@ -0,0 +1,150 @@ +# Uncle Archie: Tasks and Tests + +Uncle Archie Task classes are low-level +classes that run commands and take actions +on the system. + +All Task classes define a `run()` +method that is called by the Payload Handler's +`process_payload()` method. + +All Task classes also define `setup()` +and `teardown()` methods that are called +before and after the task is run. + +## Using a Task + +Tasks are used by Payload Handlers when +the Payload Handler defines its +`process_payload()` method. To use them, +the user first defines a Task class +in the Uncle Archie package: + +``` +class Task1(UncleArchieTask): + def run(self, payload, meta, config): + # This is where commands are actually run + subprocess.call(['touch','/tmp/hello_world_1']) + +class Task2(UncleArchieTask): + def run(self, payload, meta, config): + subprocess.call(['touch','/tmp/hello_world_2']) +``` + +The Tasks are created by a Payload Handler, +which calls the `run()` method on each Task: + +``` +class MyPayloadHandler(BasePayloadHandler): + def process_payload(self, payload, meta, config): + + task1 = Task1() + task1.run(payload,meta,config) + + task2 = Task2() + task2.run(payload,meta,config) +``` + +## Passing Parameters to Tasks + +Parameters for the Tasks are set using the config variable, +which contains the Uncle Archie Flask configuration. + +For example, a task can utilize a parameter from +the Flask config to decide how to run a task: + +``` +class Task1(UncleArchieTask): + def run(self, payload, meta, config): + + # Set the value of the sad flag + sad = False + if 'Task1' in config.keys(): + if 'sad' in config['Task1'].keys(): + sad = config['Task1']['sad'] + + if sad: + subprocess.call(['touch','/tmp/goodbye_world']) + else: + subprocess.call(['touch','/tmp/hello_world']) +``` + +The `sad` flag can then be set by the Uncle Archie user +when they create the Uncle Archie Flask app: + +``` +import archie + +app = archie.webapp.app +config = app.config +config['Task1'] = { + 'sad' : True +} + +...set payload handler using Task1... + +app.run() +``` + +Now, when the webhook is received by the Flask app, +it calls the Payload Handler, which calls Task1, +which checks the Flask config for a `sad` key and +controls the beahvior of the task. + +## Defining a Task + +Each Task object must define a `run()` method. +There is nothing else required for Task objects. + +## Task Classes + +For a list of DCPPC task classes, see [DCPPC_Tasks.md](DCPPC_Tasks.md) + +### `UncleArchieTask` base class + +See [`base.py`](base.py) + +This is the base Task class. + +The base Task class checks for any required input parameters +in the config variable: + +- `htdocs_dir` +- `base_url` +- `log_dir` + +Default values for these are set in the base Task class. + +It does not process a name or label for the Task, +or any config variables that are task-specific. + +This is because Tasks know their own name and label. +All Task config variables can be set in config, +but Tasks must know their own name to know where +to look! So, leave task-specific parameter handling +to the Task itself. + +This class tries to stay as general as possible. +It only defines one virtual method, `run()`. + +### `GithubTask` base class + +See [`base.py`](base.py) + +The Github Task base class defines convenience methods +for tasks that are performing actions on Github. This +base class can perform actions with the payload like +checking if the payload is opening or syncing a pull +request, getting the head commit of a pull request, or +setting the status of a commit. + +### `PyGithubTask` base class + +See [`base.py`](base.py) + +The PyGithub Task base class extends the Github Task +class. It adds a setup and tear down step to the constructor +and destructor, respectively. These setup and tear down +methods manage a virtual Python environment, in which all +Python commands for this Task will be run. + diff --git a/src/tasks/__init__.py b/src/tasks/__init__.py new file mode 100644 index 0000000..7ed80f6 --- /dev/null +++ b/src/tasks/__init__.py @@ -0,0 +1,31 @@ +# base Task types +from .base import UncleArchieTask, LoggingTask +from .github_base import GithubTask, PyGithubTask + +# test Task types +from .ghtest import BuildPRTask + + +# dcppc Task types +from .private_www_PR_builder import private_www_PR_builder +from .private_www_deployer import private_www_deployer +from .private_www_submodule_integration_PR_builder import private_www_submodule_integration_PR_builder +from .private_www_submodule_update_PR_opener import private_www_submodule_update_PR_opener +from .use_case_library_PR_builder import use_case_library_PR_builder +from .use_case_library_deployer import use_case_library_deployer + +__all__ = [ + 'UncleArchieTask', + 'LoggingTask', + 'GithubTask', + 'PyGithubTask', + + 'BuildPRTask', + + 'private_www_PR_builder', + 'private_www_deployer', + 'private_www_submodule_integration_PR_builder', + 'private_www_submodule_update_PR_opener', + 'use_case_library_PR_builder', + 'use_case_library_deployer', +] diff --git a/src/tasks/base.py b/src/tasks/base.py new file mode 100644 index 0000000..caa1fa6 --- /dev/null +++ b/src/tasks/base.py @@ -0,0 +1,421 @@ +import pprint +import os +import shutil +import tempfile +import subprocess +from subprocess import PIPE +import datetime +import logging + + +""" +Uncle Archie: Base Task Classes + +The classes in this file are intended to be used +as base classes only. None of them define a +process_payload() method, which is a virtual +method that must be defined by a Task class +to use that Task with Uncle Archie. +""" + + +class UncleArchieTask(object): + """ + Abstract base class. Represents a task that + Uncle Archie performs when a webhook is received. + (Tasks are usually CI tests.) + """ + DEFAULT_LOG_DIR = "/tmp/archie" + DEFAULT_HTDOCS_DIR = "/www/archie.nihdatacommons.us/htdocs/output" + DEFAULT_BASE_URL = "https://archie.nihdatacommons.us/output/" + + def __init__(self,config,**kwargs): + """ + Constructor for Uncle Archie tasks, performing + setup and parameter extraction common to all + Uncle Archie tasks. + + kwargs: + None + + Extract parameters common to all tasks from the Flask config: + log_dir: Directory where logs for this task are stored + htdocs_dir: Directory where hosted web content goes + base_url: URL where hosted web content is available + + Parameters specific to tasks (extracted in methods defined + here, but called from derived classes when we know the + task's label): + name Name of this task + repo_whitelist Whitelist of repositories to run this task on + """ + msg = "UncleArchieTask: __init__(): Starting constructor" + logging.debug(msg) + + # Get the log dir + self.get_log_dir(config) + + # Get the htdocs dir + self.get_htdocs_dir(config) + + # Get the base url + self.get_base_url(config) + + # Get the value of the debug/testing variable + self.get_debug(config) + self.get_testing(config) + + # The following require a LABEL + # to be defined by the parent class. + if self.LABEL is None: + err = "ERROR: UncleArchieTask: __init__(): Tried to extract " + err += "test-specific config parametrers, but failed because " + err += "no LABEL was defined for this test!" + logging.error(err) + raise Exception(err) + + # Get the name of this task, using self.LABEL as default + self.get_name(config,self.LABEL) + + # Get the repo whitelist for this task + self.get_repo_whitelist(config,self.LABEL) + + # This is not set until a temp dir is + # actually created (done for each payload) + self.temp_dir = None + + msg = "UncleArchieTask: __init__(): Success!" + logging.debug(msg) + + + ###################################### + # Get config functions + + + def get_log_dir(self,config): + """ + Get the log directory from the Flask + config, and create it if needed. + """ + if 'LOG_DIR' in config.keys(): + self.log_dir = config['LOG_DIR'] + else: + self.log_dir = self.DEFAULT_LOG_DIR + + # If it doesn't exist, make it + if not os.path.isdir(self.log_dir): + result = subprocess.call(['mkdir','-p',self.log_dir]) + if result==1: + err = "ERROR: UncleArchieTask: __init__(): log_dir config variable: " + err += "Could not create log dir %s"%(self.log_dir) + logging.error(err) + raise Exception(err) + + msg = " - Log dir: %s"%(self.log_dir) + logging.debug(msg) + + + def get_htdocs_dir(self,config): + """ + Get the htdocs directory from the Flask + config, and check that it exists + """ + if 'HTDOCS_DIR' in config.keys(): + self.htdocs_dir = config['HTDOCS_DIR'] + else: + self.htdocs_dir = self.DEFAULT_HTDOCS_DIR + + # If it doesn't exist, make it + if not os.path.isdir(self.log_dir): + err = "ERROR: UncleArchieTask: get_htdocs_dir(): htdocs_dir config variable: " + err += "Could not find htdocs dir %s"%(self.htdocs_dir) + logging.error(err) + raise Exception(err) + + msg = " - Htdocs dir: %s"%(self.htdocs_dir) + logging.debug(msg) + + + def get_base_url(self,config): + """ + Get the base url from the Flask config + """ + if 'BASE_URL' in config.keys(): + self.base_url = config['BASE_URL'] + else: + self.base_url = self.DEFAULT_BASE_URL + + msg = " - Base url: %s"%(self.base_url) + logging.debug(msg) + + + + def get_testing(self,config): + """ + Get a boolean indicating whether + Uncle Archie is running in testing + mode (default: no) + """ + self.testing = False + if 'TESTING' in config.keys(): + if config['TESTING'] is True: + self.testing = True + + + def get_debug(self,config): + """ + Get a boolean indicating whether + Uncle Archie is running in debug + mode (default: no) + """ + self.debug = False + if 'DEBUG' in config.keys(): + if config['DEBUG'] is True: + self.debug = True + + + def get_name(self,config,task_label): + """ + Use the task label to get the task name. + If the user has not specified one in the + config file, use the task label by default. + """ + self.name = None + if task_label in config.keys(): + if 'name' in config[task_label].keys(): + self.name = config[task_label]['name'] + + if self.name==None: + self.name = task_label + + msg = " - Task name: %s"%(self.name) + logging.debug(msg) + + + def get_repo_whitelist(self,config,task_label): + """ + Use the task label to get the repo whitelist. + This is the list of repos to run this Task on. + If the user has not specified any, set it to + an empty list. + """ + self.repo_whitelist = [] + if task_label in config.keys(): + if 'repo_whitelist' in config[task_label].keys(): + self.repo_whitelist = config[task_label]['repo_whitelist'] + + # listify + if type(self.repo_whitelist)==type(""): + self.repo_whitelist = [self.repo_whitelist] + + msg = " - Repo whitelist: %s"%(", ".join(self.repo_whitelist)) + logging.debug(msg) + + + ###################################### + # run() function + + + def run(self,payload,meta,config): + """ + This does not perform ANY actions, + it only sets up variables that will + probably be used by all tasks. + """ + self.dt = datetime.datetime.now().strftime("%Y%m%d_%H%M%S") + + # We have a unique datetime stamp for this payload + # Use it to assemble an output file name + + # Name of log file unique to this test + out_name = self.make_unique_label("output") + self.log_file = os.path.join(self.log_dir,out_name) + + # Lists of strings to accumulate stdout and stderr + self.log = [] + + # No temporary directory + # created here, that's up + # to the task. See the + # make_temp_dir() method + # defined below. + # + # (This is b/c tempfile + # module lets you create + # temp folders, but not + # create a temp folder name + # only. Stupid.) + + + def make_temp_dir(self): + """ + Creates a temporary dir with + a unique name just for this + task. + + Returns a string with the + path to the temporary dir. + + Called by child classes. + """ + self.temp_dir = tempfile.mkdtemp() + return self.temp_dir + + + def rm_temp_dir(self): + """ + Creates a temporary dir with + a unique name just for this + task. + + Returns a string with the + path to the temporary dir. + + Called by child classes. + """ + if os.path.exists(self.temp_dir): + shutil.rmtree(self.temp_dir) + self.temp_dir = None + + + ###################################### + # Function to run a command + # and log stdout/stderr to + # a log file + + + def run_cmd(self, cmd, descr, cwd, **kwargs): + """ + This runs the given command (cmd) + from the given directory (cwd) using + subprocess. + + Params: + cmd : (list) the command to run + descr : (string) short description + cwd : (string) curr working dir + + kwargs: + None + + Returns: + abort : (boolean) did the process encounter + errors or exceptions + """ + if type(cmd)!=type([]): + err = "ERROR: UncleArchieTask: run_cmd(): " + err += "You must pass the command to run as a list, " + err += "you passed a command of type %s"%(type(cmd)) + logging.error(err) + raise Exception(err) + + if self.log is None: + err = "ERROR: UncleArchieTask: run_cmd(): " + err += "There was a problem with the output/error log accumulator (missing/none)" + logging.error(err) + raise Exception(err) + + msg = "UncleArchieTask: run_cmd(): About to run command:\n" + msg += " %s\n"%(" ".join(cmd)) + logging.debug(msg) + + # the constructor initializes + # self.testing and self.debug + if self.testing: + # print + msg = "UncleArchieTask: run_cmd(): Found TESTING variable set\n" + msg += " for command: %s\n"%(" ".join(cmd)) + msg += " (not running the command)" + logging.debug(msg) + return False + else: + + if not os.path.exists(cwd): + msg = "UncleArchieTask: run_cmd(): " + msg += "Specified directory %s does not exist!"%(cwd) + msg += " (not running command)" + logging.debug(msg) + return False + + proc = subprocess.Popen( + cmd, + stdout=PIPE, + stderr=PIPE, + cwd=cwd + ) + + o = proc.stdout.read().decode('utf-8') + e = proc.stderr.read().decode('utf-8') + + olines = ["=====================================\n", + "======= CMD: %s\n"%(" ".join(cmd)), + "======= STDOUT\n", + "=====================================\n", + o, + "\n\n" + ] + + elines = ["=====================================\n", + "======= CMD: %s\n"%(" ".join(cmd)), + "======= STDERR\n", + "=====================================\n", + e, + "\n\n" + ] + + self.log += olines + self.log += elines + + msg = "UncleArchieTask: run_cmd(): Finished running \"%s\" command"%(descr) + logging.debug(msg) + + if "exception" in o.lower() \ + or "exception" in e.lower(): + err = " [X] ERROR: UncleArchieTask: run_cmd(): Detected exception in output [X]" + logging.error(err) + logging.error(o) + logging.error(e) + return True + + if "error" in o.lower() \ + or "error" in e.lower(): + err = " [X] ERROR: UncleArchieTask: run_cmd(): Detected error in output [X]" + logging.error(err) + logging.error(o) + logging.error(e) + return True + + return False + + + ###################################### + # More utility functions + + + def make_unique_label(self, label): + """ + Given a label, make it unique with self.dt. + Useful for getting consistent filenames + for output files. + """ + assert label!=None + return "%s_%s"%(label,self.dt) + + + def save_payload(self,payload): + """ + Save the webhook payload to a file + """ + with open(self.payload_log,'w') as f: + f.write(json.dumps(payload, indent=4)) + msg = "UncleArchieTask: save_payload(): Finished saving payload to file %s"%(self.payload_log) + logging.debug(msg) + + +class LoggingTask(UncleArchieTask): + LABEL = "logging task" + def run(self,payload,meta,config): + msg = "LoggingTask: run(): Received a payload:\n" + msg += pprint.pformat(payload,indent=4) + logging.debug(msg) + diff --git a/src/tasks/ghtest.py b/src/tasks/ghtest.py new file mode 100644 index 0000000..18f937b --- /dev/null +++ b/src/tasks/ghtest.py @@ -0,0 +1,77 @@ +from .github_base import GithubTask + +import logging + + +class GithubBuildTask(GithubTask): + """ + This task runs a test of every Github boolean test method + """ + def run(self,payload,meta,config): + msg = "%s: run(): Starting..."%(self.__class__.__name__) + logging.debug(msg) + + pr_is_opened = self.is_pr_opened(payload) + msg = "%s: run(): Is pull request open? %s"%(self.__class__.__name__,pr_is_opened) + logging.debug(msg) + + pr_is_sync = self.is_pr_sync(payload) + msg = "%s: run(): Is pull request sync? %s"%(self.__class__.__name__,pr_is_sync) + logging.debug(msg) + + pr_is_close = self.is_pr_closed(payload) + msg = "%s: run(): Is pull request closed? %s"%(self.__class__.__name__,pr_is_close) + logging.debug(msg) + + is_merged = self.is_pr_closed_merged(payload) + msg = "%s: run(): Is this PR closed via merging? %s"%(self.__class__.__name__,is_merged) + logging.debug(msg) + + is_unmerged = self.is_pr_closed_unmerged(payload) + msg = "%s: run(): Is this PR closed without merging? %s"%(self.__class__.__name__,is_unmerged) + logging.debug(msg) + + pr_number = self.get_pull_request_number(payload) + msg = "%s: run(): Pull request number %s"%(self.__class__.__name__,pr_number) + logging.debug(msg) + + pr_head_commit = self.get_pull_request_head_commit(payload) + msg = "%s: run(): Pull request head commit: %s"%(self.__class__.__name__,pr_head_commit) + logging.debug(msg) + + short_repo_name = self.get_short_repo_name(payload) + msg = "%s: run(): Short repo name: %s"%(self.__class__.__name__,short_repo_name) + logging.debug(msg) + + full_repo_name = self.get_full_repo_name(payload) + msg = "%s: run(): Full repo name: %s"%(self.__class__.__name__,full_repo_name) + logging.debug(msg) + + clone_url = self.get_clone_url(payload) + msg = "%s: run(): Repo clone url: %s"%(self.__class__.__name__,clone_url) + logging.debug(msg) + + ssh_url = self.get_ssh_url(payload) + msg = "%s: run(): Repo ssh url: %s"%(self.__class__.__name__,ssh_url) + logging.debug(msg) + + html_url = self.get_html_url(payload) + msg = "%s: run(): Repo html url: %s"%(self.__class__.__name__,html_url) + logging.debug(msg) + + +class BuildPRTask(GithubBuildTask): + """ + This task tests if this is a pull request payload + """ + LABEL = "PR test task" + def run(self,payload,meta,config): + # This test checks PR webhooks only + if self.is_pr(payload): + super().run(payload,meta,config) + else: + msg = "TestPRTask: run(): This is not a pull request payload" + logging.debug(msg) + return + + diff --git a/src/tasks/github_base.py b/src/tasks/github_base.py new file mode 100644 index 0000000..f41b2ad --- /dev/null +++ b/src/tasks/github_base.py @@ -0,0 +1,409 @@ +from .base import UncleArchieTask +import github +from github import Github +import os, re +import subprocess +import logging +import pprint + +class GithubTask(UncleArchieTask): + """ + Base class for a Github test. + """ + def __init__(self,config,**kwargs): + """ + This performs the initialization procedure + for Github-related Uncle Archie tasks. + + Remember, we run every Task with every payload, + so Task.run() is where we validate the payload + to ensure we should be running that Task. + + config vars: + repo_whitelist : (list) whitelisted Github repositories + """ + super().__init__(config,**kwargs) + + msg = "GithubTask: __init__(): Starting constructor" + logging.debug(msg) + + + # Get the API token when you actually need it, which + # is to say, in the run() function, which has the config + # variable avaiable. + self.token = None + + + self.get_api_key(config) + + + + def get_api_key(self,config): + """ + Get the API key for the Github API instance + """ + if 'GITHUB_ACCESS_TOKEN' in config: + self.token = config['GITHUB_ACCESS_TOKEN'] + else: + err = "ERROR: GithubTask: __init__(): 'GITHUB_ACCESS_TOKEN' config variable: " + err += "No Github API access token defined with 'GITHUB_ACCESS_TOKEN'" + logging.error(err) + logging.error("Config keys: %s"%(", ".join(sorted(list(config.keys()))))) + raise Exception(err) + + msg = " - Github API key: (FOUND) (hidden)" + logging.debug(msg) + + + def get_api_instance(self): + """ + Return a Github API instance (PyGithub object) + github_access_token : (string) API access token + """ + if self.token is None: + err = "ERROR: GithubTask: get_api_instance(): This method was " + err += "called before an API key was available via self.token\n" + err += "You are likely missing a call to GithubTask.get_api_key()" + else: + g = Github(self.token) + return g + + + ####################################### + # Github payload info extraction + + + def get_clone_url(self,payload): + """ + String: get a clone-able Github URL + for the repository in this payload + (Tested) + """ + if 'repository' in payload.keys(): + if 'clone_url' in payload['repository'].keys(): + return payload['repository']['clone_url'] + return None + + + def get_ssh_url(self,payload): + """ + String: get a clone-able SSH Github URL + for the repository in this payload + (Tested) + """ + if 'repository' in payload.keys(): + if 'ssh_url' in payload['repository'].keys(): + return payload['repository']['ssh_url'] + return None + + + def get_html_url(self,payload): + """ + String: get an HTML url to the Github repo + for the repository in this payload + (Tested) + """ + if 'repository' in payload.keys(): + if 'html_url' in payload['repository'].keys(): + return payload['repository']['html_url'] + return None + + + def get_full_repo_name(self,payload): + """ + String: full repo name: organization/reponame + (Tested) + """ + if 'repository' in payload.keys(): + if 'full_name' in payload['repository'].keys(): + return payload['repository']['full_name'] + return None + + + def get_short_repo_name(self,payload): + """ + String: short repo name + (Tested) + """ + if 'repository' in payload.keys(): + if 'name' in payload['repository'].keys(): + return payload['repository']['name'] + return None + + + def get_pull_request_head_commit(self,payload): + """ + String: head commit of this pull request + (Tested) + """ + if self.is_pr(payload): + return payload['pull_request']['head']['sha'] + return None + + + def get_pull_request_number(self,payload): + """ + String: get id number of pull request + (Tested) + """ + if self.is_pr(payload): + return payload['number'] + return None + + + def has_commits(self,payload): + """ + Boolean: are there commits contained in this webhook + """ + if 'commits' in payload.keys(): + return True + return False + + + def is_push(self,payload): + """ + Boolean: is this a push event? + """ + keys = ['ref','before','after','pusher'] + for key in keys: + if key not in payload.keys(): + return False + return True + + + def is_push_to_branch(self,payload,branch_name): + """ + Boolean: is this a push event to the branch branch_name? + """ + if is_push(payload): + ref = payload['ref'] + if re.match(r'^%s$'%branch_name,ref): + return True + return False + + + def is_pr(self,payload): + """ + Boolean: is this webhook a PR? + """ + if 'pull_request' in payload.keys(): + return True + return False + + + def is_pr_opened(self,payload): + """ + Boolean: is this webhook opening a PR? + """ + if 'action' in payload.keys(): + if payload['action']=='opened': + return True + return False + + + def is_pr_sync(self,payload): + """ + Boolean: is this webhook syncing a PR? + """ + if 'action' in payload.keys(): + if payload['action']=='synchronize': + return True + return False + + + def is_pr_closed_merged(self,payload): + """ + Boolean: is this webhook closing a PR by merging it? + """ + if self.is_pr(payload): + if 'action' in payload.keys(): + if payload['action']=='closed': + if 'merged' in payload['pull_request']: + if payload['pull_request']['merged'] is True: + return True + return False + + + def is_pr_closed_unmerged(self,payload): + """ + Boolean: is this webhook closing a PR *WITHOUT* merging it? + """ + if self.is_pr(payload): + if 'action' in payload.keys(): + if payload['action']=='closed': + if 'merged' in payload['pull_request']: + if payload['pull_request']['merged'] is False: + return True + return False + + + def is_pr_closed(self,payload): + """ + Boolean: is this webhook closing a PR? + """ + if 'action' in payload.keys(): + if payload['action']=='closed': + return True + return False + + + def is_pr_close(self,payload): + """ + Boolean: is this webhook closing a PR? + (Tested) + """ + if 'action' in payload.keys(): + if payload['action']=='closed': + return True + return False + + + def is_pr_merge_commit(self,payload): + """ + Boolean: does this webhook have a PR merge commit? + (Tested) + """ + # WRONG WRONG WRONG + if self.is_pr(payload): + if 'merge_commit_sha' in payload['pull_request']: + return True + return False + + + def set_commit_status( + self, + full_repo_name, + head_commit, + state, + build_msg, + task_name, + url = None + ): + """ + Set the commit status to (state) + with description (description) + and context (context) + """ + g = self.get_api_instance() + r = g.get_repo(full_repo_name) + c = r.get_commit(head_commit) + + try: + commit_status = c.create_status( + state = state, + target_url = url, + description = build_msg, + context = task_name + ) + except github.GithubException as e: + logging.info("ERROR: Github API: Set commit status for %s failed to update."%(head_commit)) + + + +""" +Uncle Archie PyGihub Task + +This base class defines methods +for running a Python task with +Uncle Archie, namely, setting up +a virtual environment and wrapping +calls to python tools (e.g., mkdocs +and snakemake) to use the virtualenv +versions. + +This functionality extends Github +tasks, rather than vice-versa, b/c +we may want to run Github tasks using +something other than Python. + +(Example: docker-compose tests) + +If we need to get the python functionality +without Github, we can just define a new +class. +""" + +class PyGithubTask(GithubTask): + """ + Base class for a Python + Github test. + + Note that using virtual environments with subprocess + require specifying the path to the binary, rather than + running "source bin/activate" at the beginning of the + session. + """ + def __init__(self,config,**kwargs): + """ + This performs the initialization procedure + common to all Github-related tests that use + Python in their task. + + config vars: + venv_label : What to call the virtual environment + venv_dir : (cwd = curr. working dir) the location + of the virtual environment + """ + super().__init__(config,**kwargs) + + VENV_LABEL = 'vp' + + # Get virtual environment label + # from config or use default + if 'VENV_LABEL' in config.keys(): + self.venv_label = config['VENV_LABEL'] + else: + self.venv_label = VENV_LABEL + + msg = "PyGithubTask: __init__(): New virtual environment will be named \"%s\""%(self.venv_label) + logging.debug(msg) + + # NOTE: + # We need to add a run_python method + # that tacks on the venv path in front + # of any binary that's passed + # (use with mkdocs, pelican, pip, python, etc.) + + + def virtualenv_setup(self,**kwargs): + """ + Set up a virtual environment. + This is called once per task, + right before Python commands are + run by the task. + """ + if self.temp_dir is None: + err = "ERROR: PyGithubTask: virtualenv_setup(): " + err += "No temporary directory has been created yet!" + logging.error(err) + raise Exception(err) + else: + self.venv_dir = self.temp_dir + + msg = "PyGithubTask: virtualenv_setup(): Creating new virtual environment named \"%s\" "%(self.venv_label) + msg += "in directory %s"%(self.venv_dir) + logging.debug(msg) + + # Create the virtual environment + subprocess.call(['virtualenv',self.venv_label],cwd=self.venv_dir) + + msg = "PyGithubTask: virtualenv_setup(): Success!" + logging.debug(msg) + + + def virtualenv_teardown(self,**kwargs): + """ + Tear down a virtual environment. + Called by the destructor. + + config vars: + None + """ + msg = "PyGithubTask: virtualenv_teardown(): Removing virtual environment at \"%s\" "%(self.venv_dir) + logging.debug(msg) + + # Run the command ourselves, no logging needed + subprocess.call(['rm','-fr',self.venv_dir]) + + msg = "PyGithubTask: virtualenv_setup(): Success!" + logging.debug(msg) + diff --git a/src/tasks/note b/src/tasks/note new file mode 100644 index 0000000..1d616ad --- /dev/null +++ b/src/tasks/note @@ -0,0 +1,11 @@ +github type takes an access token +anything requiring an access token + +ther is a second class of github tasks +that want to be able to extract details +but don't need an api token + +actually functionality we define is for class 2 +api token param is for class 1 + + diff --git a/src/tasks/private_www_PR_builder.py b/src/tasks/private_www_PR_builder.py new file mode 100644 index 0000000..a988435 --- /dev/null +++ b/src/tasks/private_www_PR_builder.py @@ -0,0 +1,419 @@ +from .github_base import PyGithubTask + +import github +import os +import logging +from urllib.parse import urljoin +import yaml + +class private_www_PR_builder(PyGithubTask): + """ + Builds pull requests on the private-www repo. + """ + LABEL = "private_www_PR_builder" + WHITELIST = ['dcppc/private-www'] + + def run(self,payload,meta,config): + """ + This is the main method that runs the task. + """ + super().run(payload,meta,config) + + msg = "%s: run(): Beginning to run task"%(self.LABEL) + logging.debug(msg) + + # Abort if not right kind of webhook + # (this method logs for us) + if not self.validate(payload): + return + + # We don't need to share info or pass lots of params. + # Rather, each method is passed the payload and uses + # this class's utility methods to get the info it needs. + + # Internal flag used to stop on errors + self.abort = False + + + # --------------------- + # The following is in a giant + # try/except/finally block to ensure + # that whatever happens, we always + # clean up the temporary directory. + + # Create a temporary working directory + self.make_temp_dir() + + msg = "%s: run(): Made temporary directory at %s"%(self.LABEL, self.temp_dir) + logging.debug(msg) + + # Each command below takes care of its own logging + + try: + + # --------- + # Setup: + + # clone + # - ghurl + self.git_clone(payload) + + # checkout + # - head commit of pr + self.git_checkout_pr(payload) + + # submodules update + self.submodules_update(payload) + + # adjust base_url in mkdocs.yml + self.modify_mkdocs_yml(payload) + + # --------- + # Test: + + # virtualenv setup + self.virtualenv_setup() + + # virtualenv install + # (this is repo-dependent, + # so defined in this class, + # not in the github task base + # class in github_base.py) + self.virtualenv_install(payload) + + # snakemake + outcome = self.snakemake(payload) + + # virtualenv teardown + self.virtualenv_teardown() + + # build test: + # mark commit with status of build test + # + # i dunno what url prep is + self.build_test_url_prep(payload) + self.build_test_status_update(payload) + + # serve test: + # build and serve up documentation + # (move build output to htdocs dir) + self.serve_test_url_prep(payload) + + # set commit status + self.serve_test_status_update(payload) + + except: + logging.exception("Exception in the run() method!") + + finally: + + # --------- + # Cleanup: + + # rm temporary directory + self.rm_temp_dir() + + + def validate(self,payload): + """ + Validate the payload to ensure we should + be running this task. If not, abort. + """ + validated = False + + # must be a pull request + if self.is_pr(payload): + + # must be a whitelisted repo + if self.get_full_repo_name(payload) in self.WHITELIST: + + # must be PR being opened or synced + if self.is_pr_opened(payload) or self.is_pr_sync(payload): + + validated = True + + else: + msg = "%s: validate(): Skipping task, "%(self.LABEL) + msg += "this payload's repository %s "%(self.get_full_repo_name(payload)) + msg += "is in the whitelist, but this PR is not " + msg += "being opened or synced." + logging.debug(msg) + + else: + msg = "%s: validate(): Skipping task, "%(self.LABEL) + msg += "this payload's repository %s "%(self.get_full_repo_name(payload)) + msg += "is not in the whitelist: %s"%(", ".join(self.WHITELIST)) + logging.debug(msg) + + else: + msg = "%s: validate(): Skipping task, "%(self.LABEL) + msg += "this payload for repository %s "%(self.get_full_repo_name(payload)) + msg += "is not a pull request." + logging.debug(msg) + + return validated + + + ############################################# + # Setup methods + + # Question: what happens when we have + # complicated directories and cwd? + # We're not passing things around + # right now, but... what happens when + # we do? + # + # A: + # (Construct them when we need them. + # If a construction is too complicated, + # make a utility method.) + # (Everybody can access temp_dir + # anyway, right??) + + + def git_clone(self,payload): + # get ghurl + ghurl = self.get_ssh_url(payload) + + # run git clone command + clonecmd = ['git','clone','--recursive',ghurl] + self.abort = self.run_cmd( + clonecmd, + "git clone", + self.temp_dir + ) + + + + def git_checkout_pr(self,payload): + if not self.abort: + # get head pr from payload + head_commit = self.get_pull_request_head_commit(payload) + + # get repo dir + repo_short_name = self.get_short_repo_name(payload) + repo_dir = os.path.join(self.temp_dir,repo_short_name) + + # checkout head pr + cocmd = ['git','checkout',head_commit] + self.abort = self.run_cmd( + cocmd, + "git checkout", + repo_dir + ) + + + def submodules_update(self,payload): + # run submodules update init + if not self.abort: + # get repo dir + repo_short_name = self.get_short_repo_name(payload) + repo_dir = os.path.join(self.temp_dir,repo_short_name) + + # checkout head pr + sucmd = ['git','submodule','update','--init'] + self.abort = self.run_cmd( + sucmd, + "submodule update", + repo_dir + ) + + + + ############################################# + # Action methods + + def modify_mkdocs_yml(self,payload): + """ + We must modify mkdocs.yml and update the + base_url parameter for this to work with our + fake hosted docs site. + """ + if self.debug: + return True + + repo_short_name = self.get_short_repo_name(payload) + mkdocs_yml_file = os.path.join(self.temp_dir,repo_short_name,'mkdocs.yml') + with open(mkdocs_yml_file,'r') as f: + lines = f.readlines() + + for i,line in enumerate(lines): + if 'base_url' in line: + # this should give us a dictionary + # with key base_url and value (url) + contents = yaml.load(line) + contents = contents[0] + contents['base_url'] = self.base_url + lines[i] = yaml.dump(contents, default_flow_style=False) + + with open(mkdocs_yml_file,'w') as f: + f.write("\n".join(lines)) + + + def virtualenv_install(self,payload): + """ + Install required packages into the + Python virtual environment. + """ + # get repo dir + repo_short_name = self.get_short_repo_name(payload) + repo_dir = os.path.join(self.temp_dir,repo_short_name) + + # requirements.txt file + req_file = 'requirements.txt' + req_file_abs = os.path.join(repo_dir,req_file) + + msg = "private_www_PR_builder: virtualenv_install(): Looking for %s "%(req_file) + msg += "in directory %s"%(repo_dir) + logging.debug(msg) + + if os.path.exists(req_file_abs): + + pip_bin = os.path.join(self.venv_dir,self.venv_label,'bin','pip') + installcmd = [pip_bin,'install','-r',req_file] + self.abort = self.run_cmd( + installcmd, + "pip install", + repo_dir + ) + + pip_bin = os.path.join(self.venv_dir,self.venv_label,'bin','pip') + oyamlinstallcmd = [pip_bin,'install','oyaml'] + self.abort = self.run_cmd( + oyamlinstallcmd, + "pip install oyaml", + repo_dir + ) + + msg = "PyGithubTask: virtualenv_install(): Success!" + logging.debug(msg) + + if not self.abort: + # passed the test + return True + else: + return False + + else: + msg = "PyGithubTask: virtualenv_install(): Doing nothing." + logging.debug(msg) + return True + + + + def snakemake(self,payload): + """ + Run the snakemake build command + (this is the money shot). + + Return true if command succeeds, + otherwise return false. + """ + if not self.abort: + + # get repo dir + repo_short_name = self.get_short_repo_name(payload) + repo_dir = os.path.join(self.temp_dir,repo_short_name) + + if self.venv_dir: + + snakemake_bin = os.path.join(self.venv_dir,self.venv_label,'bin','snakemake') + buildcmd = [snakemake_bin,'--nocolor','build_docs'] + self.abort = self.run_cmd( + buildcmd, + "snakemake build", + repo_dir + ) + + if not self.abort: + # passed the test + return True + + return False + + + def build_test_url_prep(self,payload): + """ + Move files to prepare the output log + to be hosted in the htdocs dir + """ + HTDOCS="/www/archie.nihdatacommons.us/htdocs" + OUTPUT_LOG="output/log" + OUTPUT_SERVE="output/serve" + + # copy self.temp_dir,self.log_file + # to self.htdocs_dir,self.log_file + pass + + + def build_test_status_update(self,payload): + # get head pr from payload + full_repo_name = self.get_full_repo_name(payload) + head_commit = self.get_pull_request_head_commit(payload) + pull_number = self.get_pull_request_number(payload) + pass_msg = 'Uncle Archie Task: %s: Success!'%(self.LABEL) + fail_msg = 'Uncle Archie Task: %s: Task failed.'%(self.LABEL) + status_url = urljoin(self.base_url,self.log_file) + + if self.abort is False: + try: + # state success + self.set_commit_status( + full_repo_name, + head_commit, + "success", + pass_msg, + self.LABEL, + status_url + ) + except github.GithubException as e: + logging.error("Github error: commit status failed to update.") + + logging.info("private-www build test succes:") + logging.info(" Commit %s"%head_commit) + logging.info(" PR %s"%pull_number) + logging.info(" Repo %s"%full_repo_name) + logging.info(" Link %s"%status_url) + + else: + try: + self.set_commit_status( + full_repo_name, + head_commit, + "failure", + fail_msg, + self.LABEL, + status_url + ) + except github.GithubException as e: + logging.error("Github error: commit status failed to update.") + + logging.info("private-www build test failure:") + logging.info(" Commit %s"%head_commit) + logging.info(" PR %s"%pull_number) + logging.info(" Repo %s"%full_repo_name) + logging.info(" Link %s"%status_url) + + + + def serve_test_url_prep(self,payload): + """ + Move documentation output from snakemake build + to be hosted in the htdocs dir + """ + # copy self.temp_dir,repo_dir,site + # to self.htdocs_dir,unique_dir,X + + HTDOCS="/www/archie.nihdatacommons.us/htdocs" + + OUTPUT_LOG="output/log" + OUTPUT_SERVE="output/serve" + + pass + + + + + def serve_test_status_update(self,payload): + pass + diff --git a/src/tasks/private_www_deployer.py b/src/tasks/private_www_deployer.py new file mode 100644 index 0000000..b85ac01 --- /dev/null +++ b/src/tasks/private_www_deployer.py @@ -0,0 +1,5 @@ +from .github_base import PyGithubTask + +class private_www_deployer(PyGithubTask): + pass + diff --git a/src/tasks/private_www_submodule_integration_PR_builder.py b/src/tasks/private_www_submodule_integration_PR_builder.py new file mode 100644 index 0000000..49d0953 --- /dev/null +++ b/src/tasks/private_www_submodule_integration_PR_builder.py @@ -0,0 +1,4 @@ +from .github_base import PyGithubTask + +class private_www_submodule_integration_PR_builder(PyGithubTask): + pass diff --git a/src/tasks/private_www_submodule_update_PR_opener.py b/src/tasks/private_www_submodule_update_PR_opener.py new file mode 100644 index 0000000..68177d2 --- /dev/null +++ b/src/tasks/private_www_submodule_update_PR_opener.py @@ -0,0 +1,5 @@ +from .github_base import PyGithubTask + +class private_www_submodule_update_PR_opener(PyGithubTask): + pass + diff --git a/src/tasks/use_case_library_PR_builder.py b/src/tasks/use_case_library_PR_builder.py new file mode 100644 index 0000000..7a3b297 --- /dev/null +++ b/src/tasks/use_case_library_PR_builder.py @@ -0,0 +1,5 @@ +from .github_base import PyGithubTask + +class use_case_library_PR_builder(PyGithubTask): + pass + diff --git a/src/tasks/use_case_library_deployer.py b/src/tasks/use_case_library_deployer.py new file mode 100644 index 0000000..8083a77 --- /dev/null +++ b/src/tasks/use_case_library_deployer.py @@ -0,0 +1,5 @@ +from .github_base import PyGithubTask + +class use_case_library_deployer(PyGithubTask): + pass + diff --git a/src/tests/__init__.py b/src/tests/__init__.py new file mode 100644 index 0000000..c1512eb --- /dev/null +++ b/src/tests/__init__.py @@ -0,0 +1,52 @@ +from .utils import \ + load_from_museum, \ + extract_payload, \ + post_pingpong_webhook, \ + post_pr_opened, \ + post_pr_closed_merged, \ + post_pr_closed_unmerged, \ + post_pr_sync + +from .dcppc_utils import \ + dcppc_4yp_sync, \ + dcppc_4yp_closed_merged, \ + dcppc_4yp_closed_unmerged, \ + dcppc_4yp_push, \ + dcppc_internal_sync, \ + dcppc_internal_closed_merged, \ + dcppc_internal_closed_unmerged, \ + dcppc_internal_push, \ + dcppc_organize_sync, \ + dcppc_organize_closed_merged, \ + dcppc_organize_closed_unmerged, \ + dcppc_organize_push, \ + dcppc_private_www_sync, \ + dcppc_private_www_closed_merged, \ + dcppc_private_www_closed_unmerged, \ + dcppc_private_www_push + +_all__ = [ + 'load_from_museum', + 'extract_payload', + 'post_pingpong_webhook', + 'post_pr_opened', + 'post_pr_closed_merged', + 'post_pr_closed_unmerged', + 'post_pr_sync', + 'dcppc_4yp_sync', + 'dcppc_4yp_closed_merged', + 'dcppc_4yp_closed_unmerged', + 'dcppc_4yp_push', + 'dcppc_internal_sync', + 'dcppc_internal_closed_merged', + 'dcppc_internal_closed_unmerged', + 'dcppc_internal_push', + 'dcppc_organize_sync', + 'dcppc_organize_closed_merged', + 'dcppc_organize_closed_unmerged', + 'dcppc_organize_push', + 'dcppc_private_www_sync', + 'dcppc_private_www_closed_merged', + 'dcppc_private_www_closed_unmerged', + 'dcppc_private_www_push' +] diff --git a/src/tests/dcppc_utils.py b/src/tests/dcppc_utils.py new file mode 100644 index 0000000..fe0da95 --- /dev/null +++ b/src/tests/dcppc_utils.py @@ -0,0 +1,222 @@ +from .utils import load_from_museum +from .utils import HEADERS + +############################################ +# four-year-plan repository payloads + +def dcppc_4yp_sync(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_4yp_sync.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_4yp_closed_merged(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_4yp_closed_merged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_4yp_closed_unmerged(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_4yp_closed_unmerged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_4yp_push(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PushEvent/dcppc_4yp_push.json') + return client.post( '/', json=d, headers=HEADERS,) + + + +############################################ +# internal repository payloads + +def dcppc_internal_sync(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_internal_sync.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_internal_closed_merged(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_internal_closed_merged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_internal_closed_unmerged(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_internal_closed_unmerged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_internal_push(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PushEvent/dcppc_internal_push.json') + return client.post( '/', json=d, headers=HEADERS,) + + + +############################################ +# organize repository payloads + +def dcppc_organize_sync(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_organize_sync.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_organize_closed_merged(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_organize_closed_merged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_organize_closed_unmerged(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PullRequestEvent/dcppc_organize_closed_unmerged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_organize_push(client): + """ + Post a webhook event corresponding to + a push event in the four-year-plan repo + """ + d = load_from_museum('PushEvent/dcppc_organize_push.json') + return client.post( '/', json=d, headers=HEADERS,) + + + +############################################ +# private-www repository payloads + +def dcppc_private_www_sync(client): + """ + Post a webhook event corresponding to + a commit that updates an existing PR. + """ + d = load_from_museum('PullRequestEvent/dcppc_private_www_sync.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_private_www_closed_merged(client): + """ + Post a webhook event corresponding to + a closed and merged pull request + """ + d = load_from_museum('PullRequestEvent/dcppc_private_www_closed_merged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_private_www_closed_unmerged(client): + """ + Post a webhook event corresponding to + a closed but unmerged pull request + """ + d = load_from_museum('PullRequestEvent/dcppc_private_www_closed_unmerged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_private_www_push(client): + """ + Post a webhook event corresponding to + a push event in this repo + """ + d = load_from_museum('PushEvent/dcppc_private_www_push.json') + return client.post( '/', json=d, headers=HEADERS,) + + +############################################ +# ucl repository payloads + +def dcppc_ucl_sync(client): + """ + Post a webhook event corresponding to + a commit that updates an existing PR. + """ + d = load_from_museum('PullRequestEvent/dcppc_ucl_sync.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_ucl_closed_merged(client): + """ + Post a webhook event corresponding to + a closed and merged pull request + """ + d = load_from_museum('PullRequestEvent/dcppc_ucl_closed_merged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_ucl_closed_unmerged(client): + """ + Post a webhook event corresponding to + a closed but unmerged pull request + """ + d = load_from_museum('PullRequestEvent/dcppc_ucl_closed_unmerged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_ucl_push(client): + """ + Post a webhook event corresponding to + a push event in this repo + """ + d = load_from_museum('PushEvent/dcppc_ucl_push.json') + return client.post( '/', json=d, headers=HEADERS,) + + + +############################################ +# workshops repository payloads + +def dcppc_workshops_sync(client): + """ + Post a webhook event corresponding to + a commit that updates an existing PR. + """ + d = load_from_museum('PullRequestEvent/dcppc_workshops_sync.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_workshops_closed_merged(client): + """ + Post a webhook event corresponding to + a closed and merged pull request + """ + d = load_from_museum('PullRequestEvent/dcppc_workshops_closed_merged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_workshops_closed_unmerged(client): + """ + Post a webhook event corresponding to + a closed but unmerged pull request + """ + d = load_from_museum('PullRequestEvent/dcppc_workshops_closed_unmerged.json') + return client.post( '/', json=d, headers=HEADERS,) + +def dcppc_workshops_push(client): + """ + Post a webhook event corresponding to + a push event in this repo + """ + d = load_from_museum('PushEvent/dcppc_workshops_push.json') + return client.post( '/', json=d, headers=HEADERS,) + diff --git a/src/tests/payloads/IssueCommentEvent/action_created.json b/src/tests/payloads/IssueCommentEvent/action_created.json new file mode 100644 index 0000000..9d2425a --- /dev/null +++ b/src/tests/payloads/IssueCommentEvent/action_created.json @@ -0,0 +1,203 @@ +{ + "action": "created", + "issue": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2", + "id": 327883527, + "node_id": "MDU6SXNzdWUzMjc4ODM1Mjc=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 949737505, + "node_id": "MDU6TGFiZWw5NDk3Mzc1MDU=", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "comment": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments/393304133", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2#issuecomment-393304133", + "issue_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "id": 393304133, + "node_id": "MDEyOklzc3VlQ29tbWVudDM5MzMwNDEzMw==", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "author_association": "OWNER", + "body": "You are totally right! I'll get this fixed right away." + }, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:10Z", + "pushed_at": "2018-05-30T20:18:30Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} + diff --git a/src/tests/payloads/IssuesEvent/action_created.json b/src/tests/payloads/IssuesEvent/action_created.json new file mode 100644 index 0000000..61712d9 --- /dev/null +++ b/src/tests/payloads/IssuesEvent/action_created.json @@ -0,0 +1,202 @@ +{ + "action": "created", + "issue": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2", + "id": 327883527, + "node_id": "MDU6SXNzdWUzMjc4ODM1Mjc=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 949737505, + "node_id": "MDU6TGFiZWw5NDk3Mzc1MDU=", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "comment": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments/393304133", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2#issuecomment-393304133", + "issue_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "id": 393304133, + "node_id": "MDEyOklzc3VlQ29tbWVudDM5MzMwNDEzMw==", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "author_association": "OWNER", + "body": "You are totally right! I'll get this fixed right away." + }, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:10Z", + "pushed_at": "2018-05-30T20:18:30Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/src/tests/payloads/IssuesEvent/action_edited.json b/src/tests/payloads/IssuesEvent/action_edited.json new file mode 100644 index 0000000..0bd3571 --- /dev/null +++ b/src/tests/payloads/IssuesEvent/action_edited.json @@ -0,0 +1,173 @@ +{ + "action": "edited", + "issue": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://github.com/Codertocat/Hello-World/issues/2", + "id": 327883527, + "node_id": "MDU6SXNzdWUzMjc4ODM1Mjc=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 949737505, + "node_id": "MDU6TGFiZWw5NDk3Mzc1MDU=", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2018-05-30T20:18:32Z", + "updated_at": "2018-05-30T20:18:32Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "changes": { + }, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:10Z", + "pushed_at": "2018-05-30T20:18:30Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/src/tests/payloads/PullRequestEvent/action_closed_merged.json b/src/tests/payloads/PullRequestEvent/action_closed_merged.json new file mode 100644 index 0000000..b439d26 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/action_closed_merged.json @@ -0,0 +1,481 @@ +{ + "action": "closed", + "number": 9, + "pull_request": { + "url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9", + "id": 213099469, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzMDk5NDY5", + "html_url": "https://github.com/charlesreid1/fake-docs/pull/9", + "diff_url": "https://github.com/charlesreid1/fake-docs/pull/9.diff", + "patch_url": "https://github.com/charlesreid1/fake-docs/pull/9.patch", + "issue_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9", + "number": 9, + "state": "closed", + "locked": false, + "title": "Update BETA.md", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "created_at": "2018-09-04T20:48:54Z", + "updated_at": "2018-09-04T20:49:20Z", + "closed_at": "2018-09-04T20:49:19Z", + "merged_at": "2018-09-04T20:49:19Z", + "merge_commit_sha": "840a2481f55748cf2d01937e7534ca3228f91200", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/commits", + "review_comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/comments", + "review_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9/comments", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/0e9602c4140286350bededd267bd8f9d568f6a1b", + "head": { + "label": "charlesreid1:charlesreid1-patch-9", + "ref": "charlesreid1-patch-9", + "sha": "0e9602c4140286350bededd267bd8f9d568f6a1b", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "charlesreid1:master", + "ref": "master", + "sha": "44352dc9b8017229c041baebe9c1b82458ce8fe2", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9" + }, + "html": { + "href": "https://github.com/charlesreid1/fake-docs/pull/9" + }, + "issue": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9" + }, + "comments": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/0e9602c4140286350bededd267bd8f9d568f6a1b" + } + }, + "author_association": "OWNER", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} + + diff --git a/src/tests/payloads/PullRequestEvent/action_closed_unmerged.json b/src/tests/payloads/PullRequestEvent/action_closed_unmerged.json new file mode 100644 index 0000000..94b3bce --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/action_closed_unmerged.json @@ -0,0 +1,460 @@ +{ + "action": "closed", + "number": 9, + "pull_request": { + "url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9", + "id": 213099469, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzMDk5NDY5", + "html_url": "https://github.com/charlesreid1/fake-docs/pull/9", + "diff_url": "https://github.com/charlesreid1/fake-docs/pull/9.diff", + "patch_url": "https://github.com/charlesreid1/fake-docs/pull/9.patch", + "issue_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9", + "number": 9, + "state": "closed", + "locked": false, + "title": "Update BETA.md", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "created_at": "2018-09-04T20:48:54Z", + "updated_at": "2018-09-04T20:49:20Z", + "closed_at": "2018-09-04T20:49:19Z", + "merge_commit_sha": "840a2481f55748cf2d01937e7534ca3228f91200", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/commits", + "review_comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/comments", + "review_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9/comments", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/0e9602c4140286350bededd267bd8f9d568f6a1b", + "head": { + "label": "charlesreid1:charlesreid1-patch-9", + "ref": "charlesreid1-patch-9", + "sha": "0e9602c4140286350bededd267bd8f9d568f6a1b", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "charlesreid1:master", + "ref": "master", + "sha": "44352dc9b8017229c041baebe9c1b82458ce8fe2", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9" + }, + "html": { + "href": "https://github.com/charlesreid1/fake-docs/pull/9" + }, + "issue": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9" + }, + "comments": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/issues/9/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/pulls/9/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/0e9602c4140286350bededd267bd8f9d568f6a1b" + } + }, + "author_association": "OWNER", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 142399602, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDIzOTk2MDI=", + "name": "fake-docs", + "full_name": "charlesreid1/fake-docs", + "owner": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/charlesreid1/fake-docs", + "description": "a repo of fake docs, useful for testing search engines", + "fork": false, + "url": "https://api.github.com/repos/charlesreid1/fake-docs", + "forks_url": "https://api.github.com/repos/charlesreid1/fake-docs/forks", + "keys_url": "https://api.github.com/repos/charlesreid1/fake-docs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/charlesreid1/fake-docs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/charlesreid1/fake-docs/teams", + "hooks_url": "https://api.github.com/repos/charlesreid1/fake-docs/hooks", + "issue_events_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/events{/number}", + "events_url": "https://api.github.com/repos/charlesreid1/fake-docs/events", + "assignees_url": "https://api.github.com/repos/charlesreid1/fake-docs/assignees{/user}", + "branches_url": "https://api.github.com/repos/charlesreid1/fake-docs/branches{/branch}", + "tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/tags", + "blobs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/charlesreid1/fake-docs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/charlesreid1/fake-docs/languages", + "stargazers_url": "https://api.github.com/repos/charlesreid1/fake-docs/stargazers", + "contributors_url": "https://api.github.com/repos/charlesreid1/fake-docs/contributors", + "subscribers_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscribers", + "subscription_url": "https://api.github.com/repos/charlesreid1/fake-docs/subscription", + "commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/charlesreid1/fake-docs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/charlesreid1/fake-docs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/charlesreid1/fake-docs/contents/{+path}", + "compare_url": "https://api.github.com/repos/charlesreid1/fake-docs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/charlesreid1/fake-docs/merges", + "archive_url": "https://api.github.com/repos/charlesreid1/fake-docs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/charlesreid1/fake-docs/downloads", + "issues_url": "https://api.github.com/repos/charlesreid1/fake-docs/issues{/number}", + "pulls_url": "https://api.github.com/repos/charlesreid1/fake-docs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/charlesreid1/fake-docs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/charlesreid1/fake-docs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/charlesreid1/fake-docs/labels{/name}", + "releases_url": "https://api.github.com/repos/charlesreid1/fake-docs/releases{/id}", + "deployments_url": "https://api.github.com/repos/charlesreid1/fake-docs/deployments", + "created_at": "2018-07-26T06:39:54Z", + "updated_at": "2018-09-04T20:15:46Z", + "pushed_at": "2018-09-04T20:49:19Z", + "git_url": "git://github.com/charlesreid1/fake-docs.git", + "ssh_url": "git@github.com:charlesreid1/fake-docs.git", + "clone_url": "https://github.com/charlesreid1/fake-docs.git", + "svn_url": "https://github.com/charlesreid1/fake-docs", + "homepage": null, + "size": 11, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} + + diff --git a/museum/push_to_master_1.json b/src/tests/payloads/PullRequestEvent/action_opened.json similarity index 89% rename from museum/push_to_master_1.json rename to src/tests/payloads/PullRequestEvent/action_opened.json index e93337d..c538de6 100644 --- a/museum/push_to_master_1.json +++ b/src/tests/payloads/PullRequestEvent/action_opened.json @@ -1,18 +1,18 @@ { - "action": "closed", - "number": 38, + "action": "opened", + "number": 31, "pull_request": { - "url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/38", - "id": 212228162, - "node_id": "MDExOlB1bGxSZXF1ZXN0MjEyMjI4MTYy", - "html_url": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/38", - "diff_url": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/38.diff", - "patch_url": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/38.patch", - "issue_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/38", - "number": 38, - "state": "closed", + "url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/31", + "id": 207198651, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjA3MTk4NjUx", + "html_url": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/31", + "diff_url": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/31.diff", + "patch_url": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/31.patch", + "issue_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/31", + "number": 31, + "state": "open", "locked": false, - "title": "Fix readme", + "title": "Update Readme.md", "user": { "login": "charlesreid1", "id": 368075, @@ -33,27 +33,27 @@ "type": "User", "site_admin": false }, - "body": null, - "created_at": "2018-08-30T22:26:45Z", - "updated_at": "2018-08-30T22:37:43Z", - "closed_at": "2018-08-30T22:37:43Z", - "merged_at": "2018-08-30T22:37:43Z", - "merge_commit_sha": "ec793dcddb6f6024495d43ce39a93bb7dfb9ff3e", + "body": "", + "created_at": "2018-08-09T04:37:58Z", + "updated_at": "2018-08-09T04:37:58Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, - "commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/38/commits", - "review_comments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/38/comments", + "commits_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/31/commits", + "review_comments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/31/comments", "review_comment_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/38/comments", - "statuses_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/statuses/ba53185922e71c68404a0d74664806026622c9e1", + "comments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/31/comments", + "statuses_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/statuses/be3465a25d140875770826d032928f39061c5973", "head": { - "label": "charlesreid1:fix-readme", - "ref": "fix-readme", - "sha": "ba53185922e71c68404a0d74664806026622c9e1", + "label": "charlesreid1:charlesreid1-patch-6", + "ref": "charlesreid1-patch-6", + "sha": "be3465a25d140875770826d032928f39061c5973", "user": { "login": "charlesreid1", "id": 368075, @@ -141,14 +141,14 @@ "releases_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/releases{/id}", "deployments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/deployments", "created_at": "2018-05-25T08:12:57Z", - "updated_at": "2018-08-10T13:36:46Z", - "pushed_at": "2018-08-30T22:37:43Z", + "updated_at": "2018-08-07T19:28:50Z", + "pushed_at": "2018-08-09T04:37:53Z", "git_url": "git://github.com/charlesreid1/search-demo-mkdocs-material.git", "ssh_url": "git@github.com:charlesreid1/search-demo-mkdocs-material.git", "clone_url": "https://github.com/charlesreid1/search-demo-mkdocs-material.git", "svn_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", "homepage": "", - "size": 417, + "size": 407, "stargazers_count": 0, "watchers_count": 0, "language": null, @@ -160,7 +160,7 @@ "forks_count": 0, "mirror_url": null, "archived": false, - "open_issues_count": 1, + "open_issues_count": 6, "license": { "key": "bsd-3-clause", "name": "BSD 3-Clause \"New\" or \"Revised\" License", @@ -169,7 +169,7 @@ "node_id": "MDc6TGljZW5zZTU=" }, "forks": 0, - "open_issues": 1, + "open_issues": 6, "watchers": 0, "default_branch": "master" } @@ -177,7 +177,7 @@ "base": { "label": "charlesreid1:master", "ref": "master", - "sha": "bf5558c2f57e87645ed9401853096f74f5e8d825", + "sha": "6fa9511d18e1bdb06eb16a9f2880bfc2cc35ca99", "user": { "login": "charlesreid1", "id": 368075, @@ -265,14 +265,14 @@ "releases_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/releases{/id}", "deployments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/deployments", "created_at": "2018-05-25T08:12:57Z", - "updated_at": "2018-08-10T13:36:46Z", - "pushed_at": "2018-08-30T22:37:43Z", + "updated_at": "2018-08-07T19:28:50Z", + "pushed_at": "2018-08-09T04:37:53Z", "git_url": "git://github.com/charlesreid1/search-demo-mkdocs-material.git", "ssh_url": "git@github.com:charlesreid1/search-demo-mkdocs-material.git", "clone_url": "https://github.com/charlesreid1/search-demo-mkdocs-material.git", "svn_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", "homepage": "", - "size": 417, + "size": 407, "stargazers_count": 0, "watchers_count": 0, "language": null, @@ -284,7 +284,7 @@ "forks_count": 0, "mirror_url": null, "archived": false, - "open_issues_count": 1, + "open_issues_count": 6, "license": { "key": "bsd-3-clause", "name": "BSD 3-Clause \"New\" or \"Revised\" License", @@ -293,68 +293,49 @@ "node_id": "MDc6TGljZW5zZTU=" }, "forks": 0, - "open_issues": 1, + "open_issues": 6, "watchers": 0, "default_branch": "master" } }, "_links": { "self": { - "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/38" + "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/31" }, "html": { - "href": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/38" + "href": "https://github.com/charlesreid1/search-demo-mkdocs-material/pull/31" }, "issue": { - "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/38" + "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/31" }, "comments": { - "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/38/comments" + "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/issues/31/comments" }, "review_comments": { - "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/38/comments" + "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/31/comments" }, "review_comment": { "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/comments{/number}" }, "commits": { - "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/38/commits" + "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/pulls/31/commits" }, "statuses": { - "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/statuses/ba53185922e71c68404a0d74664806026622c9e1" + "href": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/statuses/be3465a25d140875770826d032928f39061c5973" } }, "author_association": "OWNER", - "merged": true, + "merged": false, "mergeable": null, "rebaseable": null, "mergeable_state": "unknown", - "merged_by": { - "login": "charlesreid1", - "id": 368075, - "node_id": "MDQ6VXNlcjM2ODA3NQ==", - "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/charlesreid1", - "html_url": "https://github.com/charlesreid1", - "followers_url": "https://api.github.com/users/charlesreid1/followers", - "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", - "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", - "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", - "organizations_url": "https://api.github.com/users/charlesreid1/orgs", - "repos_url": "https://api.github.com/users/charlesreid1/repos", - "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", - "received_events_url": "https://api.github.com/users/charlesreid1/received_events", - "type": "User", - "site_admin": false - }, - "comments": 1, + "merged_by": null, + "comments": 0, "review_comments": 0, "maintainer_can_modify": false, "commits": 1, - "additions": 0, - "deletions": 2, + "additions": 1, + "deletions": 1, "changed_files": 1 }, "repository": { @@ -424,14 +405,14 @@ "releases_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/releases{/id}", "deployments_url": "https://api.github.com/repos/charlesreid1/search-demo-mkdocs-material/deployments", "created_at": "2018-05-25T08:12:57Z", - "updated_at": "2018-08-10T13:36:46Z", - "pushed_at": "2018-08-30T22:37:43Z", + "updated_at": "2018-08-07T19:28:50Z", + "pushed_at": "2018-08-09T04:37:53Z", "git_url": "git://github.com/charlesreid1/search-demo-mkdocs-material.git", "ssh_url": "git@github.com:charlesreid1/search-demo-mkdocs-material.git", "clone_url": "https://github.com/charlesreid1/search-demo-mkdocs-material.git", "svn_url": "https://github.com/charlesreid1/search-demo-mkdocs-material", "homepage": "", - "size": 417, + "size": 407, "stargazers_count": 0, "watchers_count": 0, "language": null, @@ -443,7 +424,7 @@ "forks_count": 0, "mirror_url": null, "archived": false, - "open_issues_count": 1, + "open_issues_count": 6, "license": { "key": "bsd-3-clause", "name": "BSD 3-Clause \"New\" or \"Revised\" License", @@ -452,7 +433,7 @@ "node_id": "MDc6TGljZW5zZTU=" }, "forks": 0, - "open_issues": 1, + "open_issues": 6, "watchers": 0, "default_branch": "master" }, @@ -476,4 +457,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/src/tests/payloads/PullRequestEvent/action_synchronize.json b/src/tests/payloads/PullRequestEvent/action_synchronize.json new file mode 100644 index 0000000..2c4fae0 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/action_synchronize.json @@ -0,0 +1,442 @@ +{ + "action": "synchronize", + "number": 1, + "pull_request": { + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/1", + "id": 191568743, + "node_id": "MDExOlB1bGxSZXF1ZXN0MTkxNTY4NzQz", + "html_url": "https://github.com/Codertocat/Hello-World/pull/1", + "diff_url": "https://github.com/Codertocat/Hello-World/pull/1.diff", + "patch_url": "https://github.com/Codertocat/Hello-World/pull/1.patch", + "issue_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/1", + "number": 1, + "state": "open", + "locked": false, + "title": "This is a fake commit msg", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is a fake commit message, and this is the body of the fake commit message.", + "created_at": "2018-09-10T18:00:08Z", + "updated_at": "2018-09-10T21:33:17Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "1f3dbed80f41492ff4ab396b574b276a01c2c31f", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/1/commits", + "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/1/comments", + "review_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/1/comments", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/34c5c7793cb3b279e22454cb6750c80560547b3a", + "head": { + "label": "dcppc:add-missing-pages", + "ref": "add-missing-pages", + "sha": "48480b8022182a487e27c5f54ac1726da8e654e1", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:50Z", + "pushed_at": "2018-05-30T20:18:48Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "Codertocat:master", + "ref": "master", + "sha": "a10867b14bb761a232cd80139fbd4c0d33264240", + "user": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:50Z", + "pushed_at": "2018-05-30T20:18:48Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Codertocat/Hello-World/pulls/1" + }, + "html": { + "href": "https://github.com/Codertocat/Hello-World/pull/1" + }, + "issue": { + "href": "https://api.github.com/repos/Codertocat/Hello-World/issues/1" + }, + "comments": { + "href": "https://api.github.com/repos/Codertocat/Hello-World/issues/1/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Codertocat/Hello-World/pulls/1/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Codertocat/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Codertocat/Hello-World/pulls/1/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Codertocat/Hello-World/statuses/34c5c7793cb3b279e22454cb6750c80560547b3a" + } + }, + "author_association": "OWNER", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 1, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2018-05-30T20:18:04Z", + "updated_at": "2018-05-30T20:18:50Z", + "pushed_at": "2018-05-30T20:18:48Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/src/tests/payloads/PullRequestEvent/dcppc_4yp_closed_merged.json b/src/tests/payloads/PullRequestEvent/dcppc_4yp_closed_merged.json new file mode 100644 index 0000000..05dd132 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_4yp_closed_merged.json @@ -0,0 +1,515 @@ +{ + "action": "closed", + "number": 40, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40", + "id": 219826716, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODI2NzE2", + "html_url": "https://github.com/dcppc/four-year-plan/pull/40", + "diff_url": "https://github.com/dcppc/four-year-plan/pull/40.diff", + "patch_url": "https://github.com/dcppc/four-year-plan/pull/40.patch", + "issue_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/40", + "number": 40, + "state": "closed", + "locked": false, + "title": "updated to most recent 4YP", + "user": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "created_at": "2018-10-02T19:59:38Z", + "updated_at": "2018-10-02T21:01:02Z", + "closed_at": "2018-10-02T21:01:02Z", + "merged_at": "2018-10-02T21:01:02Z", + "merge_commit_sha": "1f9ba4c1a542dcaa30403f8234c81ca8d794d7c5", + "assignee": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/40/comments", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/bfc96045c38a0a716bec3f8aee2611caf9278e21", + "head": { + "label": "dcppc:update4YP", + "ref": "update4YP", + "sha": "bfc96045c38a0a716bec3f8aee2611caf9278e21", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T18:19:19Z", + "pushed_at": "2018-10-02T21:01:02Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "71b67d9a4cecfca54e41a218c7d7f679a0dce480", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T18:19:19Z", + "pushed_at": "2018-10-02T21:01:02Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40" + }, + "html": { + "href": "https://github.com/dcppc/four-year-plan/pull/40" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/40" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/40/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/40/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/statuses/bfc96045c38a0a716bec3f8aee2611caf9278e21" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 283, + "deletions": 241, + "changed_files": 9 + }, + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T18:19:19Z", + "pushed_at": "2018-10-02T21:01:02Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_4yp_closed_unmerged.json b/src/tests/payloads/PullRequestEvent/dcppc_4yp_closed_unmerged.json new file mode 100644 index 0000000..3c54e98 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_4yp_closed_unmerged.json @@ -0,0 +1,465 @@ +{ + "action": "closed", + "number": 32, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32", + "id": 219187288, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5MTg3Mjg4", + "html_url": "https://github.com/dcppc/four-year-plan/pull/32", + "diff_url": "https://github.com/dcppc/four-year-plan/pull/32.diff", + "patch_url": "https://github.com/dcppc/four-year-plan/pull/32.patch", + "issue_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/32", + "number": 32, + "state": "closed", + "locked": false, + "title": "Test Uncle Archie continous integration tests", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This PR will not be merged. It just changes a newline to trigger Uncle Archie the continuous integration tester.", + "created_at": "2018-09-30T06:09:07Z", + "updated_at": "2018-10-01T23:48:48Z", + "closed_at": "2018-10-01T23:48:48Z", + "merged_at": null, + "merge_commit_sha": "d08f7fd862c9d74fb2e291ff51ccf420bd3151cc", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1071968481, + "node_id": "MDU6TGFiZWwxMDcxOTY4NDgx", + "url": "https://api.github.com/repos/dcppc/four-year-plan/labels/do%20not%20merge", + "name": "do not merge", + "color": "b60205", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/32/comments", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/a2bb76983ed2461ff3d8f07ef5c00c97d470a14d", + "head": { + "label": "dcppc:uncle-archie", + "ref": "uncle-archie", + "sha": "a2bb76983ed2461ff3d8f07ef5c00c97d470a14d", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-01T21:18:26Z", + "pushed_at": "2018-10-01T21:18:49Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11378, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 5, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 5, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "6d8bb9dfdba90f32770df66a33b69f9382daeb93", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-01T21:18:26Z", + "pushed_at": "2018-10-01T21:18:49Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11378, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 5, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 5, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32" + }, + "html": { + "href": "https://github.com/dcppc/four-year-plan/pull/32" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/32" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/32/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/32/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/statuses/a2bb76983ed2461ff3d8f07ef5c00c97d470a14d" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 4, + "additions": 0, + "deletions": 0, + "changed_files": 0 + }, + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-01T21:18:26Z", + "pushed_at": "2018-10-01T21:18:49Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11378, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 5, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 5, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_4yp_sync.json b/src/tests/payloads/PullRequestEvent/dcppc_4yp_sync.json new file mode 100644 index 0000000..90f49c4 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_4yp_sync.json @@ -0,0 +1,458 @@ +{ + "action": "synchronize", + "number": 41, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41", + "id": 219849443, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODQ5NDQz", + "html_url": "https://github.com/dcppc/four-year-plan/pull/41", + "diff_url": "https://github.com/dcppc/four-year-plan/pull/41.diff", + "patch_url": "https://github.com/dcppc/four-year-plan/pull/41.patch", + "issue_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/41", + "number": 41, + "state": "open", + "locked": false, + "title": "Implement changes suggested by Owen", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This rearranges the table of contents and combines documents following suggestions from @owhite.\r\n\r\n", + "created_at": "2018-10-02T21:21:40Z", + "updated_at": "2018-10-02T21:22:47Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "acca53fb53766b7eb6ecae2a1dbffa2e294c49c7", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/41/comments", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/045493b001b474fe6946081da49b4b1ff18b996f", + "head": { + "label": "dcppc:owen-changes", + "ref": "owen-changes", + "sha": "045493b001b474fe6946081da49b4b1ff18b996f", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T21:16:37Z", + "pushed_at": "2018-10-02T21:22:47Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "2a8d36f8b5fd4a3452104ab2f090f924f4ca3995", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T21:16:37Z", + "pushed_at": "2018-10-02T21:22:47Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41" + }, + "html": { + "href": "https://github.com/dcppc/four-year-plan/pull/41" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/41" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/issues/41/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/pulls/41/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/four-year-plan/statuses/045493b001b474fe6946081da49b4b1ff18b996f" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 3, + "additions": 55, + "deletions": 51, + "changed_files": 3 + }, + "before": "29ad9a0063b353d625087bf8e970a193a3d212d7", + "after": "045493b001b474fe6946081da49b4b1ff18b996f", + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": "2018-09-19T20:38:02Z", + "updated_at": "2018-10-02T21:16:37Z", + "pushed_at": "2018-10-02T21:22:47Z", + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 12751, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": null, + "forks": 6, + "open_issues": 11, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_internal_closed_merged.json b/src/tests/payloads/PullRequestEvent/dcppc_internal_closed_merged.json new file mode 100644 index 0000000..3cffcd6 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_internal_closed_merged.json @@ -0,0 +1,533 @@ +{ + "action": "closed", + "number": 145, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/internal/pulls/145", + "id": 213707305, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzNzA3MzA1", + "html_url": "https://github.com/dcppc/internal/pull/145", + "diff_url": "https://github.com/dcppc/internal/pull/145.diff", + "patch_url": "https://github.com/dcppc/internal/pull/145.patch", + "issue_url": "https://api.github.com/repos/dcppc/internal/issues/145", + "number": 145, + "state": "closed", + "locked": false, + "title": "Update for #61 - 5M.6.PRODUCT Resolver Service", + "user": { + "login": "jggautier", + "id": 18374574, + "node_id": "MDQ6VXNlcjE4Mzc0NTc0", + "avatar_url": "https://avatars1.githubusercontent.com/u/18374574?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jggautier", + "html_url": "https://github.com/jggautier", + "followers_url": "https://api.github.com/users/jggautier/followers", + "following_url": "https://api.github.com/users/jggautier/following{/other_user}", + "gists_url": "https://api.github.com/users/jggautier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jggautier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jggautier/subscriptions", + "organizations_url": "https://api.github.com/users/jggautier/orgs", + "repos_url": "https://api.github.com/users/jggautier/repos", + "events_url": "https://api.github.com/users/jggautier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jggautier/received_events", + "type": "User", + "site_admin": false + }, + "body": "*Part of our goal at Team Copper is to provide your team with **suggestions and questions**. We want our internal review to be a layer of **friendly** feedback before products get to the NIH meeting or a lot of public access. Your answers on this form will help us to be better reviewers.*\r\n\r\n**Deliverable Name**\r\n5M.6.PRODUCT Resolver Service \r\n\r\n**Team name(s)**\r\nSodium\r\n\r\n**Link(s) to deliverable**\r\nhttps://github.com/dcppc/dcppc-deliverables/issues/61\r\n\r\n- [OpenAPI specification for the Resolution API Service](https://app.swaggerhub.com/apis/identifiers.org/Resolver/1.0)\r\n- [SmartAPI registry for this service](http://smart-api.info/ui/916275ef69871bde01839e750df18e28)\r\n- [Slug for that API, for having a friendly URL](http://resolver-identifiersorg.smart-api.info)\r\n\r\n**What were you hoping to achieve?**\r\n(a) Provide resolution of KC2-minted GUIDs to digital-object-level metadata and secondarily to object contents in multi-cloud provider buckets, using standard public resolution services (DOI.org & N2T.net) plus KC2 landing service.\r\n(b) Provide resolution of compact identifier (prefix:accession format GUIDs) using standard public resolution services (N2T.net and Identifiers.org).", + "created_at": "2018-09-06T18:20:50Z", + "updated_at": "2018-09-26T19:53:04Z", + "closed_at": "2018-09-26T19:53:03Z", + "merged_at": "2018-09-26T19:53:03Z", + "merge_commit_sha": "0e6462fcfcdbdb26dc79e906a9cf8648afc390fd", + "assignee": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/internal/pulls/145/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/internal/pulls/145/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/internal/issues/145/comments", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/e3f70da939bf70d09691b9c2fdd3d211cee816d7", + "head": { + "label": "dcppc:jggautier-patch-3", + "ref": "jggautier-patch-3", + "sha": "e3f70da939bf70d09691b9c2fdd3d211cee816d7", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T02:04:29Z", + "pushed_at": "2018-09-26T19:53:03Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3722, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "60053e0a00a63c19e3640f07e975f8b64efd9372", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T02:04:29Z", + "pushed_at": "2018-09-26T19:53:03Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3722, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/145" + }, + "html": { + "href": "https://github.com/dcppc/internal/pull/145" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/internal/issues/145" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/internal/issues/145/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/145/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/145/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/internal/statuses/e3f70da939bf70d09691b9c2fdd3d211cee816d7" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + }, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 3, + "deletions": 2, + "changed_files": 1 + }, + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T02:04:29Z", + "pushed_at": "2018-09-26T19:53:03Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3722, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_internal_closed_unmerged.json b/src/tests/payloads/PullRequestEvent/dcppc_internal_closed_unmerged.json new file mode 100644 index 0000000..d240ed2 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_internal_closed_unmerged.json @@ -0,0 +1,474 @@ +{ + "action": "closed", + "number": 198, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/internal/pulls/198", + "id": 219772263, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5NzcyMjYz", + "html_url": "https://github.com/dcppc/internal/pull/198", + "diff_url": "https://github.com/dcppc/internal/pull/198.diff", + "patch_url": "https://github.com/dcppc/internal/pull/198.patch", + "issue_url": "https://api.github.com/repos/dcppc/internal/issues/198", + "number": 198, + "state": "closed", + "locked": false, + "title": "Update index.md", + "user": { + "login": "RLC-DCPPC", + "id": 40363469, + "node_id": "MDQ6VXNlcjQwMzYzNDY5", + "avatar_url": "https://avatars2.githubusercontent.com/u/40363469?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/RLC-DCPPC", + "html_url": "https://github.com/RLC-DCPPC", + "followers_url": "https://api.github.com/users/RLC-DCPPC/followers", + "following_url": "https://api.github.com/users/RLC-DCPPC/following{/other_user}", + "gists_url": "https://api.github.com/users/RLC-DCPPC/gists{/gist_id}", + "starred_url": "https://api.github.com/users/RLC-DCPPC/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/RLC-DCPPC/subscriptions", + "organizations_url": "https://api.github.com/users/RLC-DCPPC/orgs", + "repos_url": "https://api.github.com/users/RLC-DCPPC/repos", + "events_url": "https://api.github.com/users/RLC-DCPPC/events{/privacy}", + "received_events_url": "https://api.github.com/users/RLC-DCPPC/received_events", + "type": "User", + "site_admin": false + }, + "body": "Adding links to webinar milestones 472 and 474 under 6M.7.FULLSTACKS: Broader User Engagement (in collaboration with KC9), per request from @raynamharris.\r\n\r\n*Part of our goal at Team Copper is to provide your team with \r\n**suggestions and questions**. We want our internal review to be a\r\nlayer of **friendly** feedback before products get to the NIH meeting or\r\na lot of public access. Your answers on this form will help us to be better\r\nreviewers.*\r\n\r\n**Deliverable Name**\r\n\r\n6M.7.FULLSTACKS: Broader User Engagement (in collaboration with KC9)\r\n\r\n**Team name(s)**\r\n\r\nPhosphorus\r\n\r\n**Link(s) to deliverable**\r\n\r\nhttps://github.com/dcppc/dcppc-milestones/issues/472\r\nhttps://github.com/dcppc/dcppc-milestones/issues/474\r\n\r\n**What were you hoping to achieve?**\r\n\r\nWe hoped to host two webinars before the end of Phase I.\r\n\r\n**What aspect(s) of your deliverable would you most like feedback on?**\r\n\r\n\r\n**Expected behavior**\r\n\r\n\r\n\r\n**Additional context**\r\n\r\n*Anything else you'd like to tell us*\r\n\r\n**Please assign Github user @ACharbonneau to your pull request**\r\n", + "created_at": "2018-10-02T16:45:43Z", + "updated_at": "2018-10-02T16:49:00Z", + "closed_at": "2018-10-02T16:49:00Z", + "merged_at": null, + "merge_commit_sha": "5a5bbd9b5a1be801c2fa5c4f51bdd167a1adb75f", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/internal/pulls/198/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/internal/pulls/198/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/internal/issues/198/comments", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/b304f8a1ec907fe8898e025bf8539b0c155f56ce", + "head": { + "label": "dcppc:RLC-patch", + "ref": "RLC-patch", + "sha": "b304f8a1ec907fe8898e025bf8539b0c155f56ce", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-10-02T16:29:57Z", + "pushed_at": "2018-10-02T16:45:43Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3793, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 29, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 29, + "watchers": 6, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "f1dae10ab71a1a645ba4e06d1e3d1cc92aa296bb", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-10-02T16:29:57Z", + "pushed_at": "2018-10-02T16:45:43Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3793, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 29, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 29, + "watchers": 6, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/198" + }, + "html": { + "href": "https://github.com/dcppc/internal/pull/198" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/internal/issues/198" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/internal/issues/198/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/198/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/198/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/internal/statuses/b304f8a1ec907fe8898e025bf8539b0c155f56ce" + } + }, + "author_association": "NONE", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "unstable", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 2, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-10-02T16:29:57Z", + "pushed_at": "2018-10-02T16:45:43Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3793, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 29, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 29, + "watchers": 6, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "RLC-DCPPC", + "id": 40363469, + "node_id": "MDQ6VXNlcjQwMzYzNDY5", + "avatar_url": "https://avatars2.githubusercontent.com/u/40363469?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/RLC-DCPPC", + "html_url": "https://github.com/RLC-DCPPC", + "followers_url": "https://api.github.com/users/RLC-DCPPC/followers", + "following_url": "https://api.github.com/users/RLC-DCPPC/following{/other_user}", + "gists_url": "https://api.github.com/users/RLC-DCPPC/gists{/gist_id}", + "starred_url": "https://api.github.com/users/RLC-DCPPC/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/RLC-DCPPC/subscriptions", + "organizations_url": "https://api.github.com/users/RLC-DCPPC/orgs", + "repos_url": "https://api.github.com/users/RLC-DCPPC/repos", + "events_url": "https://api.github.com/users/RLC-DCPPC/events{/privacy}", + "received_events_url": "https://api.github.com/users/RLC-DCPPC/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_internal_sync.json b/src/tests/payloads/PullRequestEvent/dcppc_internal_sync.json new file mode 100644 index 0000000..28703ca --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_internal_sync.json @@ -0,0 +1,476 @@ +{ + "action": "synchronize", + "number": 169, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/internal/pulls/169", + "id": 218128693, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE4MTI4Njkz", + "html_url": "https://github.com/dcppc/internal/pull/169", + "diff_url": "https://github.com/dcppc/internal/pull/169.diff", + "patch_url": "https://github.com/dcppc/internal/pull/169.patch", + "issue_url": "https://api.github.com/repos/dcppc/internal/issues/169", + "number": 169, + "state": "open", + "locked": false, + "title": "phase 1 post workshop analysis", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "I've been creating all the assessment reports with Qualtrics, but I decide to make y own in R. The script used is in https://github.com/dcppc/dcppc-workshops/pull/111\r\n\r\nThis PR includes the figures, a markdown file for context, and an updated README.", + "created_at": "2018-09-25T21:43:42Z", + "updated_at": "2018-09-27T03:59:39Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "a69a6505c90a3e3f195fd3edc0434d78021907c1", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/internal/pulls/169/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/internal/pulls/169/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/internal/issues/169/comments", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/b4ab037785cf02bbbc94b505061c38eeb13d155e", + "head": { + "label": "dcppc:phase1workshop", + "ref": "phase1workshop", + "sha": "b4ab037785cf02bbbc94b505061c38eeb13d155e", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T19:53:06Z", + "pushed_at": "2018-09-27T03:59:38Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3746, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "b0577a0d67d52442e7ef53c62d960f8bfe06b4fb", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T19:53:06Z", + "pushed_at": "2018-09-27T03:59:38Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3746, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/169" + }, + "html": { + "href": "https://github.com/dcppc/internal/pull/169" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/internal/issues/169" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/internal/issues/169/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/169/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/internal/pulls/169/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/internal/statuses/b4ab037785cf02bbbc94b505061c38eeb13d155e" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 5, + "review_comments": 6, + "maintainer_can_modify": false, + "commits": 13, + "additions": 410, + "deletions": 1, + "changed_files": 6 + }, + "before": "86c5102b4eb1732e8b043cd2bcad447dc3a56eb9", + "after": "b4ab037785cf02bbbc94b505061c38eeb13d155e", + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://api.github.com/repos/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": "2018-05-15T12:47:33Z", + "updated_at": "2018-09-26T19:53:06Z", + "pushed_at": "2018-09-27T03:59:38Z", + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3746, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 10, + "watchers": 6, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_organize_closed_merged.json b/src/tests/payloads/PullRequestEvent/dcppc_organize_closed_merged.json new file mode 100644 index 0000000..b573926 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_organize_closed_merged.json @@ -0,0 +1,514 @@ +{ + "action": "closed", + "number": 110, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/organize/pulls/110", + "id": 216156718, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2MTU2NzE4", + "html_url": "https://github.com/dcppc/organize/pull/110", + "diff_url": "https://github.com/dcppc/organize/pull/110.diff", + "patch_url": "https://github.com/dcppc/organize/pull/110.patch", + "issue_url": "https://api.github.com/repos/dcppc/organize/issues/110", + "number": 110, + "state": "closed", + "locked": false, + "title": "Update checklist-create-new-repo.md", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "Adds a bullet point about creating repos that are rendered on the private website. \r\n\r\n - [x] A description of the changes proposed in the pull request\r\n - [x] A reference to a related issue dcppc/internal#138\r\n - [x] @ mentions of the person or team responsible for reviewing proposed changes\r\n - [x] PR is ready for merge - waiting on https://github.com/dcppc/private-www/pull/131\r\n", + "created_at": "2018-09-18T01:13:57Z", + "updated_at": "2018-09-18T01:50:47Z", + "closed_at": "2018-09-18T01:50:46Z", + "merged_at": "2018-09-18T01:50:46Z", + "merge_commit_sha": "987af80b4390dd87fcedf3e0b88f120ed002dd2c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/organize/pulls/110/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/organize/pulls/110/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/organize/issues/110/comments", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc", + "head": { + "label": "dcppc:raynamharris-patch-1", + "ref": "raynamharris-patch-1", + "sha": "b049a4803950db408f555a741ece76608b4c52dc", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:50:46Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 9, + "watchers": 9, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "afed8a4d94e1048fb536a4c1f63ea1d83243ea29", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:50:46Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 9, + "watchers": 9, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110" + }, + "html": { + "href": "https://github.com/dcppc/organize/pull/110" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 7, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:50:46Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 9, + "watchers": 9, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_organize_closed_unmerged.json b/src/tests/payloads/PullRequestEvent/dcppc_organize_closed_unmerged.json new file mode 100644 index 0000000..ac0079e --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_organize_closed_unmerged.json @@ -0,0 +1,474 @@ +{ + "action": "closed", + "number": 118, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/organize/pulls/118", + "id": 219860179, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODYwMTc5", + "html_url": "https://github.com/dcppc/organize/pull/118", + "diff_url": "https://github.com/dcppc/organize/pull/118.diff", + "patch_url": "https://github.com/dcppc/organize/pull/118.patch", + "issue_url": "https://api.github.com/repos/dcppc/organize/issues/118", + "number": 118, + "state": "closed", + "locked": false, + "title": "An open-and-shut pull request", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This PR is being created so Uncle Archie can capture a webhook for when a pull request in dcppc/organize is closed and not merged.", + "created_at": "2018-10-02T22:07:17Z", + "updated_at": "2018-10-02T22:07:36Z", + "closed_at": "2018-10-02T22:07:36Z", + "merged_at": null, + "merge_commit_sha": "c3f3e31b4d24ff777d88535eedb0f5ecab1e48c9", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/organize/pulls/118/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/organize/pulls/118/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/organize/issues/118/comments", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/3f34e7b8eaee381b61bb1c6a5d574711f40309f5", + "head": { + "label": "dcppc:charlesreid1-patch-2", + "ref": "charlesreid1-patch-2", + "sha": "3f34e7b8eaee381b61bb1c6a5d574711f40309f5", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-29T19:35:33Z", + "pushed_at": "2018-10-02T22:07:18Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 275, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 12, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 12, + "watchers": 10, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "2558c232c46250e305cf89a4440583acc801676e", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-29T19:35:33Z", + "pushed_at": "2018-10-02T22:07:18Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 275, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 12, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 12, + "watchers": 10, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/118" + }, + "html": { + "href": "https://github.com/dcppc/organize/pull/118" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/organize/issues/118" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/organize/issues/118/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/118/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/118/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/organize/statuses/3f34e7b8eaee381b61bb1c6a5d574711f40309f5" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 0, + "deletions": 0, + "changed_files": 0 + }, + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-29T19:35:33Z", + "pushed_at": "2018-10-02T22:07:18Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 275, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 12, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 12, + "watchers": 10, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_organize_sync.json b/src/tests/payloads/PullRequestEvent/dcppc_organize_sync.json new file mode 100644 index 0000000..842a868 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_organize_sync.json @@ -0,0 +1,517 @@ +{ + "action": "synchronize", + "number": 110, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/organize/pulls/110", + "id": 216156718, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2MTU2NzE4", + "html_url": "https://github.com/dcppc/organize/pull/110", + "diff_url": "https://github.com/dcppc/organize/pull/110.diff", + "patch_url": "https://github.com/dcppc/organize/pull/110.patch", + "issue_url": "https://api.github.com/repos/dcppc/organize/issues/110", + "number": 110, + "state": "open", + "locked": false, + "title": "Update checklist-create-new-repo.md", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "Adds a bullet point about creating repos that are rendered on the private website. \r\n\r\n - [x] A description of the changes proposed in the pull request\r\n - [x] A reference to a related issue dcppc/internal#138\r\n - [x] @ mentions of the person or team responsible for reviewing proposed changes\r\n - [ ] PR is ready for merge - waiting on https://github.com/dcppc/private-www/pull/131\r\n", + "created_at": "2018-09-18T01:13:57Z", + "updated_at": "2018-09-18T01:48:10Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "cb202f0dc533862126522485db72d659014668eb", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/organize/pulls/110/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/organize/pulls/110/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/organize/issues/110/comments", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc", + "head": { + "label": "dcppc:raynamharris-patch-1", + "ref": "raynamharris-patch-1", + "sha": "b049a4803950db408f555a741ece76608b4c52dc", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:48:10Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 10, + "watchers": 9, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "afed8a4d94e1048fb536a4c1f63ea1d83243ea29", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:48:10Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 10, + "watchers": 9, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110" + }, + "html": { + "href": "https://github.com/dcppc/organize/pull/110" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/organize/issues/110/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/organize/pulls/110/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/organize/statuses/b049a4803950db408f555a741ece76608b4c52dc" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 7, + "deletions": 1, + "changed_files": 1 + }, + "before": "73ea262fc98cce4df5e85b3f5e6c5265decf7c6a", + "after": "b049a4803950db408f555a741ece76608b4c52dc", + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://api.github.com/repos/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": "2017-11-26T17:41:24Z", + "updated_at": "2018-09-12T16:13:42Z", + "pushed_at": "2018-09-18T01:48:10Z", + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 255, + "stargazers_count": 9, + "watchers_count": 9, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 10, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 10, + "watchers": 9, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_private_www_closed_merged.json b/src/tests/payloads/PullRequestEvent/dcppc_private_www_closed_merged.json new file mode 100644 index 0000000..b9d81eb --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_private_www_closed_merged.json @@ -0,0 +1,475 @@ +{ + "action": "closed", + "number": 156, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/private-www/pulls/156", + "id": 219779724, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5Nzc5NzI0", + "html_url": "https://github.com/dcppc/private-www/pull/156", + "diff_url": "https://github.com/dcppc/private-www/pull/156.diff", + "patch_url": "https://github.com/dcppc/private-www/pull/156.patch", + "issue_url": "https://api.github.com/repos/dcppc/private-www/issues/156", + "number": 156, + "state": "closed", + "locked": false, + "title": "[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "user": { + "login": "fp9695253", + "id": 39098680, + "node_id": "MDQ6VXNlcjM5MDk4Njgw", + "avatar_url": "https://avatars0.githubusercontent.com/u/39098680?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fp9695253", + "html_url": "https://github.com/fp9695253", + "followers_url": "https://api.github.com/users/fp9695253/followers", + "following_url": "https://api.github.com/users/fp9695253/following{/other_user}", + "gists_url": "https://api.github.com/users/fp9695253/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fp9695253/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fp9695253/subscriptions", + "organizations_url": "https://api.github.com/users/fp9695253/orgs", + "repos_url": "https://api.github.com/users/fp9695253/repos", + "events_url": "https://api.github.com/users/fp9695253/events{/privacy}", + "received_events_url": "https://api.github.com/users/fp9695253/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2018-10-02T17:12:23Z", + "updated_at": "2018-10-02T17:14:04Z", + "closed_at": "2018-10-02T17:14:04Z", + "merged_at": "2018-10-02T17:14:04Z", + "merge_commit_sha": "5844f4971afc16f51864aaef93a811f888aba207", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/private-www/pulls/156/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/private-www/pulls/156/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/issues/156/comments", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/90a641adfd5de3214de9dfac0c9fda061c7082fc", + "head": { + "label": "dcppc:update_submodules_20181002_101220", + "ref": "update_submodules_20181002_101220", + "sha": "90a641adfd5de3214de9dfac0c9fda061c7082fc", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": "2018-10-02T17:14:04Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "8939116dda65f88b1b42bae186734fe0d96855d1", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": "2018-10-02T17:14:04Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/156" + }, + "html": { + "href": "https://github.com/dcppc/private-www/pull/156" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/156" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/156/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/156/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/156/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/private-www/statuses/90a641adfd5de3214de9dfac0c9fda061c7082fc" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": "2018-10-02T17:14:04Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_private_www_closed_unmerged.json b/src/tests/payloads/PullRequestEvent/dcppc_private_www_closed_unmerged.json new file mode 100644 index 0000000..82f3b61 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_private_www_closed_unmerged.json @@ -0,0 +1,456 @@ +{ + "action": "closed", + "number": 152, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/private-www/pulls/152", + "id": 219258450, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5MjU4NDUw", + "html_url": "https://github.com/dcppc/private-www/pull/152", + "diff_url": "https://github.com/dcppc/private-www/pull/152.diff", + "patch_url": "https://github.com/dcppc/private-www/pull/152.patch", + "issue_url": "https://api.github.com/repos/dcppc/private-www/issues/152", + "number": 152, + "state": "closed", + "locked": false, + "title": "update private-www readme", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "created_at": "2018-10-01T04:44:45Z", + "updated_at": "2018-10-01T04:46:28Z", + "closed_at": "2018-10-01T04:46:28Z", + "merged_at": null, + "merge_commit_sha": "8103a395c98c4511629c773e443f6838d728e809", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/private-www/pulls/152/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/private-www/pulls/152/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/issues/152/comments", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/ea8c5a0d0c3db2215c35df6461bca816fbebe72a", + "head": { + "label": "dcppc:set-site-url", + "ref": "set-site-url", + "sha": "ea8c5a0d0c3db2215c35df6461bca816fbebe72a", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-01T04:44:46Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9841, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 8, + "license": null, + "forks": 1, + "open_issues": 8, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "382b8ed2ea3edf8100a29d86ff59c7b253dc8cb4", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-01T04:44:46Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9841, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 8, + "license": null, + "forks": 1, + "open_issues": 8, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/152" + }, + "html": { + "href": "https://github.com/dcppc/private-www/pull/152" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/152" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/152/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/152/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/152/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/private-www/statuses/ea8c5a0d0c3db2215c35df6461bca816fbebe72a" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 112, + "deletions": 61, + "changed_files": 1 + }, + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-01T04:44:46Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9841, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 8, + "license": null, + "forks": 1, + "open_issues": 8, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_private_www_sync.json b/src/tests/payloads/PullRequestEvent/dcppc_private_www_sync.json new file mode 100644 index 0000000..fb4d41a --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_private_www_sync.json @@ -0,0 +1,467 @@ +{ + "action": "synchronize", + "number": 121, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/private-www/pulls/121", + "id": 215715436, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE1NzE1NDM2", + "html_url": "https://github.com/dcppc/private-www/pull/121", + "diff_url": "https://github.com/dcppc/private-www/pull/121.diff", + "patch_url": "https://github.com/dcppc/private-www/pull/121.patch", + "issue_url": "https://api.github.com/repos/dcppc/private-www/issues/121", + "number": 121, + "state": "open", + "locked": false, + "title": "Propose new TOC", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "Propose a new organization to the table of contents. This flattens the contents of the internal folder so everything is listed, and flattens a few other nested items as well.\r\n\r\nThis PR also updates the `fix_toc` script, which was recently added to ensure every document in the repo is listed in the TOC, so that it can take a list of files to ignore (e.g., `internal/CODE_OF_CONDUCT.md`) if they are not found in the table of contents.\r\n\r\ncloses #118 (confused about internal/organize)\r\n\r\ncloses #147 (add sodium submodule)", + "created_at": "2018-09-14T21:26:32Z", + "updated_at": "2018-10-02T02:01:15Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "4d4d25187d0e3191384095777e117bacb684b072", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 964146160, + "node_id": "MDU6TGFiZWw5NjQxNDYxNjA=", + "url": "https://api.github.com/repos/dcppc/private-www/labels/work%20in%20progress", + "name": "work in progress", + "color": "83fcbd", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/private-www/pulls/121/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/private-www/pulls/121/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/issues/121/comments", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/09275fe42f707000c3bf45de700292e42b6cd629", + "head": { + "label": "dcppc:propose-new-toc", + "ref": "propose-new-toc", + "sha": "09275fe42f707000c3bf45de700292e42b6cd629", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-02T02:01:15Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9847, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": null, + "forks": 1, + "open_issues": 9, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "dde28dc3c31d827c24fdeebaddf720dfc4ad0560", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-02T02:01:15Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9847, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": null, + "forks": 1, + "open_issues": 9, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/121" + }, + "html": { + "href": "https://github.com/dcppc/private-www/pull/121" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/121" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/private-www/issues/121/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/121/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/private-www/pulls/121/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/private-www/statuses/09275fe42f707000c3bf45de700292e42b6cd629" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 18, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 18, + "additions": 232, + "deletions": 139, + "changed_files": 6 + }, + "before": "3d4cc17cc76fb8d5690af3f0fcdbe8895876955c", + "after": "09275fe42f707000c3bf45de700292e42b6cd629", + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": "2018-05-21T23:22:41Z", + "updated_at": "2018-09-29T19:42:55Z", + "pushed_at": "2018-10-02T02:01:15Z", + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9847, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 9, + "license": null, + "forks": 1, + "open_issues": 9, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/src/tests/payloads/PullRequestEvent/dcppc_ucl_closed_merged.json b/src/tests/payloads/PullRequestEvent/dcppc_ucl_closed_merged.json new file mode 100644 index 0000000..e6cc629 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_ucl_closed_merged.json @@ -0,0 +1,513 @@ +{ + "action": "closed", + "number": 118, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/use-case-library/pulls/118", + "id": 213701211, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzNzAxMjEx", + "html_url": "https://github.com/dcppc/use-case-library/pull/118", + "diff_url": "https://github.com/dcppc/use-case-library/pull/118.diff", + "patch_url": "https://github.com/dcppc/use-case-library/pull/118.patch", + "issue_url": "https://api.github.com/repos/dcppc/use-case-library/issues/118", + "number": 118, + "state": "closed", + "locked": false, + "title": "DON'T print a warning if no tags specified (shhh!)", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "Modifies #117 so it doesn't make so much noise (if no tags are specified, no warnings are printed).\r\n\r\nThis PR uses `add-tags` as the base branch, not `master`, so when it is merged it will update PR #117.\r\n\r\nThis PR is optional.\r\n\r\n- [x] Is this pull request mergeable?\r\n- [x] Have you tested these changes locally or with Uncle Archie?\r\n- [x] Was a spellchecker run on the source code and documentation after\r\n changes were made?\r\n\r\n", + "created_at": "2018-09-06T17:57:20Z", + "updated_at": "2018-09-30T16:24:32Z", + "closed_at": "2018-09-30T16:24:32Z", + "merged_at": "2018-09-30T16:24:32Z", + "merge_commit_sha": "90ab7cd725cffc10cae2644d0839df714964d9b1", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "ctb", + "id": 51016, + "node_id": "MDQ6VXNlcjUxMDE2", + "avatar_url": "https://avatars2.githubusercontent.com/u/51016?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ctb", + "html_url": "https://github.com/ctb", + "followers_url": "https://api.github.com/users/ctb/followers", + "following_url": "https://api.github.com/users/ctb/following{/other_user}", + "gists_url": "https://api.github.com/users/ctb/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ctb/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ctb/subscriptions", + "organizations_url": "https://api.github.com/users/ctb/orgs", + "repos_url": "https://api.github.com/users/ctb/repos", + "events_url": "https://api.github.com/users/ctb/events{/privacy}", + "received_events_url": "https://api.github.com/users/ctb/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1040709557, + "node_id": "MDU6TGFiZWwxMDQwNzA5NTU3", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/ready%20to%20merge", + "name": "ready to merge", + "color": "0052cc", + "default": false + }, + { + "id": 1039675116, + "node_id": "MDU6TGFiZWwxMDM5Njc1MTE2", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/technohackery", + "name": "technohackery", + "color": "f5afeb", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/issues/118/comments", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/e679428cacec32f5ca416a9c407c23cd3c027ae5", + "head": { + "label": "dcppc:add-tags-quietly", + "ref": "add-tags-quietly", + "sha": "e679428cacec32f5ca416a9c407c23cd3c027ae5", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-22T20:02:44Z", + "pushed_at": "2018-09-30T16:24:32Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4603, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:add-tags", + "ref": "add-tags", + "sha": "48d3979f790d1a952adf465ed2a6c8214b7f3e06", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-22T20:02:44Z", + "pushed_at": "2018-09-30T16:24:32Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4603, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/118" + }, + "html": { + "href": "https://github.com/dcppc/use-case-library/pull/118" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/118" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/118/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/118/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/use-case-library/statuses/e679428cacec32f5ca416a9c407c23cd3c027ae5" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 0, + "deletions": 5, + "changed_files": 1 + }, + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-22T20:02:44Z", + "pushed_at": "2018-09-30T16:24:32Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4603, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_ucl_closed_unmerged.json b/src/tests/payloads/PullRequestEvent/dcppc_ucl_closed_unmerged.json new file mode 100644 index 0000000..498f541 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_ucl_closed_unmerged.json @@ -0,0 +1,473 @@ +{ + "action": "closed", + "number": 121, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/use-case-library/pulls/121", + "id": 213993789, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjEzOTkzNzg5", + "html_url": "https://github.com/dcppc/use-case-library/pull/121", + "diff_url": "https://github.com/dcppc/use-case-library/pull/121.diff", + "patch_url": "https://github.com/dcppc/use-case-library/pull/121.patch", + "issue_url": "https://api.github.com/repos/dcppc/use-case-library/issues/121", + "number": 121, + "state": "closed", + "locked": false, + "title": "Modifying parameter validation to do type checking", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "This PR modifies the parameter validation that we're doing to allow type checking as well. \r\n\r\nThis basically adds another conditional clause to the `validate()` method that will check the type of the parameter value that the user passed. The user can pass an optional third argument that's an object whose type should match the parameter value. \r\n\r\nThis enables us to validate a parameter that should be a string by saying, e.g.,\r\n\r\n```\r\nvalidate('name',name,'')\r\n```\r\n\r\nthe third argument, the empty string, will have its type compared to the value of `name` and it will fail if their types don't match.\r\n\r\n- [x] Is this pull request mergeable?\r\n- [x] Have you tested these changes locally or with Uncle Archie?\r\n- [x] Was a spellchecker run on the source code and documentation after\r\n changes were made?\r\n\r\n", + "created_at": "2018-09-07T17:33:40Z", + "updated_at": "2018-09-19T05:44:05Z", + "closed_at": "2018-09-19T05:44:05Z", + "merged_at": null, + "merge_commit_sha": "57a9756cf340d83c102294ea2da121464ddeb3a0", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1040709557, + "node_id": "MDU6TGFiZWwxMDQwNzA5NTU3", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/ready%20to%20merge", + "name": "ready to merge", + "color": "0052cc", + "default": false + }, + { + "id": 1039675116, + "node_id": "MDU6TGFiZWwxMDM5Njc1MTE2", + "url": "https://api.github.com/repos/dcppc/use-case-library/labels/technohackery", + "name": "technohackery", + "color": "f5afeb", + "default": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/issues/121/comments", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/253309fe9f5ed8647b4f7672e86ea1c5fa79b159", + "head": { + "label": "dcppc:add-param-typechecks", + "ref": "add-param-typechecks", + "sha": "253309fe9f5ed8647b4f7672e86ea1c5fa79b159", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-12T21:37:38Z", + "pushed_at": "2018-09-19T05:39:16Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4580, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 41, + "license": null, + "forks": 2, + "open_issues": 41, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:KC1-rmh", + "ref": "KC1-rmh", + "sha": "05329cb93e644dbc6bbc12f33b6e470eb9443d9c", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-12T21:37:38Z", + "pushed_at": "2018-09-19T05:39:16Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4580, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 41, + "license": null, + "forks": 2, + "open_issues": 41, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/121" + }, + "html": { + "href": "https://github.com/dcppc/use-case-library/pull/121" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/121" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/121/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/121/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/use-case-library/statuses/253309fe9f5ed8647b4f7672e86ea1c5fa79b159" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 3, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 45, + "deletions": 11, + "changed_files": 1 + }, + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-12T21:37:38Z", + "pushed_at": "2018-09-19T05:39:16Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4580, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 41, + "license": null, + "forks": 2, + "open_issues": 41, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_ucl_sync.json b/src/tests/payloads/PullRequestEvent/dcppc_ucl_sync.json new file mode 100644 index 0000000..a417783 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_ucl_sync.json @@ -0,0 +1,458 @@ +{ + "action": "synchronize", + "number": 132, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/use-case-library/pulls/132", + "id": 219515068, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5NTE1MDY4", + "html_url": "https://github.com/dcppc/use-case-library/pull/132", + "diff_url": "https://github.com/dcppc/use-case-library/pull/132.diff", + "patch_url": "https://github.com/dcppc/use-case-library/pull/132.patch", + "issue_url": "https://api.github.com/repos/dcppc/use-case-library/issues/132", + "number": 132, + "state": "open", + "locked": false, + "title": "now with updated inputs and outputs for Biojupies GETex", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "includes the most recent changes from @meganwojciechowicz in https://github.com/dcppc/use-case-library/pull/129#issuecomment-422939982 which are related to https://github.com/dcppc/use-case-library/issues/127\r\n\r\n- [ ] Is this pull request mergeable?\r\n- [ ] Have you tested these changes locally or with Uncle Archie?\r\n- [ ] Was a spellchecker run on the source code and documentation after\r\n changes were made?", + "created_at": "2018-10-01T21:02:50Z", + "updated_at": "2018-10-01T23:15:30Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "1bc7a9dfc16079e05b641b4f33282e52f3866d6a", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/issues/132/comments", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/5830244b6ac8d83be078262ed7c39971053a46ea", + "head": { + "label": "dcppc:gtex-biojupies-2", + "ref": "gtex-biojupies-2", + "sha": "5830244b6ac8d83be078262ed7c39971053a46ea", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-30T18:10:47Z", + "pushed_at": "2018-10-01T23:15:30Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4618, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "3c770affe31d7f921176e2c418ff9fdc0a12bf63", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-30T18:10:47Z", + "pushed_at": "2018-10-01T23:15:30Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4618, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/132" + }, + "html": { + "href": "https://github.com/dcppc/use-case-library/pull/132" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/132" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/issues/132/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/use-case-library/pulls/132/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/use-case-library/statuses/5830244b6ac8d83be078262ed7c39971053a46ea" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 1, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 9, + "additions": 33, + "deletions": 30, + "changed_files": 13 + }, + "before": "775d7932388ca2deab5c97eecd54d85729cde06b", + "after": "5830244b6ac8d83be078262ed7c39971053a46ea", + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://api.github.com/repos/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": "2018-08-28T16:18:55Z", + "updated_at": "2018-09-30T18:10:47Z", + "pushed_at": "2018-10-01T23:15:30Z", + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4618, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 39, + "license": null, + "forks": 2, + "open_issues": 39, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_workshops_closed_merged.json b/src/tests/payloads/PullRequestEvent/dcppc_workshops_closed_merged.json new file mode 100644 index 0000000..29e62aa --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_workshops_closed_merged.json @@ -0,0 +1,493 @@ +{ + "action": "closed", + "number": 110, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110", + "id": 216333496, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2MzMzNDk2", + "html_url": "https://github.com/dcppc/dcppc-workshops/pull/110", + "diff_url": "https://github.com/dcppc/dcppc-workshops/pull/110.diff", + "patch_url": "https://github.com/dcppc/dcppc-workshops/pull/110.patch", + "issue_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110", + "number": 110, + "state": "closed", + "locked": false, + "title": "new attendance analysis", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "Split contacts.Rmd into 2 files (contacts.Rmd which only analyses onboarding data and plots onboarding over time and attendance.Rmd which plots workshop attendance)", + "created_at": "2018-09-18T14:40:56Z", + "updated_at": "2018-09-18T15:03:05Z", + "closed_at": "2018-09-18T15:03:05Z", + "merged_at": "2018-09-18T15:03:05Z", + "merge_commit_sha": "55ce6254b08895affaa98fca7fb88e505258ca05", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110/comments", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/e9ec7df93a9d03768e2797096d18fc056365e37b", + "head": { + "label": "dcppc:contacts-attendance", + "ref": "contacts-attendance", + "sha": "e9ec7df93a9d03768e2797096d18fc056365e37b", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T14:39:32Z", + "pushed_at": "2018-09-18T15:03:05Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 247, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 6, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 6, + "watchers": 1, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "76d9f4432cd543e158fb85cc29549cfff595df4c", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T14:39:32Z", + "pushed_at": "2018-09-18T15:03:05Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 247, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 6, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 6, + "watchers": 1, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110" + }, + "html": { + "href": "https://github.com/dcppc/dcppc-workshops/pull/110" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/110/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/110/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/e9ec7df93a9d03768e2797096d18fc056365e37b" + } + }, + "author_association": "CONTRIBUTOR", + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 6, + "additions": 187, + "deletions": 132, + "changed_files": 8 + }, + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T14:39:32Z", + "pushed_at": "2018-09-18T15:03:05Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 247, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 6, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 6, + "watchers": 1, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_workshops_closed_unmerged.json b/src/tests/payloads/PullRequestEvent/dcppc_workshops_closed_unmerged.json new file mode 100644 index 0000000..8763118 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_workshops_closed_unmerged.json @@ -0,0 +1,474 @@ +{ + "action": "closed", + "number": 112, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112", + "id": 219861107, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE5ODYxMTA3", + "html_url": "https://github.com/dcppc/dcppc-workshops/pull/112", + "diff_url": "https://github.com/dcppc/dcppc-workshops/pull/112.diff", + "patch_url": "https://github.com/dcppc/dcppc-workshops/pull/112.patch", + "issue_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112", + "number": 112, + "state": "closed", + "locked": false, + "title": "change newline", + "user": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + }, + "body": "this pull request is intended to create a webhook event for a pull request in dcppc/dcppc-workshops being closed but not merged.", + "created_at": "2018-10-02T22:11:09Z", + "updated_at": "2018-10-02T22:11:44Z", + "closed_at": "2018-10-02T22:11:44Z", + "merged_at": null, + "merge_commit_sha": "3e359b428abb97035099f7e78e58ef024bca6b23", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112/comments", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/74228b709fa60dff242ab2773bdbaa7dcda708e8", + "head": { + "label": "dcppc:charlesreid1-patch-1", + "ref": "charlesreid1-patch-1", + "sha": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-10-02T22:11:10Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "55ce6254b08895affaa98fca7fb88e505258ca05", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-10-02T22:11:10Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112" + }, + "html": { + "href": "https://github.com/dcppc/dcppc-workshops/pull/112" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/112/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/112/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/74228b709fa60dff242ab2773bdbaa7dcda708e8" + } + }, + "author_association": "COLLABORATOR", + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 0, + "deletions": 0, + "changed_files": 0 + }, + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-10-02T22:11:10Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PullRequestEvent/dcppc_workshops_sync.json b/src/tests/payloads/PullRequestEvent/dcppc_workshops_sync.json new file mode 100644 index 0000000..0ab5dd2 --- /dev/null +++ b/src/tests/payloads/PullRequestEvent/dcppc_workshops_sync.json @@ -0,0 +1,476 @@ +{ + "action": "synchronize", + "number": 111, + "pull_request": { + "url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111", + "id": 218128331, + "node_id": "MDExOlB1bGxSZXF1ZXN0MjE4MTI4MzMx", + "html_url": "https://github.com/dcppc/dcppc-workshops/pull/111", + "diff_url": "https://github.com/dcppc/dcppc-workshops/pull/111.diff", + "patch_url": "https://github.com/dcppc/dcppc-workshops/pull/111.patch", + "issue_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111", + "number": 111, + "state": "open", + "locked": false, + "title": "script for analyzing and graphing workshop survey", + "user": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + }, + "body": "I've been using Qualtrics to make all the assessment reports in https://pilot.nihdatacommons.us/internal/Assessment/Readme/ but the report are too long for my taste.\r\n\r\nI decided to use R to analyze the data. Here's the script. Will link the outputs to `internal`. ", + "created_at": "2018-09-25T21:42:07Z", + "updated_at": "2018-09-25T21:54:50Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "a8efef21462ddaea30b6f46805314e3a9fdee136", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/commits", + "review_comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/comments", + "review_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111/comments", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/42986d774aaa54070332fb7ec8073e77f818c2c2", + "head": { + "label": "dcppc:phase1assessment", + "ref": "phase1assessment", + "sha": "42986d774aaa54070332fb7ec8073e77f818c2c2", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-09-25T21:54:50Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 413, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "base": { + "label": "dcppc:master", + "ref": "master", + "sha": "55ce6254b08895affaa98fca7fb88e505258ca05", + "user": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-09-25T21:54:50Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 413, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111" + }, + "html": { + "href": "https://github.com/dcppc/dcppc-workshops/pull/111" + }, + "issue": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111" + }, + "comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/111/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls/111/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/42986d774aaa54070332fb7ec8073e77f818c2c2" + } + }, + "author_association": "CONTRIBUTOR", + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 2, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 174, + "deletions": 0, + "changed_files": 1 + }, + "before": "85e0f5228312d451deb820c2ba98b82999ee5dc5", + "after": "42986d774aaa54070332fb7ec8073e77f818c2c2", + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://api.github.com/repos/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": "2018-05-03T15:38:59Z", + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": "2018-09-25T21:54:50Z", + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 413, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PushEvent/dcppc_4yp_push.json b/src/tests/payloads/PushEvent/dcppc_4yp_push.json new file mode 100644 index 0000000..f6d84ce --- /dev/null +++ b/src/tests/payloads/PushEvent/dcppc_4yp_push.json @@ -0,0 +1,148 @@ +{ + "ref": "refs/heads/4yp-style-fixes", + "before": "56532c6f1b85c741a4f061daea641f1b00a5cd0e", + "after": "0000000000000000000000000000000000000000", + "created": false, + "deleted": true, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/four-year-plan/compare/56532c6f1b85...000000000000", + "commits": [], + "head_commit": null, + "repository": { + "id": 149509383, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDk1MDkzODM=", + "name": "four-year-plan", + "full_name": "dcppc/four-year-plan", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/four-year-plan", + "description": "Markdown version of the Four Year Plan and related documents.", + "fork": false, + "url": "https://github.com/dcppc/four-year-plan", + "forks_url": "https://api.github.com/repos/dcppc/four-year-plan/forks", + "keys_url": "https://api.github.com/repos/dcppc/four-year-plan/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/four-year-plan/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/four-year-plan/teams", + "hooks_url": "https://api.github.com/repos/dcppc/four-year-plan/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/four-year-plan/events", + "assignees_url": "https://api.github.com/repos/dcppc/four-year-plan/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/four-year-plan/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/four-year-plan/tags", + "blobs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/four-year-plan/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/four-year-plan/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/four-year-plan/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/four-year-plan/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/four-year-plan/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/four-year-plan/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/four-year-plan/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/four-year-plan/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/four-year-plan/subscription", + "commits_url": "https://api.github.com/repos/dcppc/four-year-plan/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/four-year-plan/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/four-year-plan/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/four-year-plan/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/four-year-plan/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/four-year-plan/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/four-year-plan/merges", + "archive_url": "https://api.github.com/repos/dcppc/four-year-plan/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/four-year-plan/downloads", + "issues_url": "https://api.github.com/repos/dcppc/four-year-plan/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/four-year-plan/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/four-year-plan/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/four-year-plan/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/four-year-plan/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/four-year-plan/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/four-year-plan/deployments", + "created_at": 1537389482, + "updated_at": "2018-10-02T16:11:45Z", + "pushed_at": 1538496987, + "git_url": "git://github.com/dcppc/four-year-plan.git", + "ssh_url": "git@github.com:dcppc/four-year-plan.git", + "clone_url": "https://github.com/dcppc/four-year-plan.git", + "svn_url": "https://github.com/dcppc/four-year-plan", + "homepage": "http://nih-data-commons.us/four-year-plan", + "size": 11345, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 6, + "mirror_url": null, + "archived": false, + "open_issues_count": 13, + "license": null, + "forks": 6, + "open_issues": 13, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "charlesreid1", + "email": "charlesreid1@gmail.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PushEvent/dcppc_internal_push.json b/src/tests/payloads/PushEvent/dcppc_internal_push.json new file mode 100644 index 0000000..e018b6f --- /dev/null +++ b/src/tests/payloads/PushEvent/dcppc_internal_push.json @@ -0,0 +1,200 @@ +{ + "ref": "refs/heads/ACharbonneau-patch-14", + "before": "0000000000000000000000000000000000000000", + "after": "8757d6a5f215c42a919a1ea343574680e94114f1", + "created": true, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/internal/commit/8757d6a5f215", + "commits": [ + { + "id": "8757d6a5f215c42a919a1ea343574680e94114f1", + "tree_id": "08a4c6b8a1ce1ad9e6a5c6d919f79f2c64bb3377", + "distinct": true, + "message": "Update index.md", + "timestamp": "2018-10-02T10:58:45-04:00", + "url": "https://github.com/dcppc/internal/commit/8757d6a5f215c42a919a1ea343574680e94114f1", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "phase-1/index.md" + ] + } + ], + "head_commit": { + "id": "8757d6a5f215c42a919a1ea343574680e94114f1", + "tree_id": "08a4c6b8a1ce1ad9e6a5c6d919f79f2c64bb3377", + "distinct": true, + "message": "Update index.md", + "timestamp": "2018-10-02T10:58:45-04:00", + "url": "https://github.com/dcppc/internal/commit/8757d6a5f215c42a919a1ea343574680e94114f1", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "phase-1/index.md" + ] + }, + "repository": { + "id": 133515072, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzM1MTUwNzI=", + "name": "internal", + "full_name": "dcppc/internal", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/internal", + "description": "Internal / private Web site for the Data Commons Pilot Phase Consortium", + "fork": false, + "url": "https://github.com/dcppc/internal", + "forks_url": "https://api.github.com/repos/dcppc/internal/forks", + "keys_url": "https://api.github.com/repos/dcppc/internal/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/internal/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/internal/teams", + "hooks_url": "https://api.github.com/repos/dcppc/internal/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/internal/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/internal/events", + "assignees_url": "https://api.github.com/repos/dcppc/internal/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/internal/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/internal/tags", + "blobs_url": "https://api.github.com/repos/dcppc/internal/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/internal/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/internal/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/internal/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/internal/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/internal/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/internal/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/internal/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/internal/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/internal/subscription", + "commits_url": "https://api.github.com/repos/dcppc/internal/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/internal/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/internal/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/internal/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/internal/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/internal/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/internal/merges", + "archive_url": "https://api.github.com/repos/dcppc/internal/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/internal/downloads", + "issues_url": "https://api.github.com/repos/dcppc/internal/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/internal/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/internal/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/internal/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/internal/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/internal/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/internal/deployments", + "created_at": 1526388453, + "updated_at": "2018-10-02T00:32:16Z", + "pushed_at": 1538492326, + "git_url": "git://github.com/dcppc/internal.git", + "ssh_url": "git@github.com:dcppc/internal.git", + "clone_url": "https://github.com/dcppc/internal.git", + "svn_url": "https://github.com/dcppc/internal", + "homepage": "", + "size": 3776, + "stargazers_count": 6, + "watchers_count": 6, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "open_issues_count": 28, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 10, + "open_issues": 28, + "watchers": 6, + "default_branch": "master", + "stargazers": 6, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "ACharbonneau", + "email": "charbo24@msu.edu" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PushEvent/dcppc_organize_push.json b/src/tests/payloads/PushEvent/dcppc_organize_push.json new file mode 100644 index 0000000..ef2c0e0 --- /dev/null +++ b/src/tests/payloads/PushEvent/dcppc_organize_push.json @@ -0,0 +1,246 @@ +{ + "ref": "refs/heads/master", + "before": "9a1db589cba5dc1044eb33fa7a8d8254cf12bf44", + "after": "b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "created": false, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/organize/compare/9a1db589cba5...b4af94ccb51e", + "commits": [ + { + "id": "5e3f1d7e9e100570eb7644a52f780531de660ccc", + "tree_id": "256c56e94037db03a0f04705540fc9219fbe533f", + "distinct": false, + "message": "Update index.md", + "timestamp": "2018-09-27T14:06:38-04:00", + "url": "https://github.com/dcppc/organize/commit/5e3f1d7e9e100570eb7644a52f780531de660ccc", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + }, + { + "id": "44b5e3c554201a97a851778f9a098bc90ab961ac", + "tree_id": "66019760792186115c3da0765a590be7738d50bd", + "distinct": false, + "message": "Update index.md", + "timestamp": "2018-09-27T14:09:14-04:00", + "url": "https://github.com/dcppc/organize/commit/44b5e3c554201a97a851778f9a098bc90ab961ac", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + }, + { + "id": "b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "tree_id": "66019760792186115c3da0765a590be7738d50bd", + "distinct": true, + "message": "Merge pull request #113 from dcppc/ACharbonneau-patch-2\n\nUpdate index.md", + "timestamp": "2018-09-27T14:22:59-04:00", + "url": "https://github.com/dcppc/organize/commit/b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + } + ], + "head_commit": { + "id": "b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "tree_id": "66019760792186115c3da0765a590be7738d50bd", + "distinct": true, + "message": "Merge pull request #113 from dcppc/ACharbonneau-patch-2\n\nUpdate index.md", + "timestamp": "2018-09-27T14:22:59-04:00", + "url": "https://github.com/dcppc/organize/commit/b4af94ccb51eed7daeb01b93dcb3d6aa4d3eef2a", + "author": { + "name": "Amanda Charbonneau", + "email": "charbo24@msu.edu", + "username": "ACharbonneau" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "glossary/index.md" + ] + }, + "repository": { + "id": 112103301, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTIxMDMzMDE=", + "name": "organize", + "full_name": "dcppc/organize", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/organize", + "description": "DCPPC organizational resources (internal). Start here!", + "fork": false, + "url": "https://github.com/dcppc/organize", + "forks_url": "https://api.github.com/repos/dcppc/organize/forks", + "keys_url": "https://api.github.com/repos/dcppc/organize/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/organize/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/organize/teams", + "hooks_url": "https://api.github.com/repos/dcppc/organize/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/organize/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/organize/events", + "assignees_url": "https://api.github.com/repos/dcppc/organize/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/organize/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/organize/tags", + "blobs_url": "https://api.github.com/repos/dcppc/organize/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/organize/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/organize/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/organize/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/organize/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/organize/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/organize/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/organize/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/organize/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/organize/subscription", + "commits_url": "https://api.github.com/repos/dcppc/organize/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/organize/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/organize/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/organize/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/organize/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/organize/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/organize/merges", + "archive_url": "https://api.github.com/repos/dcppc/organize/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/organize/downloads", + "issues_url": "https://api.github.com/repos/dcppc/organize/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/organize/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/organize/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/organize/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/organize/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/organize/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/organize/deployments", + "created_at": 1511718084, + "updated_at": "2018-09-25T17:35:48Z", + "pushed_at": 1538072580, + "git_url": "git://github.com/dcppc/organize.git", + "ssh_url": "git@github.com:dcppc/organize.git", + "clone_url": "https://github.com/dcppc/organize.git", + "svn_url": "https://github.com/dcppc/organize", + "homepage": "", + "size": 249, + "stargazers_count": 10, + "watchers_count": 10, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "license": { + "key": "other", + "name": "Other", + "spdx_id": null, + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 4, + "open_issues": 11, + "watchers": 10, + "default_branch": "master", + "stargazers": 10, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "ACharbonneau", + "email": "charbo24@msu.edu" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "ACharbonneau", + "id": 1719360, + "node_id": "MDQ6VXNlcjE3MTkzNjA=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1719360?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ACharbonneau", + "html_url": "https://github.com/ACharbonneau", + "followers_url": "https://api.github.com/users/ACharbonneau/followers", + "following_url": "https://api.github.com/users/ACharbonneau/following{/other_user}", + "gists_url": "https://api.github.com/users/ACharbonneau/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ACharbonneau/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ACharbonneau/subscriptions", + "organizations_url": "https://api.github.com/users/ACharbonneau/orgs", + "repos_url": "https://api.github.com/users/ACharbonneau/repos", + "events_url": "https://api.github.com/users/ACharbonneau/events{/privacy}", + "received_events_url": "https://api.github.com/users/ACharbonneau/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PushEvent/dcppc_private_www_push.json b/src/tests/payloads/PushEvent/dcppc_private_www_push.json new file mode 100644 index 0000000..4be9faf --- /dev/null +++ b/src/tests/payloads/PushEvent/dcppc_private_www_push.json @@ -0,0 +1,217 @@ +{ + "ref": "refs/heads/master", + "before": "8939116dda65f88b1b42bae186734fe0d96855d1", + "after": "5844f4971afc16f51864aaef93a811f888aba207", + "created": false, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/private-www/compare/8939116dda65...5844f4971afc", + "commits": [ + { + "id": "90a641adfd5de3214de9dfac0c9fda061c7082fc", + "tree_id": "b03290df36a77ab110b73ce5413825f673967681", + "distinct": false, + "message": "[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "timestamp": "2018-10-02T10:12:21-07:00", + "url": "https://github.com/dcppc/private-www/commit/90a641adfd5de3214de9dfac0c9fda061c7082fc", + "author": { + "name": "Florence Python", + "email": "fp9695253@gmail.com", + "username": "fp9695253" + }, + "committer": { + "name": "Florence Python", + "email": "fp9695253@gmail.com", + "username": "fp9695253" + }, + "added": [], + "removed": [], + "modified": [ + "docs/internal" + ] + }, + { + "id": "5844f4971afc16f51864aaef93a811f888aba207", + "tree_id": "b03290df36a77ab110b73ce5413825f673967681", + "distinct": true, + "message": "Merge pull request #156 from dcppc/update_submodules_20181002_101220\n\n[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "timestamp": "2018-10-02T10:14:04-07:00", + "url": "https://github.com/dcppc/private-www/commit/5844f4971afc16f51864aaef93a811f888aba207", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "docs/internal" + ] + } + ], + "head_commit": { + "id": "5844f4971afc16f51864aaef93a811f888aba207", + "tree_id": "b03290df36a77ab110b73ce5413825f673967681", + "distinct": true, + "message": "Merge pull request #156 from dcppc/update_submodules_20181002_101220\n\n[Uncle Archie] Updating submodule dcppc/internal to commit 8204f0f", + "timestamp": "2018-10-02T10:14:04-07:00", + "url": "https://github.com/dcppc/private-www/commit/5844f4971afc16f51864aaef93a811f888aba207", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "docs/internal" + ] + }, + "repository": { + "id": 134335228, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzQzMzUyMjg=", + "name": "private-www", + "full_name": "dcppc/private-www", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/private-www", + "description": "Repository for hosting static content for DCPPC behind an authentication wall.", + "fork": false, + "url": "https://github.com/dcppc/private-www", + "forks_url": "https://api.github.com/repos/dcppc/private-www/forks", + "keys_url": "https://api.github.com/repos/dcppc/private-www/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/private-www/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/private-www/teams", + "hooks_url": "https://api.github.com/repos/dcppc/private-www/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/private-www/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/private-www/events", + "assignees_url": "https://api.github.com/repos/dcppc/private-www/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/private-www/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/private-www/tags", + "blobs_url": "https://api.github.com/repos/dcppc/private-www/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/private-www/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/private-www/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/private-www/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/private-www/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/private-www/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/private-www/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/private-www/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/private-www/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/private-www/subscription", + "commits_url": "https://api.github.com/repos/dcppc/private-www/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/private-www/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/private-www/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/private-www/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/private-www/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/private-www/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/private-www/merges", + "archive_url": "https://api.github.com/repos/dcppc/private-www/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/private-www/downloads", + "issues_url": "https://api.github.com/repos/dcppc/private-www/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/private-www/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/private-www/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/private-www/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/private-www/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/private-www/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/private-www/deployments", + "created_at": 1526944961, + "updated_at": "2018-10-02T16:56:16Z", + "pushed_at": 1538500445, + "git_url": "git://github.com/dcppc/private-www.git", + "ssh_url": "git@github.com:dcppc/private-www.git", + "clone_url": "https://github.com/dcppc/private-www.git", + "svn_url": "https://github.com/dcppc/private-www", + "homepage": "http://pilot.nihdatacommons.us", + "size": 9849, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "open_issues_count": 5, + "license": null, + "forks": 1, + "open_issues": 5, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "charlesreid1", + "email": "charlesreid1@gmail.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PushEvent/dcppc_ucl_push.json b/src/tests/payloads/PushEvent/dcppc_ucl_push.json new file mode 100644 index 0000000..ef9898d --- /dev/null +++ b/src/tests/payloads/PushEvent/dcppc_ucl_push.json @@ -0,0 +1,465 @@ +{ + "ref": "refs/heads/master", + "before": "d40629eef65699b879b3f9f68952d3dd4179ae4e", + "after": "2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "created": false, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/use-case-library/compare/d40629eef656...2f171241e3bc", + "commits": [ + { + "id": "2fe12148cafa52a45de79f8b159e6c8ff9e02c07", + "tree_id": "b3d52bcccbb19b44b38ebfe5210a70244f11d107", + "distinct": false, + "message": "now with updated inputs and outputs", + "timestamp": "2018-10-01T16:01:18-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/2fe12148cafa52a45de79f8b159e6c8ff9e02c07", + "author": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "committer": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "added": [], + "removed": [ + "library/EPIC-48-share-notebooks.md" + ], + "modified": [ + "library/EPIC-45-build-a-cohort.md", + "library/EPIC-46-select-analyses.md", + "library/EPIC-47-compare-cohorts.md", + "library/SUMMARY-24-GTExBioJupies.md", + "library/USERSTORY-79.md", + "library/USERSTORY-81.md", + "library/USERSTORY-82.md", + "library/USERSTORY-83.md" + ] + }, + { + "id": "795ae0b5d772cc4e33901661d759386feb39aba6", + "tree_id": "ea542225debf26397bcd8986445eb907cc85ec01", + "distinct": false, + "message": "remove periods, update last story, remove obsolete story", + "timestamp": "2018-10-01T16:05:52-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/795ae0b5d772cc4e33901661d759386feb39aba6", + "author": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "committer": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "added": [], + "removed": [ + "library/USERSTORY-85.md" + ], + "modified": [ + "library/USERSTORY-81.md", + "library/USERSTORY-84.md" + ] + }, + { + "id": "899ff584750acbee15ce5a15adb922013b5dd763", + "tree_id": "4e924149a6a66a0ec87181d6f802be1b40eeae55", + "distinct": false, + "message": "add exception handling and improved error message when EPIC missing from NARRATIVE", + "timestamp": "2018-10-01T15:52:51-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/899ff584750acbee15ce5a15adb922013b5dd763", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "scripts/library_objects.py" + ] + }, + { + "id": "1598e3bea4a00c682f7d516a4b07a6eb6bdb97bc", + "tree_id": "ead4a501ce4f21f13a6ce8290ace169ef4421e05", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T15:56:58-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/1598e3bea4a00c682f7d516a4b07a6eb6bdb97bc", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "54a1cce6ddf5940a18756de814d0268d2b9a1ed3", + "tree_id": "3dfd9bc0c07d6c7bd9e1b298ec9aedb026f4ce4a", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T16:07:07-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/54a1cce6ddf5940a18756de814d0268d2b9a1ed3", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "1179967c982c71198461cdaa94f9b7a1bd1f0c13", + "tree_id": "ead4a501ce4f21f13a6ce8290ace169ef4421e05", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T16:09:51-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/1179967c982c71198461cdaa94f9b7a1bd1f0c13", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "3dd4287afb6be587e52a5fcf7e96c428fb2be29c", + "tree_id": "3dfd9bc0c07d6c7bd9e1b298ec9aedb026f4ce4a", + "distinct": false, + "message": "change newline to trigger uncle archie", + "timestamp": "2018-10-01T16:12:02-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/3dd4287afb6be587e52a5fcf7e96c428fb2be29c", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "775d7932388ca2deab5c97eecd54d85729cde06b", + "tree_id": "3dfd9bc0c07d6c7bd9e1b298ec9aedb026f4ce4a", + "distinct": false, + "message": "Merge pull request #133 from dcppc/improve-error-message\n\nadd exception handling and improved error message when EPIC missing", + "timestamp": "2018-10-01T16:13:08-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/775d7932388ca2deab5c97eecd54d85729cde06b", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "README.md", + "scripts/library_objects.py" + ] + }, + { + "id": "5830244b6ac8d83be078262ed7c39971053a46ea", + "tree_id": "a129dfb3ffa131f00a9233df2c10fa318e780af9", + "distinct": false, + "message": "whitespace in readme", + "timestamp": "2018-10-01T16:15:20-07:00", + "url": "https://github.com/dcppc/use-case-library/commit/5830244b6ac8d83be078262ed7c39971053a46ea", + "author": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "C Reid", + "email": "charlesreid1@Gmail.com", + "username": "charlesreid1" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + }, + { + "id": "58144011e4cf609c7e5af7ca242c06b044a3d3a6", + "tree_id": "f2f63d756f2d876238b581d14da647556bdf9b50", + "distinct": false, + "message": "remove link to removed epic 48", + "timestamp": "2018-10-01T20:39:22-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/58144011e4cf609c7e5af7ca242c06b044a3d3a6", + "author": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "committer": { + "name": "raynamharris", + "email": "rayna.harris@utexas.edu", + "username": "raynamharris" + }, + "added": [], + "removed": [], + "modified": [ + "library/NARRATIVE-24-GTExBioJupies.md" + ] + }, + { + "id": "2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "tree_id": "a445983b43f9cddff10b83e622937977a807ed84", + "distinct": true, + "message": "Merge pull request #132 from dcppc/gtex-biojupies-2\n\nnow with updated inputs and outputs for Biojupies GETex", + "timestamp": "2018-10-01T21:58:02-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "author": { + "name": "Rayna M Harris", + "email": "raynamharris@users.noreply.github.com", + "username": "raynamharris" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [ + "library/EPIC-48-share-notebooks.md", + "library/USERSTORY-85.md" + ], + "modified": [ + "README.md", + "library/EPIC-45-build-a-cohort.md", + "library/EPIC-46-select-analyses.md", + "library/EPIC-47-compare-cohorts.md", + "library/NARRATIVE-24-GTExBioJupies.md", + "library/SUMMARY-24-GTExBioJupies.md", + "library/USERSTORY-79.md", + "library/USERSTORY-81.md", + "library/USERSTORY-82.md", + "library/USERSTORY-83.md", + "library/USERSTORY-84.md", + "scripts/library_objects.py" + ] + } + ], + "head_commit": { + "id": "2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "tree_id": "a445983b43f9cddff10b83e622937977a807ed84", + "distinct": true, + "message": "Merge pull request #132 from dcppc/gtex-biojupies-2\n\nnow with updated inputs and outputs for Biojupies GETex", + "timestamp": "2018-10-01T21:58:02-05:00", + "url": "https://github.com/dcppc/use-case-library/commit/2f171241e3bcb8e3d2649a25703941355f7b7e0c", + "author": { + "name": "Rayna M Harris", + "email": "raynamharris@users.noreply.github.com", + "username": "raynamharris" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [ + "library/EPIC-48-share-notebooks.md", + "library/USERSTORY-85.md" + ], + "modified": [ + "README.md", + "library/EPIC-45-build-a-cohort.md", + "library/EPIC-46-select-analyses.md", + "library/EPIC-47-compare-cohorts.md", + "library/NARRATIVE-24-GTExBioJupies.md", + "library/SUMMARY-24-GTExBioJupies.md", + "library/USERSTORY-79.md", + "library/USERSTORY-81.md", + "library/USERSTORY-82.md", + "library/USERSTORY-83.md", + "library/USERSTORY-84.md", + "scripts/library_objects.py" + ] + }, + "repository": { + "id": 146474673, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDY0NzQ2NzM=", + "name": "use-case-library", + "full_name": "dcppc/use-case-library", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/use-case-library", + "description": "Use Case Library.", + "fork": false, + "url": "https://github.com/dcppc/use-case-library", + "forks_url": "https://api.github.com/repos/dcppc/use-case-library/forks", + "keys_url": "https://api.github.com/repos/dcppc/use-case-library/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/use-case-library/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/use-case-library/teams", + "hooks_url": "https://api.github.com/repos/dcppc/use-case-library/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/use-case-library/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/use-case-library/events", + "assignees_url": "https://api.github.com/repos/dcppc/use-case-library/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/use-case-library/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/use-case-library/tags", + "blobs_url": "https://api.github.com/repos/dcppc/use-case-library/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/use-case-library/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/use-case-library/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/use-case-library/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/use-case-library/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/use-case-library/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/use-case-library/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/use-case-library/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/use-case-library/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/use-case-library/subscription", + "commits_url": "https://api.github.com/repos/dcppc/use-case-library/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/use-case-library/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/use-case-library/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/use-case-library/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/use-case-library/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/use-case-library/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/use-case-library/merges", + "archive_url": "https://api.github.com/repos/dcppc/use-case-library/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/use-case-library/downloads", + "issues_url": "https://api.github.com/repos/dcppc/use-case-library/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/use-case-library/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/use-case-library/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/use-case-library/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/use-case-library/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/use-case-library/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/use-case-library/deployments", + "created_at": 1535473135, + "updated_at": "2018-10-02T02:34:12Z", + "pushed_at": 1538449083, + "git_url": "git://github.com/dcppc/use-case-library.git", + "ssh_url": "git@github.com:dcppc/use-case-library.git", + "clone_url": "https://github.com/dcppc/use-case-library.git", + "svn_url": "https://github.com/dcppc/use-case-library", + "homepage": "http://nih-data-commons.us/use-case-library/", + "size": 4558, + "stargazers_count": 0, + "watchers_count": 0, + "language": "CSS", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "open_issues_count": 35, + "license": null, + "forks": 2, + "open_issues": 35, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "raynamharris", + "email": "raynamharris@users.noreply.github.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "raynamharris", + "id": 7544197, + "node_id": "MDQ6VXNlcjc1NDQxOTc=", + "avatar_url": "https://avatars2.githubusercontent.com/u/7544197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raynamharris", + "html_url": "https://github.com/raynamharris", + "followers_url": "https://api.github.com/users/raynamharris/followers", + "following_url": "https://api.github.com/users/raynamharris/following{/other_user}", + "gists_url": "https://api.github.com/users/raynamharris/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raynamharris/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raynamharris/subscriptions", + "organizations_url": "https://api.github.com/users/raynamharris/orgs", + "repos_url": "https://api.github.com/users/raynamharris/repos", + "events_url": "https://api.github.com/users/raynamharris/events{/privacy}", + "received_events_url": "https://api.github.com/users/raynamharris/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PushEvent/dcppc_workshops_push.json b/src/tests/payloads/PushEvent/dcppc_workshops_push.json new file mode 100644 index 0000000..5d910e0 --- /dev/null +++ b/src/tests/payloads/PushEvent/dcppc_workshops_push.json @@ -0,0 +1,196 @@ +{ + "ref": "refs/heads/charlesreid1-patch-1", + "before": "0000000000000000000000000000000000000000", + "after": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "created": true, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/dcppc/dcppc-workshops/commit/74228b709fa6", + "commits": [ + { + "id": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "tree_id": "8e89aa52e5baadbfbfb99e7505acb1d5236088be", + "distinct": true, + "message": "change newline", + "timestamp": "2018-10-02T15:10:41-07:00", + "url": "https://github.com/dcppc/dcppc-workshops/commit/74228b709fa60dff242ab2773bdbaa7dcda708e8", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [] + } + ], + "head_commit": { + "id": "74228b709fa60dff242ab2773bdbaa7dcda708e8", + "tree_id": "8e89aa52e5baadbfbfb99e7505acb1d5236088be", + "distinct": true, + "message": "change newline", + "timestamp": "2018-10-02T15:10:41-07:00", + "url": "https://github.com/dcppc/dcppc-workshops/commit/74228b709fa60dff242ab2773bdbaa7dcda708e8", + "author": { + "name": "Chaz Reid", + "email": "charlesreid1@gmail.com", + "username": "charlesreid1" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [] + }, + "repository": { + "id": 132016302, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzIwMTYzMDI=", + "name": "dcppc-workshops", + "full_name": "dcppc/dcppc-workshops", + "private": true, + "owner": { + "name": "dcppc", + "email": "", + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dcppc", + "html_url": "https://github.com/dcppc", + "followers_url": "https://api.github.com/users/dcppc/followers", + "following_url": "https://api.github.com/users/dcppc/following{/other_user}", + "gists_url": "https://api.github.com/users/dcppc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dcppc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dcppc/subscriptions", + "organizations_url": "https://api.github.com/users/dcppc/orgs", + "repos_url": "https://api.github.com/users/dcppc/repos", + "events_url": "https://api.github.com/users/dcppc/events{/privacy}", + "received_events_url": "https://api.github.com/users/dcppc/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/dcppc/dcppc-workshops", + "description": "Organizing the monthly DCPPC workshops", + "fork": false, + "url": "https://github.com/dcppc/dcppc-workshops", + "forks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/forks", + "keys_url": "https://api.github.com/repos/dcppc/dcppc-workshops/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dcppc/dcppc-workshops/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dcppc/dcppc-workshops/teams", + "hooks_url": "https://api.github.com/repos/dcppc/dcppc-workshops/hooks", + "issue_events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/events{/number}", + "events_url": "https://api.github.com/repos/dcppc/dcppc-workshops/events", + "assignees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/assignees{/user}", + "branches_url": "https://api.github.com/repos/dcppc/dcppc-workshops/branches{/branch}", + "tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/tags", + "blobs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dcppc/dcppc-workshops/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dcppc/dcppc-workshops/languages", + "stargazers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/stargazers", + "contributors_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contributors", + "subscribers_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscribers", + "subscription_url": "https://api.github.com/repos/dcppc/dcppc-workshops/subscription", + "commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dcppc/dcppc-workshops/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dcppc/dcppc-workshops/contents/{+path}", + "compare_url": "https://api.github.com/repos/dcppc/dcppc-workshops/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dcppc/dcppc-workshops/merges", + "archive_url": "https://api.github.com/repos/dcppc/dcppc-workshops/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dcppc/dcppc-workshops/downloads", + "issues_url": "https://api.github.com/repos/dcppc/dcppc-workshops/issues{/number}", + "pulls_url": "https://api.github.com/repos/dcppc/dcppc-workshops/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dcppc/dcppc-workshops/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dcppc/dcppc-workshops/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dcppc/dcppc-workshops/labels{/name}", + "releases_url": "https://api.github.com/repos/dcppc/dcppc-workshops/releases{/id}", + "deployments_url": "https://api.github.com/repos/dcppc/dcppc-workshops/deployments", + "created_at": 1525361939, + "updated_at": "2018-09-18T15:03:07Z", + "pushed_at": 1538518242, + "git_url": "git://github.com/dcppc/dcppc-workshops.git", + "ssh_url": "git@github.com:dcppc/dcppc-workshops.git", + "clone_url": "https://github.com/dcppc/dcppc-workshops.git", + "svn_url": "https://github.com/dcppc/dcppc-workshops", + "homepage": null, + "size": 506, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "license": { + "key": "other", + "name": "NOASSERTION", + "spdx_id": "NOASSERTION", + "url": null, + "node_id": "MDc6TGljZW5zZTA=" + }, + "forks": 3, + "open_issues": 7, + "watchers": 1, + "default_branch": "master", + "stargazers": 1, + "master_branch": "master", + "organization": "dcppc" + }, + "pusher": { + "name": "charlesreid1", + "email": "charlesreid1@gmail.com" + }, + "organization": { + "login": "dcppc", + "id": 33266722, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMjY2NzIy", + "url": "https://api.github.com/orgs/dcppc", + "repos_url": "https://api.github.com/orgs/dcppc/repos", + "events_url": "https://api.github.com/orgs/dcppc/events", + "hooks_url": "https://api.github.com/orgs/dcppc/hooks", + "issues_url": "https://api.github.com/orgs/dcppc/issues", + "members_url": "https://api.github.com/orgs/dcppc/members{/member}", + "public_members_url": "https://api.github.com/orgs/dcppc/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/33266722?v=4", + "description": "" + }, + "sender": { + "login": "charlesreid1", + "id": 368075, + "node_id": "MDQ6VXNlcjM2ODA3NQ==", + "avatar_url": "https://avatars3.githubusercontent.com/u/368075?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/charlesreid1", + "html_url": "https://github.com/charlesreid1", + "followers_url": "https://api.github.com/users/charlesreid1/followers", + "following_url": "https://api.github.com/users/charlesreid1/following{/other_user}", + "gists_url": "https://api.github.com/users/charlesreid1/gists{/gist_id}", + "starred_url": "https://api.github.com/users/charlesreid1/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/charlesreid1/subscriptions", + "organizations_url": "https://api.github.com/users/charlesreid1/orgs", + "repos_url": "https://api.github.com/users/charlesreid1/repos", + "events_url": "https://api.github.com/users/charlesreid1/events{/privacy}", + "received_events_url": "https://api.github.com/users/charlesreid1/received_events", + "type": "User", + "site_admin": false + } +} \ No newline at end of file diff --git a/src/tests/payloads/PushEvent/event.json b/src/tests/payloads/PushEvent/event.json new file mode 100644 index 0000000..b804f5c --- /dev/null +++ b/src/tests/payloads/PushEvent/event.json @@ -0,0 +1,136 @@ +{ + "ref": "refs/tags/simple-tag", + "before": "a10867b14bb761a232cd80139fbd4c0d33264240", + "after": "0000000000000000000000000000000000000000", + "created": false, + "deleted": true, + "forced": false, + "base_ref": null, + "compare": "https://github.com/Codertocat/Hello-World/compare/a10867b14bb7...000000000000", + "commits": [ + + ], + "head_commit": null, + "repository": { + "id": 135493233, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "owner": { + "name": "Codertocat", + "email": "21031067+Codertocat@users.noreply.github.com", + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://github.com/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": 1527711484, + "updated_at": "2018-05-30T20:18:35Z", + "pushed_at": 1527711528, + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master" + }, + "pusher": { + "name": "Codertocat", + "email": "21031067+Codertocat@users.noreply.github.com" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} + diff --git a/src/tests/payloads/Readme.md b/src/tests/payloads/Readme.md new file mode 100644 index 0000000..db6c0eb --- /dev/null +++ b/src/tests/payloads/Readme.md @@ -0,0 +1,111 @@ +# Sample Payloads + + + +Types of sample payloads: + +* IssueCommentEvent +* IssuesEvent +* PullRequestEvent +* PullRequestReviewEvent +* PullRequestReviewCommentEvent +* PushEvent +* ReleaseEvent + +## IssueCommentEvent + +Issue comment events: + +Actions: + +- [ ] "created" +- [ ] "edited" +- [ ] "deleted" + + +## IssuesEvent + +Actions: + +* "assigned", +* "unassigned", +* "labeled", +* "unlabeled", +* "opened", +* "edited", +* "milestoned", +* "demilestoned", +* "closed", +* "reopened" + + +## PullRequestEvent + +Most complex pull request... lots of possible actions + +Actions: + +* "assigned" +* "unassigned" +* "review_requested" +* "review_request_removed" +* "labeled" +* "unlabeled" +* "opened" +* "edited" +* "closed" +* "reopened" + +if action is "closed": + +* if "closed" and merged key is false, + PR was closed w/ unmerged commits. +* if "closed" and merged key is true, + PR was merged + + +TODO: We need to get an unmerged PR closed +webhook, because we are just guessing at it. +we had to manufacture our own. + + +## PullRequestReviewEvent + +action: + +* "submitted" +* "edited" +* "dismissed" + +The `review` key of the webhook payload +contains info about the review that was +related to this action being triggered. + + +## PullRequestReviewCommentEvent + +action: + +* "created" +* "edited" +* "deleted" + +The `pull_request` key of the webhook payload +contains info about the relevant pull request. + + +## PushEvent + +fields: + +* ref - the full git ref that was pushed (refs/head/master) +* head - sha of most recent commit after push +* before - sha of most recent commit before push +* size - number of commits +* commits - array describing pushed commits + * sha + * message + * author + * url + + diff --git a/src/tests/utils.py b/src/tests/utils.py new file mode 100644 index 0000000..c4fc4e8 --- /dev/null +++ b/src/tests/utils.py @@ -0,0 +1,122 @@ +import os +import json +import logging + + +HEADERS = { + 'Content-type' : 'application/json', + 'Accept' : 'text/plain' +} + +base = os.path.split(os.path.abspath(__file__))[0] + + +###################################### +# Load and extract payloads + + +def load_from_museum(fname): + """ + Load a payload named fname from payloads museum + in payloads + """ + fname = os.path.join(base,'payloads',fname) + logging.info("Opening file %s"%(fname)) + d = {} + with open(fname,'r') as f: + d = json.load(f) + return d + + +def extract_payload(request): + """ + Given the reult of a flask client request, + extract payload as JSON and return as dict + """ + result = request.data.decode('utf-8') + d = json.loads(result) + return d + + +###################################### +# Functions to post webhooks + + +def post_pingpong_webhook(client): + """ + Post a ping webhook + """ + # Set the header + headers = HEADERS + headers['X-Github-Event'] = 'ping' + + d = {} + + # Post the webhook + return client.post( + '/', + json=d, + headers=headers, + ) + + + +def post_pr_opened(client): + """ + Pull request pull request webhook (sync event) + """ + # Get webhook from file + d = load_from_museum('PullRequestEvent/action_opened.json') + + # Post the webhook + return client.post( + '/', + json=d, + headers=HEADERS, + ) + + +def post_pr_closed_merged(client): + """ + Webhook for closing a PR by merging it + """ + # Get webhook from file + d = load_from_museum('PullRequestEvent/action_closed_merged.json') + + # Post the webhook + return client.post( + '/', + json=d, + headers=HEADERS, + ) + +def post_pr_closed_unmerged(client): + """ + Webhook for closing a PR without merging it + """ + # Get webhook from file + d = load_from_museum('PullRequestEvent/action_closed_unmerged.json') + + # Post the webhook + return client.post( + '/', + json=d, + headers=HEADERS, + ) + + +def post_pr_sync(client): + """ + Commit that syncs an existing PR + """ + # Get webhook from file + d = load_from_museum('PullRequestEvent/action_synchronize.json') + + # Post the webhook + return client.post( + '/', + json=d, + headers=HEADERS + ) + + diff --git a/src/webapp/__init__.py b/src/webapp/__init__.py new file mode 100644 index 0000000..30b6f6a --- /dev/null +++ b/src/webapp/__init__.py @@ -0,0 +1,19 @@ +from .flask_app import UAFlask +from .flask_routes import setup_routes +from .const import base + +from flask import Flask, request, abort, render_template +import os, sys +import json +import logging + + +def get_flask_app(): + app = UAFlask( + __name__, + template_folder = os.path.join(base,'templates'), + static_folder = os.path.join(base,'static') + ) + setup_routes(app) + return app + diff --git a/src/webapp/const.py b/src/webapp/const.py new file mode 100644 index 0000000..01eba7b --- /dev/null +++ b/src/webapp/const.py @@ -0,0 +1,5 @@ +import os + +base = os.path.split(os.path.abspath(__file__))[0] +call = os.getcwd() + diff --git a/src/webapp/flask_app.py b/src/webapp/flask_app.py new file mode 100644 index 0000000..42c0240 --- /dev/null +++ b/src/webapp/flask_app.py @@ -0,0 +1,121 @@ +from ..payload_handlers import PayloadHandlerFactory +from .const import base, call + +from flask import Flask, request, abort, render_template +import os, sys +import json +import logging + +from .const import base +from .const import call + + +class UAFlask(Flask): + def __init__(self,*args,**kwargs): + super().__init__(*args,**kwargs) + + self.payload_handler = None + self.phf = PayloadHandlerFactory() + + # ---------------------------- + # Load config + msg = "UAFlask: __init__(): Preparing to load webapp config file." + logging.info(msg) + loaded_config = False + if 'UNCLE_ARCHIE_CONFIG' in os.environ: + if os.path.isfile(os.path.join(call,os.environ['UNCLE_ARCHIE_CONFIG'])): + # relative path + self.config.from_pyfile(os.path.join(call,os.environ['UNCLE_ARCHIE_CONFIG'])) + loaded_config = True + msg = "UAFlask: __init__(): Succesfuly loaded webapp config file from UNCLE_ARCHIE_CONFIG variable.\n" + msg += "UAFlask: __init__(): Loaded config file at %s"%(os.path.join(call,os.environ['UNCLE_ARCHIE_CONFIG'])) + logging.info(msg) + + elif os.path.isfile(os.environ['UNCLE_ARCHIE_CONFIG']): + # absolute path + self.config.from_pyfile(os.environ['UNCLE_ARCHIE_CONFIG']) + loaded_config = True + msg = "UAFlask: __init__(): Succesfuly loaded webapp config file from UNCLE_ARCHIE_CONFIG variable.\n" + msg += "Loaded config file at %s"%(os.environ['UNCLE_ARCHIE_CONFIG']) + logging.info(msg) + + else: + err = "UAFlask: __init__(): Warning: No UNCLE_ARCHIE_CONFIG environment variable defined. " + err += "UAFlask: __init__(): Looking for 'config.py' in current directory." + logging.info(err) + + # hail mary: look for config.py in the current directory + default_name = 'config.py' + if os.path.isfile(os.path.join(call,default_name)): + self.config.from_pyfile(os.path.join(call,default_name)) + loaded_config = True + msg = "UAFlask: __init__(): Succesfuly loaded webapp config file with a hail mary.\n" + msg += "Loaded config file at %s"%(os.path.join(call,'config.py')) + logging.info(msg) + + if not loaded_config: + err = "ERROR: UAFlask: __init__(): Problem setting config file with UNCLE_ARCHIE_CONFIG environment variable\n" + try: + err += "UNCLE_ARCHIE_CONFIG value : %s\n"%(os.environ['UNCLE_ARCHIE_CONFIG']) + except: + pass + + try: + err += "Missing config file : %s\n"%(os.environ['UNCLE_ARCHIE_CONFIG']) + err += "Missing config file : %s\n"%(os.path.join(call, os.environ['UNCLE_ARCHIE_CONFIG'])) + except: + pass + + logging.error(err) + raise Exception(err) + + + def set_payload_handler(self,handler_id,**kwargs): + """ + Given a (string) payload handler ID, + save it for later. + + Eventually we will pass it to the factory + to get a corresponding Payload Handler + object of the correct type. + """ + self.payload_handler = None + self.payload_handler_id = handler_id + + + def get_payload_handler(self): + if self.payload_handler is None: + err = "ERROR: UAFlask: get_payload_handler(): " + err += "No payload handler has been set!" + logging.error(err) + raise Exception(err) + return self.payload_handler + + + def del_payload_handler(self): + """ + Delete the payload handler when we're done with the webhook + """ + del self.payload_handler + + + def init_payload_handler(self): + """ + Use the PayloadHandler factory to initialize + an instance of the payload handler that is + specified with self.payload_handler_id + """ + if self.payload_handler_id is None: + err = "ERROR: UAFlask: init_payload_handler(): " + err += "No payload handler has been set!" + logging.error(err) + raise Exception(err) + + self.payload_handler = self.phf.factory( + self.payload_handler_id, + self.config, + ) + + return self.payload_handler + + diff --git a/src/webapp/flask_routes.py b/src/webapp/flask_routes.py new file mode 100644 index 0000000..bea0c22 --- /dev/null +++ b/src/webapp/flask_routes.py @@ -0,0 +1,61 @@ +from .const import base, call +from .flask_utils import \ + verify_github_source, \ + get_payload, \ + enforce_secret, \ + get_branch + +from flask import Flask, request, abort, render_template +import os, sys +import json +import logging + + +def setup_routes(app): + + @app.route('/', methods=['GET', 'POST']) + def index(): + + # forgot to add the dang render template handler + if request.method=='GET': + return render_template("index.html") + + config = app.config + + # Verify webhooks are from github + verify_github_source(config) + + # Play ping/pong with github + event = request.headers.get('X-GitHub-Event') + if event == 'ping': + return json.dumps({'msg': 'pong'}) + + # Get the payload + payload = get_payload(request) + + # Enforce secret + enforce_secret(config,request) + + # Get the branch + branch = get_branch(payload) + + # Current events almost always have a repository. + # Be safe in case they do not. + name = payload['repository']['name'] if 'repository' in payload else None + + # Assemble quick lookup info + meta = { + 'name': name, + 'branch': branch, + 'event': event + } + + app.init_payload_handler() + payload_handler = app.get_payload_handler() + payload_handler.process_payload(payload, meta, config) + app.del_payload_handler() + + # Clean up + return json.dumps({'status':'done'}) + + diff --git a/src/webapp/flask_utils.py b/src/webapp/flask_utils.py new file mode 100644 index 0000000..4fd9b5b --- /dev/null +++ b/src/webapp/flask_utils.py @@ -0,0 +1,96 @@ +from .const import base, call + + +from flask import Flask, request, abort, render_template +import requests +import os, sys +import json +import logging +import pprint + +############################################## +# Flask utility functions + +def verify_github_source(config): + """ + Verify that the IP address of the server sending the + payload is on the whitelist of github servers + """ + if 'github_ips_only' in config and config['github_ips_only'] is True: + whitelist = requests.get('https://api.github.com/meta').json()['hooks'] + for valid_ip in whitelist: + if src_ip in ip_network(valid_ip): + break + else: + logging.error('IP {} not allowed'.format(src_ip)) + abort(403) + +def get_payload(request): + """ + Gather the webhook payload data as JSON from the + HTTP request received. + """ + try: + return request.get_json() + except Exception: + logging.warning('Request parsing failed') + abort(400) + + +def enforce_secret(config,request): + """ + Enforce secret (if user wants us to) + """ + secret = config.get('enforce_secret', '') + if secret: + # Only SHA1 is supported + header_signature = request.headers.get('X-Hub-Signature') + if header_signature is None: + abort(403) + + sha_name, signature = header_signature.split('=') + if sha_name != 'sha1': + abort(501) + + # HMAC requires the key to be bytes, but data is string + mac = hmac.new(str.encode(secret), msg=request.data, digestmod='sha1') + + if not hmac.compare_digest(str(mac.hexdigest()), str(signature)): + logging.error(' XXXXXXXX A webhook with an invalid secret was received.') + logging.error(pprint.pformat(payload,indent=4)) + abort(403) + + +def get_branch(payload): + """ + Determine the branch this webhook is about + """ + branch = '' + event = request.headers.get('X-GitHub-Event') + try: + # Case 1: a ref_type indicates the type of ref. + # This true for create and delete events. + if 'ref_type' in payload: + if payload['ref_type'] == 'branch': + branch = payload['ref'] + return branch + + # Case 2: a pull_request object is involved. This is pull_request and + # pull_request_review_comment events. + elif 'pull_request' in payload: + # This is the TARGET branch for the pull-request, not the source + # branch + branch = payload['pull_request']['base']['ref'] + return branch + + elif event in ['push']: + # Push events provide a full Git ref in 'ref' and not a 'ref_type'. + branch = payload['ref'].split('/', 2)[2] + return branch + + except KeyError: + # If the payload structure isn't what we expect, + # we'll live without the branch name + return "" + + diff --git a/src/webapp/static/css/bootstrap.min.css b/src/webapp/static/css/bootstrap.min.css new file mode 100644 index 0000000..ed3905e --- /dev/null +++ b/src/webapp/static/css/bootstrap.min.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.3.7 (http://getbootstrap.com) + * Copyright 2011-2016 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/src/webapp/static/css/custom.css b/src/webapp/static/css/custom.css new file mode 100644 index 0000000..8885369 --- /dev/null +++ b/src/webapp/static/css/custom.css @@ -0,0 +1,81 @@ +{# +{% if INTROCOLOR is none %} + {% set INTROCOLOR='#EEE' %} +{% endif %} + +{% if ACOLOR is none %} + {% set ACOLOR='#42DCA3' %} +{% endif %} + +{% if AHOVERCOLOR is none %} + {% set AHOVERCOLOR='#1D9B6C' %} +{% endif %} + +{% if ACOLOR is none %} + {% set ACOLOR='#42DCA3' %} +{% endif %} + +{% if INTROBKGCOLOR is none %} + {% set INTROBKGCOLOR='theme/img/intro-bg-foyer.jpg' %} +{% endif %} + +{% if INTROBKG is none %} + {% set INTROBKG='theme/img/intro-bg-foyer.jpg' %} +{% endif %} + +{% if LINKSBKG is none %} + {% set LINKSBKG='theme/img/links-bg-books.jpg' %} +{% endif %} +#} + +.intro { + color: white; + width: 100%; + padding: 100px 0; + background: url( {{ INTROBKG }} ) no-repeat bottom center scroll; + background-color: black; + -webkit-background-size: cover; + -moz-background-size: cover; + background-size: cover; + -o-background-size: cover; +} + +.links-section { + color: white; + width: 100%; + padding: 50px 0; + background: url( {{ LINKSBKG }} ) no-repeat center center scroll; + background-color: black; + -webkit-background-size: cover; + -moz-background-size: cover; + background-size: cover; + -o-background-size: cover; +} + + + + +.scuryv-knave-intro { + color: {{ INTROCOLOR }}; +} +a { + color: {{ ACOLOR }}; +} +a:hover, +a:focus { + color: {{ AHOVERCOLOR }}; +} +.btn-default { + border: 1px solid {{ ACOLOR }}; + color: {{ ACOLOR }}; + /*background-color: transparent;*/ + background-color: #000; +} +.btn-default:hover, +.btn-default:focus { + border: 1px solid {{ ACOLOR }}; + outline: none; + color: black; + background-color: {{ ACOLOR }}; +} + diff --git a/src/webapp/static/css/font-awesome.css b/src/webapp/static/css/font-awesome.css new file mode 100644 index 0000000..a7c6841 --- /dev/null +++ b/src/webapp/static/css/font-awesome.css @@ -0,0 +1,2201 @@ +/*! + * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + * + * https://fontawesome.bootstrapcheatsheets.com/ + */ +/* FONT PATH + * -------------------------- */ +@font-face { + font-family: 'FontAwesome'; + src: url('../fonts/fontawesome-webfont.eot?v=4.6.3'); + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} +.fa { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +/* makes the font 33% larger relative to the icon container */ +.fa-lg { + font-size: 1.33333333em; + line-height: 0.75em; + vertical-align: -15%; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-fw { + width: 1.28571429em; + text-align: center; +} +.fa-ul { + padding-left: 0; + margin-left: 2.14285714em; + list-style-type: none; +} +.fa-ul > li { + position: relative; +} +.fa-li { + position: absolute; + left: -2.14285714em; + width: 2.14285714em; + top: 0.14285714em; + text-align: center; +} +.fa-li.fa-lg { + left: -1.85714286em; +} +.fa-border { + padding: .2em .25em .15em; + border: solid 0.08em #eeeeee; + border-radius: .1em; +} +.fa-pull-left { + float: left; +} +.fa-pull-right { + float: right; +} +.fa.fa-pull-left { + margin-right: .3em; +} +.fa.fa-pull-right { + margin-left: .3em; +} +/* Deprecated as of 4.4.0 */ +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.fa.pull-left { + margin-right: .3em; +} +.fa.pull-right { + margin-left: .3em; +} +.fa-spin { + -webkit-animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; +} +.fa-pulse { + -webkit-animation: fa-spin 1s infinite steps(8); + animation: fa-spin 1s infinite steps(8); +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +.fa-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} +.fa-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} +.fa-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); +} +.fa-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; + -webkit-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.fa-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(1, -1); + -ms-transform: scale(1, -1); + transform: scale(1, -1); +} +:root .fa-rotate-90, +:root .fa-rotate-180, +:root .fa-rotate-270, +:root .fa-flip-horizontal, +:root .fa-flip-vertical { + filter: none; +} +.fa-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} +.fa-stack-1x, +.fa-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #ffffff; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.fa-glass:before { + content: "\f000"; +} +.fa-music:before { + content: "\f001"; +} +.fa-search:before { + content: "\f002"; +} +.fa-envelope-o:before { + content: "\f003"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-o:before { + content: "\f006"; +} +.fa-user:before { + content: "\f007"; +} +.fa-film:before { + content: "\f008"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-remove:before, +.fa-close:before, +.fa-times:before { + content: "\f00d"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-gear:before, +.fa-cog:before { + content: "\f013"; +} +.fa-trash-o:before { + content: "\f014"; +} +.fa-home:before { + content: "\f015"; +} +.fa-file-o:before { + content: "\f016"; +} +.fa-clock-o:before { + content: "\f017"; +} +.fa-road:before { + content: "\f018"; +} +.fa-download:before { + content: "\f019"; +} +.fa-arrow-circle-o-down:before { + content: "\f01a"; +} +.fa-arrow-circle-o-up:before { + content: "\f01b"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-play-circle-o:before { + content: "\f01d"; +} +.fa-rotate-right:before, +.fa-repeat:before { + content: "\f01e"; +} +.fa-refresh:before { + content: "\f021"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-font:before { + content: "\f031"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-dedent:before, +.fa-outdent:before { + content: "\f03b"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-video-camera:before { + content: "\f03d"; +} +.fa-photo:before, +.fa-image:before, +.fa-picture-o:before { + content: "\f03e"; +} +.fa-pencil:before { + content: "\f040"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-edit:before, +.fa-pencil-square-o:before { + content: "\f044"; +} +.fa-share-square-o:before { + content: "\f045"; +} +.fa-check-square-o:before { + content: "\f046"; +} +.fa-arrows:before { + content: "\f047"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-times-circle-o:before { + content: "\f05c"; +} +.fa-check-circle-o:before { + content: "\f05d"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-mail-forward:before, +.fa-share:before { + content: "\f064"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-warning:before, +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-calendar:before { + content: "\f073"; +} +.fa-random:before { + content: "\f074"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-arrows-v:before { + content: "\f07d"; +} +.fa-arrows-h:before { + content: "\f07e"; +} +.fa-bar-chart-o:before, +.fa-bar-chart:before { + content: "\f080"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-key:before { + content: "\f084"; +} +.fa-gears:before, +.fa-cogs:before { + content: "\f085"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-thumbs-o-up:before { + content: "\f087"; +} +.fa-thumbs-o-down:before { + content: "\f088"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-heart-o:before { + content: "\f08a"; +} +.fa-sign-out:before { + content: "\f08b"; +} +.fa-linkedin-square:before { + content: "\f08c"; +} +.fa-thumb-tack:before { + content: "\f08d"; +} +.fa-external-link:before { + content: "\f08e"; +} +.fa-sign-in:before { + content: "\f090"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-lemon-o:before { + content: "\f094"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-square-o:before { + content: "\f096"; +} +.fa-bookmark-o:before { + content: "\f097"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-facebook-f:before, +.fa-facebook:before { + content: "\f09a"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-feed:before, +.fa-rss:before { + content: "\f09e"; +} +.fa-hdd-o:before { + content: "\f0a0"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-hand-o-right:before { + content: "\f0a4"; +} +.fa-hand-o-left:before { + content: "\f0a5"; +} +.fa-hand-o-up:before { + content: "\f0a6"; +} +.fa-hand-o-down:before { + content: "\f0a7"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-group:before, +.fa-users:before { + content: "\f0c0"; +} +.fa-chain:before, +.fa-link:before { + content: "\f0c1"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-cut:before, +.fa-scissors:before { + content: "\f0c4"; +} +.fa-copy:before, +.fa-files-o:before { + content: "\f0c5"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-save:before, +.fa-floppy-o:before { + content: "\f0c7"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-navicon:before, +.fa-reorder:before, +.fa-bars:before { + content: "\f0c9"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-plus:before { + content: "\f0d5"; +} +.fa-money:before { + content: "\f0d6"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-unsorted:before, +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-down:before, +.fa-sort-desc:before { + content: "\f0dd"; +} +.fa-sort-up:before, +.fa-sort-asc:before { + content: "\f0de"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-linkedin:before { + content: "\f0e1"; +} +.fa-rotate-left:before, +.fa-undo:before { + content: "\f0e2"; +} +.fa-legal:before, +.fa-gavel:before { + content: "\f0e3"; +} +.fa-dashboard:before, +.fa-tachometer:before { + content: "\f0e4"; +} +.fa-comment-o:before { + content: "\f0e5"; +} +.fa-comments-o:before { + content: "\f0e6"; +} +.fa-flash:before, +.fa-bolt:before { + content: "\f0e7"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-paste:before, +.fa-clipboard:before { + content: "\f0ea"; +} +.fa-lightbulb-o:before { + content: "\f0eb"; +} +.fa-exchange:before { + content: "\f0ec"; +} +.fa-cloud-download:before { + content: "\f0ed"; +} +.fa-cloud-upload:before { + content: "\f0ee"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-bell-o:before { + content: "\f0a2"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cutlery:before { + content: "\f0f5"; +} +.fa-file-text-o:before { + content: "\f0f6"; +} +.fa-building-o:before { + content: "\f0f7"; +} +.fa-hospital-o:before { + content: "\f0f8"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-mobile-phone:before, +.fa-mobile:before { + content: "\f10b"; +} +.fa-circle-o:before { + content: "\f10c"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-mail-reply:before, +.fa-reply:before { + content: "\f112"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-folder-o:before { + content: "\f114"; +} +.fa-folder-open-o:before { + content: "\f115"; +} +.fa-smile-o:before { + content: "\f118"; +} +.fa-frown-o:before { + content: "\f119"; +} +.fa-meh-o:before { + content: "\f11a"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-keyboard-o:before { + content: "\f11c"; +} +.fa-flag-o:before { + content: "\f11d"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-code:before { + content: "\f121"; +} +.fa-mail-reply-all:before, +.fa-reply-all:before { + content: "\f122"; +} +.fa-star-half-empty:before, +.fa-star-half-full:before, +.fa-star-half-o:before { + content: "\f123"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-code-fork:before { + content: "\f126"; +} +.fa-unlink:before, +.fa-chain-broken:before { + content: "\f127"; +} +.fa-question:before { + content: "\f128"; +} +.fa-info:before { + content: "\f129"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-shield:before { + content: "\f132"; +} +.fa-calendar-o:before { + content: "\f133"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-ticket:before { + content: "\f145"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-minus-square-o:before { + content: "\f147"; +} +.fa-level-up:before { + content: "\f148"; +} +.fa-level-down:before { + content: "\f149"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-pencil-square:before { + content: "\f14b"; +} +.fa-external-link-square:before { + content: "\f14c"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-toggle-down:before, +.fa-caret-square-o-down:before { + content: "\f150"; +} +.fa-toggle-up:before, +.fa-caret-square-o-up:before { + content: "\f151"; +} +.fa-toggle-right:before, +.fa-caret-square-o-right:before { + content: "\f152"; +} +.fa-euro:before, +.fa-eur:before { + content: "\f153"; +} +.fa-gbp:before { + content: "\f154"; +} +.fa-dollar:before, +.fa-usd:before { + content: "\f155"; +} +.fa-rupee:before, +.fa-inr:before { + content: "\f156"; +} +.fa-cny:before, +.fa-rmb:before, +.fa-yen:before, +.fa-jpy:before { + content: "\f157"; +} +.fa-ruble:before, +.fa-rouble:before, +.fa-rub:before { + content: "\f158"; +} +.fa-won:before, +.fa-krw:before { + content: "\f159"; +} +.fa-bitcoin:before, +.fa-btc:before { + content: "\f15a"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-text:before { + content: "\f15c"; +} +.fa-sort-alpha-asc:before { + content: "\f15d"; +} +.fa-sort-alpha-desc:before { + content: "\f15e"; +} +.fa-sort-amount-asc:before { + content: "\f160"; +} +.fa-sort-amount-desc:before { + content: "\f161"; +} +.fa-sort-numeric-asc:before { + content: "\f162"; +} +.fa-sort-numeric-desc:before { + content: "\f163"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-youtube-square:before { + content: "\f166"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-youtube-play:before { + content: "\f16a"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitbucket-square:before { + content: "\f172"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-long-arrow-down:before { + content: "\f175"; +} +.fa-long-arrow-up:before { + content: "\f176"; +} +.fa-long-arrow-left:before { + content: "\f177"; +} +.fa-long-arrow-right:before { + content: "\f178"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-female:before { + content: "\f182"; +} +.fa-male:before { + content: "\f183"; +} +.fa-gittip:before, +.fa-gratipay:before { + content: "\f184"; +} +.fa-sun-o:before { + content: "\f185"; +} +.fa-moon-o:before { + content: "\f186"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-arrow-circle-o-right:before { + content: "\f18e"; +} +.fa-arrow-circle-o-left:before { + content: "\f190"; +} +.fa-toggle-left:before, +.fa-caret-square-o-left:before { + content: "\f191"; +} +.fa-dot-circle-o:before { + content: "\f192"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-turkish-lira:before, +.fa-try:before { + content: "\f195"; +} +.fa-plus-square-o:before { + content: "\f196"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-institution:before, +.fa-bank:before, +.fa-university:before { + content: "\f19c"; +} +.fa-mortar-board:before, +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-pied-piper-pp:before { + content: "\f1a7"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-spoon:before { + content: "\f1b1"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-automobile:before, +.fa-car:before { + content: "\f1b9"; +} +.fa-cab:before, +.fa-taxi:before { + content: "\f1ba"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-file-pdf-o:before { + content: "\f1c1"; +} +.fa-file-word-o:before { + content: "\f1c2"; +} +.fa-file-excel-o:before { + content: "\f1c3"; +} +.fa-file-powerpoint-o:before { + content: "\f1c4"; +} +.fa-file-photo-o:before, +.fa-file-picture-o:before, +.fa-file-image-o:before { + content: "\f1c5"; +} +.fa-file-zip-o:before, +.fa-file-archive-o:before { + content: "\f1c6"; +} +.fa-file-sound-o:before, +.fa-file-audio-o:before { + content: "\f1c7"; +} +.fa-file-movie-o:before, +.fa-file-video-o:before { + content: "\f1c8"; +} +.fa-file-code-o:before { + content: "\f1c9"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-life-bouy:before, +.fa-life-buoy:before, +.fa-life-saver:before, +.fa-support:before, +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-circle-o-notch:before { + content: "\f1ce"; +} +.fa-ra:before, +.fa-resistance:before, +.fa-rebel:before { + content: "\f1d0"; +} +.fa-ge:before, +.fa-empire:before { + content: "\f1d1"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-y-combinator-square:before, +.fa-yc-square:before, +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-wechat:before, +.fa-weixin:before { + content: "\f1d7"; +} +.fa-send:before, +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-send-o:before, +.fa-paper-plane-o:before { + content: "\f1d9"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-circle-thin:before { + content: "\f1db"; +} +.fa-header:before { + content: "\f1dc"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-sliders:before { + content: "\f1de"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-bomb:before { + content: "\f1e2"; +} +.fa-soccer-ball-o:before, +.fa-futbol-o:before { + content: "\f1e3"; +} +.fa-tty:before { + content: "\f1e4"; +} +.fa-binoculars:before { + content: "\f1e5"; +} +.fa-plug:before { + content: "\f1e6"; +} +.fa-slideshare:before { + content: "\f1e7"; +} +.fa-twitch:before { + content: "\f1e8"; +} +.fa-yelp:before { + content: "\f1e9"; +} +.fa-newspaper-o:before { + content: "\f1ea"; +} +.fa-wifi:before { + content: "\f1eb"; +} +.fa-calculator:before { + content: "\f1ec"; +} +.fa-paypal:before { + content: "\f1ed"; +} +.fa-google-wallet:before { + content: "\f1ee"; +} +.fa-cc-visa:before { + content: "\f1f0"; +} +.fa-cc-mastercard:before { + content: "\f1f1"; +} +.fa-cc-discover:before { + content: "\f1f2"; +} +.fa-cc-amex:before { + content: "\f1f3"; +} +.fa-cc-paypal:before { + content: "\f1f4"; +} +.fa-cc-stripe:before { + content: "\f1f5"; +} +.fa-bell-slash:before { + content: "\f1f6"; +} +.fa-bell-slash-o:before { + content: "\f1f7"; +} +.fa-trash:before { + content: "\f1f8"; +} +.fa-copyright:before { + content: "\f1f9"; +} +.fa-at:before { + content: "\f1fa"; +} +.fa-eyedropper:before { + content: "\f1fb"; +} +.fa-paint-brush:before { + content: "\f1fc"; +} +.fa-birthday-cake:before { + content: "\f1fd"; +} +.fa-area-chart:before { + content: "\f1fe"; +} +.fa-pie-chart:before { + content: "\f200"; +} +.fa-line-chart:before { + content: "\f201"; +} +.fa-lastfm:before { + content: "\f202"; +} +.fa-lastfm-square:before { + content: "\f203"; +} +.fa-toggle-off:before { + content: "\f204"; +} +.fa-toggle-on:before { + content: "\f205"; +} +.fa-bicycle:before { + content: "\f206"; +} +.fa-bus:before { + content: "\f207"; +} +.fa-ioxhost:before { + content: "\f208"; +} +.fa-angellist:before { + content: "\f209"; +} +.fa-cc:before { + content: "\f20a"; +} +.fa-shekel:before, +.fa-sheqel:before, +.fa-ils:before { + content: "\f20b"; +} +.fa-meanpath:before { + content: "\f20c"; +} +.fa-buysellads:before { + content: "\f20d"; +} +.fa-connectdevelop:before { + content: "\f20e"; +} +.fa-dashcube:before { + content: "\f210"; +} +.fa-forumbee:before { + content: "\f211"; +} +.fa-leanpub:before { + content: "\f212"; +} +.fa-sellsy:before { + content: "\f213"; +} +.fa-shirtsinbulk:before { + content: "\f214"; +} +.fa-simplybuilt:before { + content: "\f215"; +} +.fa-skyatlas:before { + content: "\f216"; +} +.fa-cart-plus:before { + content: "\f217"; +} +.fa-cart-arrow-down:before { + content: "\f218"; +} +.fa-diamond:before { + content: "\f219"; +} +.fa-ship:before { + content: "\f21a"; +} +.fa-user-secret:before { + content: "\f21b"; +} +.fa-motorcycle:before { + content: "\f21c"; +} +.fa-street-view:before { + content: "\f21d"; +} +.fa-heartbeat:before { + content: "\f21e"; +} +.fa-venus:before { + content: "\f221"; +} +.fa-mars:before { + content: "\f222"; +} +.fa-mercury:before { + content: "\f223"; +} +.fa-intersex:before, +.fa-transgender:before { + content: "\f224"; +} +.fa-transgender-alt:before { + content: "\f225"; +} +.fa-venus-double:before { + content: "\f226"; +} +.fa-mars-double:before { + content: "\f227"; +} +.fa-venus-mars:before { + content: "\f228"; +} +.fa-mars-stroke:before { + content: "\f229"; +} +.fa-mars-stroke-v:before { + content: "\f22a"; +} +.fa-mars-stroke-h:before { + content: "\f22b"; +} +.fa-neuter:before { + content: "\f22c"; +} +.fa-genderless:before { + content: "\f22d"; +} +.fa-facebook-official:before { + content: "\f230"; +} +.fa-pinterest-p:before { + content: "\f231"; +} +.fa-whatsapp:before { + content: "\f232"; +} +.fa-server:before { + content: "\f233"; +} +.fa-user-plus:before { + content: "\f234"; +} +.fa-user-times:before { + content: "\f235"; +} +.fa-hotel:before, +.fa-bed:before { + content: "\f236"; +} +.fa-viacoin:before { + content: "\f237"; +} +.fa-train:before { + content: "\f238"; +} +.fa-subway:before { + content: "\f239"; +} +.fa-medium:before { + content: "\f23a"; +} +.fa-yc:before, +.fa-y-combinator:before { + content: "\f23b"; +} +.fa-optin-monster:before { + content: "\f23c"; +} +.fa-opencart:before { + content: "\f23d"; +} +.fa-expeditedssl:before { + content: "\f23e"; +} +.fa-battery-4:before, +.fa-battery-full:before { + content: "\f240"; +} +.fa-battery-3:before, +.fa-battery-three-quarters:before { + content: "\f241"; +} +.fa-battery-2:before, +.fa-battery-half:before { + content: "\f242"; +} +.fa-battery-1:before, +.fa-battery-quarter:before { + content: "\f243"; +} +.fa-battery-0:before, +.fa-battery-empty:before { + content: "\f244"; +} +.fa-mouse-pointer:before { + content: "\f245"; +} +.fa-i-cursor:before { + content: "\f246"; +} +.fa-object-group:before { + content: "\f247"; +} +.fa-object-ungroup:before { + content: "\f248"; +} +.fa-sticky-note:before { + content: "\f249"; +} +.fa-sticky-note-o:before { + content: "\f24a"; +} +.fa-cc-jcb:before { + content: "\f24b"; +} +.fa-cc-diners-club:before { + content: "\f24c"; +} +.fa-clone:before { + content: "\f24d"; +} +.fa-balance-scale:before { + content: "\f24e"; +} +.fa-hourglass-o:before { + content: "\f250"; +} +.fa-hourglass-1:before, +.fa-hourglass-start:before { + content: "\f251"; +} +.fa-hourglass-2:before, +.fa-hourglass-half:before { + content: "\f252"; +} +.fa-hourglass-3:before, +.fa-hourglass-end:before { + content: "\f253"; +} +.fa-hourglass:before { + content: "\f254"; +} +.fa-hand-grab-o:before, +.fa-hand-rock-o:before { + content: "\f255"; +} +.fa-hand-stop-o:before, +.fa-hand-paper-o:before { + content: "\f256"; +} +.fa-hand-scissors-o:before { + content: "\f257"; +} +.fa-hand-lizard-o:before { + content: "\f258"; +} +.fa-hand-spock-o:before { + content: "\f259"; +} +.fa-hand-pointer-o:before { + content: "\f25a"; +} +.fa-hand-peace-o:before { + content: "\f25b"; +} +.fa-trademark:before { + content: "\f25c"; +} +.fa-registered:before { + content: "\f25d"; +} +.fa-creative-commons:before { + content: "\f25e"; +} +.fa-gg:before { + content: "\f260"; +} +.fa-gg-circle:before { + content: "\f261"; +} +.fa-tripadvisor:before { + content: "\f262"; +} +.fa-odnoklassniki:before { + content: "\f263"; +} +.fa-odnoklassniki-square:before { + content: "\f264"; +} +.fa-get-pocket:before { + content: "\f265"; +} +.fa-wikipedia-w:before { + content: "\f266"; +} +.fa-safari:before { + content: "\f267"; +} +.fa-chrome:before { + content: "\f268"; +} +.fa-firefox:before { + content: "\f269"; +} +.fa-opera:before { + content: "\f26a"; +} +.fa-internet-explorer:before { + content: "\f26b"; +} +.fa-tv:before, +.fa-television:before { + content: "\f26c"; +} +.fa-contao:before { + content: "\f26d"; +} +.fa-500px:before { + content: "\f26e"; +} +.fa-amazon:before { + content: "\f270"; +} +.fa-calendar-plus-o:before { + content: "\f271"; +} +.fa-calendar-minus-o:before { + content: "\f272"; +} +.fa-calendar-times-o:before { + content: "\f273"; +} +.fa-calendar-check-o:before { + content: "\f274"; +} +.fa-industry:before { + content: "\f275"; +} +.fa-map-pin:before { + content: "\f276"; +} +.fa-map-signs:before { + content: "\f277"; +} +.fa-map-o:before { + content: "\f278"; +} +.fa-map:before { + content: "\f279"; +} +.fa-commenting:before { + content: "\f27a"; +} +.fa-commenting-o:before { + content: "\f27b"; +} +.fa-houzz:before { + content: "\f27c"; +} +.fa-vimeo:before { + content: "\f27d"; +} +.fa-black-tie:before { + content: "\f27e"; +} +.fa-fonticons:before { + content: "\f280"; +} +.fa-reddit-alien:before { + content: "\f281"; +} +.fa-edge:before { + content: "\f282"; +} +.fa-credit-card-alt:before { + content: "\f283"; +} +.fa-codiepie:before { + content: "\f284"; +} +.fa-modx:before { + content: "\f285"; +} +.fa-fort-awesome:before { + content: "\f286"; +} +.fa-usb:before { + content: "\f287"; +} +.fa-product-hunt:before { + content: "\f288"; +} +.fa-mixcloud:before { + content: "\f289"; +} +.fa-scribd:before { + content: "\f28a"; +} +.fa-pause-circle:before { + content: "\f28b"; +} +.fa-pause-circle-o:before { + content: "\f28c"; +} +.fa-stop-circle:before { + content: "\f28d"; +} +.fa-stop-circle-o:before { + content: "\f28e"; +} +.fa-shopping-bag:before { + content: "\f290"; +} +.fa-shopping-basket:before { + content: "\f291"; +} +.fa-hashtag:before { + content: "\f292"; +} +.fa-bluetooth:before { + content: "\f293"; +} +.fa-bluetooth-b:before { + content: "\f294"; +} +.fa-percent:before { + content: "\f295"; +} +.fa-gitlab:before { + content: "\f296"; +} +.fa-wpbeginner:before { + content: "\f297"; +} +.fa-wpforms:before { + content: "\f298"; +} +.fa-envira:before { + content: "\f299"; +} +.fa-universal-access:before { + content: "\f29a"; +} +.fa-wheelchair-alt:before { + content: "\f29b"; +} +.fa-question-circle-o:before { + content: "\f29c"; +} +.fa-blind:before { + content: "\f29d"; +} +.fa-audio-description:before { + content: "\f29e"; +} +.fa-volume-control-phone:before { + content: "\f2a0"; +} +.fa-braille:before { + content: "\f2a1"; +} +.fa-assistive-listening-systems:before { + content: "\f2a2"; +} +.fa-asl-interpreting:before, +.fa-american-sign-language-interpreting:before { + content: "\f2a3"; +} +.fa-deafness:before, +.fa-hard-of-hearing:before, +.fa-deaf:before { + content: "\f2a4"; +} +.fa-glide:before { + content: "\f2a5"; +} +.fa-glide-g:before { + content: "\f2a6"; +} +.fa-signing:before, +.fa-sign-language:before { + content: "\f2a7"; +} +.fa-low-vision:before { + content: "\f2a8"; +} +.fa-viadeo:before { + content: "\f2a9"; +} +.fa-viadeo-square:before { + content: "\f2aa"; +} +.fa-snapchat:before { + content: "\f2ab"; +} +.fa-snapchat-ghost:before { + content: "\f2ac"; +} +.fa-snapchat-square:before { + content: "\f2ad"; +} +.fa-pied-piper:before { + content: "\f2ae"; +} +.fa-first-order:before { + content: "\f2b0"; +} +.fa-yoast:before { + content: "\f2b1"; +} +.fa-themeisle:before { + content: "\f2b2"; +} +.fa-google-plus-circle:before, +.fa-google-plus-official:before { + content: "\f2b3"; +} +.fa-fa:before, +.fa-font-awesome:before { + content: "\f2b4"; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} diff --git a/src/webapp/static/css/grayscale.css b/src/webapp/static/css/grayscale.css new file mode 100644 index 0000000..0a77316 --- /dev/null +++ b/src/webapp/static/css/grayscale.css @@ -0,0 +1,317 @@ +/*! + * Start Bootstrap - Grayscale v3.3.7+1 (http://startbootstrap.com/template-overviews/grayscale) + * Copyright 2013-2016 Start Bootstrap + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) + */ + +/** + * shimmed in here by charlesreid1 + * so the footer doesn't look terrible + */ +footer p { + font-size: 12px; +} +hr { + text-align: center; + width: 100px; +} +/* okay all done */ + +body { + width: 100%; + height: 100%; + font-family: "Lora", "Helvetica Neue", Helvetica, Arial, sans-serif; + color: white; + background-color: black; +} +html { + width: 100%; + height: 100%; +} +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0 0 35px; + text-transform: uppercase; + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 700; + letter-spacing: 1px; +} +p { + margin: 0 0 25px; + font-size: 18px; + line-height: 1.5; +} +@media (min-width: 768px) { + p { + margin: 0 0 35px; + font-size: 20px; + line-height: 1.6; + } +} +a { + color: #42DCA3; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +a:hover, +a:focus { + text-decoration: none; + color: #1d9b6c; +} +.light { + font-weight: 400; +} +.navbar-custom { + margin-bottom: 0; + border-bottom: 1px solid rgba(255, 255, 255, 0.3); + text-transform: uppercase; + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; + background-color: black; +} +.navbar-custom .navbar-toggle { + color: white; + background-color: rgba(255, 255, 255, 0.2); + font-size: 12px; +} +.navbar-custom .navbar-toggle:focus, +.navbar-custom .navbar-toggle:active { + outline: none; +} +.navbar-custom .navbar-brand { + font-weight: 700; +} +.navbar-custom .navbar-brand:focus { + outline: none; +} +.navbar-custom a { + color: white; +} +.navbar-custom .nav li a { + -webkit-transition: background 0.3s ease-in-out; + -moz-transition: background 0.3s ease-in-out; + transition: background 0.3s ease-in-out; +} +.navbar-custom .nav li a:hover { + color: rgba(255, 255, 255, 0.8); + outline: none; + background-color: transparent; +} +.navbar-custom .nav li a:focus, +.navbar-custom .nav li a:active { + outline: none; + background-color: transparent; +} +.navbar-custom .nav li.active { + outline: none; +} +.navbar-custom .nav li.active a { + background-color: rgba(255, 255, 255, 0.3); +} +.navbar-custom .nav li.active a:hover { + color: white; +} +@media (min-width: 768px) { + .navbar-custom { + padding: 20px 0; + border-bottom: none; + letter-spacing: 1px; + background: transparent; + -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out; + -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out; + transition: background 0.5s ease-in-out, padding 0.5s ease-in-out; + } + .navbar-custom.top-nav-collapse { + padding: 0; + background: black; + border-bottom: 1px solid rgba(255, 255, 255, 0.3); + } +} +.intro { + display: table; + width: 100%; + height: auto; + padding: 100px 0; + text-align: center; + color: white; +} +.intro .intro-body { + display: table-cell; + vertical-align: middle; +} +.intro .intro-body .brand-heading { + font-size: 40px; +} +.intro .intro-body .intro-text { + font-size: 18px; +} +@media (min-width: 768px) { + .intro { + height: 100%; + padding: 0; + } + .intro .intro-body .brand-heading { + font-size: 100px; + } + .intro .intro-body .intro-text { + font-size: 26px; + } +} +.btn-circle { + width: 70px; + height: 70px; + margin-top: 15px; + padding: 7px 16px; + border: 2px solid white; + border-radius: 100% !important; + font-size: 40px; + color: white; + background: transparent; + -webkit-transition: background 0.3s ease-in-out; + -moz-transition: background 0.3s ease-in-out; + transition: background 0.3s ease-in-out; +} +.btn-circle:hover, +.btn-circle:focus { + outline: none; + color: white; + background: rgba(255, 255, 255, 0.1); +} +.btn-circle i.animated { + -webkit-transition-property: -webkit-transform; + -webkit-transition-duration: 1s; + -moz-transition-property: -moz-transform; + -moz-transition-duration: 1s; +} +.btn-circle:hover i.animated { + -webkit-animation-name: pulse; + -moz-animation-name: pulse; + -webkit-animation-duration: 1.5s; + -moz-animation-duration: 1.5s; + -webkit-animation-iteration-count: infinite; + -moz-animation-iteration-count: infinite; + -webkit-animation-timing-function: linear; + -moz-animation-timing-function: linear; +} +@-webkit-keyframes pulse { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + -webkit-transform: scale(1.2); + transform: scale(1.2); + } + 100% { + -webkit-transform: scale(1); + transform: scale(1); + } +} +@-moz-keyframes pulse { + 0% { + -moz-transform: scale(1); + transform: scale(1); + } + 50% { + -moz-transform: scale(1.2); + transform: scale(1.2); + } + 100% { + -moz-transform: scale(1); + transform: scale(1); + } +} +.content-section { + padding-top: 100px; +} +.links-section { + color: white; + width: 100%; + padding: 50px 0; + background-color: black; +} +#map { + width: 100%; + height: 200px; + margin-top: 100px; +} +@media (min-width: 767px) { + .content-section { + padding-top: 250px; + } + .links-section { + padding: 100px 0; + } + #map { + height: 400px; + margin-top: 250px; + } +} +.btn { + text-transform: uppercase; + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 400; + -webkit-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + border-radius: 0; +} +.btn-default { + border: 1px solid #42DCA3; + color: #42DCA3; + background-color: transparent; +} +.btn-default:hover, +.btn-default:focus { + border: 1px solid #42DCA3; + outline: none; + color: black; + background-color: #42DCA3; +} +ul.banner-social-buttons { + margin-top: 0; +} +@media (max-width: 1199px) { + ul.banner-social-buttons { + margin-top: 15px; + } +} +@media (max-width: 767px) { + ul.banner-social-buttons li { + display: block; + margin-bottom: 20px; + padding: 0; + } + ul.banner-social-buttons li:last-child { + margin-bottom: 0; + } +} +footer { + padding: 50px 0; +} +footer p { + margin: 0; +} +::-moz-selection { + text-shadow: none; + background: #fcfcfc; + background: rgba(255, 255, 255, 0.2); +} +::selection { + text-shadow: none; + background: #fcfcfc; + background: rgba(255, 255, 255, 0.2); +} +img::selection { + background: transparent; +} +img::-moz-selection { + background: transparent; +} +body { + webkit-tap-highlight-color: rgba(255, 255, 255, 0.2); +} diff --git a/src/webapp/static/css/tweets.css b/src/webapp/static/css/tweets.css new file mode 100644 index 0000000..2006da2 --- /dev/null +++ b/src/webapp/static/css/tweets.css @@ -0,0 +1,49 @@ +@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono'); +@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville'); +@import url('https://fonts.googleapis.com/css?family=Roboto+Slab'); +/* + * https://stackoverflow.com/a/14676665 + * https://dev.twitter.com/web/embedded-tweets/css + */ + +blockquote.twitter-tweet { + border-color: #eee #ddd #bbb; + border-radius: 5px; + border-style: solid; + border-width: 1px; +} + +blockquote.twitter-tweet.ubuntu { + font-family: "Ubuntu Mono", "Helvetica Neue", Roboto, sans-serif; + font-size: 16px; +} + +blockquote.twitter-tweet.playfair { + font-family: "Libre Baskerville", Roboto, sans-serif; + font-size: 16px; +} + +blockquote.twitter-tweet.roboto { + font-family: "Roboto Slab", Roboto, sans-serif; + font-size: 16px; +} + +blockquote.twitter-tweet p { + font-size: 20px; + font-weight: normal; + line-height: 24px; +} + + + +blockquote.twitter-tweet a { + color: inherit; + font-weight: normal; + text-decoration: none; + outline: 0 none; +} + +blockquote.twitter-tweet a:hover, +blockquote.twitter-tweet a:focus { + text-decoration: underline; +} diff --git a/src/webapp/static/fonts/FontAwesome.otf b/src/webapp/static/fonts/FontAwesome.otf new file mode 100644 index 0000000..d4de13e Binary files /dev/null and b/src/webapp/static/fonts/FontAwesome.otf differ diff --git a/src/webapp/static/fonts/fontawesome-webfont.eot b/src/webapp/static/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000..c7b00d2 Binary files /dev/null and b/src/webapp/static/fonts/fontawesome-webfont.eot differ diff --git a/src/webapp/static/fonts/fontawesome-webfont.svg b/src/webapp/static/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..8b66187 --- /dev/null +++ b/src/webapp/static/fonts/fontawesome-webfont.svg @@ -0,0 +1,685 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/webapp/static/fonts/fontawesome-webfont.ttf b/src/webapp/static/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000..f221e50 Binary files /dev/null and b/src/webapp/static/fonts/fontawesome-webfont.ttf differ diff --git a/src/webapp/static/fonts/fontawesome-webfont.woff b/src/webapp/static/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..6e7483c Binary files /dev/null and b/src/webapp/static/fonts/fontawesome-webfont.woff differ diff --git a/src/webapp/static/fonts/fontawesome-webfont.woff2 b/src/webapp/static/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..7eb74fd Binary files /dev/null and b/src/webapp/static/fonts/fontawesome-webfont.woff2 differ diff --git a/src/webapp/static/img/attic/Apollo11ArmstrongFlag.jpg b/src/webapp/static/img/attic/Apollo11ArmstrongFlag.jpg new file mode 100644 index 0000000..5986b94 Binary files /dev/null and b/src/webapp/static/img/attic/Apollo11ArmstrongFlag.jpg differ diff --git a/src/webapp/static/img/attic/Apollo12ConradSurveyor.jpg b/src/webapp/static/img/attic/Apollo12ConradSurveyor.jpg new file mode 100644 index 0000000..4069817 Binary files /dev/null and b/src/webapp/static/img/attic/Apollo12ConradSurveyor.jpg differ diff --git a/src/webapp/static/img/attic/apollothumb.jpg b/src/webapp/static/img/attic/apollothumb.jpg new file mode 100644 index 0000000..427887f Binary files /dev/null and b/src/webapp/static/img/attic/apollothumb.jpg differ diff --git a/src/webapp/static/img/attic/author.jpg b/src/webapp/static/img/attic/author.jpg new file mode 100644 index 0000000..103db93 Binary files /dev/null and b/src/webapp/static/img/attic/author.jpg differ diff --git a/src/webapp/static/img/attic/ginsbergthumb.jpg b/src/webapp/static/img/attic/ginsbergthumb.jpg new file mode 100644 index 0000000..bfd2daa Binary files /dev/null and b/src/webapp/static/img/attic/ginsbergthumb.jpg differ diff --git a/src/webapp/static/img/attic/miltonthumb.jpg b/src/webapp/static/img/attic/miltonthumb.jpg new file mode 100644 index 0000000..8f78f2b Binary files /dev/null and b/src/webapp/static/img/attic/miltonthumb.jpg differ diff --git a/src/webapp/static/img/attic/watergatethumb.jpg b/src/webapp/static/img/attic/watergatethumb.jpg new file mode 100644 index 0000000..3da4bdc Binary files /dev/null and b/src/webapp/static/img/attic/watergatethumb.jpg differ diff --git a/src/webapp/static/img/intro-bg-foyer.jpg b/src/webapp/static/img/intro-bg-foyer.jpg new file mode 100644 index 0000000..3910b52 Binary files /dev/null and b/src/webapp/static/img/intro-bg-foyer.jpg differ diff --git a/src/webapp/static/img/intro-bg-garage.jpg b/src/webapp/static/img/intro-bg-garage.jpg new file mode 100644 index 0000000..a366342 Binary files /dev/null and b/src/webapp/static/img/intro-bg-garage.jpg differ diff --git a/src/webapp/static/img/intro-bg-mist.jpg b/src/webapp/static/img/intro-bg-mist.jpg new file mode 100644 index 0000000..457e922 Binary files /dev/null and b/src/webapp/static/img/intro-bg-mist.jpg differ diff --git a/src/webapp/static/img/intro-bg-original.jpg b/src/webapp/static/img/intro-bg-original.jpg new file mode 100644 index 0000000..de06b29 Binary files /dev/null and b/src/webapp/static/img/intro-bg-original.jpg differ diff --git a/src/webapp/static/img/intro-bg-rigging.jpg b/src/webapp/static/img/intro-bg-rigging.jpg new file mode 100644 index 0000000..ac457b9 Binary files /dev/null and b/src/webapp/static/img/intro-bg-rigging.jpg differ diff --git a/src/webapp/static/img/links-bg-books.jpg b/src/webapp/static/img/links-bg-books.jpg new file mode 100644 index 0000000..496c44f Binary files /dev/null and b/src/webapp/static/img/links-bg-books.jpg differ diff --git a/src/webapp/static/img/links-bg-gears.jpg b/src/webapp/static/img/links-bg-gears.jpg new file mode 100644 index 0000000..2d48b3c Binary files /dev/null and b/src/webapp/static/img/links-bg-gears.jpg differ diff --git a/src/webapp/static/img/links-bg-mast.jpg b/src/webapp/static/img/links-bg-mast.jpg new file mode 100644 index 0000000..806cd53 Binary files /dev/null and b/src/webapp/static/img/links-bg-mast.jpg differ diff --git a/src/webapp/static/img/links-bg-original.jpg b/src/webapp/static/img/links-bg-original.jpg new file mode 100644 index 0000000..9d109b8 Binary files /dev/null and b/src/webapp/static/img/links-bg-original.jpg differ diff --git a/src/webapp/static/img/links-bg-streetlamp.jpg b/src/webapp/static/img/links-bg-streetlamp.jpg new file mode 100644 index 0000000..0e5a906 Binary files /dev/null and b/src/webapp/static/img/links-bg-streetlamp.jpg differ diff --git a/src/webapp/static/js/bootstrap.min.js b/src/webapp/static/js/bootstrap.min.js new file mode 100644 index 0000000..9bcd2fc --- /dev/null +++ b/src/webapp/static/js/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.3.7 (http://getbootstrap.com) + * Copyright 2011-2016 Twitter, Inc. + * Licensed under the MIT license + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file diff --git a/src/webapp/static/js/grayscale.js b/src/webapp/static/js/grayscale.js new file mode 100644 index 0000000..f0b66b5 --- /dev/null +++ b/src/webapp/static/js/grayscale.js @@ -0,0 +1,36 @@ +/*! + * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) + * Code licensed under the Apache License v2.0. + * For details, see http://www.apache.org/licenses/LICENSE-2.0. + */ + +// jQuery to collapse the navbar on scroll +/* +function collapseNavbar() { + if ($(".navbar").offset().top > 50) { + $(".navbar-fixed-top").addClass("top-nav-collapse"); + } else { + $(".navbar-fixed-top").removeClass("top-nav-collapse"); + } +} + +$(window).scroll(collapseNavbar); +$(document).ready(collapseNavbar); +*/ + +// jQuery for page scrolling feature - requires jQuery Easing plugin +$(function() { + $('a.page-scroll').bind('click', function(event) { + var $anchor = $(this); + $('html, body').stop().animate({ + scrollTop: $($anchor.attr('href')).offset().top + }, 1500, 'easeInOutExpo'); + event.preventDefault(); + }); +}); + +// Closes the Responsive Menu on Menu Item Click +$('.navbar-collapse ul li a').click(function() { + $(this).closest('.collapse').collapse('toggle'); +}); + diff --git a/src/webapp/static/js/grayscale.min.js b/src/webapp/static/js/grayscale.min.js new file mode 100644 index 0000000..c303694 --- /dev/null +++ b/src/webapp/static/js/grayscale.min.js @@ -0,0 +1,6 @@ +/*! + * Start Bootstrap - Grayscale v3.3.7+1 (http://startbootstrap.com/template-overviews/grayscale) + * Copyright 2013-2016 Start Bootstrap + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) + */ +function collapseNavbar(){$(".navbar").offset().top>50?$(".navbar-fixed-top").addClass("top-nav-collapse"):$(".navbar-fixed-top").removeClass("top-nav-collapse")}function init(){var e={zoom:15,center:new google.maps.LatLng(40.67,(-73.94)),disableDefaultUI:!0,scrollwheel:!1,draggable:!1,styles:[{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]}]},t=document.getElementById("map");map=new google.maps.Map(t,e);var l="img/map-marker.png",o=new google.maps.LatLng(40.67,(-73.94));new google.maps.Marker({position:o,map:map,icon:l})}$(window).scroll(collapseNavbar),$(document).ready(collapseNavbar),$(function(){$("a.page-scroll").bind("click",function(e){var t=$(this);$("html, body").stop().animate({scrollTop:$(t.attr("href")).offset().top},1500,"easeInOutExpo"),e.preventDefault()})}),$(".navbar-collapse ul li a").click(function(){$(this).closest(".collapse").collapse("toggle")});var map=null;google.maps.event.addDomListener(window,"load",init),google.maps.event.addDomListener(window,"resize",function(){map.setCenter(new google.maps.LatLng(40.67,(-73.94)))}); \ No newline at end of file diff --git a/src/webapp/static/js/jquery.min.js b/src/webapp/static/js/jquery.min.js new file mode 100644 index 0000000..e836475 --- /dev/null +++ b/src/webapp/static/js/jquery.min.js @@ -0,0 +1,5 @@ +/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",K),a.removeEventListener("load",K)):(d.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",K),a.addEventListener("load",K);else{d.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll("left")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst="0"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName("body")[0],c&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b},N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0; +}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\w:-]+)/,_=/^$|\/(?:java|ecma)script/i,aa=/^\s+/,ba="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ca(a){var b=ba.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML="
a",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:l.htmlSerialize?[0,"",""]:[1,"X
","
"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?""!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&fa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n("