mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Delete .github directory
This commit is contained in:
parent
45468c29fb
commit
7a9ab1a64f
9 changed files with 0 additions and 320 deletions
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
|
|
@ -1,2 +0,0 @@
|
|||
custom: https://donate.getpelican.com
|
||||
liberapay: pelican
|
||||
40
.github/ISSUE_TEMPLATE/---bug-report.md
vendored
40
.github/ISSUE_TEMPLATE/---bug-report.md
vendored
|
|
@ -1,40 +0,0 @@
|
|||
---
|
||||
name: "\U0001F41E Bug Report"
|
||||
about: Did you find a bug?
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Hi there! Thank you for discovering and submitting an issue.
|
||||
|
||||
Before you submit this, let’s make sure of a few things.
|
||||
Please make sure the following boxes are ticked if they are correct.
|
||||
If not, please try and fulfill them first.
|
||||
-->
|
||||
|
||||
<!-- Checked checkbox should look like this: [x] -->
|
||||
- [ ] 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.
|
||||
|
||||
<!--
|
||||
Once the above boxes are checked, if you are able to fill in the following list
|
||||
with your information, it would be very helpful for maintainers.
|
||||
-->
|
||||
|
||||
- **OS version and name**: <!-- Replace with version + name -->
|
||||
- **Python version**: <!-- Replace with version -->
|
||||
- **Pelican version**: <!-- Replace with version -->
|
||||
- **Link to theme**: <!-- Replace with link to the theme you are using -->
|
||||
- **Links to plugins**: <!-- Replace with list of links to plugins you are using -->
|
||||
- **Link to your site**: <!-- If available, replace with link to your site -->
|
||||
- **Link to your source**: <!-- If available, replace with link to relevant source repository -->
|
||||
- **Link to a [Gist](https://gist.github.com/) with the contents of your settings file**: <!-- If your source is not accessible, put Gist link here -->
|
||||
|
||||
## Issue
|
||||
<!--
|
||||
Now feel free to write your issue. Please avoid vague phrases like “[…] doesn’t work”.
|
||||
Be descriptive! Thanks again 🙌 ❤️
|
||||
-->
|
||||
22
.github/ISSUE_TEMPLATE/---documentation.md
vendored
22
.github/ISSUE_TEMPLATE/---documentation.md
vendored
|
|
@ -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: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Hi there! Thank you for discovering and submitting an issue with our documentation.
|
||||
|
||||
Before you submit this, let’s make sure of a few things.
|
||||
Please make sure the following boxes are ticked if they are correct.
|
||||
If not, please try and fulfill them first.
|
||||
-->
|
||||
|
||||
<!-- Checked checkbox should look like this: [x] -->
|
||||
- [ ] 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
|
||||
<!-- Now feel free to write your issue, but please be descriptive! Thanks again 🙌 ❤️ -->
|
||||
24
.github/ISSUE_TEMPLATE/---enhancement-request.md
vendored
24
.github/ISSUE_TEMPLATE/---enhancement-request.md
vendored
|
|
@ -1,24 +0,0 @@
|
|||
---
|
||||
name: "\U0001F381 Feature Request"
|
||||
about: Do you have ideas for new features and improvements?
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Hi there! Thank you for wanting to make Pelican better.
|
||||
|
||||
Before you submit this, let’s make sure of a few things.
|
||||
Please make sure the following boxes are ticked if they are correct.
|
||||
If not, please try and fulfill them first. The last one is optional but encouraged.
|
||||
-->
|
||||
|
||||
<!-- Checked checkbox should look like this: [x] -->
|
||||
- [ ] 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. <!-- optional but encouraged -->
|
||||
|
||||
## Feature Request
|
||||
<!-- Now feel free to write your idea for improvement. Thanks again 🙌 ❤️ -->
|
||||
23
.github/ISSUE_TEMPLATE/---everything-else.md
vendored
23
.github/ISSUE_TEMPLATE/---everything-else.md
vendored
|
|
@ -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: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Describe your question/issue here. This space is meant to be used for general questions
|
||||
that are not bugs, feature requests, or documentation issues.
|
||||
Before you submit this, let’s make sure of a few things.
|
||||
Please make sure the following boxes are ticked if they are correct.
|
||||
If not, please try and fulfill them first.
|
||||
-->
|
||||
|
||||
<!-- Checked checkbox should look like this: [x] -->
|
||||
- [ ] 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
|
||||
<!-- Now feel free to write your issue, but please be descriptive! Thanks again 🙌 ❤️ -->
|
||||
7
.github/ISSUE_TEMPLATE/config.yml
vendored
7
.github/ISSUE_TEMPLATE/config.yml
vendored
|
|
@ -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.
|
||||
12
.github/pull_request_template.md
vendored
12
.github/pull_request_template.md
vendored
|
|
@ -1,12 +0,0 @@
|
|||
# Pull Request Checklist
|
||||
|
||||
Resolves: #issue-number-here <!-- Only if related issue *already* exists — otherwise remove this line -->
|
||||
|
||||
<!-- This is just a reminder about the most common mistakes. Please make sure that you tick all *appropriate* boxes. Also, please read our [contribution guide](https://docs.getpelican.com/en/latest/contribute.html#contributing-code) at least once — it will save you unnecessary review cycles! -->
|
||||
|
||||
- [ ] 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
|
||||
|
||||
<!-- If you have *any* questions to *any* of the points above, just **submit and ask**! This checklist is here to *help* you, not to deter you from contributing! -->
|
||||
31
.github/stale.yml
vendored
31
.github/stale.yml
vendored
|
|
@ -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
|
||||
159
.github/workflows/main.yml
vendored
159
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue