From 7a9ab1a64f4d6a5e72cdb2a75750dde03f7c86a6 Mon Sep 17 00:00:00 2001 From: sgithuber <85906966+sgithuber@users.noreply.github.com> Date: Tue, 15 Jun 2021 19:29:12 +0900 Subject: [PATCH] Delete .github directory --- .github/FUNDING.yml | 2 - .github/ISSUE_TEMPLATE/---bug-report.md | 40 ----- .github/ISSUE_TEMPLATE/---documentation.md | 22 --- .../ISSUE_TEMPLATE/---enhancement-request.md | 24 --- .github/ISSUE_TEMPLATE/---everything-else.md | 23 --- .github/ISSUE_TEMPLATE/config.yml | 7 - .github/pull_request_template.md | 12 -- .github/stale.yml | 31 ---- .github/workflows/main.yml | 159 ------------------ 9 files changed, 320 deletions(-) delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/ISSUE_TEMPLATE/---bug-report.md delete mode 100644 .github/ISSUE_TEMPLATE/---documentation.md delete mode 100644 .github/ISSUE_TEMPLATE/---enhancement-request.md delete mode 100644 .github/ISSUE_TEMPLATE/---everything-else.md delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/pull_request_template.md delete mode 100644 .github/stale.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 7e0d5359..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -custom: https://donate.getpelican.com -liberapay: pelican diff --git a/.github/ISSUE_TEMPLATE/---bug-report.md b/.github/ISSUE_TEMPLATE/---bug-report.md deleted file mode 100644 index c0f9dec6..00000000 --- a/.github/ISSUE_TEMPLATE/---bug-report.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: "\U0001F41E Bug Report" -about: Did you find a bug? -title: '' -labels: bug -assignees: '' - ---- - - - - -- [ ] I have read the [Filing Issues](https://docs.getpelican.com/en/latest/contribute.html#filing-issues) and subsequent “How to Get Help” sections of the documentation. -- [ ] I have searched the [issues](https://github.com/getpelican/pelican/issues?q=is%3Aissue) (including closed ones) and believe that this is not a duplicate. - - - -- **OS version and name**: -- **Python version**: -- **Pelican version**: -- **Link to theme**: -- **Links to plugins**: -- **Link to your site**: -- **Link to your source**: -- **Link to a [Gist](https://gist.github.com/) with the contents of your settings file**: - -## Issue - diff --git a/.github/ISSUE_TEMPLATE/---documentation.md b/.github/ISSUE_TEMPLATE/---documentation.md deleted file mode 100644 index 03055b3a..00000000 --- a/.github/ISSUE_TEMPLATE/---documentation.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: "\U0001F4DA Documentation" -about: Did you find errors, problems, or anything unclear in the docs (https://docs.getpelican.com/)? -title: '' -labels: docs -assignees: '' - ---- - - - - -- [ ] I have searched the [issues](https://github.com/getpelican/pelican/issues?q=is%3Aissue) (including closed ones) and believe that this is not a duplicate. - -## Issue - diff --git a/.github/ISSUE_TEMPLATE/---enhancement-request.md b/.github/ISSUE_TEMPLATE/---enhancement-request.md deleted file mode 100644 index c9d545a7..00000000 --- a/.github/ISSUE_TEMPLATE/---enhancement-request.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: "\U0001F381 Feature Request" -about: Do you have ideas for new features and improvements? -title: '' -labels: enhancement -assignees: '' - ---- - - - - -- [ ] I have searched the [issues](https://github.com/getpelican/pelican/issues?q=is%3Aissue) (including closed ones) and believe that this is not a duplicate. -- [ ] I have searched the [documentation](https://docs.getpelican.com/) and believe that my question is not covered. -- [ ] I am willing to lend a hand to help implement this feature. - -## Feature Request - diff --git a/.github/ISSUE_TEMPLATE/---everything-else.md b/.github/ISSUE_TEMPLATE/---everything-else.md deleted file mode 100644 index fd2a58ae..00000000 --- a/.github/ISSUE_TEMPLATE/---everything-else.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: "\U0001F5C3 Everything Else" -about: Do you have a question/issue that does not fall into any of the other categories? -title: '' -labels: question -assignees: '' - ---- - - - - -- [ ] I have searched the [issues](https://github.com/getpelican/pelican/issues?q=is%3Aissue) (including closed ones) and believe that this is not a duplicate. -- [ ] I have searched the [documentation](https://docs.getpelican.com/) and believe that my question is not covered. - -## Issue - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index d080329a..00000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,7 +0,0 @@ -# Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser -blank_issues_enabled: true -contact_links: -- name: '💬 Pelican IRC Channel on Freenode' - url: https://kiwiirc.com/client/irc.freenode.net/?#pelican - about: | - Chat with the community, ask questions, and learn about best practices. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 8300fb74..00000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,12 +0,0 @@ -# Pull Request Checklist - -Resolves: #issue-number-here - - - -- [ ] Ensured **tests pass** and (if applicable) updated functional test output -- [ ] Conformed to **code style guidelines** by running appropriate linting tools -- [ ] Added **tests** for changed code -- [ ] Updated **documentation** for changed code - - diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index b6991ba2..00000000 --- a/.github/stale.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Configuration for probot-stale - https://github.com/probot/stale - -# Number of days of inactivity before an Issue or Pull Request becomes stale -daysUntilStale: 60 - -# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. -daysUntilClose: 30 - -# Set to true to ignore issues in a project (defaults to false) -exemptProjects: true - -# Set to true to ignore issues in a milestone (defaults to false) -exemptMilestones: true - -# Set to true to ignore issues with an assignee (defaults to false) -exemptAssignees: true - -# Label to use when marking as stale -staleLabel: stale - -# Comment to post when marking as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your participation and understanding. - -# Limit the number of actions per hour, from 1-30. Default is 30 -limitPerRun: 1 - -# Limit to only `issues` or `pulls` -only: issues diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 863dec4b..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,159 +0,0 @@ -name: build - -on: [push, pull_request] - -env: - # color output for pytest and tox - PYTEST_ADDOPTS: "--color=yes" - PY_COLORS: 1 - -jobs: - test: - name: Test - ${{ matrix.config.python }} - ${{ matrix.config.os }} - runs-on: ${{ matrix.config.os }}-latest - - strategy: - matrix: - config: - - os: ubuntu - python: 3.6 - - os: ubuntu - python: 3.7 - - os: ubuntu - python: 3.8 - - os: ubuntu - python: 3.9 - - os: macos - python: 3.7 - - os: windows - python: 3.7 - - steps: - - uses: actions/checkout@v2 - - name: Setup Python ${{ matrix.config.python }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.config.python }} - - name: Set up Pip cache (Linux) - uses: actions/cache@v2 - if: startsWith(runner.os, 'Linux') - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements/*') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Set up Pip cache (macOS) - uses: actions/cache@v2 - if: startsWith(runner.os, 'macOS') - with: - path: ~/Library/Caches/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements/*') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Setup pip cache (Windows) - uses: actions/cache@v2 - if: startsWith(runner.os, 'Windows') - with: - path: ~\AppData\Local\pip\Cache - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements/*') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install locale (Linux) - if: startsWith(runner.os, 'Linux') - run: sudo locale-gen fr_FR.UTF-8 tr_TR.UTF-8 - - name: Install pandoc - uses: r-lib/actions/setup-pandoc@v1 - with: - pandoc-version: "2.9.2" - - name: Install tox - run: python -m pip install -U pip tox - - name: Info - run: | - echo "===== PYTHON =====" - python --version - echo "===== PANDOC =====" - pandoc --version | head -2 - - name: Run tests - run: tox -e py${{ matrix.config.python }} - - - lint: - name: Lint - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Set pip cache (Linux) - uses: actions/cache@v2 - if: startsWith(runner.os, 'Linux') - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install tox - run: python -m pip install -U pip tox - - name: Check - run: tox -e flake8 - - - docs: - name: Build docs - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Set pip cache (Linux) - uses: actions/cache@v2 - if: startsWith(runner.os, 'Linux') - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install tox - run: python -m pip install -U pip tox - - name: Check - run: tox -e docs - - - deploy: - name: Deploy - needs: [test, lint, docs] - runs-on: ubuntu-latest - if: ${{ github.ref=='refs/heads/master' && github.event_name!='pull_request' }} - - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Check release - id: check_release - run: | - python -m pip install pip --upgrade - pip install poetry - pip install githubrelease - pip install --pre autopub - echo "##[set-output name=release;]$(autopub check)" - - name: Publish - if: ${{ steps.check_release.outputs.release=='' }} - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - git remote set-url origin https://$GITHUB_TOKEN@github.com/${{ github.repository }} - autopub prepare - poetry build - autopub commit - autopub githubrelease - poetry publish -u __token__ -p $PYPI_PASSWORD