diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 8bc177f..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,96 +0,0 @@ -name: CI - -on: - pull_request: - push: - branches: - - master - -jobs: - test: - - runs-on: ubuntu-18.04 - - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: "3.7" - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('dev-requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install dev dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -r dev-requirements.txt - - name: "Run tests" - run: python -m pytest --cov --cov-config=.coveragerc tests/ - env: - PYTHONDEVMODE: 1 - - run: python -m coverage html - - uses: actions/upload-artifact@v1 - with: - name: "HTML coverage report" - path: htmlcov - - - lint: - - runs-on: ubuntu-18.04 - - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: "3.7" - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('dev-requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install tools - run: | - python -m pip install --upgrade pip - python -m pip install -r dev-requirements.txt - - run: mypy --config-file=mypy.ini __app__ - - run: black --check . - - - deploy: - - if: github.event_name == 'push' && github.repository == 'microsoft/pvscbot' && github.ref == 'refs/heads/master' - needs: [test, lint] - runs-on: ubuntu-18.04 - env: - APP_LOCATION: __app__ - PYTHON_VERSION: "3.7" - - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: ${{ env.PYTHON_VERSION }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('dev-requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: 'Run pip' - shell: bash - run: | - # If your function app project is not located in your repository's root - # Please change your directory for pip in pushd - pushd ${{ env.APP_LOCATION }} - python -m pip install --upgrade pip - pip install -r requirements.txt --target=".python_packages/lib/site-packages" - popd - - uses: Azure/functions-action@v1 - with: - app-name: pvscbot-functions - package: ${{ env.APP_LOCATION }} - publish-profile: ${{ secrets.SCM_CREDENTIALS }} diff --git a/LICENSE b/LICENSE index 2107107..c7cb0ea 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,136 @@ - MIT License - - Copyright (c) Microsoft Corporation. All rights reserved. - - 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: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - 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 +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator and +subsequent owner(s) (each and all, an "owner") of an original work of authorship +and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for the +purpose of contributing to a commons of creative, cultural and scientific works +("Commons") that the public can reliably and without fear of later claims of +infringement build upon, modify, incorporate in other works, reuse and +redistribute as freely as possible in any form whatsoever and for any purposes, +including without limitation commercial purposes. These owners may contribute to +the Commons to promote the ideal of a free culture and the further production of +creative, cultural and scientific works, or to gain reputation or greater +distribution for their Work in part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any expectation of +additional consideration or compensation, the person associating CC0 with a Work +(the "Affirmer"), to the extent that he or she is an owner of Copyright and +Related Rights in the Work, voluntarily elects to apply CC0 to the Work and +publicly distribute the Work under its terms, with knowledge of his or her +Copyright and Related Rights in the Work and the meaning and intended legal +effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright and + Related Rights"). Copyright and Related Rights include, but are not limited + to, the following: + +i. the right to reproduce, adapt, distribute, perform, display, communicate, and +translate a Work; ii. moral rights retained by the original author(s) and/or +performer(s); iii. publicity and privacy rights pertaining to a person's image +or likeness depicted in a Work; iv. rights protecting against unfair competition +in regards to a Work, subject to the limitations in paragraph 4(a), below; v. +rights protecting the extraction, dissemination, use and reuse of data in a +Work; vi. database rights (such as those arising under Directive 96/9/EC of the +European Parliament and of the Council of 11 March 1996 on the legal protection +of databases, and under any national implementation thereof, including any +amended or successor version of such directive); and vii. other similar, +equivalent or corresponding rights throughout the world based on applicable law +or treaty, and any national implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention of, + applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and + unconditionally waives, abandons, and surrenders all of Affirmer's Copyright + and Related Rights and associated claims and causes of action, whether now + known or unknown (including existing as well as future claims and causes of + action), in the Work (i) in all territories worldwide, (ii) for the maximum + duration provided by applicable law or treaty (including future time + extensions), (iii) in any current or future medium and for any number of + copies, and (iv) for any purpose whatsoever, including without limitation + commercial, advertising or promotional purposes (the "Waiver"). Affirmer + makes the Waiver for the benefit of each member of the public at large and to + the detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the quiet + enjoyment of the Work by the public as contemplated by Affirmer's express . + +3. Public License Fallback. Should any part of the Waiver for any reason be + judged legally invalid or ineffective under applicable law, then the Waiver + shall be preserved to the maximum extent permitted taking into account + Affirmer's express . In addition, to the extent the Waiver is so judged + Affirmer hereby grants to each affected person a royalty-free, non + transferable, non sublicensable, non exclusive, irrevocable and unconditional + license to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) in any + current or future medium and for any number of copies, and (iv) for any + purpose whatsoever, including without limitation commercial, advertising or + promotional purposes (the "License"). The License shall be deemed effective + as of the date CC0 was applied by Affirmer to the Work. Should any part of + the License for any reason be judged legally invalid or ineffective under + applicable law, such partial invalidity or ineffectiveness shall not + invalidate the remainder of the License, and in such case Affirmer hereby + affirms that he or she will not (i) exercise any of his or her remaining + Copyright and Related Rights in the Work or (ii) assert any associated claims + and causes of action with respect to the Work, in either case contrary to + +4. Limitations and Disclaimers. + +a. No trademark or patent rights held by Affirmer are waived, abandoned, +surrendered, licensed or otherwise affected by this document. b. Affirmer offers +the Work as-is and makes no representations or warranties of any kind concerning +the Work, express, implied, statutory or otherwise, including without limitation +warranties of title, merchantability, fitness for a particular purpose, non +infringement, or the absence of latent or other defects, accuracy, or the +present or absence of errors, whether or not discoverable, all to the greatest +extent permissible under applicable law. c. Affirmer disclaims responsibility +for clearing rights of other persons that may apply to the Work or any use +thereof, including without limitation any person's Copyright and Related Rights +in the Work. Further, Affirmer disclaims responsibility for obtaining any +necessary consents, permissions or other rights required for any use of the +Work. d. Affirmer understands and acknowledges that Creative Commons is not a +party to this document and has no duty or obligation with respect to this CC0 or +use of the Work. + +--- + +Note: The above license applies only to the modifications made by PlayForm to +the original work. The original work is licensed under the following licenses +and is subject to their terms and conditions: + +MIT License + +Copyright (c) Microsoft Corporation. All rights reserved. + +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: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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 diff --git a/README.md b/README.md deleted file mode 100644 index 566153a..0000000 --- a/README.md +++ /dev/null @@ -1,75 +0,0 @@ -[![CI](https://github.com/microsoft/pvscbot/workflows/CI/badge.svg?branch=master&event=push "CI status badge")](https://github.com/microsoft/pvscbot/actions?query=branch%3Amaster+event%3Apush+workflow%3ACI) - -# Purpose - -This bot exists to automate the development process/workflow for -https://github.com/microsoft/vscode-python. It also acts as a simple demo of -a GitHub bot running on Azure. - -This bot is what is known as an OAuth app and is not a GitHub app. The -[differences](https://developer.github.com/apps/differences-between-apps/) come -down to simplicity in authentication and how widely can the bot be deployed. Since -this bot is only deployed for a single repository and the original author was -intimately familiar with OAuth apps that was the route taken. - -This bot also predates [GitHub Actions](https://developer.github.com/actions/) -being released. As such some things this bot does may be easier to do as an action. - -Currently the bot will do the following things for you: - -1. Add/remove the `classify` label based on whether any other status label is set. -1. When an issue is closed, remove any status-related labels, e.g. `needs PR` - (with the idea that if an issue is re-opened then it needs to be re-evaluated - as to why the issue is still open). - -# Deployment - -## Generically - -### On the deployment/hosting side - -You must set two environment variables for the bot to function: - -1. `GH_SECRET`: [secret between GitHub and your bot](https://developer.github.com/webhooks/securing/#setting-your-secret-token). -1. `GH_AUTH`: [Auth token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) for the bot to make changes in your repo. - -The [shared secret](https://developer.github.com/webhooks/securing/#setting-your-secret-token) -between GitHub and your bot is used to verify that the webhook payload actually -originated from GitHub for your repository and isn't malicious. This is important -as a malicious user could send fake webhook payloads to your bot and cause it to -make changes on the malicious user's behalf. - -The [personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) -is to empower your bot to make changes to your repo on your behalf. You can use -a token from your personal GitHub account or create a fake bot account. Make sure -the token has the following scopes/permissions: - -1.`repo:public_repo` (if your repo is public; adjust accordingly for your needs) - -### On the GitHub side - -When [creating the webhook](https://developer.github.com/webhooks/creating/) you -need to specify what events to send to your endpoint. This bot supports the -following events: - -1. `Issues` - -## Azure - -The bot is currently written to support -[Azure Functions](https://docs.microsoft.com/en-us/azure/azure-functions/) -running on Python 3.7. - -# Contributing - -This project welcomes contributions and suggestions. Most contributions require you to agree to a -Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us -the rights to use your contribution. For details, visit https://cla.microsoft.com. - -When you submit a pull request, a CLA-bot will automatically determine whether you need to provide -a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions -provided by the bot. You will only need to do this once across all repos using our CLA. - -This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). -For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or -contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index 8a5d128..0000000 --- a/SECURITY.md +++ /dev/null @@ -1,41 +0,0 @@ - - -## Security - -Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). - -If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)) of a security vulnerability, please report it to us as described below. - -## Reporting Security Issues - -**Please do not report security vulnerabilities through public GitHub issues.** - -Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report). - -If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). - -You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). - -Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: - - * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) - * Full paths of source file(s) related to the manifestation of the issue - * The location of the affected source code (tag/branch/commit or direct URL) - * Any special configuration required to reproduce the issue - * Step-by-step instructions to reproduce the issue - * Proof-of-concept or exploit code (if possible) - * Impact of the issue, including how an attacker might exploit the issue - -This information will help us triage your report more quickly. - -If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs. - -## Preferred Languages - -We prefer all communications to be in English. - -## Policy - -Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). - - diff --git a/__app__/github/function.json b/__app__/github/function.json index 9dc8d3f..d506eb3 100644 --- a/__app__/github/function.json +++ b/__app__/github/function.json @@ -1,19 +1,17 @@ { - "scriptFile": "__init__.py", - "bindings": [ - { - "authLevel": "function", - "type": "httpTrigger", - "direction": "in", - "name": "req", - "methods": [ - "post" - ] - }, - { - "type": "http", - "direction": "out", - "name": "$return" - } - ] + "scriptFile": "__init__.py", + "bindings": [ + { + "authLevel": "function", + "type": "httpTrigger", + "direction": "in", + "name": "req", + "methods": ["post"] + }, + { + "type": "http", + "direction": "out", + "name": "$return" + } + ] } diff --git a/__app__/host.json b/__app__/host.json index f4458ea..f9ec075 100644 --- a/__app__/host.json +++ b/__app__/host.json @@ -1,7 +1,7 @@ { - "version": "2.0", - "extensionBundle": { - "id": "Microsoft.Azure.Functions.ExtensionBundle", - "version": "[1.*, 2.0.0)" - } + "version": "2.0", + "extensionBundle": { + "id": "Microsoft.Azure.Functions.ExtensionBundle", + "version": "[1.*, 2.0.0)" + } } diff --git a/__app__/requirements.txt b/__app__/requirements.txt index 75b05ae..a955514 100644 --- a/__app__/requirements.txt +++ b/__app__/requirements.txt @@ -4,41 +4,204 @@ # # pip-compile --generate-hashes # -aiohttp==3.6.2 \ - --hash=sha256:1e984191d1ec186881ffaed4581092ba04f7c61582a177b187d3a2f07ed9719e \ - --hash=sha256:259ab809ff0727d0e834ac5e8a283dc5e3e0ecc30c4d80b3cd17a4139ce1f326 \ - --hash=sha256:2f4d1a4fdce595c947162333353d4a44952a724fba9ca3205a3df99a33d1307a \ - --hash=sha256:32e5f3b7e511aa850829fbe5aa32eb455e5534eaa4b1ce93231d00e2f76e5654 \ - --hash=sha256:344c780466b73095a72c616fac5ea9c4665add7fc129f285fbdbca3cccf4612a \ - --hash=sha256:460bd4237d2dbecc3b5ed57e122992f60188afe46e7319116da5eb8a9dfedba4 \ - --hash=sha256:4c6efd824d44ae697814a2a85604d8e992b875462c6655da161ff18fd4f29f17 \ - --hash=sha256:50aaad128e6ac62e7bf7bd1f0c0a24bc968a0c0590a726d5a955af193544bcec \ - --hash=sha256:6206a135d072f88da3e71cc501c59d5abffa9d0bb43269a6dcd28d66bfafdbdd \ - --hash=sha256:65f31b622af739a802ca6fd1a3076fd0ae523f8485c52924a89561ba10c49b48 \ - --hash=sha256:ae55bac364c405caa23a4f2d6cfecc6a0daada500274ffca4a9230e7129eac59 \ - --hash=sha256:b778ce0c909a2653741cb4b1ac7015b5c130ab9c897611df43ae6a58523cb965 -async-timeout==3.0.1 \ - --hash=sha256:0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f \ - --hash=sha256:4291ca197d287d274d0b6cb5d6f8f8f82d434ed288f962539ff18cc9012f9ea3 \ +aiohappyeyeballs==2.6.1 \ + --hash=sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558 \ + --hash=sha256:f349ba8f4b75cb25c99c5c2d84e997e485204d2902a9597802b0371f09331fb8 + # via aiohttp +aiohttp==3.11.0b0 \ + --hash=sha256:0799d232ae388070610d03a1f6baf4c00d61014c560e96620645fceb3f90a033 \ + --hash=sha256:0e3c69ec0e130f2d10cb3a675c941ae8937137be50bc271d08db3433c6a38497 \ + --hash=sha256:12c7fc1f9c3585912eb5fa11b96940f78a48c0ddcb236659486f017b6f1c2131 \ + --hash=sha256:14f278c5cd92722c5626b45a62d3fc2fc4a0b0ecd9e205a7cf85b0384ea0e22b \ + --hash=sha256:1fba27b27cac4fcdb30b76104b33be1a581a7c6ccd70bb2a1b8a535a2373e6ec \ + --hash=sha256:210e2f211da6ae9b5f47b39d6e5952a31536c78a5dce580f80ec5640ded5102b \ + --hash=sha256:22a6a36b1f6950c4b559173157261abf8dfb6837887f3d3a866c142a55fd57e5 \ + --hash=sha256:2821c4c75162ed1ba3dc56f344c33e37e6bbe15d995362596820276b0cb7d03c \ + --hash=sha256:28c35f7c0de807dd8265c3b972143d7c148f40e0ffbf6b15d5c1a95be4be2551 \ + --hash=sha256:292308b184321e34c095437ee3a1251e7bd44c7ba43544540677a547f6492964 \ + --hash=sha256:29b25b030477dce59630af9891cddb87b5b09b07f240c20364cc7dd3f66b227a \ + --hash=sha256:2b553a9698007aaf6e698bb5ee0ad8803bcb67e201d36a2f5527820ee5d03ee6 \ + --hash=sha256:38bfd03fc060bd4640be3493b85a368ff897f5ef94a9e457140473db1fc6cec5 \ + --hash=sha256:39c347ecb59bc3a4d04922b45115e3fb3706fe3a5cd7470642618e30da5ea635 \ + --hash=sha256:3b2b0ca13d29008a8abc87d9a91d0748fe73f9a98885b5f80afdc7b1f326c0b5 \ + --hash=sha256:3bcfe6eedb2292bc9256c85420d7546fb378f9226cb82750087edc5cea1246e4 \ + --hash=sha256:3db7857dbb2eeb9f74c4b8df4177bbf5b5df3c7c2c5868d130c6e5d05871ea25 \ + --hash=sha256:3f01dae803f9e0d3bfd6158d8f9e54b022f1621ae2401482c4510377f199e6d1 \ + --hash=sha256:4196a811efb8fa11b50699fae58151046bb56404cf2e2d8613a03a174b5882c5 \ + --hash=sha256:46e966257a0b656f46bee0016db4815b51a577b11ce1363434ac1ed48cd1ebef \ + --hash=sha256:476d13691ebde61ffba87e30e5564409ca787244b034a702514597f0c6852ae8 \ + --hash=sha256:496071b235d2bc92613012d3c9024b2caf8aa1a9bbcc08ed5673c7fb103ddc21 \ + --hash=sha256:4a5231d4003e0efdb7bb00e914b13ee4f7c4caa300c6b5fab29c0e597132fec4 \ + --hash=sha256:4b304fd9ae156fdcb3a085589bcd0c551807d46843aacf30706e67176ca874e9 \ + --hash=sha256:4dcb957a52c9a490db5c1497a8271ecfa89e37382021c881c31494749d14a277 \ + --hash=sha256:4df9f6fa684e732777fff4e2c56d8390ca73317c01c1b3f19f5f70d24710c70f \ + --hash=sha256:5652f2a7679941f835b2b1cc3f6d9a32a48beff156b91d8ff534e3cccb5ff0f3 \ + --hash=sha256:56b6a440809f3c42d67266c9e18ee859895a93b7020d17f8dc8484000925feeb \ + --hash=sha256:5b117e16bea7d7f97e8bf9fe4210b29f342dbb7d1b1f43ba22027ea324e0740b \ + --hash=sha256:5d275478927272b414162e741812ac6db2667ffbdf52a20c525b096329de91f6 \ + --hash=sha256:5ef4081eee2a2e9a0fb674372829749d3e0f9429b24d922f06d1a2b08dad573f \ + --hash=sha256:5f2f0bee085d85e8e34edebd1fa64a13301a7f6f696628b04fcb1c8dc4a42592 \ + --hash=sha256:600b1aae1ea3e5028b879ad8421284e01fa7095ef17cc35f7af6145ccd8be436 \ + --hash=sha256:6123f727566875e17856a63800d7b163767ee5817019c89ecc660936d14c779a \ + --hash=sha256:616e9851deb7ededfbcfb3656e74c5a398fa68217432ab9cd9bd23e4f86ee999 \ + --hash=sha256:645855f33db63d6e8751b9560f04039f42695c05edaaa7bc411ad2b5d3970df7 \ + --hash=sha256:6bf9dcee30755d2462194ccc1bdc3b25093708d7820f2f0db7d79ff42f80bbf3 \ + --hash=sha256:6c2190fbe8d5c385d7f26098200d49e6ea53558f489010acb341ab4a430345cf \ + --hash=sha256:6e6b1413450dceb8102447bebaa1ab20185c9f2d48f741a00737feffed1d395e \ + --hash=sha256:71d3381b2a88b203a3fd6e22b52f840194145f096270c3fe03c981018b04eabe \ + --hash=sha256:71df9704012b073b2a4acef05112ab94d62d64e58fbf1649614165c27f057b45 \ + --hash=sha256:746f5bf9e0a40358b8f1037e9ed1bf14fba166fe4c72fef3353eb369d21918ba \ + --hash=sha256:79be795912dbca15134db4ca0639a5b68933850089dc159a5534b4a9c9087573 \ + --hash=sha256:7cba3a110d9a7f1bc3ab09063e85a7952ba77fb799433bc94d231a618eed4e86 \ + --hash=sha256:7d8070718567ed8651f96c96cdb9e61069e84c251fcda93d63ddb096e9db772d \ + --hash=sha256:80528481021e4ed96b713867eb902429ad818c42a3f34dfa8f6d570f4816cb2f \ + --hash=sha256:81829046af53ddc66e5bb908e80a7ca2c617983d70f682ae95c5ab4969f1996e \ + --hash=sha256:818ea09815f042b24be4bc6ed90b3520560f85190d89bbcecbd7231a27b571c2 \ + --hash=sha256:81a6035f9070ea1e0fae796f130b2ad3e7306e397cc0da686b9fc725745ddb8f \ + --hash=sha256:83bc0830ffb9c0a9f036e72c6ff79a9e86e5dcb8a93c4a82d59e54d3071f5a95 \ + --hash=sha256:83c06ee2d5193f79a0ac96b59f3b0a159479a1e8f3c56eafcac43d3a6c0dcd61 \ + --hash=sha256:8470354e9ac80deacba37f0ff8c608a7cad577717175fadaba0af26f0dfe2043 \ + --hash=sha256:8646b68aaed9d583b284d70bec4d6611e6b6e3876f78f58eb7c4d9b79a880698 \ + --hash=sha256:8d900aef5e52ce41d99ec346c35b0b0611bf131864aaaa4e7985ca1fca32eec7 \ + --hash=sha256:907283ecd7d25fbaa51798f5555a5f30ea82de18737aed0c706a0fce3797470b \ + --hash=sha256:91022d535531e1865e43e74b4b843d9a243d8cd4de67b7bc8471917856205b7f \ + --hash=sha256:975ddf5443cd1afeac66c7f6a998ed8a28ed8177d6262c96a4af2b6c384ad149 \ + --hash=sha256:9a0701f4d34c1cf5c1f56b9b0bfa8af7bbf4c0c0e05279b4a255936491e5e23f \ + --hash=sha256:a227376e1b872ef5bae328926aa1d3587cfc26a3ee83120b1c4abac63aa42af8 \ + --hash=sha256:a720fc8f51430590ef60ccc2d91b41bb3706cd136580e11ff65cf5ddf776c82f \ + --hash=sha256:b2c478ceb9c1fbfffdaca481a9dcbe3db9eca273f8e7e6662b16c9bb4308cb89 \ + --hash=sha256:b38f31546e0b0e95495b2ab98a7d607fa0c9812e760fa4ea84dce554083c51f6 \ + --hash=sha256:c74eadbd96c379b7193141edf5596004a616cf4252bfa8bae0a2f2608658470c \ + --hash=sha256:cba137225dbfdd3223bd8b7cfb1965ba8bc90fc3f5f04d22051eb0cae3282378 \ + --hash=sha256:d1fd61883ec0e2275028ab2bc0261e41910acbe34727867350ebdee97ee0e2e1 \ + --hash=sha256:d25816c118033708065b935d8a1f1e0dfa43142b98a261a06a26e484a9980328 \ + --hash=sha256:e7aa0cf10196b4ff80ff78e16ffa43fa0a201b5546f1cb8f1489ff57b48b803c \ + --hash=sha256:ebc4019a9148a87fd45d82d943882764d60d3cec6f0cd2717916eb88c7c618b1 \ + --hash=sha256:ef6a986393b7b845a1b9dac7da59fd89c6196a222d61f32c563d8b6111fb4245 \ + --hash=sha256:ef9332544586ff73bbbe6faf07013b7fb75990e6a5ae3bf9ed89bd93402c46aa \ + --hash=sha256:f102a1da8bbc7d60514af17d429f5fb1554837e6615ec149c5bc54b4674cba9b \ + --hash=sha256:f13f3c61c6591e04668c32b33987aa3956026a54d709b839e53ab852cd29701c \ + --hash=sha256:f53d81553b9f19e7b3f13d6c421a5643013c2d88e312239eb337c5b01aa87216 \ + --hash=sha256:f9cf82ba8a535076febdf7a383795789a4a920e7f48c3a5f5601c53b6f77e403 \ + --hash=sha256:fa71751995146fc33a82f8e08be328a2df10992d0a5da5bc83f4bb33c9ad3120 \ + --hash=sha256:fb11adf496bfe415a8f80528d628b8db4e80b65ad1e55102e483e046ccb690da + # via -r __app__/requirements.in +aiosignal==1.3.2 \ + --hash=sha256:45cde58e409a301715980c2b01d0c28bdde3770d8290b5eb2173759d9acb31a5 \ + --hash=sha256:a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54 + # via aiohttp +async-timeout==4.0.3 \ + --hash=sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f \ + --hash=sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028 # via aiohttp attrs==19.3.0 \ --hash=sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c \ - --hash=sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72 \ - # via aiohttp -chardet==3.0.4 \ - --hash=sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae \ - --hash=sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691 \ + --hash=sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72 # via aiohttp +frozenlist==1.5.0 \ + --hash=sha256:000a77d6034fbad9b6bb880f7ec073027908f1b40254b5d6f26210d2dab1240e \ + --hash=sha256:03d33c2ddbc1816237a67f66336616416e2bbb6beb306e5f890f2eb22b959cdf \ + --hash=sha256:04a5c6babd5e8fb7d3c871dc8b321166b80e41b637c31a995ed844a6139942b6 \ + --hash=sha256:0996c66760924da6e88922756d99b47512a71cfd45215f3570bf1e0b694c206a \ + --hash=sha256:0cc974cc93d32c42e7b0f6cf242a6bd941c57c61b618e78b6c0a96cb72788c1d \ + --hash=sha256:0f253985bb515ecd89629db13cb58d702035ecd8cfbca7d7a7e29a0e6d39af5f \ + --hash=sha256:11aabdd62b8b9c4b84081a3c246506d1cddd2dd93ff0ad53ede5defec7886b28 \ + --hash=sha256:12f78f98c2f1c2429d42e6a485f433722b0061d5c0b0139efa64f396efb5886b \ + --hash=sha256:140228863501b44b809fb39ec56b5d4071f4d0aa6d216c19cbb08b8c5a7eadb9 \ + --hash=sha256:1431d60b36d15cda188ea222033eec8e0eab488f39a272461f2e6d9e1a8e63c2 \ + --hash=sha256:15538c0cbf0e4fa11d1e3a71f823524b0c46299aed6e10ebb4c2089abd8c3bec \ + --hash=sha256:15b731db116ab3aedec558573c1a5eec78822b32292fe4f2f0345b7f697745c2 \ + --hash=sha256:17dcc32fc7bda7ce5875435003220a457bcfa34ab7924a49a1c19f55b6ee185c \ + --hash=sha256:1893f948bf6681733aaccf36c5232c231e3b5166d607c5fa77773611df6dc336 \ + --hash=sha256:189f03b53e64144f90990d29a27ec4f7997d91ed3d01b51fa39d2dbe77540fd4 \ + --hash=sha256:1a8ea951bbb6cacd492e3948b8da8c502a3f814f5d20935aae74b5df2b19cf3d \ + --hash=sha256:1b96af8c582b94d381a1c1f51ffaedeb77c821c690ea5f01da3d70a487dd0a9b \ + --hash=sha256:1e76bfbc72353269c44e0bc2cfe171900fbf7f722ad74c9a7b638052afe6a00c \ + --hash=sha256:2150cc6305a2c2ab33299453e2968611dacb970d2283a14955923062c8d00b10 \ + --hash=sha256:226d72559fa19babe2ccd920273e767c96a49b9d3d38badd7c91a0fdeda8ea08 \ + --hash=sha256:237f6b23ee0f44066219dae14c70ae38a63f0440ce6750f868ee08775073f942 \ + --hash=sha256:29d94c256679247b33a3dc96cce0f93cbc69c23bf75ff715919332fdbb6a32b8 \ + --hash=sha256:2b5e23253bb709ef57a8e95e6ae48daa9ac5f265637529e4ce6b003a37b2621f \ + --hash=sha256:2d0da8bbec082bf6bf18345b180958775363588678f64998c2b7609e34719b10 \ + --hash=sha256:2f3f7a0fbc219fb4455264cae4d9f01ad41ae6ee8524500f381de64ffaa077d5 \ + --hash=sha256:30c72000fbcc35b129cb09956836c7d7abf78ab5416595e4857d1cae8d6251a6 \ + --hash=sha256:31115ba75889723431aa9a4e77d5f398f5cf976eea3bdf61749731f62d4a4a21 \ + --hash=sha256:31a9ac2b38ab9b5a8933b693db4939764ad3f299fcaa931a3e605bc3460e693c \ + --hash=sha256:366d8f93e3edfe5a918c874702f78faac300209a4d5bf38352b2c1bdc07a766d \ + --hash=sha256:374ca2dabdccad8e2a76d40b1d037f5bd16824933bf7bcea3e59c891fd4a0923 \ + --hash=sha256:44c49271a937625619e862baacbd037a7ef86dd1ee215afc298a417ff3270608 \ + --hash=sha256:45e0896250900b5aa25180f9aec243e84e92ac84bd4a74d9ad4138ef3f5c97de \ + --hash=sha256:498524025a5b8ba81695761d78c8dd7382ac0b052f34e66939c42df860b8ff17 \ + --hash=sha256:50cf5e7ee9b98f22bdecbabf3800ae78ddcc26e4a435515fc72d97903e8488e0 \ + --hash=sha256:52ef692a4bc60a6dd57f507429636c2af8b6046db8b31b18dac02cbc8f507f7f \ + --hash=sha256:561eb1c9579d495fddb6da8959fd2a1fca2c6d060d4113f5844b433fc02f2641 \ + --hash=sha256:5a3ba5f9a0dfed20337d3e966dc359784c9f96503674c2faf015f7fe8e96798c \ + --hash=sha256:5b6a66c18b5b9dd261ca98dffcb826a525334b2f29e7caa54e182255c5f6a65a \ + --hash=sha256:5c28f4b5dbef8a0d8aad0d4de24d1e9e981728628afaf4ea0792f5d0939372f0 \ + --hash=sha256:5d7f5a50342475962eb18b740f3beecc685a15b52c91f7d975257e13e029eca9 \ + --hash=sha256:6321899477db90bdeb9299ac3627a6a53c7399c8cd58d25da094007402b039ab \ + --hash=sha256:6482a5851f5d72767fbd0e507e80737f9c8646ae7fd303def99bfe813f76cf7f \ + --hash=sha256:666534d15ba8f0fda3f53969117383d5dc021266b3c1a42c9ec4855e4b58b9d3 \ + --hash=sha256:683173d371daad49cffb8309779e886e59c2f369430ad28fe715f66d08d4ab1a \ + --hash=sha256:6e9080bb2fb195a046e5177f10d9d82b8a204c0736a97a153c2466127de87784 \ + --hash=sha256:73f2e31ea8dd7df61a359b731716018c2be196e5bb3b74ddba107f694fbd7604 \ + --hash=sha256:7437601c4d89d070eac8323f121fcf25f88674627505334654fd027b091db09d \ + --hash=sha256:76e4753701248476e6286f2ef492af900ea67d9706a0155335a40ea21bf3b2f5 \ + --hash=sha256:7707a25d6a77f5d27ea7dc7d1fc608aa0a478193823f88511ef5e6b8a48f9d03 \ + --hash=sha256:7948140d9f8ece1745be806f2bfdf390127cf1a763b925c4a805c603df5e697e \ + --hash=sha256:7a1a048f9215c90973402e26c01d1cff8a209e1f1b53f72b95c13db61b00f953 \ + --hash=sha256:7d57d8f702221405a9d9b40f9da8ac2e4a1a8b5285aac6100f3393675f0a85ee \ + --hash=sha256:7f3c8c1dacd037df16e85227bac13cca58c30da836c6f936ba1df0c05d046d8d \ + --hash=sha256:81d5af29e61b9c8348e876d442253723928dce6433e0e76cd925cd83f1b4b817 \ + --hash=sha256:828afae9f17e6de596825cf4228ff28fbdf6065974e5ac1410cecc22f699d2b3 \ + --hash=sha256:87f724d055eb4785d9be84e9ebf0f24e392ddfad00b3fe036e43f489fafc9039 \ + --hash=sha256:8969190d709e7c48ea386db202d708eb94bdb29207a1f269bab1196ce0dcca1f \ + --hash=sha256:90646abbc7a5d5c7c19461d2e3eeb76eb0b204919e6ece342feb6032c9325ae9 \ + --hash=sha256:91d6c171862df0a6c61479d9724f22efb6109111017c87567cfeb7b5d1449fdf \ + --hash=sha256:9272fa73ca71266702c4c3e2d4a28553ea03418e591e377a03b8e3659d94fa76 \ + --hash=sha256:92b5278ed9d50fe610185ecd23c55d8b307d75ca18e94c0e7de328089ac5dcba \ + --hash=sha256:97160e245ea33d8609cd2b8fd997c850b56db147a304a262abc2b3be021a9171 \ + --hash=sha256:977701c081c0241d0955c9586ffdd9ce44f7a7795df39b9151cd9a6fd0ce4cfb \ + --hash=sha256:9b7dc0c4338e6b8b091e8faf0db3168a37101943e687f373dce00959583f7439 \ + --hash=sha256:9b93d7aaa36c966fa42efcaf716e6b3900438632a626fb09c049f6a2f09fc631 \ + --hash=sha256:9bbcdfaf4af7ce002694a4e10a0159d5a8d20056a12b05b45cea944a4953f972 \ + --hash=sha256:9c2623347b933fcb9095841f1cc5d4ff0b278addd743e0e966cb3d460278840d \ + --hash=sha256:a2fe128eb4edeabe11896cb6af88fca5346059f6c8d807e3b910069f39157869 \ + --hash=sha256:a72b7a6e3cd2725eff67cd64c8f13335ee18fc3c7befc05aed043d24c7b9ccb9 \ + --hash=sha256:a9fe0f1c29ba24ba6ff6abf688cb0b7cf1efab6b6aa6adc55441773c252f7411 \ + --hash=sha256:b97f7b575ab4a8af9b7bc1d2ef7f29d3afee2226bd03ca3875c16451ad5a7723 \ + --hash=sha256:bdac3c7d9b705d253b2ce370fde941836a5f8b3c5c2b8fd70940a3ea3af7f4f2 \ + --hash=sha256:c03eff4a41bd4e38415cbed054bbaff4a075b093e2394b6915dca34a40d1e38b \ + --hash=sha256:c16d2fa63e0800723139137d667e1056bee1a1cf7965153d2d104b62855e9b99 \ + --hash=sha256:c1fac3e2ace2eb1052e9f7c7db480818371134410e1f5c55d65e8f3ac6d1407e \ + --hash=sha256:ce3aa154c452d2467487765e3adc730a8c153af77ad84096bc19ce19a2400840 \ + --hash=sha256:cee6798eaf8b1416ef6909b06f7dc04b60755206bddc599f52232606e18179d3 \ + --hash=sha256:d1b3eb7b05ea246510b43a7e53ed1653e55c2121019a97e60cad7efb881a97bb \ + --hash=sha256:d994863bba198a4a518b467bb971c56e1db3f180a25c6cf7bb1949c267f748c3 \ + --hash=sha256:dd47a5181ce5fcb463b5d9e17ecfdb02b678cca31280639255ce9d0e5aa67af0 \ + --hash=sha256:dd94994fc91a6177bfaafd7d9fd951bc8689b0a98168aa26b5f543868548d3ca \ + --hash=sha256:de537c11e4aa01d37db0d403b57bd6f0546e71a82347a97c6a9f0dcc532b3a45 \ + --hash=sha256:df6e2f325bfee1f49f81aaac97d2aa757c7646534a06f8f577ce184afe2f0a9e \ + --hash=sha256:e66cc454f97053b79c2ab09c17fbe3c825ea6b4de20baf1be28919460dd7877f \ + --hash=sha256:e79225373c317ff1e35f210dd5f1344ff31066ba8067c307ab60254cd3a78ad5 \ + --hash=sha256:f1577515d35ed5649d52ab4319db757bb881ce3b2b796d7283e6634d99ace307 \ + --hash=sha256:f1e6540b7fa044eee0bb5111ada694cf3dc15f2b0347ca125ee9ca984d5e9e6e \ + --hash=sha256:f2ac49a9bedb996086057b75bf93538240538c6d9b38e57c82d51f75a73409d2 \ + --hash=sha256:f47c9c9028f55a04ac254346e92977bf0f166c483c74b4232bee19a6697e4778 \ + --hash=sha256:f5f9da7f5dbc00a604fe74aa02ae7c98bcede8a3b8b9666f9f86fc13993bc71a \ + --hash=sha256:fd74520371c3c4175142d02a976aee0b4cb4a7cc912a60586ffd8d5929979b30 \ + --hash=sha256:feeb64bc9bcc6b45c6311c9e9b99406660a9c05ca8a5b30d14a78555088b0b3a + # via + # aiohttp + # aiosignal gidgethub==3.3.0 \ --hash=sha256:3692d2df48a23c87ec4a5e74053ce343bc59cea7c34488a9136754a35aeb177a \ --hash=sha256:4a456758a5fc8bfd581f297df90f2d09efbb830ccd209b1ceba4723705607d70 -idna-ssl==1.1.0 \ - --hash=sha256:a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c \ - # via aiohttp + # via -r __app__/requirements.in idna==2.8 \ --hash=sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407 \ - --hash=sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c \ - # via idna-ssl, yarl + --hash=sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c + # via yarl multidict==4.7.4 \ --hash=sha256:13f3ebdb5693944f52faa7b2065b751cb7e578b8dd0a5bb8e4ab05ad0188b85e \ --hash=sha256:26502cefa86d79b86752e96639352c7247846515c864d7c2eb85d036752b643c \ @@ -56,33 +219,197 @@ multidict==4.7.4 \ --hash=sha256:a8ed33e8f9b67e3b592c56567135bb42e7e0e97417a4b6a771e60898dfd5182b \ --hash=sha256:d7d428488c67b09b26928950a395e41cc72bb9c3d5abfe9f0521940ee4f796d4 \ --hash=sha256:dcfed56aa085b89d644af17442cdc2debaa73388feba4b8026446d168ca8dad7 \ - --hash=sha256:f29b885e4903bd57a7789f09fe9d60b6475a6c1a4c0eca874d8558f00f9d4b51 \ - # via aiohttp, yarl -typing-extensions==3.7.4.1 \ - --hash=sha256:091ecc894d5e908ac75209f10d5b4f118fbdb2eb1ede6a63544054bb1edb41f2 \ - --hash=sha256:910f4656f54de5993ad9304959ce9bb903f90aadc7c67a0bef07e678014e892d \ - --hash=sha256:cf8b63fedea4d89bab840ecbb93e75578af28f76f66c35889bd7065f5af88575 \ - # via aiohttp + --hash=sha256:f29b885e4903bd57a7789f09fe9d60b6475a6c1a4c0eca874d8558f00f9d4b51 + # via + # aiohttp + # yarl +propcache==0.3.1 \ + --hash=sha256:050b571b2e96ec942898f8eb46ea4bfbb19bd5502424747e83badc2d4a99a44e \ + --hash=sha256:05543250deac8e61084234d5fc54f8ebd254e8f2b39a16b1dce48904f45b744b \ + --hash=sha256:069e7212890b0bcf9b2be0a03afb0c2d5161d91e1bf51569a64f629acc7defbf \ + --hash=sha256:09400e98545c998d57d10035ff623266927cb784d13dd2b31fd33b8a5316b85b \ + --hash=sha256:0c3c3a203c375b08fd06a20da3cf7aac293b834b6f4f4db71190e8422750cca5 \ + --hash=sha256:0c86e7ceea56376216eba345aa1fc6a8a6b27ac236181f840d1d7e6a1ea9ba5c \ + --hash=sha256:0fbe94666e62ebe36cd652f5fc012abfbc2342de99b523f8267a678e4dfdee3c \ + --hash=sha256:17d1c688a443355234f3c031349da69444be052613483f3e4158eef751abcd8a \ + --hash=sha256:19a06db789a4bd896ee91ebc50d059e23b3639c25d58eb35be3ca1cbe967c3bf \ + --hash=sha256:1c5c7ab7f2bb3f573d1cb921993006ba2d39e8621019dffb1c5bc94cdbae81e8 \ + --hash=sha256:1eb34d90aac9bfbced9a58b266f8946cb5935869ff01b164573a7634d39fbcb5 \ + --hash=sha256:1f6cc0ad7b4560e5637eb2c994e97b4fa41ba8226069c9277eb5ea7101845b42 \ + --hash=sha256:27c6ac6aa9fc7bc662f594ef380707494cb42c22786a558d95fcdedb9aa5d035 \ + --hash=sha256:2d219b0dbabe75e15e581fc1ae796109b07c8ba7d25b9ae8d650da582bed01b0 \ + --hash=sha256:2fce1df66915909ff6c824bbb5eb403d2d15f98f1518e583074671a30fe0c21e \ + --hash=sha256:319fa8765bfd6a265e5fa661547556da381e53274bc05094fc9ea50da51bfd46 \ + --hash=sha256:359e81a949a7619802eb601d66d37072b79b79c2505e6d3fd8b945538411400d \ + --hash=sha256:3a02a28095b5e63128bcae98eb59025924f121f048a62393db682f049bf4ac24 \ + --hash=sha256:3e19ea4ea0bf46179f8a3652ac1426e6dcbaf577ce4b4f65be581e237340420d \ + --hash=sha256:3e584b6d388aeb0001d6d5c2bd86b26304adde6d9bb9bfa9c4889805021b96de \ + --hash=sha256:40d980c33765359098837527e18eddefc9a24cea5b45e078a7f3bb5b032c6ecf \ + --hash=sha256:4114c4ada8f3181af20808bedb250da6bae56660e4b8dfd9cd95d4549c0962f7 \ + --hash=sha256:43593c6772aa12abc3af7784bff4a41ffa921608dd38b77cf1dfd7f5c4e71371 \ + --hash=sha256:47ef24aa6511e388e9894ec16f0fbf3313a53ee68402bc428744a367ec55b833 \ + --hash=sha256:4cf9e93a81979f1424f1a3d155213dc928f1069d697e4353edb8a5eba67c6259 \ + --hash=sha256:4d0dfdd9a2ebc77b869a0b04423591ea8823f791293b527dc1bb896c1d6f1136 \ + --hash=sha256:563f9d8c03ad645597b8d010ef4e9eab359faeb11a0a2ac9f7b4bc8c28ebef25 \ + --hash=sha256:58aa11f4ca8b60113d4b8e32d37e7e78bd8af4d1a5b5cb4979ed856a45e62005 \ + --hash=sha256:5a0a9898fdb99bf11786265468571e628ba60af80dc3f6eb89a3545540c6b0ef \ + --hash=sha256:5aed8d8308215089c0734a2af4f2e95eeb360660184ad3912686c181e500b2e7 \ + --hash=sha256:5b9145c35cc87313b5fd480144f8078716007656093d23059e8993d3a8fa730f \ + --hash=sha256:5cb5918253912e088edbf023788de539219718d3b10aef334476b62d2b53de53 \ + --hash=sha256:5cdb0f3e1eb6dfc9965d19734d8f9c481b294b5274337a8cb5cb01b462dcb7e0 \ + --hash=sha256:5ced33d827625d0a589e831126ccb4f5c29dfdf6766cac441d23995a65825dcb \ + --hash=sha256:603f1fe4144420374f1a69b907494c3acbc867a581c2d49d4175b0de7cc64566 \ + --hash=sha256:61014615c1274df8da5991a1e5da85a3ccb00c2d4701ac6f3383afd3ca47ab0a \ + --hash=sha256:64a956dff37080b352c1c40b2966b09defb014347043e740d420ca1eb7c9b908 \ + --hash=sha256:668ddddc9f3075af019f784456267eb504cb77c2c4bd46cc8402d723b4d200bf \ + --hash=sha256:6d8e309ff9a0503ef70dc9a0ebd3e69cf7b3894c9ae2ae81fc10943c37762458 \ + --hash=sha256:6f173bbfe976105aaa890b712d1759de339d8a7cef2fc0a1714cc1a1e1c47f64 \ + --hash=sha256:71ebe3fe42656a2328ab08933d420df5f3ab121772eef78f2dc63624157f0ed9 \ + --hash=sha256:730178f476ef03d3d4d255f0c9fa186cb1d13fd33ffe89d39f2cda4da90ceb71 \ + --hash=sha256:7d2d5a0028d920738372630870e7d9644ce437142197f8c827194fca404bf03b \ + --hash=sha256:7f30241577d2fef2602113b70ef7231bf4c69a97e04693bde08ddab913ba0ce5 \ + --hash=sha256:813fbb8b6aea2fc9659815e585e548fe706d6f663fa73dff59a1677d4595a037 \ + --hash=sha256:82de5da8c8893056603ac2d6a89eb8b4df49abf1a7c19d536984c8dd63f481d5 \ + --hash=sha256:83be47aa4e35b87c106fc0c84c0fc069d3f9b9b06d3c494cd404ec6747544894 \ + --hash=sha256:8638f99dca15b9dff328fb6273e09f03d1c50d9b6512f3b65a4154588a7595fe \ + --hash=sha256:87380fb1f3089d2a0b8b00f006ed12bd41bd858fabfa7330c954c70f50ed8757 \ + --hash=sha256:88c423efef9d7a59dae0614eaed718449c09a5ac79a5f224a8b9664d603f04a3 \ + --hash=sha256:89498dd49c2f9a026ee057965cdf8192e5ae070ce7d7a7bd4b66a8e257d0c976 \ + --hash=sha256:8a17583515a04358b034e241f952f1715243482fc2c2945fd99a1b03a0bd77d6 \ + --hash=sha256:916cd229b0150129d645ec51614d38129ee74c03293a9f3f17537be0029a9641 \ + --hash=sha256:9532ea0b26a401264b1365146c440a6d78269ed41f83f23818d4b79497aeabe7 \ + --hash=sha256:967a8eec513dbe08330f10137eacb427b2ca52118769e82ebcfcab0fba92a649 \ + --hash=sha256:975af16f406ce48f1333ec5e912fe11064605d5c5b3f6746969077cc3adeb120 \ + --hash=sha256:9979643ffc69b799d50d3a7b72b5164a2e97e117009d7af6dfdd2ab906cb72cd \ + --hash=sha256:9a8ecf38de50a7f518c21568c80f985e776397b902f1ce0b01f799aba1608b40 \ + --hash=sha256:9cec3239c85ed15bfaded997773fdad9fb5662b0a7cbc854a43f291eb183179e \ + --hash=sha256:9e64e948ab41411958670f1093c0a57acfdc3bee5cf5b935671bbd5313bcf229 \ + --hash=sha256:9f64d91b751df77931336b5ff7bafbe8845c5770b06630e27acd5dbb71e1931c \ + --hash=sha256:a0ab8cf8cdd2194f8ff979a43ab43049b1df0b37aa64ab7eca04ac14429baeb7 \ + --hash=sha256:a110205022d077da24e60b3df8bcee73971be9575dec5573dd17ae5d81751111 \ + --hash=sha256:a34aa3a1abc50740be6ac0ab9d594e274f59960d3ad253cd318af76b996dd654 \ + --hash=sha256:a444192f20f5ce8a5e52761a031b90f5ea6288b1eef42ad4c7e64fef33540b8f \ + --hash=sha256:a461959ead5b38e2581998700b26346b78cd98540b5524796c175722f18b0294 \ + --hash=sha256:a75801768bbe65499495660b777e018cbe90c7980f07f8aa57d6be79ea6f71da \ + --hash=sha256:aa8efd8c5adc5a2c9d3b952815ff8f7710cefdcaf5f2c36d26aff51aeca2f12f \ + --hash=sha256:aca63103895c7d960a5b9b044a83f544b233c95e0dcff114389d64d762017af7 \ + --hash=sha256:b0313e8b923b3814d1c4a524c93dfecea5f39fa95601f6a9b1ac96cd66f89ea0 \ + --hash=sha256:b23c11c2c9e6d4e7300c92e022046ad09b91fd00e36e83c44483df4afa990073 \ + --hash=sha256:b303b194c2e6f171cfddf8b8ba30baefccf03d36a4d9cab7fd0bb68ba476a3d7 \ + --hash=sha256:b655032b202028a582d27aeedc2e813299f82cb232f969f87a4fde491a233f11 \ + --hash=sha256:bd39c92e4c8f6cbf5f08257d6360123af72af9f4da75a690bef50da77362d25f \ + --hash=sha256:bef100c88d8692864651b5f98e871fb090bd65c8a41a1cb0ff2322db39c96c27 \ + --hash=sha256:c2fe5c910f6007e716a06d269608d307b4f36e7babee5f36533722660e8c4a70 \ + --hash=sha256:c66d8ccbc902ad548312b96ed8d5d266d0d2c6d006fd0f66323e9d8f2dd49be7 \ + --hash=sha256:cd6a55f65241c551eb53f8cf4d2f4af33512c39da5d9777694e9d9c60872f519 \ + --hash=sha256:d249609e547c04d190e820d0d4c8ca03ed4582bcf8e4e160a6969ddfb57b62e5 \ + --hash=sha256:d4e89cde74154c7b5957f87a355bb9c8ec929c167b59c83d90654ea36aeb6180 \ + --hash=sha256:dc1915ec523b3b494933b5424980831b636fe483d7d543f7afb7b3bf00f0c10f \ + --hash=sha256:e1c4d24b804b3a87e9350f79e2371a705a188d292fd310e663483af6ee6718ee \ + --hash=sha256:e474fc718e73ba5ec5180358aa07f6aded0ff5f2abe700e3115c37d75c947e18 \ + --hash=sha256:e4fe2a6d5ce975c117a6bb1e8ccda772d1e7029c1cca1acd209f91d30fa72815 \ + --hash=sha256:e7fb9a84c9abbf2b2683fa3e7b0d7da4d8ecf139a1c635732a8bda29c5214b0e \ + --hash=sha256:e861ad82892408487be144906a368ddbe2dc6297074ade2d892341b35c59844a \ + --hash=sha256:ec314cde7314d2dd0510c6787326bbffcbdc317ecee6b7401ce218b3099075a7 \ + --hash=sha256:ed5f6d2edbf349bd8d630e81f474d33d6ae5d07760c44d33cd808e2f5c8f4ae6 \ + --hash=sha256:ef2e4e91fb3945769e14ce82ed53007195e616a63aa43b40fb7ebaaf907c8d4c \ + --hash=sha256:f011f104db880f4e2166bcdcf7f58250f7a465bc6b068dc84c824a3d4a5c94dc \ + --hash=sha256:f1528ec4374617a7a753f90f20e2f551121bb558fcb35926f99e3c42367164b8 \ + --hash=sha256:f27785888d2fdd918bc36de8b8739f2d6c791399552333721b58193f68ea3e98 \ + --hash=sha256:f35c7070eeec2cdaac6fd3fe245226ed2a6292d3ee8c938e5bb645b434c5f256 \ + --hash=sha256:f3bbecd2f34d0e6d3c543fdb3b15d6b60dd69970c2b4c822379e5ec8f6f621d5 \ + --hash=sha256:f6f1324db48f001c2ca26a25fa25af60711e09b9aaf4b28488602776f4f9a744 \ + --hash=sha256:f78eb8422acc93d7b69964012ad7048764bb45a54ba7a39bb9e146c72ea29723 \ + --hash=sha256:fb6e0faf8cb6b4beea5d6ed7b5a578254c6d7df54c36ccd3d8b3eb00d6770277 \ + --hash=sha256:feccd282de1f6322f56f6845bf1207a537227812f0a9bf5571df52bb418d79d5 + # via + # aiohttp + # yarl uritemplate==3.0.1 \ --hash=sha256:07620c3f3f8eed1f12600845892b0e036a2420acf513c53f7de0abd911a5894f \ - --hash=sha256:5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae \ + --hash=sha256:5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae # via gidgethub -yarl==1.4.2 \ - --hash=sha256:0c2ab325d33f1b824734b3ef51d4d54a54e0e7a23d13b86974507602334c2cce \ - --hash=sha256:0ca2f395591bbd85ddd50a82eb1fde9c1066fafe888c5c7cc1d810cf03fd3cc6 \ - --hash=sha256:2098a4b4b9d75ee352807a95cdf5f10180db903bc5b7270715c6bbe2551f64ce \ - --hash=sha256:25e66e5e2007c7a39541ca13b559cd8ebc2ad8fe00ea94a2aad28a9b1e44e5ae \ - --hash=sha256:26d7c90cb04dee1665282a5d1a998defc1a9e012fdca0f33396f81508f49696d \ - --hash=sha256:308b98b0c8cd1dfef1a0311dc5e38ae8f9b58349226aa0533f15a16717ad702f \ - --hash=sha256:3ce3d4f7c6b69c4e4f0704b32eca8123b9c58ae91af740481aa57d7857b5e41b \ - --hash=sha256:58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b \ - --hash=sha256:5b10eb0e7f044cf0b035112446b26a3a2946bca9d7d7edb5e54a2ad2f6652abb \ - --hash=sha256:6faa19d3824c21bcbfdfce5171e193c8b4ddafdf0ac3f129ccf0cdfcb083e462 \ - --hash=sha256:944494be42fa630134bf907714d40207e646fd5a94423c90d5b514f7b0713fea \ - --hash=sha256:a161de7e50224e8e3de6e184707476b5a989037dcb24292b391a3d66ff158e70 \ - --hash=sha256:a4844ebb2be14768f7994f2017f70aca39d658a96c786211be5ddbe1c68794c1 \ - --hash=sha256:c2b509ac3d4b988ae8769901c66345425e361d518aecbe4acbfc2567e416626a \ - --hash=sha256:c9959d49a77b0e07559e579f38b2f3711c2b8716b8410b320bf9713013215a1b \ - --hash=sha256:d8cdee92bc930d8b09d8bd2043cedd544d9c8bd7436a77678dd602467a993080 \ - --hash=sha256:e15199cdb423316e15f108f51249e44eb156ae5dba232cb73be555324a1d49c2 \ +yarl==1.18.3 \ + --hash=sha256:00e5a1fea0fd4f5bfa7440a47eff01d9822a65b4488f7cff83155a0f31a2ecba \ + --hash=sha256:02ddb6756f8f4517a2d5e99d8b2f272488e18dd0bfbc802f31c16c6c20f22193 \ + --hash=sha256:045b8482ce9483ada4f3f23b3774f4e1bf4f23a2d5c912ed5170f68efb053318 \ + --hash=sha256:09c7907c8548bcd6ab860e5f513e727c53b4a714f459b084f6580b49fa1b9cee \ + --hash=sha256:0b0cad37311123211dc91eadcb322ef4d4a66008d3e1bdc404808992260e1a0e \ + --hash=sha256:0b3c92fa08759dbf12b3a59579a4096ba9af8dd344d9a813fc7f5070d86bbab1 \ + --hash=sha256:0fb2171a4486bb075316ee754c6d8382ea6eb8b399d4ec62fde2b591f879778a \ + --hash=sha256:1a74a13a4c857a84a845505fd2d68e54826a2cd01935a96efb1e9d86c728e186 \ + --hash=sha256:1d407181cfa6e70077df3377938c08012d18893f9f20e92f7d2f314a437c30b1 \ + --hash=sha256:1dd4bdd05407ced96fed3d7f25dbbf88d2ffb045a0db60dbc247f5b3c5c25d50 \ + --hash=sha256:25b411eddcfd56a2f0cd6a384e9f4f7aa3efee14b188de13048c25b5e91f1640 \ + --hash=sha256:2d06d3005e668744e11ed80812e61efd77d70bb7f03e33c1598c301eea20efbb \ + --hash=sha256:2ec9bbba33b2d00999af4631a3397d1fd78290c48e2a3e52d8dd72db3a067ac8 \ + --hash=sha256:3236da9272872443f81fedc389bace88408f64f89f75d1bdb2256069a8730ccc \ + --hash=sha256:35098b24e0327fc4ebdc8ffe336cee0a87a700c24ffed13161af80124b7dc8e5 \ + --hash=sha256:41f7ce59d6ee7741af71d82020346af364949314ed3d87553763a2df1829cc58 \ + --hash=sha256:436c4fc0a4d66b2badc6c5fc5ef4e47bb10e4fd9bf0c79524ac719a01f3607c2 \ + --hash=sha256:4891ed92157e5430874dad17b15eb1fda57627710756c27422200c52d8a4e393 \ + --hash=sha256:4ac515b860c36becb81bb84b667466885096b5fc85596948548b667da3bf9f24 \ + --hash=sha256:5094d9206c64181d0f6e76ebd8fb2f8fe274950a63890ee9e0ebfd58bf9d787b \ + --hash=sha256:54d6921f07555713b9300bee9c50fb46e57e2e639027089b1d795ecd9f7fa910 \ + --hash=sha256:578e281c393af575879990861823ef19d66e2b1d0098414855dd367e234f5b3c \ + --hash=sha256:5a3f356548e34a70b0172d8890006c37be92995f62d95a07b4a42e90fba54272 \ + --hash=sha256:602d98f2c2d929f8e697ed274fbadc09902c4025c5a9963bf4e9edfc3ab6f7ed \ + --hash=sha256:61b1a825a13bef4a5f10b1885245377d3cd0bf87cba068e1d9a88c2ae36880e1 \ + --hash=sha256:61e5e68cb65ac8f547f6b5ef933f510134a6bf31bb178be428994b0cb46c2a04 \ + --hash=sha256:61ee62ead9b68b9123ec24bc866cbef297dd266175d53296e2db5e7f797f902d \ + --hash=sha256:6333c5a377c8e2f5fae35e7b8f145c617b02c939d04110c76f29ee3676b5f9a5 \ + --hash=sha256:6748dbf9bfa5ba1afcc7556b71cda0d7ce5f24768043a02a58846e4a443d808d \ + --hash=sha256:67a283dd2882ac98cc6318384f565bffc751ab564605959df4752d42483ad889 \ + --hash=sha256:75674776d96d7b851b6498f17824ba17849d790a44d282929c42dbb77d4f17ae \ + --hash=sha256:757e81cae69244257d125ff31663249b3013b5dc0a8520d73694aed497fb195b \ + --hash=sha256:77a6e85b90a7641d2e07184df5557132a337f136250caafc9ccaa4a2a998ca2c \ + --hash=sha256:7c33dd1931a95e5d9a772d0ac5e44cac8957eaf58e3c8da8c1414de7dd27c576 \ + --hash=sha256:7df647e8edd71f000a5208fe6ff8c382a1de8edfbccdbbfe649d263de07d8c34 \ + --hash=sha256:7e2ee16578af3b52ac2f334c3b1f92262f47e02cc6193c598502bd46f5cd1477 \ + --hash=sha256:80316a8bd5109320d38eef8833ccf5f89608c9107d02d2a7f985f98ed6876990 \ + --hash=sha256:82123d0c954dc58db301f5021a01854a85bf1f3bb7d12ae0c01afc414a882ca2 \ + --hash=sha256:84b2deecba4a3f1a398df819151eb72d29bfeb3b69abb145a00ddc8d30094512 \ + --hash=sha256:8503ad47387b8ebd39cbbbdf0bf113e17330ffd339ba1144074da24c545f0069 \ + --hash=sha256:877d209b6aebeb5b16c42cbb377f5f94d9e556626b1bfff66d7b0d115be88d0a \ + --hash=sha256:8874027a53e3aea659a6d62751800cf6e63314c160fd607489ba5c2edd753cf6 \ + --hash=sha256:88a19f62ff30117e706ebc9090b8ecc79aeb77d0b1f5ec10d2d27a12bc9f66d0 \ + --hash=sha256:8d39d351e7faf01483cc7ff7c0213c412e38e5a340238826be7e0e4da450fdc8 \ + --hash=sha256:90adb47ad432332d4f0bc28f83a5963f426ce9a1a8809f5e584e704b82685dcb \ + --hash=sha256:913829534200eb0f789d45349e55203a091f45c37a2674678744ae52fae23efa \ + --hash=sha256:93b2e109287f93db79210f86deb6b9bbb81ac32fc97236b16f7433db7fc437d8 \ + --hash=sha256:9d41beda9dc97ca9ab0b9888cb71f7539124bc05df02c0cff6e5acc5a19dcc6e \ + --hash=sha256:a440a2a624683108a1b454705ecd7afc1c3438a08e890a1513d468671d90a04e \ + --hash=sha256:a4bb030cf46a434ec0225bddbebd4b89e6471814ca851abb8696170adb163985 \ + --hash=sha256:a9ca04806f3be0ac6d558fffc2fdf8fcef767e0489d2684a21912cc4ed0cd1b8 \ + --hash=sha256:ac1801c45cbf77b6c99242eeff4fffb5e4e73a800b5c4ad4fc0be5def634d2e1 \ + --hash=sha256:ac36703a585e0929b032fbaab0707b75dc12703766d0b53486eabd5139ebadd5 \ + --hash=sha256:b1771de9944d875f1b98a745bc547e684b863abf8f8287da8466cf470ef52690 \ + --hash=sha256:b464c4ab4bfcb41e3bfd3f1c26600d038376c2de3297760dfe064d2cb7ea8e10 \ + --hash=sha256:b4f6450109834af88cb4cc5ecddfc5380ebb9c228695afc11915a0bf82116789 \ + --hash=sha256:b57f4f58099328dfb26c6a771d09fb20dbbae81d20cfb66141251ea063bd101b \ + --hash=sha256:b643562c12680b01e17239be267bc306bbc6aac1f34f6444d1bded0c5ce438ca \ + --hash=sha256:b958ddd075ddba5b09bb0be8a6d9906d2ce933aee81100db289badbeb966f54e \ + --hash=sha256:b9d60031cf568c627d028239693fd718025719c02c9f55df0a53e587aab951b5 \ + --hash=sha256:ba23302c0c61a9999784e73809427c9dbedd79f66a13d84ad1b1943802eaaf59 \ + --hash=sha256:ba87babd629f8af77f557b61e49e7c7cac36f22f871156b91e10a6e9d4f829e9 \ + --hash=sha256:c017a3b6df3a1bd45b9fa49a0f54005e53fbcad16633870104b66fa1a30a29d8 \ + --hash=sha256:c1e1cc06da1491e6734f0ea1e6294ce00792193c463350626571c287c9a704db \ + --hash=sha256:c654d5207c78e0bd6d749f6dae1dcbbfde3403ad3a4b11f3c5544d9906969dde \ + --hash=sha256:c69697d3adff5aa4f874b19c0e4ed65180ceed6318ec856ebc423aa5850d84f7 \ + --hash=sha256:c7d79f7d9aabd6011004e33b22bc13056a3e3fb54794d138af57f5ee9d9032cb \ + --hash=sha256:ccaa3a4b521b780a7e771cc336a2dba389a0861592bbce09a476190bb0c8b4b3 \ + --hash=sha256:ccd17349166b1bee6e529b4add61727d3f55edb7babbe4069b5764c9587a8cc6 \ + --hash=sha256:ce1af883b94304f493698b00d0f006d56aea98aeb49d75ec7d98cd4a777e9285 \ + --hash=sha256:d0e883008013c0e4aef84dcfe2a0b172c4d23c2669412cf5b3371003941f72bb \ + --hash=sha256:d980e0325b6eddc81331d3f4551e2a333999fb176fd153e075c6d1c2530aa8a8 \ + --hash=sha256:e17c9361d46a4d5addf777c6dd5eab0715a7684c2f11b88c67ac37edfba6c482 \ + --hash=sha256:e2c08cc9b16f4f4bc522771d96734c7901e7ebef70c6c5c35dd0f10845270bcd \ + --hash=sha256:e35ef8683211db69ffe129a25d5634319a677570ab6b2eba4afa860f54eeaf75 \ + --hash=sha256:e3b9fd71836999aad54084906f8663dffcd2a7fb5cdafd6c37713b2e72be1760 \ + --hash=sha256:ef9f7768395923c3039055c14334ba4d926f3baf7b776c923c93d80195624782 \ + --hash=sha256:f52a265001d830bc425f82ca9eabda94a64a4d753b07d623a9f2863fde532b53 \ + --hash=sha256:f91c4803173928a25e1a55b943c81f55b8872f0018be83e3ad4938adffb77dd2 \ + --hash=sha256:fbd6748e8ab9b41171bb95c6142faf068f5ef1511935a0aa07025438dd9a9bc1 \ + --hash=sha256:fe57328fbc1bfd0bd0514470ac692630f3901c0ee39052ae47acd1d90a436719 \ + --hash=sha256:fea09ca13323376a2fdfb353a5fa2e59f90cd18d7ca4eaa1fd31f0a8b4f91e62 # via aiohttp diff --git a/dev-requirements.txt b/dev-requirements.txt index 232ea46..1c1259d 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -4,53 +4,132 @@ # # pip-compile --generate-hashes '.\dev-requirements.in' # -aiohttp==3.6.2 \ - --hash=sha256:1e984191d1ec186881ffaed4581092ba04f7c61582a177b187d3a2f07ed9719e \ - --hash=sha256:259ab809ff0727d0e834ac5e8a283dc5e3e0ecc30c4d80b3cd17a4139ce1f326 \ - --hash=sha256:2f4d1a4fdce595c947162333353d4a44952a724fba9ca3205a3df99a33d1307a \ - --hash=sha256:32e5f3b7e511aa850829fbe5aa32eb455e5534eaa4b1ce93231d00e2f76e5654 \ - --hash=sha256:344c780466b73095a72c616fac5ea9c4665add7fc129f285fbdbca3cccf4612a \ - --hash=sha256:460bd4237d2dbecc3b5ed57e122992f60188afe46e7319116da5eb8a9dfedba4 \ - --hash=sha256:4c6efd824d44ae697814a2a85604d8e992b875462c6655da161ff18fd4f29f17 \ - --hash=sha256:50aaad128e6ac62e7bf7bd1f0c0a24bc968a0c0590a726d5a955af193544bcec \ - --hash=sha256:6206a135d072f88da3e71cc501c59d5abffa9d0bb43269a6dcd28d66bfafdbdd \ - --hash=sha256:65f31b622af739a802ca6fd1a3076fd0ae523f8485c52924a89561ba10c49b48 \ - --hash=sha256:ae55bac364c405caa23a4f2d6cfecc6a0daada500274ffca4a9230e7129eac59 \ - --hash=sha256:b778ce0c909a2653741cb4b1ac7015b5c130ab9c897611df43ae6a58523cb965 +aiohappyeyeballs==2.6.1 \ + --hash=sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558 \ + --hash=sha256:f349ba8f4b75cb25c99c5c2d84e997e485204d2902a9597802b0371f09331fb8 + # via + # -r __app__/requirements.txt + # aiohttp +aiohttp==3.11.0b0 \ + --hash=sha256:0799d232ae388070610d03a1f6baf4c00d61014c560e96620645fceb3f90a033 \ + --hash=sha256:0e3c69ec0e130f2d10cb3a675c941ae8937137be50bc271d08db3433c6a38497 \ + --hash=sha256:12c7fc1f9c3585912eb5fa11b96940f78a48c0ddcb236659486f017b6f1c2131 \ + --hash=sha256:14f278c5cd92722c5626b45a62d3fc2fc4a0b0ecd9e205a7cf85b0384ea0e22b \ + --hash=sha256:1fba27b27cac4fcdb30b76104b33be1a581a7c6ccd70bb2a1b8a535a2373e6ec \ + --hash=sha256:210e2f211da6ae9b5f47b39d6e5952a31536c78a5dce580f80ec5640ded5102b \ + --hash=sha256:22a6a36b1f6950c4b559173157261abf8dfb6837887f3d3a866c142a55fd57e5 \ + --hash=sha256:2821c4c75162ed1ba3dc56f344c33e37e6bbe15d995362596820276b0cb7d03c \ + --hash=sha256:28c35f7c0de807dd8265c3b972143d7c148f40e0ffbf6b15d5c1a95be4be2551 \ + --hash=sha256:292308b184321e34c095437ee3a1251e7bd44c7ba43544540677a547f6492964 \ + --hash=sha256:29b25b030477dce59630af9891cddb87b5b09b07f240c20364cc7dd3f66b227a \ + --hash=sha256:2b553a9698007aaf6e698bb5ee0ad8803bcb67e201d36a2f5527820ee5d03ee6 \ + --hash=sha256:38bfd03fc060bd4640be3493b85a368ff897f5ef94a9e457140473db1fc6cec5 \ + --hash=sha256:39c347ecb59bc3a4d04922b45115e3fb3706fe3a5cd7470642618e30da5ea635 \ + --hash=sha256:3b2b0ca13d29008a8abc87d9a91d0748fe73f9a98885b5f80afdc7b1f326c0b5 \ + --hash=sha256:3bcfe6eedb2292bc9256c85420d7546fb378f9226cb82750087edc5cea1246e4 \ + --hash=sha256:3db7857dbb2eeb9f74c4b8df4177bbf5b5df3c7c2c5868d130c6e5d05871ea25 \ + --hash=sha256:3f01dae803f9e0d3bfd6158d8f9e54b022f1621ae2401482c4510377f199e6d1 \ + --hash=sha256:4196a811efb8fa11b50699fae58151046bb56404cf2e2d8613a03a174b5882c5 \ + --hash=sha256:46e966257a0b656f46bee0016db4815b51a577b11ce1363434ac1ed48cd1ebef \ + --hash=sha256:476d13691ebde61ffba87e30e5564409ca787244b034a702514597f0c6852ae8 \ + --hash=sha256:496071b235d2bc92613012d3c9024b2caf8aa1a9bbcc08ed5673c7fb103ddc21 \ + --hash=sha256:4a5231d4003e0efdb7bb00e914b13ee4f7c4caa300c6b5fab29c0e597132fec4 \ + --hash=sha256:4b304fd9ae156fdcb3a085589bcd0c551807d46843aacf30706e67176ca874e9 \ + --hash=sha256:4dcb957a52c9a490db5c1497a8271ecfa89e37382021c881c31494749d14a277 \ + --hash=sha256:4df9f6fa684e732777fff4e2c56d8390ca73317c01c1b3f19f5f70d24710c70f \ + --hash=sha256:5652f2a7679941f835b2b1cc3f6d9a32a48beff156b91d8ff534e3cccb5ff0f3 \ + --hash=sha256:56b6a440809f3c42d67266c9e18ee859895a93b7020d17f8dc8484000925feeb \ + --hash=sha256:5b117e16bea7d7f97e8bf9fe4210b29f342dbb7d1b1f43ba22027ea324e0740b \ + --hash=sha256:5d275478927272b414162e741812ac6db2667ffbdf52a20c525b096329de91f6 \ + --hash=sha256:5ef4081eee2a2e9a0fb674372829749d3e0f9429b24d922f06d1a2b08dad573f \ + --hash=sha256:5f2f0bee085d85e8e34edebd1fa64a13301a7f6f696628b04fcb1c8dc4a42592 \ + --hash=sha256:600b1aae1ea3e5028b879ad8421284e01fa7095ef17cc35f7af6145ccd8be436 \ + --hash=sha256:6123f727566875e17856a63800d7b163767ee5817019c89ecc660936d14c779a \ + --hash=sha256:616e9851deb7ededfbcfb3656e74c5a398fa68217432ab9cd9bd23e4f86ee999 \ + --hash=sha256:645855f33db63d6e8751b9560f04039f42695c05edaaa7bc411ad2b5d3970df7 \ + --hash=sha256:6bf9dcee30755d2462194ccc1bdc3b25093708d7820f2f0db7d79ff42f80bbf3 \ + --hash=sha256:6c2190fbe8d5c385d7f26098200d49e6ea53558f489010acb341ab4a430345cf \ + --hash=sha256:6e6b1413450dceb8102447bebaa1ab20185c9f2d48f741a00737feffed1d395e \ + --hash=sha256:71d3381b2a88b203a3fd6e22b52f840194145f096270c3fe03c981018b04eabe \ + --hash=sha256:71df9704012b073b2a4acef05112ab94d62d64e58fbf1649614165c27f057b45 \ + --hash=sha256:746f5bf9e0a40358b8f1037e9ed1bf14fba166fe4c72fef3353eb369d21918ba \ + --hash=sha256:79be795912dbca15134db4ca0639a5b68933850089dc159a5534b4a9c9087573 \ + --hash=sha256:7cba3a110d9a7f1bc3ab09063e85a7952ba77fb799433bc94d231a618eed4e86 \ + --hash=sha256:7d8070718567ed8651f96c96cdb9e61069e84c251fcda93d63ddb096e9db772d \ + --hash=sha256:80528481021e4ed96b713867eb902429ad818c42a3f34dfa8f6d570f4816cb2f \ + --hash=sha256:81829046af53ddc66e5bb908e80a7ca2c617983d70f682ae95c5ab4969f1996e \ + --hash=sha256:818ea09815f042b24be4bc6ed90b3520560f85190d89bbcecbd7231a27b571c2 \ + --hash=sha256:81a6035f9070ea1e0fae796f130b2ad3e7306e397cc0da686b9fc725745ddb8f \ + --hash=sha256:83bc0830ffb9c0a9f036e72c6ff79a9e86e5dcb8a93c4a82d59e54d3071f5a95 \ + --hash=sha256:83c06ee2d5193f79a0ac96b59f3b0a159479a1e8f3c56eafcac43d3a6c0dcd61 \ + --hash=sha256:8470354e9ac80deacba37f0ff8c608a7cad577717175fadaba0af26f0dfe2043 \ + --hash=sha256:8646b68aaed9d583b284d70bec4d6611e6b6e3876f78f58eb7c4d9b79a880698 \ + --hash=sha256:8d900aef5e52ce41d99ec346c35b0b0611bf131864aaaa4e7985ca1fca32eec7 \ + --hash=sha256:907283ecd7d25fbaa51798f5555a5f30ea82de18737aed0c706a0fce3797470b \ + --hash=sha256:91022d535531e1865e43e74b4b843d9a243d8cd4de67b7bc8471917856205b7f \ + --hash=sha256:975ddf5443cd1afeac66c7f6a998ed8a28ed8177d6262c96a4af2b6c384ad149 \ + --hash=sha256:9a0701f4d34c1cf5c1f56b9b0bfa8af7bbf4c0c0e05279b4a255936491e5e23f \ + --hash=sha256:a227376e1b872ef5bae328926aa1d3587cfc26a3ee83120b1c4abac63aa42af8 \ + --hash=sha256:a720fc8f51430590ef60ccc2d91b41bb3706cd136580e11ff65cf5ddf776c82f \ + --hash=sha256:b2c478ceb9c1fbfffdaca481a9dcbe3db9eca273f8e7e6662b16c9bb4308cb89 \ + --hash=sha256:b38f31546e0b0e95495b2ab98a7d607fa0c9812e760fa4ea84dce554083c51f6 \ + --hash=sha256:c74eadbd96c379b7193141edf5596004a616cf4252bfa8bae0a2f2608658470c \ + --hash=sha256:cba137225dbfdd3223bd8b7cfb1965ba8bc90fc3f5f04d22051eb0cae3282378 \ + --hash=sha256:d1fd61883ec0e2275028ab2bc0261e41910acbe34727867350ebdee97ee0e2e1 \ + --hash=sha256:d25816c118033708065b935d8a1f1e0dfa43142b98a261a06a26e484a9980328 \ + --hash=sha256:e7aa0cf10196b4ff80ff78e16ffa43fa0a201b5546f1cb8f1489ff57b48b803c \ + --hash=sha256:ebc4019a9148a87fd45d82d943882764d60d3cec6f0cd2717916eb88c7c618b1 \ + --hash=sha256:ef6a986393b7b845a1b9dac7da59fd89c6196a222d61f32c563d8b6111fb4245 \ + --hash=sha256:ef9332544586ff73bbbe6faf07013b7fb75990e6a5ae3bf9ed89bd93402c46aa \ + --hash=sha256:f102a1da8bbc7d60514af17d429f5fb1554837e6615ec149c5bc54b4674cba9b \ + --hash=sha256:f13f3c61c6591e04668c32b33987aa3956026a54d709b839e53ab852cd29701c \ + --hash=sha256:f53d81553b9f19e7b3f13d6c421a5643013c2d88e312239eb337c5b01aa87216 \ + --hash=sha256:f9cf82ba8a535076febdf7a383795789a4a920e7f48c3a5f5601c53b6f77e403 \ + --hash=sha256:fa71751995146fc33a82f8e08be328a2df10992d0a5da5bc83f4bb33c9ad3120 \ + --hash=sha256:fb11adf496bfe415a8f80528d628b8db4e80b65ad1e55102e483e046ccb690da + # via -r __app__/requirements.txt +aiosignal==1.3.2 \ + --hash=sha256:45cde58e409a301715980c2b01d0c28bdde3770d8290b5eb2173759d9acb31a5 \ + --hash=sha256:a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54 + # via + # -r __app__/requirements.txt + # aiohttp appdirs==1.4.3 \ --hash=sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92 \ - --hash=sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e \ + --hash=sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e # via black -async-timeout==3.0.1 \ - --hash=sha256:0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f \ - --hash=sha256:4291ca197d287d274d0b6cb5d6f8f8f82d434ed288f962539ff18cc9012f9ea3 +async-timeout==4.0.3 \ + --hash=sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f \ + --hash=sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028 + # via + # -r __app__/requirements.txt + # aiohttp asynctest==0.13.0 \ --hash=sha256:5da6118a7e6d6b54d83a8f7197769d046922a44d2a99c21382f0a6e4fadae676 \ --hash=sha256:c27862842d15d83e6a34eb0b2866c323880eb3a75e4485b079ea11748fd77fac -atomicwrites==1.3.0 \ - --hash=sha256:03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4 \ - --hash=sha256:75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6 \ - # via pytest + # via -r dev-requirements.in attrs==19.3.0 \ --hash=sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c \ --hash=sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72 + # via + # -r __app__/requirements.txt + # aiohttp + # black + # pytest azure-functions==1.0.7 \ --hash=sha256:88997fbb7e8ff5b36a71cbadee6c8abbce6c4525942a6f997e24d6cf23fac23b \ --hash=sha256:b65cd543736640d26ff95bfc86438e9c6afade431fa50190334fca757cebf565 + # via -r dev-requirements.in black==19.10b0 \ --hash=sha256:1b30e59be925fafc1ee4565e5e08abef6b03fe455102883820fe5ee2e4734e0b \ --hash=sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539 -chardet==3.0.4 \ - --hash=sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae \ - --hash=sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691 + # via -r dev-requirements.in click==7.0 \ --hash=sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13 \ - --hash=sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7 \ - # via black, pip-tools -colorama==0.4.3 \ - --hash=sha256:7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff \ - --hash=sha256:e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1 \ - # via pytest + --hash=sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7 + # via + # black + # pip-tools coverage==5.0.3 \ --hash=sha256:15cf13a6896048d6d947bf7d222f36e4809ab926894beb748fc9caa14605d9c3 \ --hash=sha256:1daa3eceed220f9fdb80d5ff950dd95112cd27f70d004c7918ca6dfc6c47054c \ @@ -82,26 +161,122 @@ coverage==5.0.3 \ --hash=sha256:da93027835164b8223e8e5af2cf902a4c80ed93cb0909417234f4a9df3bcd9af \ --hash=sha256:e69215621707119c6baf99bda014a45b999d37602cb7043d943c76a59b05bf52 \ --hash=sha256:ea9525e0fef2de9208250d6c5aeeee0138921057cd67fcef90fbed49c4d62d37 \ - --hash=sha256:fca1669d464f0c9831fd10be2eef6b86f5ebd76c724d1e0706ebdff86bb4adf0 \ + --hash=sha256:fca1669d464f0c9831fd10be2eef6b86f5ebd76c724d1e0706ebdff86bb4adf0 # via pytest-cov +frozenlist==1.5.0 \ + --hash=sha256:000a77d6034fbad9b6bb880f7ec073027908f1b40254b5d6f26210d2dab1240e \ + --hash=sha256:03d33c2ddbc1816237a67f66336616416e2bbb6beb306e5f890f2eb22b959cdf \ + --hash=sha256:04a5c6babd5e8fb7d3c871dc8b321166b80e41b637c31a995ed844a6139942b6 \ + --hash=sha256:0996c66760924da6e88922756d99b47512a71cfd45215f3570bf1e0b694c206a \ + --hash=sha256:0cc974cc93d32c42e7b0f6cf242a6bd941c57c61b618e78b6c0a96cb72788c1d \ + --hash=sha256:0f253985bb515ecd89629db13cb58d702035ecd8cfbca7d7a7e29a0e6d39af5f \ + --hash=sha256:11aabdd62b8b9c4b84081a3c246506d1cddd2dd93ff0ad53ede5defec7886b28 \ + --hash=sha256:12f78f98c2f1c2429d42e6a485f433722b0061d5c0b0139efa64f396efb5886b \ + --hash=sha256:140228863501b44b809fb39ec56b5d4071f4d0aa6d216c19cbb08b8c5a7eadb9 \ + --hash=sha256:1431d60b36d15cda188ea222033eec8e0eab488f39a272461f2e6d9e1a8e63c2 \ + --hash=sha256:15538c0cbf0e4fa11d1e3a71f823524b0c46299aed6e10ebb4c2089abd8c3bec \ + --hash=sha256:15b731db116ab3aedec558573c1a5eec78822b32292fe4f2f0345b7f697745c2 \ + --hash=sha256:17dcc32fc7bda7ce5875435003220a457bcfa34ab7924a49a1c19f55b6ee185c \ + --hash=sha256:1893f948bf6681733aaccf36c5232c231e3b5166d607c5fa77773611df6dc336 \ + --hash=sha256:189f03b53e64144f90990d29a27ec4f7997d91ed3d01b51fa39d2dbe77540fd4 \ + --hash=sha256:1a8ea951bbb6cacd492e3948b8da8c502a3f814f5d20935aae74b5df2b19cf3d \ + --hash=sha256:1b96af8c582b94d381a1c1f51ffaedeb77c821c690ea5f01da3d70a487dd0a9b \ + --hash=sha256:1e76bfbc72353269c44e0bc2cfe171900fbf7f722ad74c9a7b638052afe6a00c \ + --hash=sha256:2150cc6305a2c2ab33299453e2968611dacb970d2283a14955923062c8d00b10 \ + --hash=sha256:226d72559fa19babe2ccd920273e767c96a49b9d3d38badd7c91a0fdeda8ea08 \ + --hash=sha256:237f6b23ee0f44066219dae14c70ae38a63f0440ce6750f868ee08775073f942 \ + --hash=sha256:29d94c256679247b33a3dc96cce0f93cbc69c23bf75ff715919332fdbb6a32b8 \ + --hash=sha256:2b5e23253bb709ef57a8e95e6ae48daa9ac5f265637529e4ce6b003a37b2621f \ + --hash=sha256:2d0da8bbec082bf6bf18345b180958775363588678f64998c2b7609e34719b10 \ + --hash=sha256:2f3f7a0fbc219fb4455264cae4d9f01ad41ae6ee8524500f381de64ffaa077d5 \ + --hash=sha256:30c72000fbcc35b129cb09956836c7d7abf78ab5416595e4857d1cae8d6251a6 \ + --hash=sha256:31115ba75889723431aa9a4e77d5f398f5cf976eea3bdf61749731f62d4a4a21 \ + --hash=sha256:31a9ac2b38ab9b5a8933b693db4939764ad3f299fcaa931a3e605bc3460e693c \ + --hash=sha256:366d8f93e3edfe5a918c874702f78faac300209a4d5bf38352b2c1bdc07a766d \ + --hash=sha256:374ca2dabdccad8e2a76d40b1d037f5bd16824933bf7bcea3e59c891fd4a0923 \ + --hash=sha256:44c49271a937625619e862baacbd037a7ef86dd1ee215afc298a417ff3270608 \ + --hash=sha256:45e0896250900b5aa25180f9aec243e84e92ac84bd4a74d9ad4138ef3f5c97de \ + --hash=sha256:498524025a5b8ba81695761d78c8dd7382ac0b052f34e66939c42df860b8ff17 \ + --hash=sha256:50cf5e7ee9b98f22bdecbabf3800ae78ddcc26e4a435515fc72d97903e8488e0 \ + --hash=sha256:52ef692a4bc60a6dd57f507429636c2af8b6046db8b31b18dac02cbc8f507f7f \ + --hash=sha256:561eb1c9579d495fddb6da8959fd2a1fca2c6d060d4113f5844b433fc02f2641 \ + --hash=sha256:5a3ba5f9a0dfed20337d3e966dc359784c9f96503674c2faf015f7fe8e96798c \ + --hash=sha256:5b6a66c18b5b9dd261ca98dffcb826a525334b2f29e7caa54e182255c5f6a65a \ + --hash=sha256:5c28f4b5dbef8a0d8aad0d4de24d1e9e981728628afaf4ea0792f5d0939372f0 \ + --hash=sha256:5d7f5a50342475962eb18b740f3beecc685a15b52c91f7d975257e13e029eca9 \ + --hash=sha256:6321899477db90bdeb9299ac3627a6a53c7399c8cd58d25da094007402b039ab \ + --hash=sha256:6482a5851f5d72767fbd0e507e80737f9c8646ae7fd303def99bfe813f76cf7f \ + --hash=sha256:666534d15ba8f0fda3f53969117383d5dc021266b3c1a42c9ec4855e4b58b9d3 \ + --hash=sha256:683173d371daad49cffb8309779e886e59c2f369430ad28fe715f66d08d4ab1a \ + --hash=sha256:6e9080bb2fb195a046e5177f10d9d82b8a204c0736a97a153c2466127de87784 \ + --hash=sha256:73f2e31ea8dd7df61a359b731716018c2be196e5bb3b74ddba107f694fbd7604 \ + --hash=sha256:7437601c4d89d070eac8323f121fcf25f88674627505334654fd027b091db09d \ + --hash=sha256:76e4753701248476e6286f2ef492af900ea67d9706a0155335a40ea21bf3b2f5 \ + --hash=sha256:7707a25d6a77f5d27ea7dc7d1fc608aa0a478193823f88511ef5e6b8a48f9d03 \ + --hash=sha256:7948140d9f8ece1745be806f2bfdf390127cf1a763b925c4a805c603df5e697e \ + --hash=sha256:7a1a048f9215c90973402e26c01d1cff8a209e1f1b53f72b95c13db61b00f953 \ + --hash=sha256:7d57d8f702221405a9d9b40f9da8ac2e4a1a8b5285aac6100f3393675f0a85ee \ + --hash=sha256:7f3c8c1dacd037df16e85227bac13cca58c30da836c6f936ba1df0c05d046d8d \ + --hash=sha256:81d5af29e61b9c8348e876d442253723928dce6433e0e76cd925cd83f1b4b817 \ + --hash=sha256:828afae9f17e6de596825cf4228ff28fbdf6065974e5ac1410cecc22f699d2b3 \ + --hash=sha256:87f724d055eb4785d9be84e9ebf0f24e392ddfad00b3fe036e43f489fafc9039 \ + --hash=sha256:8969190d709e7c48ea386db202d708eb94bdb29207a1f269bab1196ce0dcca1f \ + --hash=sha256:90646abbc7a5d5c7c19461d2e3eeb76eb0b204919e6ece342feb6032c9325ae9 \ + --hash=sha256:91d6c171862df0a6c61479d9724f22efb6109111017c87567cfeb7b5d1449fdf \ + --hash=sha256:9272fa73ca71266702c4c3e2d4a28553ea03418e591e377a03b8e3659d94fa76 \ + --hash=sha256:92b5278ed9d50fe610185ecd23c55d8b307d75ca18e94c0e7de328089ac5dcba \ + --hash=sha256:97160e245ea33d8609cd2b8fd997c850b56db147a304a262abc2b3be021a9171 \ + --hash=sha256:977701c081c0241d0955c9586ffdd9ce44f7a7795df39b9151cd9a6fd0ce4cfb \ + --hash=sha256:9b7dc0c4338e6b8b091e8faf0db3168a37101943e687f373dce00959583f7439 \ + --hash=sha256:9b93d7aaa36c966fa42efcaf716e6b3900438632a626fb09c049f6a2f09fc631 \ + --hash=sha256:9bbcdfaf4af7ce002694a4e10a0159d5a8d20056a12b05b45cea944a4953f972 \ + --hash=sha256:9c2623347b933fcb9095841f1cc5d4ff0b278addd743e0e966cb3d460278840d \ + --hash=sha256:a2fe128eb4edeabe11896cb6af88fca5346059f6c8d807e3b910069f39157869 \ + --hash=sha256:a72b7a6e3cd2725eff67cd64c8f13335ee18fc3c7befc05aed043d24c7b9ccb9 \ + --hash=sha256:a9fe0f1c29ba24ba6ff6abf688cb0b7cf1efab6b6aa6adc55441773c252f7411 \ + --hash=sha256:b97f7b575ab4a8af9b7bc1d2ef7f29d3afee2226bd03ca3875c16451ad5a7723 \ + --hash=sha256:bdac3c7d9b705d253b2ce370fde941836a5f8b3c5c2b8fd70940a3ea3af7f4f2 \ + --hash=sha256:c03eff4a41bd4e38415cbed054bbaff4a075b093e2394b6915dca34a40d1e38b \ + --hash=sha256:c16d2fa63e0800723139137d667e1056bee1a1cf7965153d2d104b62855e9b99 \ + --hash=sha256:c1fac3e2ace2eb1052e9f7c7db480818371134410e1f5c55d65e8f3ac6d1407e \ + --hash=sha256:ce3aa154c452d2467487765e3adc730a8c153af77ad84096bc19ce19a2400840 \ + --hash=sha256:cee6798eaf8b1416ef6909b06f7dc04b60755206bddc599f52232606e18179d3 \ + --hash=sha256:d1b3eb7b05ea246510b43a7e53ed1653e55c2121019a97e60cad7efb881a97bb \ + --hash=sha256:d994863bba198a4a518b467bb971c56e1db3f180a25c6cf7bb1949c267f748c3 \ + --hash=sha256:dd47a5181ce5fcb463b5d9e17ecfdb02b678cca31280639255ce9d0e5aa67af0 \ + --hash=sha256:dd94994fc91a6177bfaafd7d9fd951bc8689b0a98168aa26b5f543868548d3ca \ + --hash=sha256:de537c11e4aa01d37db0d403b57bd6f0546e71a82347a97c6a9f0dcc532b3a45 \ + --hash=sha256:df6e2f325bfee1f49f81aaac97d2aa757c7646534a06f8f577ce184afe2f0a9e \ + --hash=sha256:e66cc454f97053b79c2ab09c17fbe3c825ea6b4de20baf1be28919460dd7877f \ + --hash=sha256:e79225373c317ff1e35f210dd5f1344ff31066ba8067c307ab60254cd3a78ad5 \ + --hash=sha256:f1577515d35ed5649d52ab4319db757bb881ce3b2b796d7283e6634d99ace307 \ + --hash=sha256:f1e6540b7fa044eee0bb5111ada694cf3dc15f2b0347ca125ee9ca984d5e9e6e \ + --hash=sha256:f2ac49a9bedb996086057b75bf93538240538c6d9b38e57c82d51f75a73409d2 \ + --hash=sha256:f47c9c9028f55a04ac254346e92977bf0f166c483c74b4232bee19a6697e4778 \ + --hash=sha256:f5f9da7f5dbc00a604fe74aa02ae7c98bcede8a3b8b9666f9f86fc13993bc71a \ + --hash=sha256:fd74520371c3c4175142d02a976aee0b4cb4a7cc912a60586ffd8d5929979b30 \ + --hash=sha256:feeb64bc9bcc6b45c6311c9e9b99406660a9c05ca8a5b30d14a78555088b0b3a + # via + # -r __app__/requirements.txt + # aiohttp + # aiosignal gidgethub==3.3.0 \ --hash=sha256:3692d2df48a23c87ec4a5e74053ce343bc59cea7c34488a9136754a35aeb177a \ --hash=sha256:4a456758a5fc8bfd581f297df90f2d09efbb830ccd209b1ceba4723705607d70 -idna-ssl==1.1.0 \ - --hash=sha256:a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c + # via -r __app__/requirements.txt idna==2.8 \ --hash=sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407 \ --hash=sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c -importlib-metadata==1.4.0 \ - --hash=sha256:bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359 \ - --hash=sha256:f17c015735e1a88296994c0697ecea7e11db24290941983b08c9feb30921e6d8 \ - # via pluggy, pytest + # via + # -r __app__/requirements.txt + # yarl importlib-resources==1.0.2 \ --hash=sha256:6e2783b2538bd5a14678284a3962b0660c715e5a0f10243fd5e00a4b5974f50b \ --hash=sha256:d3279fd0f6f847cced9f7acc19bd3e5df54d34f93a2e7bb5f238f81545787078 + # via -r dev-requirements.in more-itertools==8.1.0 \ --hash=sha256:1a2a32c72400d365000412fe08eb4a24ebee89997c18d3d147544f70f5403b39 \ - --hash=sha256:c468adec578380b6281a114cb8a5db34eb1116277da92d7c46f904f0b52d3288 \ + --hash=sha256:c468adec578380b6281a114cb8a5db34eb1116277da92d7c46f904f0b52d3288 # via pytest multidict==4.7.4 \ --hash=sha256:13f3ebdb5693944f52faa7b2065b751cb7e578b8dd0a5bb8e4ab05ad0188b85e \ @@ -121,10 +296,10 @@ multidict==4.7.4 \ --hash=sha256:d7d428488c67b09b26928950a395e41cc72bb9c3d5abfe9f0521940ee4f796d4 \ --hash=sha256:dcfed56aa085b89d644af17442cdc2debaa73388feba4b8026446d168ca8dad7 \ --hash=sha256:f29b885e4903bd57a7789f09fe9d60b6475a6c1a4c0eca874d8558f00f9d4b51 -mypy-extensions==0.4.3 \ - --hash=sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d \ - --hash=sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8 \ - # via mypy + # via + # -r __app__/requirements.txt + # aiohttp + # yarl mypy==0.761 \ --hash=sha256:0a9a45157e532da06fe56adcfef8a74629566b607fa2c1ac0122d1ff995c748a \ --hash=sha256:2c35cae79ceb20d47facfad51f952df16c2ae9f45db6cb38405a3da1cf8fc0a7 \ @@ -140,38 +315,153 @@ mypy==0.761 \ --hash=sha256:c6d27bd20c3ba60d5b02f20bd28e20091d6286a699174dfad515636cb09b5a72 \ --hash=sha256:e2bb577d10d09a2d8822a042a23b8d62bc3b269667c9eb8e60a6edfa000211b1 \ --hash=sha256:f97a605d7c8bc2c6d1172c2f0d5a65b24142e11a58de689046e62c2d632ca8c1 + # via -r dev-requirements.in +mypy-extensions==0.4.3 \ + --hash=sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d \ + --hash=sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8 + # via mypy packaging==20.1 \ --hash=sha256:170748228214b70b672c581a3dd610ee51f733018650740e98c7df862a583f73 \ - --hash=sha256:e665345f9eef0c621aa0bf2f8d78cf6d21904eef16a93f020240b704a57f1334 \ + --hash=sha256:e665345f9eef0c621aa0bf2f8d78cf6d21904eef16a93f020240b704a57f1334 # via pytest pathspec==0.7.0 \ --hash=sha256:163b0632d4e31cef212976cf57b43d9fd6b0bac6e67c26015d611a647d5e7424 \ - --hash=sha256:562aa70af2e0d434367d9790ad37aed893de47f1693e4201fd1d3dca15d19b96 \ + --hash=sha256:562aa70af2e0d434367d9790ad37aed893de47f1693e4201fd1d3dca15d19b96 # via black pip-tools==4.4.0 \ --hash=sha256:636efb9e3d3be0275a9089b5796494ba6d5fe2be37e878d3516a0ac6e64a9179 \ --hash=sha256:da39692c36c1e66bc5fec078500225586a465f90c07287e9e48eb44f11a978b2 + # via -r dev-requirements.in pluggy==0.13.1 \ --hash=sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 \ - --hash=sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d \ + --hash=sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d # via pytest +propcache==0.3.1 \ + --hash=sha256:050b571b2e96ec942898f8eb46ea4bfbb19bd5502424747e83badc2d4a99a44e \ + --hash=sha256:05543250deac8e61084234d5fc54f8ebd254e8f2b39a16b1dce48904f45b744b \ + --hash=sha256:069e7212890b0bcf9b2be0a03afb0c2d5161d91e1bf51569a64f629acc7defbf \ + --hash=sha256:09400e98545c998d57d10035ff623266927cb784d13dd2b31fd33b8a5316b85b \ + --hash=sha256:0c3c3a203c375b08fd06a20da3cf7aac293b834b6f4f4db71190e8422750cca5 \ + --hash=sha256:0c86e7ceea56376216eba345aa1fc6a8a6b27ac236181f840d1d7e6a1ea9ba5c \ + --hash=sha256:0fbe94666e62ebe36cd652f5fc012abfbc2342de99b523f8267a678e4dfdee3c \ + --hash=sha256:17d1c688a443355234f3c031349da69444be052613483f3e4158eef751abcd8a \ + --hash=sha256:19a06db789a4bd896ee91ebc50d059e23b3639c25d58eb35be3ca1cbe967c3bf \ + --hash=sha256:1c5c7ab7f2bb3f573d1cb921993006ba2d39e8621019dffb1c5bc94cdbae81e8 \ + --hash=sha256:1eb34d90aac9bfbced9a58b266f8946cb5935869ff01b164573a7634d39fbcb5 \ + --hash=sha256:1f6cc0ad7b4560e5637eb2c994e97b4fa41ba8226069c9277eb5ea7101845b42 \ + --hash=sha256:27c6ac6aa9fc7bc662f594ef380707494cb42c22786a558d95fcdedb9aa5d035 \ + --hash=sha256:2d219b0dbabe75e15e581fc1ae796109b07c8ba7d25b9ae8d650da582bed01b0 \ + --hash=sha256:2fce1df66915909ff6c824bbb5eb403d2d15f98f1518e583074671a30fe0c21e \ + --hash=sha256:319fa8765bfd6a265e5fa661547556da381e53274bc05094fc9ea50da51bfd46 \ + --hash=sha256:359e81a949a7619802eb601d66d37072b79b79c2505e6d3fd8b945538411400d \ + --hash=sha256:3a02a28095b5e63128bcae98eb59025924f121f048a62393db682f049bf4ac24 \ + --hash=sha256:3e19ea4ea0bf46179f8a3652ac1426e6dcbaf577ce4b4f65be581e237340420d \ + --hash=sha256:3e584b6d388aeb0001d6d5c2bd86b26304adde6d9bb9bfa9c4889805021b96de \ + --hash=sha256:40d980c33765359098837527e18eddefc9a24cea5b45e078a7f3bb5b032c6ecf \ + --hash=sha256:4114c4ada8f3181af20808bedb250da6bae56660e4b8dfd9cd95d4549c0962f7 \ + --hash=sha256:43593c6772aa12abc3af7784bff4a41ffa921608dd38b77cf1dfd7f5c4e71371 \ + --hash=sha256:47ef24aa6511e388e9894ec16f0fbf3313a53ee68402bc428744a367ec55b833 \ + --hash=sha256:4cf9e93a81979f1424f1a3d155213dc928f1069d697e4353edb8a5eba67c6259 \ + --hash=sha256:4d0dfdd9a2ebc77b869a0b04423591ea8823f791293b527dc1bb896c1d6f1136 \ + --hash=sha256:563f9d8c03ad645597b8d010ef4e9eab359faeb11a0a2ac9f7b4bc8c28ebef25 \ + --hash=sha256:58aa11f4ca8b60113d4b8e32d37e7e78bd8af4d1a5b5cb4979ed856a45e62005 \ + --hash=sha256:5a0a9898fdb99bf11786265468571e628ba60af80dc3f6eb89a3545540c6b0ef \ + --hash=sha256:5aed8d8308215089c0734a2af4f2e95eeb360660184ad3912686c181e500b2e7 \ + --hash=sha256:5b9145c35cc87313b5fd480144f8078716007656093d23059e8993d3a8fa730f \ + --hash=sha256:5cb5918253912e088edbf023788de539219718d3b10aef334476b62d2b53de53 \ + --hash=sha256:5cdb0f3e1eb6dfc9965d19734d8f9c481b294b5274337a8cb5cb01b462dcb7e0 \ + --hash=sha256:5ced33d827625d0a589e831126ccb4f5c29dfdf6766cac441d23995a65825dcb \ + --hash=sha256:603f1fe4144420374f1a69b907494c3acbc867a581c2d49d4175b0de7cc64566 \ + --hash=sha256:61014615c1274df8da5991a1e5da85a3ccb00c2d4701ac6f3383afd3ca47ab0a \ + --hash=sha256:64a956dff37080b352c1c40b2966b09defb014347043e740d420ca1eb7c9b908 \ + --hash=sha256:668ddddc9f3075af019f784456267eb504cb77c2c4bd46cc8402d723b4d200bf \ + --hash=sha256:6d8e309ff9a0503ef70dc9a0ebd3e69cf7b3894c9ae2ae81fc10943c37762458 \ + --hash=sha256:6f173bbfe976105aaa890b712d1759de339d8a7cef2fc0a1714cc1a1e1c47f64 \ + --hash=sha256:71ebe3fe42656a2328ab08933d420df5f3ab121772eef78f2dc63624157f0ed9 \ + --hash=sha256:730178f476ef03d3d4d255f0c9fa186cb1d13fd33ffe89d39f2cda4da90ceb71 \ + --hash=sha256:7d2d5a0028d920738372630870e7d9644ce437142197f8c827194fca404bf03b \ + --hash=sha256:7f30241577d2fef2602113b70ef7231bf4c69a97e04693bde08ddab913ba0ce5 \ + --hash=sha256:813fbb8b6aea2fc9659815e585e548fe706d6f663fa73dff59a1677d4595a037 \ + --hash=sha256:82de5da8c8893056603ac2d6a89eb8b4df49abf1a7c19d536984c8dd63f481d5 \ + --hash=sha256:83be47aa4e35b87c106fc0c84c0fc069d3f9b9b06d3c494cd404ec6747544894 \ + --hash=sha256:8638f99dca15b9dff328fb6273e09f03d1c50d9b6512f3b65a4154588a7595fe \ + --hash=sha256:87380fb1f3089d2a0b8b00f006ed12bd41bd858fabfa7330c954c70f50ed8757 \ + --hash=sha256:88c423efef9d7a59dae0614eaed718449c09a5ac79a5f224a8b9664d603f04a3 \ + --hash=sha256:89498dd49c2f9a026ee057965cdf8192e5ae070ce7d7a7bd4b66a8e257d0c976 \ + --hash=sha256:8a17583515a04358b034e241f952f1715243482fc2c2945fd99a1b03a0bd77d6 \ + --hash=sha256:916cd229b0150129d645ec51614d38129ee74c03293a9f3f17537be0029a9641 \ + --hash=sha256:9532ea0b26a401264b1365146c440a6d78269ed41f83f23818d4b79497aeabe7 \ + --hash=sha256:967a8eec513dbe08330f10137eacb427b2ca52118769e82ebcfcab0fba92a649 \ + --hash=sha256:975af16f406ce48f1333ec5e912fe11064605d5c5b3f6746969077cc3adeb120 \ + --hash=sha256:9979643ffc69b799d50d3a7b72b5164a2e97e117009d7af6dfdd2ab906cb72cd \ + --hash=sha256:9a8ecf38de50a7f518c21568c80f985e776397b902f1ce0b01f799aba1608b40 \ + --hash=sha256:9cec3239c85ed15bfaded997773fdad9fb5662b0a7cbc854a43f291eb183179e \ + --hash=sha256:9e64e948ab41411958670f1093c0a57acfdc3bee5cf5b935671bbd5313bcf229 \ + --hash=sha256:9f64d91b751df77931336b5ff7bafbe8845c5770b06630e27acd5dbb71e1931c \ + --hash=sha256:a0ab8cf8cdd2194f8ff979a43ab43049b1df0b37aa64ab7eca04ac14429baeb7 \ + --hash=sha256:a110205022d077da24e60b3df8bcee73971be9575dec5573dd17ae5d81751111 \ + --hash=sha256:a34aa3a1abc50740be6ac0ab9d594e274f59960d3ad253cd318af76b996dd654 \ + --hash=sha256:a444192f20f5ce8a5e52761a031b90f5ea6288b1eef42ad4c7e64fef33540b8f \ + --hash=sha256:a461959ead5b38e2581998700b26346b78cd98540b5524796c175722f18b0294 \ + --hash=sha256:a75801768bbe65499495660b777e018cbe90c7980f07f8aa57d6be79ea6f71da \ + --hash=sha256:aa8efd8c5adc5a2c9d3b952815ff8f7710cefdcaf5f2c36d26aff51aeca2f12f \ + --hash=sha256:aca63103895c7d960a5b9b044a83f544b233c95e0dcff114389d64d762017af7 \ + --hash=sha256:b0313e8b923b3814d1c4a524c93dfecea5f39fa95601f6a9b1ac96cd66f89ea0 \ + --hash=sha256:b23c11c2c9e6d4e7300c92e022046ad09b91fd00e36e83c44483df4afa990073 \ + --hash=sha256:b303b194c2e6f171cfddf8b8ba30baefccf03d36a4d9cab7fd0bb68ba476a3d7 \ + --hash=sha256:b655032b202028a582d27aeedc2e813299f82cb232f969f87a4fde491a233f11 \ + --hash=sha256:bd39c92e4c8f6cbf5f08257d6360123af72af9f4da75a690bef50da77362d25f \ + --hash=sha256:bef100c88d8692864651b5f98e871fb090bd65c8a41a1cb0ff2322db39c96c27 \ + --hash=sha256:c2fe5c910f6007e716a06d269608d307b4f36e7babee5f36533722660e8c4a70 \ + --hash=sha256:c66d8ccbc902ad548312b96ed8d5d266d0d2c6d006fd0f66323e9d8f2dd49be7 \ + --hash=sha256:cd6a55f65241c551eb53f8cf4d2f4af33512c39da5d9777694e9d9c60872f519 \ + --hash=sha256:d249609e547c04d190e820d0d4c8ca03ed4582bcf8e4e160a6969ddfb57b62e5 \ + --hash=sha256:d4e89cde74154c7b5957f87a355bb9c8ec929c167b59c83d90654ea36aeb6180 \ + --hash=sha256:dc1915ec523b3b494933b5424980831b636fe483d7d543f7afb7b3bf00f0c10f \ + --hash=sha256:e1c4d24b804b3a87e9350f79e2371a705a188d292fd310e663483af6ee6718ee \ + --hash=sha256:e474fc718e73ba5ec5180358aa07f6aded0ff5f2abe700e3115c37d75c947e18 \ + --hash=sha256:e4fe2a6d5ce975c117a6bb1e8ccda772d1e7029c1cca1acd209f91d30fa72815 \ + --hash=sha256:e7fb9a84c9abbf2b2683fa3e7b0d7da4d8ecf139a1c635732a8bda29c5214b0e \ + --hash=sha256:e861ad82892408487be144906a368ddbe2dc6297074ade2d892341b35c59844a \ + --hash=sha256:ec314cde7314d2dd0510c6787326bbffcbdc317ecee6b7401ce218b3099075a7 \ + --hash=sha256:ed5f6d2edbf349bd8d630e81f474d33d6ae5d07760c44d33cd808e2f5c8f4ae6 \ + --hash=sha256:ef2e4e91fb3945769e14ce82ed53007195e616a63aa43b40fb7ebaaf907c8d4c \ + --hash=sha256:f011f104db880f4e2166bcdcf7f58250f7a465bc6b068dc84c824a3d4a5c94dc \ + --hash=sha256:f1528ec4374617a7a753f90f20e2f551121bb558fcb35926f99e3c42367164b8 \ + --hash=sha256:f27785888d2fdd918bc36de8b8739f2d6c791399552333721b58193f68ea3e98 \ + --hash=sha256:f35c7070eeec2cdaac6fd3fe245226ed2a6292d3ee8c938e5bb645b434c5f256 \ + --hash=sha256:f3bbecd2f34d0e6d3c543fdb3b15d6b60dd69970c2b4c822379e5ec8f6f621d5 \ + --hash=sha256:f6f1324db48f001c2ca26a25fa25af60711e09b9aaf4b28488602776f4f9a744 \ + --hash=sha256:f78eb8422acc93d7b69964012ad7048764bb45a54ba7a39bb9e146c72ea29723 \ + --hash=sha256:fb6e0faf8cb6b4beea5d6ed7b5a578254c6d7df54c36ccd3d8b3eb00d6770277 \ + --hash=sha256:feccd282de1f6322f56f6845bf1207a537227812f0a9bf5571df52bb418d79d5 + # via + # -r __app__/requirements.txt + # aiohttp + # yarl py==1.8.1 \ --hash=sha256:5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa \ - --hash=sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0 \ + --hash=sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0 # via pytest pyparsing==2.4.6 \ --hash=sha256:4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f \ - --hash=sha256:c342dccb5250c08d45fd6f8b4a559613ca603b57498511740e65cd11a2e7dcec \ + --hash=sha256:c342dccb5250c08d45fd6f8b4a559613ca603b57498511740e65cd11a2e7dcec # via packaging +pytest==5.3.4 \ + --hash=sha256:1d122e8be54d1a709e56f82e2d85dcba3018313d64647f38a91aec88c239b600 \ + --hash=sha256:c13d1943c63e599b98cf118fcb9703e4d7bde7caa9a432567bcdcae4bf512d20 + # via + # -r dev-requirements.in + # pytest-asyncio + # pytest-cov pytest-asyncio==0.10.0 \ --hash=sha256:9fac5100fd716cbecf6ef89233e8590a4ad61d729d1732e0a96b84182df1daaf \ --hash=sha256:d734718e25cfc32d2bf78d346e99d33724deeba774cc4afdf491530c6184b63b + # via -r dev-requirements.in pytest-cov==2.8.1 \ --hash=sha256:cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b \ --hash=sha256:cdbdef4f870408ebdbfeb44e63e07eb18bb4619fae852f6e760645fa36172626 -pytest==5.3.4 \ - --hash=sha256:1d122e8be54d1a709e56f82e2d85dcba3018313d64647f38a91aec88c239b600 \ - --hash=sha256:c13d1943c63e599b98cf118fcb9703e4d7bde7caa9a432567bcdcae4bf512d20 + # via -r dev-requirements.in regex==2020.1.8 \ --hash=sha256:07b39bf943d3d2fe63d46281d8504f8df0ff3fe4c57e13d1656737950e53e525 \ --hash=sha256:0932941cdfb3afcbc26cc3bcf7c3f3d73d5a9b9c56955d432dbf8bbc147d4c5b \ @@ -193,15 +483,17 @@ regex==2020.1.8 \ --hash=sha256:e3cd21cc2840ca67de0bbe4071f79f031c81418deb544ceda93ad75ca1ee9f7b \ --hash=sha256:e6c02171d62ed6972ca8631f6f34fa3281d51db8b326ee397b9c83093a6b7242 \ --hash=sha256:e7c7661f7276507bce416eaae22040fd91ca471b5b33c13f8ff21137ed6f248c \ - --hash=sha256:ecc6de77df3ef68fee966bb8cb4e067e84d4d1f397d0ef6fce46913663540d77 \ + --hash=sha256:ecc6de77df3ef68fee966bb8cb4e067e84d4d1f397d0ef6fce46913663540d77 # via black six==1.14.0 \ --hash=sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a \ - --hash=sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c \ - # via packaging, pip-tools + --hash=sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c + # via + # packaging + # pip-tools toml==0.10.0 \ --hash=sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c \ - --hash=sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e \ + --hash=sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e # via black typed-ast==1.4.1 \ --hash=sha256:0666aa36131496aed8f7be0410ff974562ab7eeac11ef351def9ea6fa28f6355 \ @@ -224,38 +516,108 @@ typed-ast==1.4.1 \ --hash=sha256:d43943ef777f9a1c42bf4e552ba23ac77a6351de620aa9acf64ad54933ad4d34 \ --hash=sha256:d5d33e9e7af3b34a40dc05f498939f0ebf187f07c385fd58d591c533ad8562fe \ --hash=sha256:fc0fea399acb12edbf8a628ba8d2312f583bdbdb3335635db062fa98cf71fca4 \ - --hash=sha256:fe460b922ec15dd205595c9b5b99e2f056fd98ae8f9f56b888e7a17dc2b757e7 \ - # via black, mypy + --hash=sha256:fe460b922ec15dd205595c9b5b99e2f056fd98ae8f9f56b888e7a17dc2b757e7 + # via + # black + # mypy typing-extensions==3.7.4.1 \ --hash=sha256:091ecc894d5e908ac75209f10d5b4f118fbdb2eb1ede6a63544054bb1edb41f2 \ --hash=sha256:910f4656f54de5993ad9304959ce9bb903f90aadc7c67a0bef07e678014e892d \ --hash=sha256:cf8b63fedea4d89bab840ecbb93e75578af28f76f66c35889bd7065f5af88575 + # via mypy uritemplate==3.0.1 \ --hash=sha256:07620c3f3f8eed1f12600845892b0e036a2420acf513c53f7de0abd911a5894f \ --hash=sha256:5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae + # via + # -r __app__/requirements.txt + # gidgethub wcwidth==0.1.8 \ --hash=sha256:8fd29383f539be45b20bd4df0dc29c20ba48654a41e661925e612311e9f3c603 \ - --hash=sha256:f28b3e8a6483e5d49e7f8949ac1a78314e740333ae305b4ba5defd3e74fb37a8 \ + --hash=sha256:f28b3e8a6483e5d49e7f8949ac1a78314e740333ae305b4ba5defd3e74fb37a8 # via pytest -yarl==1.4.2 \ - --hash=sha256:0c2ab325d33f1b824734b3ef51d4d54a54e0e7a23d13b86974507602334c2cce \ - --hash=sha256:0ca2f395591bbd85ddd50a82eb1fde9c1066fafe888c5c7cc1d810cf03fd3cc6 \ - --hash=sha256:2098a4b4b9d75ee352807a95cdf5f10180db903bc5b7270715c6bbe2551f64ce \ - --hash=sha256:25e66e5e2007c7a39541ca13b559cd8ebc2ad8fe00ea94a2aad28a9b1e44e5ae \ - --hash=sha256:26d7c90cb04dee1665282a5d1a998defc1a9e012fdca0f33396f81508f49696d \ - --hash=sha256:308b98b0c8cd1dfef1a0311dc5e38ae8f9b58349226aa0533f15a16717ad702f \ - --hash=sha256:3ce3d4f7c6b69c4e4f0704b32eca8123b9c58ae91af740481aa57d7857b5e41b \ - --hash=sha256:58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b \ - --hash=sha256:5b10eb0e7f044cf0b035112446b26a3a2946bca9d7d7edb5e54a2ad2f6652abb \ - --hash=sha256:6faa19d3824c21bcbfdfce5171e193c8b4ddafdf0ac3f129ccf0cdfcb083e462 \ - --hash=sha256:944494be42fa630134bf907714d40207e646fd5a94423c90d5b514f7b0713fea \ - --hash=sha256:a161de7e50224e8e3de6e184707476b5a989037dcb24292b391a3d66ff158e70 \ - --hash=sha256:a4844ebb2be14768f7994f2017f70aca39d658a96c786211be5ddbe1c68794c1 \ - --hash=sha256:c2b509ac3d4b988ae8769901c66345425e361d518aecbe4acbfc2567e416626a \ - --hash=sha256:c9959d49a77b0e07559e579f38b2f3711c2b8716b8410b320bf9713013215a1b \ - --hash=sha256:d8cdee92bc930d8b09d8bd2043cedd544d9c8bd7436a77678dd602467a993080 \ - --hash=sha256:e15199cdb423316e15f108f51249e44eb156ae5dba232cb73be555324a1d49c2 -zipp==2.1.0 \ - --hash=sha256:ccc94ed0909b58ffe34430ea5451f07bc0c76467d7081619a454bf5c98b89e28 \ - --hash=sha256:feae2f18633c32fc71f2de629bfb3bd3c9325cd4419642b1f1da42ee488d9b98 \ - # via importlib-metadata +yarl==1.18.3 \ + --hash=sha256:00e5a1fea0fd4f5bfa7440a47eff01d9822a65b4488f7cff83155a0f31a2ecba \ + --hash=sha256:02ddb6756f8f4517a2d5e99d8b2f272488e18dd0bfbc802f31c16c6c20f22193 \ + --hash=sha256:045b8482ce9483ada4f3f23b3774f4e1bf4f23a2d5c912ed5170f68efb053318 \ + --hash=sha256:09c7907c8548bcd6ab860e5f513e727c53b4a714f459b084f6580b49fa1b9cee \ + --hash=sha256:0b0cad37311123211dc91eadcb322ef4d4a66008d3e1bdc404808992260e1a0e \ + --hash=sha256:0b3c92fa08759dbf12b3a59579a4096ba9af8dd344d9a813fc7f5070d86bbab1 \ + --hash=sha256:0fb2171a4486bb075316ee754c6d8382ea6eb8b399d4ec62fde2b591f879778a \ + --hash=sha256:1a74a13a4c857a84a845505fd2d68e54826a2cd01935a96efb1e9d86c728e186 \ + --hash=sha256:1d407181cfa6e70077df3377938c08012d18893f9f20e92f7d2f314a437c30b1 \ + --hash=sha256:1dd4bdd05407ced96fed3d7f25dbbf88d2ffb045a0db60dbc247f5b3c5c25d50 \ + --hash=sha256:25b411eddcfd56a2f0cd6a384e9f4f7aa3efee14b188de13048c25b5e91f1640 \ + --hash=sha256:2d06d3005e668744e11ed80812e61efd77d70bb7f03e33c1598c301eea20efbb \ + --hash=sha256:2ec9bbba33b2d00999af4631a3397d1fd78290c48e2a3e52d8dd72db3a067ac8 \ + --hash=sha256:3236da9272872443f81fedc389bace88408f64f89f75d1bdb2256069a8730ccc \ + --hash=sha256:35098b24e0327fc4ebdc8ffe336cee0a87a700c24ffed13161af80124b7dc8e5 \ + --hash=sha256:41f7ce59d6ee7741af71d82020346af364949314ed3d87553763a2df1829cc58 \ + --hash=sha256:436c4fc0a4d66b2badc6c5fc5ef4e47bb10e4fd9bf0c79524ac719a01f3607c2 \ + --hash=sha256:4891ed92157e5430874dad17b15eb1fda57627710756c27422200c52d8a4e393 \ + --hash=sha256:4ac515b860c36becb81bb84b667466885096b5fc85596948548b667da3bf9f24 \ + --hash=sha256:5094d9206c64181d0f6e76ebd8fb2f8fe274950a63890ee9e0ebfd58bf9d787b \ + --hash=sha256:54d6921f07555713b9300bee9c50fb46e57e2e639027089b1d795ecd9f7fa910 \ + --hash=sha256:578e281c393af575879990861823ef19d66e2b1d0098414855dd367e234f5b3c \ + --hash=sha256:5a3f356548e34a70b0172d8890006c37be92995f62d95a07b4a42e90fba54272 \ + --hash=sha256:602d98f2c2d929f8e697ed274fbadc09902c4025c5a9963bf4e9edfc3ab6f7ed \ + --hash=sha256:61b1a825a13bef4a5f10b1885245377d3cd0bf87cba068e1d9a88c2ae36880e1 \ + --hash=sha256:61e5e68cb65ac8f547f6b5ef933f510134a6bf31bb178be428994b0cb46c2a04 \ + --hash=sha256:61ee62ead9b68b9123ec24bc866cbef297dd266175d53296e2db5e7f797f902d \ + --hash=sha256:6333c5a377c8e2f5fae35e7b8f145c617b02c939d04110c76f29ee3676b5f9a5 \ + --hash=sha256:6748dbf9bfa5ba1afcc7556b71cda0d7ce5f24768043a02a58846e4a443d808d \ + --hash=sha256:67a283dd2882ac98cc6318384f565bffc751ab564605959df4752d42483ad889 \ + --hash=sha256:75674776d96d7b851b6498f17824ba17849d790a44d282929c42dbb77d4f17ae \ + --hash=sha256:757e81cae69244257d125ff31663249b3013b5dc0a8520d73694aed497fb195b \ + --hash=sha256:77a6e85b90a7641d2e07184df5557132a337f136250caafc9ccaa4a2a998ca2c \ + --hash=sha256:7c33dd1931a95e5d9a772d0ac5e44cac8957eaf58e3c8da8c1414de7dd27c576 \ + --hash=sha256:7df647e8edd71f000a5208fe6ff8c382a1de8edfbccdbbfe649d263de07d8c34 \ + --hash=sha256:7e2ee16578af3b52ac2f334c3b1f92262f47e02cc6193c598502bd46f5cd1477 \ + --hash=sha256:80316a8bd5109320d38eef8833ccf5f89608c9107d02d2a7f985f98ed6876990 \ + --hash=sha256:82123d0c954dc58db301f5021a01854a85bf1f3bb7d12ae0c01afc414a882ca2 \ + --hash=sha256:84b2deecba4a3f1a398df819151eb72d29bfeb3b69abb145a00ddc8d30094512 \ + --hash=sha256:8503ad47387b8ebd39cbbbdf0bf113e17330ffd339ba1144074da24c545f0069 \ + --hash=sha256:877d209b6aebeb5b16c42cbb377f5f94d9e556626b1bfff66d7b0d115be88d0a \ + --hash=sha256:8874027a53e3aea659a6d62751800cf6e63314c160fd607489ba5c2edd753cf6 \ + --hash=sha256:88a19f62ff30117e706ebc9090b8ecc79aeb77d0b1f5ec10d2d27a12bc9f66d0 \ + --hash=sha256:8d39d351e7faf01483cc7ff7c0213c412e38e5a340238826be7e0e4da450fdc8 \ + --hash=sha256:90adb47ad432332d4f0bc28f83a5963f426ce9a1a8809f5e584e704b82685dcb \ + --hash=sha256:913829534200eb0f789d45349e55203a091f45c37a2674678744ae52fae23efa \ + --hash=sha256:93b2e109287f93db79210f86deb6b9bbb81ac32fc97236b16f7433db7fc437d8 \ + --hash=sha256:9d41beda9dc97ca9ab0b9888cb71f7539124bc05df02c0cff6e5acc5a19dcc6e \ + --hash=sha256:a440a2a624683108a1b454705ecd7afc1c3438a08e890a1513d468671d90a04e \ + --hash=sha256:a4bb030cf46a434ec0225bddbebd4b89e6471814ca851abb8696170adb163985 \ + --hash=sha256:a9ca04806f3be0ac6d558fffc2fdf8fcef767e0489d2684a21912cc4ed0cd1b8 \ + --hash=sha256:ac1801c45cbf77b6c99242eeff4fffb5e4e73a800b5c4ad4fc0be5def634d2e1 \ + --hash=sha256:ac36703a585e0929b032fbaab0707b75dc12703766d0b53486eabd5139ebadd5 \ + --hash=sha256:b1771de9944d875f1b98a745bc547e684b863abf8f8287da8466cf470ef52690 \ + --hash=sha256:b464c4ab4bfcb41e3bfd3f1c26600d038376c2de3297760dfe064d2cb7ea8e10 \ + --hash=sha256:b4f6450109834af88cb4cc5ecddfc5380ebb9c228695afc11915a0bf82116789 \ + --hash=sha256:b57f4f58099328dfb26c6a771d09fb20dbbae81d20cfb66141251ea063bd101b \ + --hash=sha256:b643562c12680b01e17239be267bc306bbc6aac1f34f6444d1bded0c5ce438ca \ + --hash=sha256:b958ddd075ddba5b09bb0be8a6d9906d2ce933aee81100db289badbeb966f54e \ + --hash=sha256:b9d60031cf568c627d028239693fd718025719c02c9f55df0a53e587aab951b5 \ + --hash=sha256:ba23302c0c61a9999784e73809427c9dbedd79f66a13d84ad1b1943802eaaf59 \ + --hash=sha256:ba87babd629f8af77f557b61e49e7c7cac36f22f871156b91e10a6e9d4f829e9 \ + --hash=sha256:c017a3b6df3a1bd45b9fa49a0f54005e53fbcad16633870104b66fa1a30a29d8 \ + --hash=sha256:c1e1cc06da1491e6734f0ea1e6294ce00792193c463350626571c287c9a704db \ + --hash=sha256:c654d5207c78e0bd6d749f6dae1dcbbfde3403ad3a4b11f3c5544d9906969dde \ + --hash=sha256:c69697d3adff5aa4f874b19c0e4ed65180ceed6318ec856ebc423aa5850d84f7 \ + --hash=sha256:c7d79f7d9aabd6011004e33b22bc13056a3e3fb54794d138af57f5ee9d9032cb \ + --hash=sha256:ccaa3a4b521b780a7e771cc336a2dba389a0861592bbce09a476190bb0c8b4b3 \ + --hash=sha256:ccd17349166b1bee6e529b4add61727d3f55edb7babbe4069b5764c9587a8cc6 \ + --hash=sha256:ce1af883b94304f493698b00d0f006d56aea98aeb49d75ec7d98cd4a777e9285 \ + --hash=sha256:d0e883008013c0e4aef84dcfe2a0b172c4d23c2669412cf5b3371003941f72bb \ + --hash=sha256:d980e0325b6eddc81331d3f4551e2a333999fb176fd153e075c6d1c2530aa8a8 \ + --hash=sha256:e17c9361d46a4d5addf777c6dd5eab0715a7684c2f11b88c67ac37edfba6c482 \ + --hash=sha256:e2c08cc9b16f4f4bc522771d96734c7901e7ebef70c6c5c35dd0f10845270bcd \ + --hash=sha256:e35ef8683211db69ffe129a25d5634319a677570ab6b2eba4afa860f54eeaf75 \ + --hash=sha256:e3b9fd71836999aad54084906f8663dffcd2a7fb5cdafd6c37713b2e72be1760 \ + --hash=sha256:ef9f7768395923c3039055c14334ba4d926f3baf7b776c923c93d80195624782 \ + --hash=sha256:f52a265001d830bc425f82ca9eabda94a64a4d753b07d623a9f2863fde532b53 \ + --hash=sha256:f91c4803173928a25e1a55b943c81f55b8872f0018be83e3ad4938adffb77dd2 \ + --hash=sha256:fbd6748e8ab9b41171bb95c6142faf068f5ef1511935a0aa07025438dd9a9bc1 \ + --hash=sha256:fe57328fbc1bfd0bd0514470ac692630f3901c0ee39052ae47acd1d90a436719 \ + --hash=sha256:fea09ca13323376a2fdfb353a5fa2e59f90cd18d7ca4eaa1fd31f0a8b4f91e62 + # via + # -r __app__/requirements.txt + # aiohttp diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_ghutils/__init__.py b/tests/test_ghutils/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_ghutils/test_ping.py b/tests/test_ghutils/test_ping.py deleted file mode 100644 index 79abb1f..0000000 --- a/tests/test_ghutils/test_ping.py +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. - -import gidgethub.sansio -import pytest - -from __app__.ghutils import ping - - -class Logger: - def __init__(self): - self._logged = [] - - def info(self, message): - self._logged.append(message) - - -@pytest.mark.asyncio -async def test_ping(): - gh = object() - event = gidgethub.sansio.Event({}, event="ping", delivery_id="12345") - await ping.router.dispatch(event, gh) - - -@pytest.mark.asyncio -async def test_ping_logging(): - logger = Logger() - gh = object() - event = gidgethub.sansio.Event({}, event="ping", delivery_id="12345") - - await ping.router.dispatch(event, gh, logger=logger) - assert len(logger._logged) == 1 - assert "ping" in logger._logged[0] diff --git a/tests/test_ghutils/test_server.py b/tests/test_ghutils/test_server.py deleted file mode 100644 index 2bb1854..0000000 --- a/tests/test_ghutils/test_server.py +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. - -import gidgethub.routing -import pytest - -from __app__.ghutils import server - - -class Logger: - def __init__(self): - self._logged = [] - - def info(self, message): - self._logged.append(message) - - -@pytest.mark.asyncio -async def test_event_creation_and_routing(): - body = '{"action": "opened"}'.encode("UTF-8") - secret = "123456" - headers = { - "content-type": "application/json", - "x-github-event": "pull_request", - "x-github-delivery": "72d3162e-cc78-11e3-81ab-4c9367dc0958", - "x-hub-signature": "sha1=c28e33b2e56e548956c446e890929a6cbec3ac89", - } - router = gidgethub.routing.Router() - gh = object() - logger = Logger() - route_hit = None - - @router.register("pull_request", action="opened") - async def routed(*args, **kwargs): - nonlocal route_hit - route_hit = args, kwargs - - await server.serve(gh, router, headers, body, secret=secret, logger=logger, pause=0) - assert route_hit[0][0].event == "pull_request" # Test event creation. - assert route_hit[0][1] == gh # Test routing. - assert route_hit[1]["logger"] is logger # Test logger passed into routes. - - -@pytest.mark.asyncio -async def test_logging(): - body = '{"action": "opened"}'.encode("UTF-8") - secret = "123456" - headers = { - "content-type": "application/json", - "x-github-event": "pull_request", - "x-github-delivery": "72d3162e-cc78-11e3-81ab-4c9367dc0958", - "x-hub-signature": "sha1=c28e33b2e56e548956c446e890929a6cbec3ac89", - } - router = gidgethub.routing.Router() - gh = object() - logger = Logger() - - await server.serve(gh, router, headers, body, secret=secret, logger=logger, pause=0) - assert headers["x-github-delivery"] in logger._logged[0] - - # Setting a logger is optional. - await server.serve(gh, router, headers, body, secret=secret, logger=None, pause=0) diff --git a/tests/test_github/__init__.py b/tests/test_github/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_github/samples/__init__.py b/tests/test_github/samples/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_github/samples/issues-closed.json b/tests/test_github/samples/issues-closed.json deleted file mode 100644 index 22d6946..0000000 --- a/tests/test_github/samples/issues-closed.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "action": "closed", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3453", - "id": 383940383, - "node_id": "MDU6SXNzdWUzODM5NDAzODM=", - "number": 3453, - "title": "An issue already triaged", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1019706345, - "node_id": "MDU6TGFiZWwxMDE5NzA2MzQ1", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/P2", - "name": "P2", - "color": "e564df", - "default": false - }, - { - "id": 717153660, - "node_id": "MDU6TGFiZWw3MTcxNTM2NjA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/feature-*", - "name": "feature-*", - "color": "006b75", - "default": false - }, - { - "id": 1039483691, - "node_id": "MDU6TGFiZWwxMDM5NDgzNjkx", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/needs%20spec", - "name": "needs spec", - "color": "fbca04", - "default": false - }, - { - "id": 717072030, - "node_id": "MDU6TGFiZWw3MTcwNzIwMzA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/type-code%20health", - "name": "type-code health", - "color": "f9d0c4", - "default": false - } - ], - "state": "closed", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2018-11-23T23:16:39Z", - "updated_at": "2018-11-23T23:27:18Z", - "closed_at": "2018-11-23T23:27:18Z", - "author_association": "MEMBER", - "body": "This is to help with #3327 ." - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-11-23T19:54:09Z", - "pushed_at": "2018-11-22T19:40:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 60641, - "stargazers_count": 959, - "watchers_count": 959, - "language": "TypeScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 196, - "mirror_url": null, - "archived": false, - "open_issues_count": 547, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 196, - "open_issues": 547, - "watchers": 959, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-labeled-classify.json b/tests/test_github/samples/issues-labeled-classify.json deleted file mode 100644 index 22ec19a..0000000 --- a/tests/test_github/samples/issues-labeled-classify.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "action": "labeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3765", - "id": 393171033, - "node_id": "MDU6SXNzdWUzOTMxNzEwMzM=", - "number": 3765, - "title": "feature-request Auto \"self.\" inside class", - "user": { - "login": "jcrmatos", - "id": 1813375, - "node_id": "MDQ6VXNlcjE4MTMzNzU=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1813375?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/jcrmatos", - "html_url": "https://github.com/jcrmatos", - "followers_url": "https://api.github.com/users/jcrmatos/followers", - "following_url": "https://api.github.com/users/jcrmatos/following{/other_user}", - "gists_url": "https://api.github.com/users/jcrmatos/gists{/gist_id}", - "starred_url": "https://api.github.com/users/jcrmatos/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/jcrmatos/subscriptions", - "organizations_url": "https://api.github.com/users/jcrmatos/orgs", - "repos_url": "https://api.github.com/users/jcrmatos/repos", - "events_url": "https://api.github.com/users/jcrmatos/events{/privacy}", - "received_events_url": "https://api.github.com/users/jcrmatos/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1138174523, - "node_id": "MDU6TGFiZWwxMTM4MTc0NTIz", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/classify", - "name": "classify", - "color": "bbe560", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [ - - ], - "milestone": null, - "comments": 0, - "created_at": "2018-12-20T18:56:35Z", - "updated_at": "2018-12-21T00:21:37Z", - "closed_at": null, - "author_association": "NONE", - "body": "Consider adding the possibility (and a setting for those who don't like the feature to disable it) of automatically prefixing \"self.\" to variables/constants inside a class if the same name is already declared above with \"self.\"." - }, - "label": { - "id": 1138174523, - "node_id": "MDU6TGFiZWwxMTM4MTc0NTIz", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/classify", - "name": "classify", - "color": "bbe560", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-20T23:44:05Z", - "pushed_at": "2018-12-20T23:44:03Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61393, - "stargazers_count": 1026, - "watchers_count": 1026, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 590, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 590, - "watchers": 1026, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "pvscbot", - "id": 45471937, - "node_id": "MDQ6VXNlcjQ1NDcxOTM3", - "avatar_url": "https://avatars1.githubusercontent.com/u/45471937?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/pvscbot", - "html_url": "https://github.com/pvscbot", - "followers_url": "https://api.github.com/users/pvscbot/followers", - "following_url": "https://api.github.com/users/pvscbot/following{/other_user}", - "gists_url": "https://api.github.com/users/pvscbot/gists{/gist_id}", - "starred_url": "https://api.github.com/users/pvscbot/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/pvscbot/subscriptions", - "organizations_url": "https://api.github.com/users/pvscbot/orgs", - "repos_url": "https://api.github.com/users/pvscbot/repos", - "events_url": "https://api.github.com/users/pvscbot/events{/privacy}", - "received_events_url": "https://api.github.com/users/pvscbot/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-labeled-classify_on_closed.json b/tests/test_github/samples/issues-labeled-classify_on_closed.json deleted file mode 100644 index d644020..0000000 --- a/tests/test_github/samples/issues-labeled-classify_on_closed.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "action": "labeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3765/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3765", - "id": 393171033, - "node_id": "MDU6SXNzdWUzOTMxNzEwMzM=", - "number": 3765, - "title": "feature-request Auto \"self.\" inside class", - "user": { - "login": "jcrmatos", - "id": 1813375, - "node_id": "MDQ6VXNlcjE4MTMzNzU=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1813375?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/jcrmatos", - "html_url": "https://github.com/jcrmatos", - "followers_url": "https://api.github.com/users/jcrmatos/followers", - "following_url": "https://api.github.com/users/jcrmatos/following{/other_user}", - "gists_url": "https://api.github.com/users/jcrmatos/gists{/gist_id}", - "starred_url": "https://api.github.com/users/jcrmatos/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/jcrmatos/subscriptions", - "organizations_url": "https://api.github.com/users/jcrmatos/orgs", - "repos_url": "https://api.github.com/users/jcrmatos/repos", - "events_url": "https://api.github.com/users/jcrmatos/events{/privacy}", - "received_events_url": "https://api.github.com/users/jcrmatos/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1138174523, - "node_id": "MDU6TGFiZWwxMTM4MTc0NTIz", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/classify", - "name": "classify", - "color": "bbe560", - "default": false - } - ], - "state": "closed", - "locked": false, - "assignee": null, - "assignees": [ - - ], - "milestone": null, - "comments": 0, - "created_at": "2018-12-20T18:56:35Z", - "updated_at": "2018-12-21T00:21:37Z", - "closed_at": null, - "author_association": "NONE", - "body": "Consider adding the possibility (and a setting for those who don't like the feature to disable it) of automatically prefixing \"self.\" to variables/constants inside a class if the same name is already declared above with \"self.\"." - }, - "label": { - "id": 1138174523, - "node_id": "MDU6TGFiZWwxMTM4MTc0NTIz", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/classify", - "name": "classify", - "color": "bbe560", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-20T23:44:05Z", - "pushed_at": "2018-12-20T23:44:03Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61393, - "stargazers_count": 1026, - "watchers_count": 1026, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 590, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 590, - "watchers": 1026, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "pvscbot", - "id": 45471937, - "node_id": "MDQ6VXNlcjQ1NDcxOTM3", - "avatar_url": "https://avatars1.githubusercontent.com/u/45471937?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/pvscbot", - "html_url": "https://github.com/pvscbot", - "followers_url": "https://api.github.com/users/pvscbot/followers", - "following_url": "https://api.github.com/users/pvscbot/following{/other_user}", - "gists_url": "https://api.github.com/users/pvscbot/gists{/gist_id}", - "starred_url": "https://api.github.com/users/pvscbot/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/pvscbot/subscriptions", - "organizations_url": "https://api.github.com/users/pvscbot/orgs", - "repos_url": "https://api.github.com/users/pvscbot/repos", - "events_url": "https://api.github.com/users/pvscbot/events{/privacy}", - "received_events_url": "https://api.github.com/users/pvscbot/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-labeled-has_classify.json b/tests/test_github/samples/issues-labeled-has_classify.json deleted file mode 100644 index 53b5db7..0000000 --- a/tests/test_github/samples/issues-labeled-has_classify.json +++ /dev/null @@ -1,245 +0,0 @@ -{ - "action": "labeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1138174523, - "node_id": "MDU6TGFiZWwxMTM4MTc0NTIz", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/classify", - "name": "classify", - "color": "bbe560", - "default": false - }, - { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T21:56:50Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "label": { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:56:06Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 584, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 584, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-labeled-has_classify_adding_data_science.json b/tests/test_github/samples/issues-labeled-has_classify_adding_data_science.json deleted file mode 100644 index 11c09ef..0000000 --- a/tests/test_github/samples/issues-labeled-has_classify_adding_data_science.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "action": "labeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1138174523, - "node_id": "MDU6TGFiZWwxMTM4MTc0NTIz", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/classify", - "name": "classify", - "color": "bbe560", - "default": false - }, - { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T21:56:50Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "label": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/triage", - "name": "data science" - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:56:06Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 584, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 584, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-labeled-has_classify_adding_triage.json b/tests/test_github/samples/issues-labeled-has_classify_adding_triage.json deleted file mode 100644 index 9d1e4ee..0000000 --- a/tests/test_github/samples/issues-labeled-has_classify_adding_triage.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "action": "labeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1138174523, - "node_id": "MDU6TGFiZWwxMTM4MTc0NTIz", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/classify", - "name": "classify", - "color": "bbe560", - "default": false - }, - { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T21:56:50Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "label": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/triage", - "name": "triage" - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:56:06Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 584, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 584, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-labeled-no_classify.json b/tests/test_github/samples/issues-labeled-no_classify.json deleted file mode 100644 index db33d67..0000000 --- a/tests/test_github/samples/issues-labeled-no_classify.json +++ /dev/null @@ -1,237 +0,0 @@ -{ - "action": "labeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T21:56:50Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "label": { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:56:06Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 584, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 584, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-opened-data_science.json b/tests/test_github/samples/issues-opened-data_science.json deleted file mode 100644 index 79b5dd9..0000000 --- a/tests/test_github/samples/issues-opened-data_science.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "action": "opened", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3453", - "id": 383940383, - "node_id": "MDU6SXNzdWUzODM5NDAzODM=", - "number": 3453, - "title": "An issue already triaged", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1019706345, - "node_id": "MDU6TGFiZWwxMDE5NzA2MzQ1", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/P2", - "name": "P2", - "color": "e564df", - "default": false - }, - { - "id": 717153660, - "node_id": "MDU6TGFiZWw3MTcxNTM2NjA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/feature-*", - "name": "feature-*", - "color": "006b75", - "default": false - }, - { - "id": 717072030, - "node_id": "MDU6TGFiZWw3MTcwNzIwMzA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/type-code%20health", - "name": "data science", - "color": "f9d0c4", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2018-11-23T23:16:39Z", - "updated_at": "2018-11-23T23:16:39Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "This is to help with #3327 ." - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-11-23T19:54:09Z", - "pushed_at": "2018-11-22T19:40:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 60641, - "stargazers_count": 959, - "watchers_count": 959, - "language": "TypeScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 196, - "mirror_url": null, - "archived": false, - "open_issues_count": 548, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 196, - "open_issues": 548, - "watchers": 959, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-opened-labels_but_no_status.json b/tests/test_github/samples/issues-opened-labels_but_no_status.json deleted file mode 100644 index 56120cd..0000000 --- a/tests/test_github/samples/issues-opened-labels_but_no_status.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "action": "opened", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3453", - "id": 383940383, - "node_id": "MDU6SXNzdWUzODM5NDAzODM=", - "number": 3453, - "title": "An issue already triaged", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1019706345, - "node_id": "MDU6TGFiZWwxMDE5NzA2MzQ1", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/P2", - "name": "P2", - "color": "e564df", - "default": false - }, - { - "id": 717153660, - "node_id": "MDU6TGFiZWw3MTcxNTM2NjA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/feature-*", - "name": "feature-*", - "color": "006b75", - "default": false - }, - { - "id": 717072030, - "node_id": "MDU6TGFiZWw3MTcwNzIwMzA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/type-code%20health", - "name": "type-code health", - "color": "f9d0c4", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2018-11-23T23:16:39Z", - "updated_at": "2018-11-23T23:16:39Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "This is to help with #3327 ." - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-11-23T19:54:09Z", - "pushed_at": "2018-11-22T19:40:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 60641, - "stargazers_count": 959, - "watchers_count": 959, - "language": "TypeScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 196, - "mirror_url": null, - "archived": false, - "open_issues_count": 548, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 196, - "open_issues": 548, - "watchers": 959, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-opened.json b/tests/test_github/samples/issues-opened.json deleted file mode 100644 index aa6c48e..0000000 --- a/tests/test_github/samples/issues-opened.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "action": "opened", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3451", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3451/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3451/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3451/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3451", - "id": 383871352, - "node_id": "MDU6SXNzdWUzODM4NzEzNTI=", - "number": 3451, - "title": "print_function from __future__ generates warning", - "user": { - "login": "Yanpas", - "id": 7345761, - "node_id": "MDQ6VXNlcjczNDU3NjE=", - "avatar_url": "https://avatars0.githubusercontent.com/u/7345761?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Yanpas", - "html_url": "https://github.com/Yanpas", - "followers_url": "https://api.github.com/users/Yanpas/followers", - "following_url": "https://api.github.com/users/Yanpas/following{/other_user}", - "gists_url": "https://api.github.com/users/Yanpas/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Yanpas/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Yanpas/subscriptions", - "organizations_url": "https://api.github.com/users/Yanpas/orgs", - "repos_url": "https://api.github.com/users/Yanpas/repos", - "events_url": "https://api.github.com/users/Yanpas/events{/privacy}", - "received_events_url": "https://api.github.com/users/Yanpas/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [ - - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-23T15:58:19Z", - "updated_at": "2018-11-23T15:58:19Z", - "closed_at": null, - "author_association": "NONE", - "body": "## Environment data\r\n\r\n- VS Code version: 1.29.2\r\n- Extension version (available under the Extensions sidebar): 2018.10.1\r\n- OS and version: linux\r\n- Python version (& distribution if applicable, e.g. Anaconda): 2.7\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): no \r\n\r\nSnippet:\r\n```python\r\nfrom __future__ import print_function\r\n\r\nimport sys\r\nimport re\r\nprint(1)\r\n```\r\n\r\nWarning: 'print' used bebore definition" - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-11-23T13:53:02Z", - "pushed_at": "2018-11-22T19:40:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 60641, - "stargazers_count": 958, - "watchers_count": 958, - "language": "TypeScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 196, - "mirror_url": null, - "archived": false, - "open_issues_count": 548, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 196, - "open_issues": 548, - "watchers": 958, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "Yanpas", - "id": 7345761, - "node_id": "MDQ6VXNlcjczNDU3NjE=", - "avatar_url": "https://avatars0.githubusercontent.com/u/7345761?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Yanpas", - "html_url": "https://github.com/Yanpas", - "followers_url": "https://api.github.com/users/Yanpas/followers", - "following_url": "https://api.github.com/users/Yanpas/following{/other_user}", - "gists_url": "https://api.github.com/users/Yanpas/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Yanpas/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Yanpas/subscriptions", - "organizations_url": "https://api.github.com/users/Yanpas/orgs", - "repos_url": "https://api.github.com/users/Yanpas/repos", - "events_url": "https://api.github.com/users/Yanpas/events{/privacy}", - "received_events_url": "https://api.github.com/users/Yanpas/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-opened_with_labels.json b/tests/test_github/samples/issues-opened_with_labels.json deleted file mode 100644 index 34ebb45..0000000 --- a/tests/test_github/samples/issues-opened_with_labels.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "action": "opened", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3453", - "id": 383940383, - "node_id": "MDU6SXNzdWUzODM5NDAzODM=", - "number": 3453, - "title": "An issue already triaged", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1019706345, - "node_id": "MDU6TGFiZWwxMDE5NzA2MzQ1", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/P2", - "name": "P2", - "color": "e564df", - "default": false - }, - { - "id": 717153660, - "node_id": "MDU6TGFiZWw3MTcxNTM2NjA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/feature-*", - "name": "feature-*", - "color": "006b75", - "default": false - }, - { - "id": 1039483691, - "node_id": "MDU6TGFiZWwxMDM5NDgzNjkx", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/needs%20spec", - "name": "needs spec", - "color": "fbca04", - "default": false - }, - { - "id": 717072030, - "node_id": "MDU6TGFiZWw3MTcwNzIwMzA=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/type-code%20health", - "name": "type-code health", - "color": "f9d0c4", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2018-11-23T23:16:39Z", - "updated_at": "2018-11-23T23:16:39Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "This is to help with #3327 ." - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-11-23T19:54:09Z", - "pushed_at": "2018-11-22T19:40:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 60641, - "stargazers_count": 959, - "watchers_count": 959, - "language": "TypeScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 196, - "mirror_url": null, - "archived": false, - "open_issues_count": 548, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 196, - "open_issues": 548, - "watchers": 959, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-reopened-no_labels.json b/tests/test_github/samples/issues-reopened-no_labels.json deleted file mode 100644 index 99e9e9e..0000000 --- a/tests/test_github/samples/issues-reopened-no_labels.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "action": "reopened", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T22:20:24Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:58:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 584, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 584, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-unlabeled-closed_with_no_labels.json b/tests/test_github/samples/issues-unlabeled-closed_with_no_labels.json deleted file mode 100644 index e181afb..0000000 --- a/tests/test_github/samples/issues-unlabeled-closed_with_no_labels.json +++ /dev/null @@ -1,232 +0,0 @@ -{ - "action": "unlabeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "name": "data science" - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T22:12:05Z", - "closed_at": "2018-12-19T22:06:56Z", - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "label": { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "classify", - "color": "7057ff", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:58:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 584, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 584, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-unlabeled-no_labels.json b/tests/test_github/samples/issues-unlabeled-no_labels.json deleted file mode 100644 index c89f7e9..0000000 --- a/tests/test_github/samples/issues-unlabeled-no_labels.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "action": "unlabeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T22:14:23Z", - "closed_at": null, - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "label": { - "id": 1111945855, - "node_id": "MDU6TGFiZWwxMTExOTQ1ODU1", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/data%20science", - "name": "data science", - "color": "6f23db", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:58:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 585, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 585, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/issues-unlabeled-no_status.json b/tests/test_github/samples/issues-unlabeled-no_status.json deleted file mode 100644 index ed25964..0000000 --- a/tests/test_github/samples/issues-unlabeled-no_status.json +++ /dev/null @@ -1,237 +0,0 @@ -{ - "action": "unlabeled", - "issue": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327", - "repository_url": "https://api.github.com/repos/Microsoft/vscode-python", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels{/name}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/comments", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/events", - "html_url": "https://github.com/Microsoft/vscode-python/issues/3327", - "id": 380436367, - "node_id": "MDU6SXNzdWUzODA0MzYzNjc=", - "number": 3327, - "title": "Automate GitHub workflow", - "user": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 0, - "created_at": "2018-11-13T21:40:36Z", - "updated_at": "2018-12-19T22:12:05Z", - "closed_at": "2018-12-19T22:06:56Z", - "author_association": "MEMBER", - "body": "In order of broad usage -- data science team is taking a \"wait and see\" approach to this -- and ease of implementation:\r\n\r\n- [ ] Respond to a ping event\r\n- [ ] Label new issues with `classify`\r\n- [ ] Strip all irrelevant labels from closed issues\r\n- [ ] Add a news entry status check\r\n- [ ] When labelled `triage`, randomly assign issue to someone on the team\r\n- [ ] When `triage` label removed then also remove assignee\r\n- [ ] When a PR has been merged, mark as `validate fix`\r\n- [ ] Once a `feature`, `type`, and appropriate `needs` label is set on an issue then remove `triage` label\r\n- [ ] When an issue is assigned to someone and labelled `needs PR` then change to `in progress`\r\n- [ ] When an issue is marked as `in progress`, make sure it is assigned to the current milestone (and add the `unplanned` label if it isn't)\r\n- [ ] When an issue marked as `in progress` is unassigned, mark as `needs PR`\r\n- [ ] When a PR is opened, mark issue as `review`\r\n- [ ] When an external contributor opens a PR, mark the PR and related issue as `external contributor` (might need to get issue # from initial message in case they don't have a news entry yet; also be ready to have to pick up on message edits)\r\n- [ ] When an external contributor opens a PR, leave a comment thanking them and saying we should get to it no later than during our next sprint\r\n- [ ] When an external contributor opens a PR, add to the next sprint\r\n- [ ] When an issue is closed but not merged, update the related issue accordingly\r\n- [ ] When an issue is closed as fixed that was opened by someone other than a team member, add a comment about testing the fix\r\n\r\nUnder consideration:\r\n- When an issue is labelled `info needed`, remove that label when the person who was requested to provide more info has replied (i.e. when a comment says \"Question for @...\", then remove `info needed` when \"@...\" replies)\r\n- When an issue is marked as `needs upstream fix` for language server or ptvsd, create a matching issue in the appropriate issue tracker, leave a comment about the matching issue, and then lock the issue here\r\n- When a referenced issue for the language server or ptvsd is closed, close the matching issue here\r\n- Check for a copyright header for new files created by team members" - }, - "label": { - "id": 1159648198, - "node_id": "MDU6TGFiZWwxMTU5NjQ4MTk4", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/external%20contributor", - "name": "external contributor", - "color": "7057ff", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-19T18:19:31Z", - "pushed_at": "2018-12-19T21:58:38Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61350, - "stargazers_count": 1025, - "watchers_count": 1025, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 214, - "mirror_url": null, - "archived": false, - "open_issues_count": 584, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 214, - "open_issues": 584, - "watchers": 1025, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/pull_request-files.json b/tests/test_github/samples/pull_request-files.json deleted file mode 100644 index 43f571f..0000000 --- a/tests/test_github/samples/pull_request-files.json +++ /dev/null @@ -1,86 +0,0 @@ -[ - { - "sha": "bd68f7a02549f7b1a4d8fdcce04fb2bb2193a9ec", - "filename": ".travis.yml", - "status": "modified", - "additions": 2, - "deletions": 5, - "changes": 7, - "blob_url": "https://github.com/Microsoft/vscode-python/blob/f1013549456d13eb15dab4fffaa6cfe172b4244e/.travis.yml", - "raw_url": "https://github.com/Microsoft/vscode-python/raw/f1013549456d13eb15dab4fffaa6cfe172b4244e/.travis.yml", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/.travis.yml?ref=f1013549456d13eb15dab4fffaa6cfe172b4244e", - "patch": "@@ -55,7 +55,6 @@ before_install: |\n nvm use 8.9.1\n npm install npm@latest -g\n npm install -g vsce\n- npm install -g azure-cli\n export CI_PYTHON_PATH=`which python`\n install:\n - travis_wait 5 npm ci\n@@ -97,18 +96,16 @@ script:\n python3 -m pip install --upgrade -r tpn/requirements.txt;\n python3 tpn --npm package-lock.json --config tpn/distribution.toml /dev/null;\n fi\n- - if [[ $BUNDLE == \"true\" && $AZURE_STORAGE_ACCOUNT && \"$TRAVIS_BRANCH\" == \"master\" && \"$TRAVIS_PULL_REQUEST\" == \"false\" ]]; then\n+ - if [[ $BUNDLE == \"true\"]]; then\n npm run clean;\n npm run package;\n npx gulp clean:cleanExceptTests;\n npm run testSmoke;\n- azure storage blob upload python*.vsix $AZURE_STORAGE_CONTAINER ms-python-insiders.vsix --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_ACCESS_KEY --quiet;\n fi\n- - if [[ $BUNDLE == \"true\" && $AZURE_STORAGE_ACCOUNT && \"$TRAVIS_BRANCH\" == release* && \"$TRAVIS_PULL_REQUEST\" == \"false\" ]]; then\n+ - if [[ $BUNDLE == \"true\"]]; then\n npm run clean;\n npm run package;\n npx gulp clean:cleanExceptTests;\n npm run testSmoke;\n- azure storage blob upload python*.vsix $AZURE_STORAGE_CONTAINER ms-python-$TRAVIS_BRANCH.vsix --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_ACCESS_KEY --quiet;\n fi\n - bash <(curl -s https://codecov.io/bash)" - }, - { - "sha": "f200fa0fbef71afb1612ffcbc95d1f4f6bce9c06", - "filename": "news/3 Code Health/3684.md", - "status": "added", - "additions": 1, - "deletions": 0, - "changes": 1, - "blob_url": "https://github.com/Microsoft/vscode-python/blob/f1013549456d13eb15dab4fffaa6cfe172b4244e/news/3%20Code%20Health/3684.md", - "raw_url": "https://github.com/Microsoft/vscode-python/raw/f1013549456d13eb15dab4fffaa6cfe172b4244e/news/3%20Code%20Health/3684.md", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/news/3%20Code%20Health/3684.md?ref=f1013549456d13eb15dab4fffaa6cfe172b4244e", - "patch": "@@ -0,0 +1 @@\n+Fixed language server smoke tests." - }, - { - "sha": "ce42dc937372b5532acd1cdd5e30ee7408bc2618", - "filename": "src/test/smoke/_run_first_msLanguageServer.smoke.test.ts", - "status": "removed", - "additions": 0, - "deletions": 106, - "changes": 106, - "blob_url": "https://github.com/Microsoft/vscode-python/blob/7ea52079acd5069a7d5d155ddbf358daa15b53c9/src/test/smoke/_run_first_msLanguageServer.smoke.test.ts", - "raw_url": "https://github.com/Microsoft/vscode-python/raw/7ea52079acd5069a7d5d155ddbf358daa15b53c9/src/test/smoke/_run_first_msLanguageServer.smoke.test.ts", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/src/test/smoke/_run_first_msLanguageServer.smoke.test.ts?ref=7ea52079acd5069a7d5d155ddbf358daa15b53c9", - "patch": "@@ -1,106 +0,0 @@\n-// Copyright (c) Microsoft Corporation. All rights reserved.\n-// Licensed under the MIT License.\n-\n-'use strict';\n-\n-// tslint:disable:max-func-body-length no-invalid-this no-any\n-\n-import * as assert from 'assert';\n-import { expect } from 'chai';\n-import * as fs from 'fs-extra';\n-import * as glob from 'glob';\n-import * as path from 'path';\n-import * as vscode from 'vscode';\n-import { waitForCondition } from '../common';\n-import { EXTENSION_ROOT_DIR_FOR_TESTS, IS_SMOKE_TEST, SMOKE_TEST_EXTENSIONS_DIR } from '../constants';\n-import { noop, sleep } from '../core';\n-import { closeActiveWindows, initialize, initializeTest } from '../initialize';\n-\n-const fileDefinitions = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'src', 'testMultiRootWkspc', 'smokeTests', 'definitions.py');\n-\n-suite('Smoke Test: Language Server', function () {\n- // Large value to allow for LS to get downloaded.\n- this.timeout(4 * 60000);\n-\n- suiteSetup(async function () {\n- if (!IS_SMOKE_TEST) {\n- return this.skip();\n- }\n- await removeLanguageServerFiles();\n- await enableJedi(false);\n- await updateSetting('linting.ignorePatterns', ['**/dir1/**']);\n- await initialize();\n- });\n- setup(initializeTest);\n- suiteTeardown(async () => {\n- await enableJedi(undefined);\n- await closeActiveWindows();\n- await updateSetting('linting.ignorePatterns', undefined);\n- });\n- teardown(closeActiveWindows);\n- async function updateSetting(setting: string, value: any) {\n- const resource = vscode.workspace.workspaceFolders![0].uri;\n- await vscode.workspace.getConfiguration('python', resource).update(setting, value, vscode.ConfigurationTarget.WorkspaceFolder);\n- }\n- async function removeLanguageServerFiles() {\n- const folders = await getLanaguageServerFolders();\n- await Promise.all(folders.map(item => fs.remove(item).catch(noop)));\n- }\n- async function isLanguageServerDownloaded() {\n- // tslint:disable-next-line:no-unnecessary-local-variable\n- const downloaded = await getLanaguageServerFolders().then(items => items.length > 0);\n- return downloaded;\n- }\n- async function getLanaguageServerFolders(): Promise {\n- return new Promise((resolve, reject) => {\n- glob('languageServer.*', { cwd: SMOKE_TEST_EXTENSIONS_DIR }, (ex, matches) => {\n- ex ? reject(ex) : resolve(matches.map(item => path.join(SMOKE_TEST_EXTENSIONS_DIR, item)));\n- });\n- });\n- }\n- function isJediEnabled() {\n- const resource = vscode.workspace.workspaceFolders![0].uri;\n- const settings = vscode.workspace.getConfiguration('python', resource);\n- return settings.get('jediEnabled') === true;\n- }\n- async function enableJedi(enable: boolean | undefined) {\n- if (isJediEnabled() === enable) {\n- return;\n- }\n- await updateSetting('jediEnabled', enable);\n- }\n-\n- async function openFile(file: string): Promise {\n- const textDocument = await vscode.workspace.openTextDocument(file);\n- await vscode.window.showTextDocument(textDocument);\n- assert(vscode.window.activeTextEditor, 'No active editor');\n- // Make sure LS completes file loading and analysis.\n- // In test mode it awaits for the completion before trying\n- // to fetch data for completion, hover.etc.\n- await vscode.commands.executeCommand('vscode.executeCompletionItemProvider', textDocument.uri, new vscode.Position(0, 0));\n- await waitForCondition(isLanguageServerDownloaded, 30_000, 'Language Server not downloaded');\n- // For for LS to get extracted.\n- await sleep(10_000);\n- return textDocument;\n- }\n-\n- test('Definitions', async () => {\n- const startPosition = new vscode.Position(13, 6);\n- const textDocument = await openFile(fileDefinitions);\n- let tested = false;\n- for (let i = 0; i < 5; i += 1) {\n- const locations = await vscode.commands.executeCommand('vscode.executeDefinitionProvider', textDocument.uri, startPosition);\n- if (locations && locations.length > 0) {\n- expect(locations![0].uri.fsPath).to.contain(path.basename(fileDefinitions));\n- tested = true;\n- break;\n- } else {\n- // Wait for LS to start.\n- await sleep(5_000);\n- }\n- }\n- if (!tested) {\n- assert.fail('Failled to test definitions');\n- }\n- });\n-});" - }, - { - "sha": "0b8bfe2e62a55031fcc52bccd58c045220c75f5c", - "filename": "src/test/smoke/common.ts", - "status": "added", - "additions": 76, - "deletions": 0, - "changes": 76, - "blob_url": "https://github.com/Microsoft/vscode-python/blob/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/common.ts", - "raw_url": "https://github.com/Microsoft/vscode-python/raw/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/common.ts", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/src/test/smoke/common.ts?ref=f1013549456d13eb15dab4fffaa6cfe172b4244e", - "patch": "@@ -0,0 +1,76 @@\n+// Copyright (c) Microsoft Corporation. All rights reserved.\n+// Licensed under the MIT License.\n+\n+'use strict';\n+\n+// tslint:disable:no-any no-invalid-this no-default-export no-console\n+\n+import * as assert from 'assert';\n+import * as fs from 'fs-extra';\n+import * as glob from 'glob';\n+import * as path from 'path';\n+import * as vscode from 'vscode';\n+import { waitForCondition } from '../common';\n+import { EXTENSION_ROOT_DIR_FOR_TESTS, IS_SMOKE_TEST, SMOKE_TEST_EXTENSIONS_DIR } from '../constants';\n+import { noop, sleep } from '../core';\n+import { initialize } from '../initialize';\n+\n+let initialized = false;\n+const fileDefinitions = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'src', 'testMultiRootWkspc', 'smokeTests', 'definitions.py');\n+\n+export async function initializeSmokeTests() {\n+ if (!IS_SMOKE_TEST || initialized) {\n+ return;\n+ }\n+ await removeLanguageServerFiles();\n+ await enableJedi(false);\n+ await initialize();\n+ await openFileAndWaitForLS(fileDefinitions);\n+ initialized = true;\n+}\n+\n+export async function updateSetting(setting: string, value: any) {\n+ const resource = vscode.workspace.workspaceFolders![0].uri;\n+ await vscode.workspace.getConfiguration('python', resource).update(setting, value, vscode.ConfigurationTarget.WorkspaceFolder);\n+}\n+export async function removeLanguageServerFiles() {\n+ const folders = await getLanaguageServerFolders();\n+ await Promise.all(folders.map(item => fs.remove(item).catch(noop)));\n+}\n+async function getLanaguageServerFolders(): Promise {\n+ return new Promise((resolve, reject) => {\n+ glob('languageServer.*', { cwd: SMOKE_TEST_EXTENSIONS_DIR }, (ex, matches) => {\n+ ex ? reject(ex) : resolve(matches.map(item => path.join(SMOKE_TEST_EXTENSIONS_DIR, item)));\n+ });\n+ });\n+}\n+export function isJediEnabled() {\n+ const resource = vscode.workspace.workspaceFolders![0].uri;\n+ const settings = vscode.workspace.getConfiguration('python', resource);\n+ return settings.get('jediEnabled') === true;\n+}\n+export async function enableJedi(enable: boolean | undefined) {\n+ if (isJediEnabled() === enable) {\n+ return;\n+ }\n+ await updateSetting('jediEnabled', enable);\n+}\n+export async function openFileAndWaitForLS(file: string): Promise {\n+ const textDocument = await vscode.workspace.openTextDocument(file);\n+ await vscode.window.showTextDocument(textDocument);\n+ assert(vscode.window.activeTextEditor, 'No active editor');\n+ // Make sure LS completes file loading and analysis.\n+ // In test mode it awaits for the completion before trying\n+ // to fetch data for completion, hover.etc.\n+ await vscode.commands.executeCommand('vscode.executeCompletionItemProvider', textDocument.uri, new vscode.Position(0, 0));\n+ await waitForCondition(isLanguageServerDownloaded, 30_000, 'Language Server not downloaded');\n+ // For for LS to get extracted.\n+ await sleep(10_000);\n+ return textDocument;\n+}\n+\n+async function isLanguageServerDownloaded() {\n+ // tslint:disable-next-line:no-unnecessary-local-variable\n+ const downloaded = await getLanaguageServerFolders().then(items => items.length > 0);\n+ return downloaded;\n+}" - }, - { - "sha": "1d4f0c08c314a21426d7f3aa76b14be5b5716f08", - "filename": "src/test/smoke/debugger.smoke.test.ts", - "status": "modified", - "additions": 3, - "deletions": 1, - "changes": 4, - "blob_url": "https://github.com/Microsoft/vscode-python/blob/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/debugger.smoke.test.ts", - "raw_url": "https://github.com/Microsoft/vscode-python/raw/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/debugger.smoke.test.ts", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/src/test/smoke/debugger.smoke.test.ts?ref=f1013549456d13eb15dab4fffaa6cfe172b4244e", - "patch": "@@ -12,15 +12,17 @@ import * as vscode from 'vscode';\n import { openFile, waitForCondition } from '../common';\n import { EXTENSION_ROOT_DIR_FOR_TESTS, IS_SMOKE_TEST } from '../constants';\n import { closeActiveWindows, initializeTest } from '../initialize';\n+import { initializeSmokeTests } from './common';\n \n suite('Smoke Test: Debug file', function () {\n // Large value to allow for LS to get downloaded.\n this.timeout(4 * 60_000);\n \n- suiteSetup(function () {\n+ suiteSetup(async function () {\n if (!IS_SMOKE_TEST) {\n return this.skip();\n }\n+ await initializeSmokeTests();\n });\n setup(initializeTest);\n suiteTeardown(closeActiveWindows);" - }, - { - "sha": "c409d63c459c23664082a6c65cc7f09b06e9d853", - "filename": "src/test/smoke/msLanguageServer.smoke.test.ts", - "status": "added", - "additions": 61, - "deletions": 0, - "changes": 61, - "blob_url": "https://github.com/Microsoft/vscode-python/blob/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/msLanguageServer.smoke.test.ts", - "raw_url": "https://github.com/Microsoft/vscode-python/raw/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/msLanguageServer.smoke.test.ts", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/src/test/smoke/msLanguageServer.smoke.test.ts?ref=f1013549456d13eb15dab4fffaa6cfe172b4244e", - "patch": "@@ -0,0 +1,61 @@\n+// Copyright (c) Microsoft Corporation. All rights reserved.\n+// Licensed under the MIT License.\n+\n+'use strict';\n+\n+// tslint:disable:max-func-body-length no-invalid-this no-any\n+\n+import * as assert from 'assert';\n+import { expect } from 'chai';\n+import * as path from 'path';\n+import * as vscode from 'vscode';\n+import { updateSetting } from '../common';\n+import { EXTENSION_ROOT_DIR_FOR_TESTS, IS_SMOKE_TEST } from '../constants';\n+import { sleep } from '../core';\n+import { closeActiveWindows, initializeTest } from '../initialize';\n+import { enableJedi, initializeSmokeTests, openFileAndWaitForLS } from './common';\n+\n+const fileDefinitions = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'src', 'testMultiRootWkspc', 'smokeTests', 'definitions.py');\n+\n+suite('Smoke Test: Language Server', function () {\n+ // Large value to allow for LS to get downloaded.\n+ this.timeout(4 * 60000);\n+\n+ suiteSetup(async function () {\n+ if (!IS_SMOKE_TEST) {\n+ return this.skip();\n+ }\n+ await updateSetting('linting.ignorePatterns', ['**/dir1/**'], vscode.workspace.workspaceFolders![0].uri, vscode.ConfigurationTarget.WorkspaceFolder);\n+ await initializeSmokeTests();\n+ });\n+ setup(async () => {\n+ await initializeTest();\n+ await closeActiveWindows();\n+ });\n+ suiteTeardown(async () => {\n+ await enableJedi(undefined);\n+ await closeActiveWindows();\n+ await updateSetting('linting.ignorePatterns', undefined, vscode.workspace.workspaceFolders![0].uri, vscode.ConfigurationTarget.WorkspaceFolder);\n+ });\n+ teardown(closeActiveWindows);\n+\n+ test('Definitions', async () => {\n+ const startPosition = new vscode.Position(13, 6);\n+ const textDocument = await openFileAndWaitForLS(fileDefinitions);\n+ let tested = false;\n+ for (let i = 0; i < 5; i += 1) {\n+ const locations = await vscode.commands.executeCommand('vscode.executeDefinitionProvider', textDocument.uri, startPosition);\n+ if (locations && locations.length > 0) {\n+ expect(locations![0].uri.fsPath).to.contain(path.basename(fileDefinitions));\n+ tested = true;\n+ break;\n+ } else {\n+ // Wait for LS to start.\n+ await sleep(5_000);\n+ }\n+ }\n+ if (!tested) {\n+ assert.fail('Failled to test definitions');\n+ }\n+ });\n+});" - }, - { - "sha": "7b5ca203f7115c3698431b56e92ed24bb267c90f", - "filename": "src/test/smoke/runInTerminal.smoke.test.ts", - "status": "modified", - "additions": 3, - "deletions": 1, - "changes": 4, - "blob_url": "https://github.com/Microsoft/vscode-python/blob/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/runInTerminal.smoke.test.ts", - "raw_url": "https://github.com/Microsoft/vscode-python/raw/f1013549456d13eb15dab4fffaa6cfe172b4244e/src/test/smoke/runInTerminal.smoke.test.ts", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/src/test/smoke/runInTerminal.smoke.test.ts?ref=f1013549456d13eb15dab4fffaa6cfe172b4244e", - "patch": "@@ -11,15 +11,17 @@ import * as vscode from 'vscode';\n import { openFile, waitForCondition } from '../common';\n import { EXTENSION_ROOT_DIR_FOR_TESTS, IS_SMOKE_TEST } from '../constants';\n import { closeActiveWindows, initializeTest } from '../initialize';\n+import { initializeSmokeTests } from './common';\n \n suite('Smoke Test: Run Python File In Terminal', function () {\n // Large value to allow for LS to get downloaded.\n this.timeout(4 * 60_000);\n \n- suiteSetup(function () {\n+ suiteSetup(async function () {\n if (!IS_SMOKE_TEST) {\n return this.skip();\n }\n+ await initializeSmokeTests();\n });\n setup(initializeTest);\n suiteTeardown(closeActiveWindows);" - } -] diff --git a/tests/test_github/samples/pull_request-labeled-skip_news.json b/tests/test_github/samples/pull_request-labeled-skip_news.json deleted file mode 100644 index 9b1c317..0000000 --- a/tests/test_github/samples/pull_request-labeled-skip_news.json +++ /dev/null @@ -1,540 +0,0 @@ -{ - "action": "labeled", - "number": 3690, - "pull_request": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690", - "id": 238527788, - "node_id": "MDExOlB1bGxSZXF1ZXN0MjM4NTI3Nzg4", - "html_url": "https://github.com/Microsoft/vscode-python/pull/3690", - "diff_url": "https://github.com/Microsoft/vscode-python/pull/3690.diff", - "patch_url": "https://github.com/Microsoft/vscode-python/pull/3690.patch", - "issue_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690", - "number": 3690, - "state": "open", - "locked": false, - "title": "Fix language server smoke tests", - "user": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "body": "For #3684\r\n\r\n## NOTE: Ignore changes to `.travis`, that will be reverted.\r\n\r\n\r\n- [x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)\r\n- [x] Title summarizes what is changing\r\n- [x] Has a [news entry](https://github.com/Microsoft/vscode-python/tree/master/news) file (remember to thank yourself!)\r\n- [x] Unit tests & system/integration tests are added/updated\r\n- [no] [Test plan](https://github.com/Microsoft/vscode-python/blob/master/.github/test_plan.md) is updated as appropriate\r\n- [no] [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package-lock.json) has been regenerated by running `npm install` (if dependencies have changed)\r\n", - "created_at": "2018-12-13T20:50:37Z", - "updated_at": "2018-12-13T23:46:19Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "f0bdd2bb713f1ca0abb2dcd9c73454529bb978d6", - "assignee": null, - "assignees": [], - "requested_reviewers": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "d3r3kk", - "id": 11466735, - "node_id": "MDQ6VXNlcjExNDY2NzM1", - "avatar_url": "https://avatars0.githubusercontent.com/u/11466735?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/d3r3kk", - "html_url": "https://github.com/d3r3kk", - "followers_url": "https://api.github.com/users/d3r3kk/followers", - "following_url": "https://api.github.com/users/d3r3kk/following{/other_user}", - "gists_url": "https://api.github.com/users/d3r3kk/gists{/gist_id}", - "starred_url": "https://api.github.com/users/d3r3kk/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/d3r3kk/subscriptions", - "organizations_url": "https://api.github.com/users/d3r3kk/orgs", - "repos_url": "https://api.github.com/users/d3r3kk/repos", - "events_url": "https://api.github.com/users/d3r3kk/events{/privacy}", - "received_events_url": "https://api.github.com/users/d3r3kk/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_teams": [], - "labels": [ - { - "id": 1019706345, - "node_id": "MDU6TGFiZWwxMDE5NzA2MzQ1", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/P2", - "name": "P2", - "color": "e564df", - "default": false - }, - { - "id": 919755726, - "node_id": "MDU6TGFiZWw5MTk3NTU3MjY=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/skip%20news", - "name": "skip news", - "color": "000000", - "default": false - } - ], - "milestone": null, - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/commits", - "review_comments_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/comments", - "review_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690/comments", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/f1013549456d13eb15dab4fffaa6cfe172b4244e", - "head": { - "label": "DonJayamanne:fixLSSmokeTests", - "ref": "fixLSSmokeTests", - "sha": "f1013549456d13eb15dab4fffaa6cfe172b4244e", - "user": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 49946255, - "node_id": "MDEwOlJlcG9zaXRvcnk0OTk0NjI1NQ==", - "name": "pythonVSCode", - "full_name": "DonJayamanne/pythonVSCode", - "private": false, - "owner": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/DonJayamanne/pythonVSCode", - "description": "This extension is now maintained in the Microsoft fork.", - "fork": false, - "url": "https://api.github.com/repos/DonJayamanne/pythonVSCode", - "forks_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/forks", - "keys_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/teams", - "hooks_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/hooks", - "issue_events_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/events{/number}", - "events_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/events", - "assignees_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/assignees{/user}", - "branches_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/branches{/branch}", - "tags_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/tags", - "blobs_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/statuses/{sha}", - "languages_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/languages", - "stargazers_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/stargazers", - "contributors_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/contributors", - "subscribers_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/subscribers", - "subscription_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/subscription", - "commits_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/contents/{+path}", - "compare_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/merges", - "archive_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/downloads", - "issues_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues{/number}", - "pulls_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/pulls{/number}", - "milestones_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/milestones{/number}", - "notifications_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/labels{/name}", - "releases_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/releases{/id}", - "deployments_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/deployments", - "created_at": "2016-01-19T10:50:01Z", - "updated_at": "2018-12-13T20:48:26Z", - "pushed_at": "2018-12-13T20:48:22Z", - "git_url": "git://github.com/DonJayamanne/pythonVSCode.git", - "ssh_url": "git@github.com:DonJayamanne/pythonVSCode.git", - "clone_url": "https://github.com/DonJayamanne/pythonVSCode.git", - "svn_url": "https://github.com/DonJayamanne/pythonVSCode", - "homepage": "https://github.com/Microsoft/vscode-python", - "size": 61670, - "stargazers_count": 1875, - "watchers_count": 1875, - "language": "TypeScript", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 433, - "mirror_url": null, - "archived": false, - "open_issues_count": 16, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 433, - "open_issues": 16, - "watchers": 1875, - "default_branch": "master" - } - }, - "base": { - "label": "Microsoft:master", - "ref": "master", - "sha": "7ea52079acd5069a7d5d155ddbf358daa15b53c9", - "user": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-13T23:10:49Z", - "pushed_at": "2018-12-13T23:10:47Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61268, - "stargazers_count": 1017, - "watchers_count": 1017, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 204, - "mirror_url": null, - "archived": false, - "open_issues_count": 569, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 204, - "open_issues": 569, - "watchers": 1017, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690" - }, - "html": { - "href": "https://github.com/Microsoft/vscode-python/pull/3690" - }, - "issue": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690" - }, - "comments": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/comments" - }, - "review_comment": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/comments{/number}" - }, - "commits": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/statuses/f1013549456d13eb15dab4fffaa6cfe172b4244e" - } - }, - "author_association": "NONE", - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "unstable", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": true, - "commits": 3, - "additions": 146, - "deletions": 113, - "changed_files": 7 - }, - "label": { - "id": 919755726, - "node_id": "MDU6TGFiZWw5MTk3NTU3MjY=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/skip%20news", - "name": "skip news", - "color": "000000", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-13T23:10:49Z", - "pushed_at": "2018-12-13T23:10:47Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61268, - "stargazers_count": 1017, - "watchers_count": 1017, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 204, - "mirror_url": null, - "archived": false, - "open_issues_count": 569, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 204, - "open_issues": 569, - "watchers": 1017, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/pull_request-reopened-skip_news.json b/tests/test_github/samples/pull_request-reopened-skip_news.json deleted file mode 100644 index 5954b9c..0000000 --- a/tests/test_github/samples/pull_request-reopened-skip_news.json +++ /dev/null @@ -1,524 +0,0 @@ -{ - "action": "reopened", - "number": 3690, - "pull_request": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690", - "id": 238527788, - "node_id": "MDExOlB1bGxSZXF1ZXN0MjM4NTI3Nzg4", - "html_url": "https://github.com/Microsoft/vscode-python/pull/3690", - "diff_url": "https://github.com/Microsoft/vscode-python/pull/3690.diff", - "patch_url": "https://github.com/Microsoft/vscode-python/pull/3690.patch", - "issue_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690", - "number": 3690, - "state": "open", - "locked": false, - "title": "Fix language server smoke tests", - "user": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "body": "For #3684\r\n\r\n## NOTE: Ignore changes to `.travis`, that will be reverted.\r\n\r\n\r\n- [x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)\r\n- [x] Title summarizes what is changing\r\n- [x] Has a [news entry](https://github.com/Microsoft/vscode-python/tree/master/news) file (remember to thank yourself!)\r\n- [x] Unit tests & system/integration tests are added/updated\r\n- [no] [Test plan](https://github.com/Microsoft/vscode-python/blob/master/.github/test_plan.md) is updated as appropriate\r\n- [no] [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package-lock.json) has been regenerated by running `npm install` (if dependencies have changed)\r\n", - "created_at": "2018-12-13T20:50:37Z", - "updated_at": "2018-12-14T00:08:22Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "ae1058788d93d840c1f38ab197fddd0a90dc7be6", - "assignee": null, - "assignees": [], - "requested_reviewers": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "d3r3kk", - "id": 11466735, - "node_id": "MDQ6VXNlcjExNDY2NzM1", - "avatar_url": "https://avatars0.githubusercontent.com/u/11466735?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/d3r3kk", - "html_url": "https://github.com/d3r3kk", - "followers_url": "https://api.github.com/users/d3r3kk/followers", - "following_url": "https://api.github.com/users/d3r3kk/following{/other_user}", - "gists_url": "https://api.github.com/users/d3r3kk/gists{/gist_id}", - "starred_url": "https://api.github.com/users/d3r3kk/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/d3r3kk/subscriptions", - "organizations_url": "https://api.github.com/users/d3r3kk/orgs", - "repos_url": "https://api.github.com/users/d3r3kk/repos", - "events_url": "https://api.github.com/users/d3r3kk/events{/privacy}", - "received_events_url": "https://api.github.com/users/d3r3kk/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_teams": [], - "labels": [ - { - "id": 919755726, - "node_id": "MDU6TGFiZWw5MTk3NTU3MjY=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/skip%20news", - "name": "skip news", - "color": "000000", - "default": false - } - ], - "milestone": null, - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/commits", - "review_comments_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/comments", - "review_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690/comments", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/f1013549456d13eb15dab4fffaa6cfe172b4244e", - "head": { - "label": "DonJayamanne:fixLSSmokeTests", - "ref": "fixLSSmokeTests", - "sha": "f1013549456d13eb15dab4fffaa6cfe172b4244e", - "user": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 49946255, - "node_id": "MDEwOlJlcG9zaXRvcnk0OTk0NjI1NQ==", - "name": "pythonVSCode", - "full_name": "DonJayamanne/pythonVSCode", - "private": false, - "owner": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/DonJayamanne/pythonVSCode", - "description": "This extension is now maintained in the Microsoft fork.", - "fork": false, - "url": "https://api.github.com/repos/DonJayamanne/pythonVSCode", - "forks_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/forks", - "keys_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/teams", - "hooks_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/hooks", - "issue_events_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/events{/number}", - "events_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/events", - "assignees_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/assignees{/user}", - "branches_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/branches{/branch}", - "tags_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/tags", - "blobs_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/statuses/{sha}", - "languages_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/languages", - "stargazers_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/stargazers", - "contributors_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/contributors", - "subscribers_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/subscribers", - "subscription_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/subscription", - "commits_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/contents/{+path}", - "compare_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/merges", - "archive_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/downloads", - "issues_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues{/number}", - "pulls_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/pulls{/number}", - "milestones_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/milestones{/number}", - "notifications_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/labels{/name}", - "releases_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/releases{/id}", - "deployments_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/deployments", - "created_at": "2016-01-19T10:50:01Z", - "updated_at": "2018-12-13T20:48:26Z", - "pushed_at": "2018-12-13T20:48:22Z", - "git_url": "git://github.com/DonJayamanne/pythonVSCode.git", - "ssh_url": "git@github.com:DonJayamanne/pythonVSCode.git", - "clone_url": "https://github.com/DonJayamanne/pythonVSCode.git", - "svn_url": "https://github.com/DonJayamanne/pythonVSCode", - "homepage": "https://github.com/Microsoft/vscode-python", - "size": 61670, - "stargazers_count": 1875, - "watchers_count": 1875, - "language": "TypeScript", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 433, - "mirror_url": null, - "archived": false, - "open_issues_count": 16, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 433, - "open_issues": 16, - "watchers": 1875, - "default_branch": "master" - } - }, - "base": { - "label": "Microsoft:master", - "ref": "master", - "sha": "7ea52079acd5069a7d5d155ddbf358daa15b53c9", - "user": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-14T00:07:53Z", - "pushed_at": "2018-12-14T00:07:51Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61269, - "stargazers_count": 1017, - "watchers_count": 1017, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 204, - "mirror_url": null, - "archived": false, - "open_issues_count": 570, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 204, - "open_issues": 570, - "watchers": 1017, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690" - }, - "html": { - "href": "https://github.com/Microsoft/vscode-python/pull/3690" - }, - "issue": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690" - }, - "comments": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/comments" - }, - "review_comment": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/comments{/number}" - }, - "commits": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/statuses/f1013549456d13eb15dab4fffaa6cfe172b4244e" - } - }, - "author_association": "NONE", - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": true, - "commits": 3, - "additions": 146, - "deletions": 113, - "changed_files": 7 - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-14T00:07:53Z", - "pushed_at": "2018-12-14T00:07:51Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61269, - "stargazers_count": 1017, - "watchers_count": 1017, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 204, - "mirror_url": null, - "archived": false, - "open_issues_count": 570, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 204, - "open_issues": 570, - "watchers": 1017, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/samples/pull_request-unlabeled-skip_news.json b/tests/test_github/samples/pull_request-unlabeled-skip_news.json deleted file mode 100644 index 01a99f9..0000000 --- a/tests/test_github/samples/pull_request-unlabeled-skip_news.json +++ /dev/null @@ -1,523 +0,0 @@ -{ - "action": "unlabeled", - "number": 3690, - "pull_request": { - "url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690", - "id": 238527788, - "node_id": "MDExOlB1bGxSZXF1ZXN0MjM4NTI3Nzg4", - "html_url": "https://github.com/Microsoft/vscode-python/pull/3690", - "diff_url": "https://github.com/Microsoft/vscode-python/pull/3690.diff", - "patch_url": "https://github.com/Microsoft/vscode-python/pull/3690.patch", - "issue_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690", - "number": 3690, - "state": "open", - "locked": false, - "title": "Fix language server smoke tests", - "user": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "body": "For #3684\r\n\r\n## NOTE: Ignore changes to `.travis`, that will be reverted.\r\n\r\n\r\n- [x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)\r\n- [x] Title summarizes what is changing\r\n- [x] Has a [news entry](https://github.com/Microsoft/vscode-python/tree/master/news) file (remember to thank yourself!)\r\n- [x] Unit tests & system/integration tests are added/updated\r\n- [no] [Test plan](https://github.com/Microsoft/vscode-python/blob/master/.github/test_plan.md) is updated as appropriate\r\n- [no] [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package-lock.json) has been regenerated by running `npm install` (if dependencies have changed)\r\n", - "created_at": "2018-12-13T20:50:37Z", - "updated_at": "2018-12-13T23:48:27Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "f0bdd2bb713f1ca0abb2dcd9c73454529bb978d6", - "assignee": null, - "assignees": [], - "requested_reviewers": [ - { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "d3r3kk", - "id": 11466735, - "node_id": "MDQ6VXNlcjExNDY2NzM1", - "avatar_url": "https://avatars0.githubusercontent.com/u/11466735?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/d3r3kk", - "html_url": "https://github.com/d3r3kk", - "followers_url": "https://api.github.com/users/d3r3kk/followers", - "following_url": "https://api.github.com/users/d3r3kk/following{/other_user}", - "gists_url": "https://api.github.com/users/d3r3kk/gists{/gist_id}", - "starred_url": "https://api.github.com/users/d3r3kk/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/d3r3kk/subscriptions", - "organizations_url": "https://api.github.com/users/d3r3kk/orgs", - "repos_url": "https://api.github.com/users/d3r3kk/repos", - "events_url": "https://api.github.com/users/d3r3kk/events{/privacy}", - "received_events_url": "https://api.github.com/users/d3r3kk/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/commits", - "review_comments_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/comments", - "review_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690/comments", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/f1013549456d13eb15dab4fffaa6cfe172b4244e", - "head": { - "label": "DonJayamanne:fixLSSmokeTests", - "ref": "fixLSSmokeTests", - "sha": "f1013549456d13eb15dab4fffaa6cfe172b4244e", - "user": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 49946255, - "node_id": "MDEwOlJlcG9zaXRvcnk0OTk0NjI1NQ==", - "name": "pythonVSCode", - "full_name": "DonJayamanne/pythonVSCode", - "private": false, - "owner": { - "login": "DonJayamanne", - "id": 1948812, - "node_id": "MDQ6VXNlcjE5NDg4MTI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/1948812?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/DonJayamanne", - "html_url": "https://github.com/DonJayamanne", - "followers_url": "https://api.github.com/users/DonJayamanne/followers", - "following_url": "https://api.github.com/users/DonJayamanne/following{/other_user}", - "gists_url": "https://api.github.com/users/DonJayamanne/gists{/gist_id}", - "starred_url": "https://api.github.com/users/DonJayamanne/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/DonJayamanne/subscriptions", - "organizations_url": "https://api.github.com/users/DonJayamanne/orgs", - "repos_url": "https://api.github.com/users/DonJayamanne/repos", - "events_url": "https://api.github.com/users/DonJayamanne/events{/privacy}", - "received_events_url": "https://api.github.com/users/DonJayamanne/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/DonJayamanne/pythonVSCode", - "description": "This extension is now maintained in the Microsoft fork.", - "fork": false, - "url": "https://api.github.com/repos/DonJayamanne/pythonVSCode", - "forks_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/forks", - "keys_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/teams", - "hooks_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/hooks", - "issue_events_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/events{/number}", - "events_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/events", - "assignees_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/assignees{/user}", - "branches_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/branches{/branch}", - "tags_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/tags", - "blobs_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/statuses/{sha}", - "languages_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/languages", - "stargazers_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/stargazers", - "contributors_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/contributors", - "subscribers_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/subscribers", - "subscription_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/subscription", - "commits_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/contents/{+path}", - "compare_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/merges", - "archive_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/downloads", - "issues_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/issues{/number}", - "pulls_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/pulls{/number}", - "milestones_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/milestones{/number}", - "notifications_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/labels{/name}", - "releases_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/releases{/id}", - "deployments_url": "https://api.github.com/repos/DonJayamanne/pythonVSCode/deployments", - "created_at": "2016-01-19T10:50:01Z", - "updated_at": "2018-12-13T20:48:26Z", - "pushed_at": "2018-12-13T20:48:22Z", - "git_url": "git://github.com/DonJayamanne/pythonVSCode.git", - "ssh_url": "git@github.com:DonJayamanne/pythonVSCode.git", - "clone_url": "https://github.com/DonJayamanne/pythonVSCode.git", - "svn_url": "https://github.com/DonJayamanne/pythonVSCode", - "homepage": "https://github.com/Microsoft/vscode-python", - "size": 61670, - "stargazers_count": 1875, - "watchers_count": 1875, - "language": "TypeScript", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 433, - "mirror_url": null, - "archived": false, - "open_issues_count": 16, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 433, - "open_issues": 16, - "watchers": 1875, - "default_branch": "master" - } - }, - "base": { - "label": "Microsoft:master", - "ref": "master", - "sha": "7ea52079acd5069a7d5d155ddbf358daa15b53c9", - "user": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-13T23:10:49Z", - "pushed_at": "2018-12-13T23:10:47Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61268, - "stargazers_count": 1017, - "watchers_count": 1017, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 204, - "mirror_url": null, - "archived": false, - "open_issues_count": 569, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 204, - "open_issues": 569, - "watchers": 1017, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690" - }, - "html": { - "href": "https://github.com/Microsoft/vscode-python/pull/3690" - }, - "issue": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690" - }, - "comments": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/issues/3690/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/comments" - }, - "review_comment": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/comments{/number}" - }, - "commits": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/pulls/3690/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/Microsoft/vscode-python/statuses/f1013549456d13eb15dab4fffaa6cfe172b4244e" - } - }, - "author_association": "NONE", - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "unstable", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": true, - "commits": 3, - "additions": 146, - "deletions": 113, - "changed_files": 7 - }, - "label": { - "id": 919755726, - "node_id": "MDU6TGFiZWw5MTk3NTU3MjY=", - "url": "https://api.github.com/repos/Microsoft/vscode-python/labels/skip%20news", - "name": "skip news", - "color": "000000", - "default": false - }, - "repository": { - "id": 106462765, - "node_id": "MDEwOlJlcG9zaXRvcnkxMDY0NjI3NjU=", - "name": "vscode-python", - "full_name": "Microsoft/vscode-python", - "private": false, - "owner": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Microsoft", - "html_url": "https://github.com/Microsoft", - "followers_url": "https://api.github.com/users/Microsoft/followers", - "following_url": "https://api.github.com/users/Microsoft/following{/other_user}", - "gists_url": "https://api.github.com/users/Microsoft/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Microsoft/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Microsoft/subscriptions", - "organizations_url": "https://api.github.com/users/Microsoft/orgs", - "repos_url": "https://api.github.com/users/Microsoft/repos", - "events_url": "https://api.github.com/users/Microsoft/events{/privacy}", - "received_events_url": "https://api.github.com/users/Microsoft/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Microsoft/vscode-python", - "description": "Python extension for Visual Studio Code", - "fork": true, - "url": "https://api.github.com/repos/Microsoft/vscode-python", - "forks_url": "https://api.github.com/repos/Microsoft/vscode-python/forks", - "keys_url": "https://api.github.com/repos/Microsoft/vscode-python/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Microsoft/vscode-python/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Microsoft/vscode-python/teams", - "hooks_url": "https://api.github.com/repos/Microsoft/vscode-python/hooks", - "issue_events_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/events{/number}", - "events_url": "https://api.github.com/repos/Microsoft/vscode-python/events", - "assignees_url": "https://api.github.com/repos/Microsoft/vscode-python/assignees{/user}", - "branches_url": "https://api.github.com/repos/Microsoft/vscode-python/branches{/branch}", - "tags_url": "https://api.github.com/repos/Microsoft/vscode-python/tags", - "blobs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Microsoft/vscode-python/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Microsoft/vscode-python/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Microsoft/vscode-python/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Microsoft/vscode-python/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Microsoft/vscode-python/languages", - "stargazers_url": "https://api.github.com/repos/Microsoft/vscode-python/stargazers", - "contributors_url": "https://api.github.com/repos/Microsoft/vscode-python/contributors", - "subscribers_url": "https://api.github.com/repos/Microsoft/vscode-python/subscribers", - "subscription_url": "https://api.github.com/repos/Microsoft/vscode-python/subscription", - "commits_url": "https://api.github.com/repos/Microsoft/vscode-python/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Microsoft/vscode-python/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Microsoft/vscode-python/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Microsoft/vscode-python/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Microsoft/vscode-python/contents/{+path}", - "compare_url": "https://api.github.com/repos/Microsoft/vscode-python/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Microsoft/vscode-python/merges", - "archive_url": "https://api.github.com/repos/Microsoft/vscode-python/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Microsoft/vscode-python/downloads", - "issues_url": "https://api.github.com/repos/Microsoft/vscode-python/issues{/number}", - "pulls_url": "https://api.github.com/repos/Microsoft/vscode-python/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Microsoft/vscode-python/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Microsoft/vscode-python/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Microsoft/vscode-python/labels{/name}", - "releases_url": "https://api.github.com/repos/Microsoft/vscode-python/releases{/id}", - "deployments_url": "https://api.github.com/repos/Microsoft/vscode-python/deployments", - "created_at": "2017-10-10T19:37:29Z", - "updated_at": "2018-12-13T23:10:49Z", - "pushed_at": "2018-12-13T23:10:47Z", - "git_url": "git://github.com/Microsoft/vscode-python.git", - "ssh_url": "git@github.com:Microsoft/vscode-python.git", - "clone_url": "https://github.com/Microsoft/vscode-python.git", - "svn_url": "https://github.com/Microsoft/vscode-python", - "homepage": "https://marketplace.visualstudio.com/items?itemName=ms-python.python", - "size": 61268, - "stargazers_count": 1017, - "watchers_count": 1017, - "language": "TypeScript", - "has_issues": true, - "has_projects": false, - "has_downloads": true, - "has_wiki": false, - "has_pages": false, - "forks_count": 204, - "mirror_url": null, - "archived": false, - "open_issues_count": 569, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 204, - "open_issues": 569, - "watchers": 1017, - "default_branch": "master" - }, - "organization": { - "login": "Microsoft", - "id": 6154722, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", - "url": "https://api.github.com/orgs/Microsoft", - "repos_url": "https://api.github.com/orgs/Microsoft/repos", - "events_url": "https://api.github.com/orgs/Microsoft/events", - "hooks_url": "https://api.github.com/orgs/Microsoft/hooks", - "issues_url": "https://api.github.com/orgs/Microsoft/issues", - "members_url": "https://api.github.com/orgs/Microsoft/members{/member}", - "public_members_url": "https://api.github.com/orgs/Microsoft/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/6154722?v=4", - "description": "Open source, from Microsoft with love" - }, - "sender": { - "login": "brettcannon", - "id": 54418, - "node_id": "MDQ6VXNlcjU0NDE4", - "avatar_url": "https://avatars0.githubusercontent.com/u/54418?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/brettcannon", - "html_url": "https://github.com/brettcannon", - "followers_url": "https://api.github.com/users/brettcannon/followers", - "following_url": "https://api.github.com/users/brettcannon/following{/other_user}", - "gists_url": "https://api.github.com/users/brettcannon/gists{/gist_id}", - "starred_url": "https://api.github.com/users/brettcannon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/brettcannon/subscriptions", - "organizations_url": "https://api.github.com/users/brettcannon/orgs", - "repos_url": "https://api.github.com/users/brettcannon/repos", - "events_url": "https://api.github.com/users/brettcannon/events{/privacy}", - "received_events_url": "https://api.github.com/users/brettcannon/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/tests/test_github/test_classify.py b/tests/test_github/test_classify.py deleted file mode 100644 index 9d98f05..0000000 --- a/tests/test_github/test_classify.py +++ /dev/null @@ -1,272 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. - -import http -import json - -import gidgethub -import gidgethub.sansio -import importlib_resources -import pytest - -from . import samples -from __app__.github import classify, labels - - -def read_sample_data(filename): - return json.loads(importlib_resources.read_text(samples, filename)) - - -class FakeGH: - def __init__(self): - self.post_ = [] - self.delete_ = [] - self.getiter_request = [] - self.getiter_response = None - - async def getiter(self, url, url_vars={}): - self.getiter_request.append(gidgethub.sansio.format_url(url, url_vars)) - for x in self.getiter_response: - yield x - - async def post(self, url, url_vars={}, *, data): - post_url = gidgethub.sansio.format_url(url, url_vars) - self.post_.append((post_url, data)) - - async def delete(self, url, url_vars={}): - delete_url = gidgethub.sansio.format_url(url, url_vars) - self.delete_.append(delete_url) - - -@pytest.mark.asyncio -@pytest.mark.parametrize( - "data_filename", - [ - "issues-opened.json", - "issues-reopened-no_labels.json", - "issues-opened-labels_but_no_status.json", - ], -) -async def test_issue_with_no_labels(data_filename): - sample_data = read_sample_data(data_filename) - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="12345") - gh = FakeGH() - gh.getiter_response = sample_data["issue"]["labels"] - - await classify.router.dispatch(event, gh) - assert len(gh.post_) == 1 - action = gh.post_[0] - assert ( - action[0] - == f"https://api.github.com/repos/Microsoft/vscode-python/issues/{sample_data['issue']['number']}/labels" - ) - assert action[1] == {"labels": [labels.Status.classify.value]} - - -@pytest.mark.asyncio -@pytest.mark.parametrize( - "data_filename", - ["issues-opened-data_science.json", "issues-opened_with_labels.json"], -) -async def test_new_issue_with_label(data_filename): - sample_data = read_sample_data(data_filename) - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="12345") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert not gh.post_ - - -@pytest.mark.asyncio -async def test_new_issue_gains_status_label_while_processing(): - webhook_data = read_sample_data("issues-opened.json") - eventual_data = read_sample_data("issues-opened_with_labels.json") - event = gidgethub.sansio.Event(webhook_data, event="issues", delivery_id="12345") - gh = FakeGH() - gh.getiter_response = eventual_data["issue"]["labels"] - - await classify.router.dispatch(event, gh) - assert not gh.post_ - - -@pytest.mark.asyncio -async def test_new_issue_gains_data_science_while_processing(): - webhook_data = read_sample_data("issues-opened.json") - eventual_data = read_sample_data("issues-opened-data_science.json") - event = gidgethub.sansio.Event(webhook_data, event="issues", delivery_id="12345") - gh = FakeGH() - gh.getiter_response = eventual_data["issue"]["labels"] - - await classify.router.dispatch(event, gh) - assert not gh.post_ - - -@pytest.mark.asyncio -async def test_new_issue_gains_no_status_label_while_processing(): - webhook_data = read_sample_data("issues-opened.json") - eventual_data = read_sample_data("issues-opened-labels_but_no_status.json") - event = gidgethub.sansio.Event(webhook_data, event="issues", delivery_id="12345") - gh = FakeGH() - gh.getiter_response = eventual_data["issue"]["labels"] - - await classify.router.dispatch(event, gh) - assert len(gh.post_) == 1 - action = gh.post_[0] - assert action[1] == {"labels": [labels.Status.classify.value]} - - -@pytest.mark.asyncio -async def test_adding_classify(): - sample_data = read_sample_data("issues-labeled-classify.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="12345") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert not gh.post_ - assert not gh.delete_ - - -@pytest.mark.asyncio -async def test_not_adding_classify(): - sample_data = read_sample_data("issues-labeled-has_classify_adding_triage.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert len(gh.delete_) == 1 - assert ( - gh.delete_[0] - == "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels/classify" - ) - - -@pytest.mark.asyncio -async def test_removing_classify_label_for_data_science(): - sample_data = read_sample_data( - "issues-labeled-has_classify_adding_data_science.json" - ) - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert len(gh.delete_) == 1 - assert ( - gh.delete_[0] - == "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels/classify" - ) - - -@pytest.mark.asyncio -async def test_keeping_classify_label(): - sample_data = read_sample_data("issues-labeled-has_classify.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert not gh.delete_ - - -@pytest.mark.asyncio -async def test_removing_missing_classify_label(): - # Can happen if issue is updated since webhook triggered. - sample_data = read_sample_data("issues-labeled-has_classify_adding_triage.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - - class FakeGHDeleteException(FakeGH): - async def delete(self, url, url_vars={}): - raise gidgethub.BadRequest( - http.HTTPStatus.BAD_REQUEST, "Label does not exist" - ) - - gh = FakeGHDeleteException() - - await classify.router.dispatch(event, gh) - assert not gh.delete_ - - -@pytest.mark.asyncio -async def test_removing_classify_label_error(): - sample_data = read_sample_data("issues-labeled-has_classify_adding_triage.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - - class FakeGHDeleteException(FakeGH): - async def delete(self, url, url_vars={}): - raise gidgethub.BadRequest(http.HTTPStatus.BAD_REQUEST, "oops") - - gh = FakeGHDeleteException() - - with pytest.raises(gidgethub.BadRequest): - await classify.router.dispatch(event, gh) - - -@pytest.mark.asyncio -async def test_adding_classify_label_again(): - sample_data = read_sample_data("issues-unlabeled-no_labels.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert len(gh.post_) == 1 - assert gh.post_[0] == ( - "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels", - {"labels": [labels.Status.classify.value]}, - ) - - -@pytest.mark.asyncio -async def test_removing_label_no_status_left(): - sample_data = read_sample_data("issues-unlabeled-no_status.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert len(gh.post_) == 1 - assert gh.post_[0] == ( - "https://api.github.com/repos/Microsoft/vscode-python/issues/3327/labels", - {"labels": [labels.Status.classify.value]}, - ) - - -@pytest.mark.asyncio -async def test_no_adding_label_on_closed_issue(): - sample_data = read_sample_data("issues-unlabeled-closed_with_no_labels.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert not gh.post_ - assert not gh.delete_ - - -@pytest.mark.asyncio -async def test_no_adding_label_for_data_science_on_label_removal(): - sample_data = read_sample_data("issues-unlabeled-closed_with_no_labels.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert not gh.post_ - assert not gh.delete_ - - -@pytest.mark.asyncio -async def test_labeling_closed_issue(): - sample_data = read_sample_data("issues-labeled-classify_on_closed.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert not gh.post_ - assert not gh.delete_ - - -@pytest.mark.asyncio -async def test_issue_missing_classify_and_labeled_something_else(): - # An issue shouldn't end up in this situation. - sample_data = read_sample_data("issues-labeled-no_classify.json") - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="1") - gh = FakeGH() - - await classify.router.dispatch(event, gh) - assert not gh.post_ - assert not gh.delete_ diff --git a/tests/test_github/test_closed.py b/tests/test_github/test_closed.py deleted file mode 100644 index 8fe7814..0000000 --- a/tests/test_github/test_closed.py +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. - -import json - -import gidgethub.sansio -import importlib_resources -import pytest - -from . import samples -from __app__.github import closed - - -class FakeGH: - def __init__(self): - self.called = [] - - async def delete(self, url, url_vars): - url = gidgethub.sansio.format_url(url, url_vars) - self.called.append(url) - - -@pytest.mark.asyncio -async def test_status_label_removal(): - sample_data = json.loads( - importlib_resources.read_text(samples, "issues-closed.json") - ) - event = gidgethub.sansio.Event(sample_data, event="issues", delivery_id="12345") - gh = FakeGH() - - await closed.router.dispatch(event, gh) - assert len(gh.called) == 1 - assert gh.called[0] == gidgethub.sansio.format_url( - "https://api.github.com/repos/Microsoft/vscode-python/issues/3453/labels{/name}", - {"name": "needs spec"}, - ) diff --git a/tests/test_github/test_main.py b/tests/test_github/test_main.py deleted file mode 100644 index 695c8ce..0000000 --- a/tests/test_github/test_main.py +++ /dev/null @@ -1,93 +0,0 @@ -import logging -from unittest import mock - -import aiohttp -import asynctest -import azure.functions -import gidgethub.aiohttp -import gidgethub.routing -import pytest - -from __app__ import github as github_main -from __app__.ghutils import server - - -@pytest.mark.asyncio -async def test_serve_call(monkeypatch): - body = '{"action": "opened"}'.encode("UTF-8") - secret = "123456" - auth = "GitHub authorization" - headers = { - "content-type": "application/json", - "x-github-event": "pull_request", - "x-github-delivery": "72d3162e-cc78-11e3-81ab-4c9367dc0958", - "x-hub-signature": "sha1=c28e33b2e56e548956c446e890929a6cbec3ac89", - } - - request = azure.functions.HttpRequest( - method="POST", url="...", headers=headers, body=body - ) - - monkeypatch.setenv("GH_AUTH", auth) - monkeypatch.setenv("GH_SECRET", secret) - mocked_serve = asynctest.create_autospec(server.serve) - monkeypatch.setattr(server, "serve", mocked_serve) - - response = await github_main.main(request) - - assert mocked_serve.called - assert mocked_serve.call_count == 1 - args, kwargs = mocked_serve.call_args - given_gh, given_router, given_headers, given_body = args - assert isinstance(given_gh, gidgethub.aiohttp.GitHubAPI) - assert isinstance(github_main.CLIENT_SESSION, aiohttp.ClientSession) - assert given_gh._session is github_main.CLIENT_SESSION - assert given_gh.requester == "Microsoft/pvscbot" - assert given_gh.oauth_token == auth - assert given_router is github_main.router - assert given_headers == headers - assert given_body == body - given_secret = kwargs["secret"] - given_logger = kwargs["logger"] - assert given_secret == secret - assert given_logger is logging - assert response.status_code == 200 - - -@pytest.mark.asyncio -async def test_preexisting_client_session(monkeypatch): - body = '{"action": "opened"}'.encode("UTF-8") - secret = "123456" - auth = "GitHub authorization" - headers = { - "content-type": "application/json", - "x-github-event": "pull_request", - "x-github-delivery": "72d3162e-cc78-11e3-81ab-4c9367dc0958", - "x-hub-signature": "sha1=c28e33b2e56e548956c446e890929a6cbec3ac89", - } - - request = azure.functions.HttpRequest( - method="POST", url="...", headers=headers, body=body - ) - - monkeypatch.setenv("GH_AUTH", auth) - monkeypatch.setenv("GH_SECRET", secret) - mocked_serve = asynctest.create_autospec(server.serve) - monkeypatch.setattr(server, "serve", mocked_serve) - client = aiohttp.ClientSession() - monkeypatch.setattr(github_main, "CLIENT_SESSION", client) - - await github_main.main(request) - - assert github_main.CLIENT_SESSION is client - - -@pytest.mark.asyncio -async def test_exception(monkeypatch): - # Not monkeypatching anything critical to main() should trigger an exception. - logging_mock = mock.MagicMock() - monkeypatch.setattr(logging, "exception", logging_mock) - response = await github_main.main(None) - - assert response.status_code == 500 - assert logging_mock.call_count == 1