Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lpoaura/PluginQGis-LPOData
Browse files Browse the repository at this point in the history
lpojgc committed Feb 12, 2024
2 parents f263834 + a42afa6 commit 532a4e2
Showing 101 changed files with 3,094 additions and 2,149 deletions.
19 changes: 0 additions & 19 deletions .editorconfig

This file was deleted.

9 changes: 0 additions & 9 deletions .flake8

This file was deleted.

71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/10_bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Bug/Crash report.
description: Create a bug report to help us improve our plugin.
labels:
- "Bug"

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report correctly.
- type: textarea
id: what
attributes:
label: What is the bug or the crash?
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to reproduce the issue
description: |
Steps, sample datasets and qgis project file to reproduce the behavior.
Screencasts or screenshots are more than welcome, you can drag&drop them in the text box.
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: true

- type: textarea
id: about-info
attributes:
label: Versions
description: |
In the QGIS Help menu -> About, click in the table, Ctrl+A and then Ctrl+C. Finally paste here.
Do not make a screenshot.
validations:
required: true

- type: checkboxes
id: qgis-version
attributes:
label: Supported QGIS version
description: |
Each month, there is a new release of QGIS. According to the release schedule, you should at least be running a supported QGIS version.
You can check the release schedule https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule
options:
- label: I'm running a supported QGIS version according to the official roadmap.

- type: checkboxes
id: new-profile
attributes:
label: New profile
description: |
Did you try with a new QGIS profile? Some issues or crashes might be related to other plugins or specific configuration.
You must try with a new profile to check if the issue remains.
Read this link how to create a new profile
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles
options:
- label: I tried with a new QGIS profile

- type: textarea
id: additional-context
attributes:
label: Additional context
description: |
Add any other context about the problem here.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/15_feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Feature request
description: Suggest a feature idea.
labels:
- 'Feature Request'
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request correctly.
- type: textarea
id: what
attributes:
label: Feature description
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: Additional
attributes:
label: Additional context
description: |
Add any other context or screenshots about the feature request here.
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
blank_issues_enabled: true

contact_links:
- name: Documentation
url: https://github.com/lpoaura/PluginQGis-LPOData
about: Please read carefully the documentation before to submit an issue.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/requirements"
schedule:
interval: monthly
time: "04:00"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
22 changes: 22 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ci-cd:
- .github/workflows/*
- .github/labeler.yml

dependencies:
- requirements.txt
- requirements/*.txt

documentation:
- docs/**/*

packaging:
- requirements/packaging.txt
- setup.py

quality:
- tests/**/*

tooling:
- .pre-commit-config.yaml
- .vscode/**/*
- setup.cfg
22 changes: 22 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
categories:
- title: Bugs fixes 🐛
labels:
- bug
- title: Features and enhancements 🎉
labels:
- enhancement
- UI
- title: Tooling 🔧
labels:
- ci-cd
- title: Documentation 📖
labels:
- documentation
- title: Other Changes
labels:
- "*"
14 changes: 14 additions & 0 deletions .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "🏷 PR Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
14 changes: 0 additions & 14 deletions .github/workflows/code-style.yml

This file was deleted.

87 changes: 87 additions & 0 deletions .github/workflows/documentation.yml.off
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: "📚 Documentation Builder"

on:
push:
branches: [ master ]
paths:
- '.github/workflows/documentation.yml'
- 'docs/**/*'
- 'requirements/documentation.txt'
tags:
- "*"

pull_request:
branches: [ master ]
paths:
- ".github/workflows/documentation.yml"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

env:
PYTHON_VERSION: 3.9


jobs:
build-docs:

runs-on: ubuntu-latest

steps:
- name: Get source code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
cache: "pip"
cache-dependency-path: "requirements/documentation.txt"
python-version: ${{ env.PYTHON_VERSION }}

- name: Cache Sphinx cache
uses: actions/cache@v4
with:
path: docs/_build/cache
key: ${{ runner.os }}-sphinx-${{ hashFiles('docs/**/*') }}
restore-keys: |
${{ runner.os }}-sphinx-

- name: Install project requirements
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -U -r requirements/documentation.txt

- name: Build doc using Sphinx
run: sphinx-build -b html -j auto -d docs/_build/cache -q docs docs/_build/html

- name: Save build doc as artifact
uses: actions/upload-artifact@v4
with:
name: documentation
path: docs/_build/html/*
if-no-files-found: error
retention-days: 30

- name: Setup Pages
uses: actions/configure-pages@v4
if: ${{ github.event_name == 'push' && ( startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' ) }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
if: ${{ github.event_name == 'push' && ( startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' ) }}
with:
# Upload entire repository
path: docs/_build/html/

- name: Deploy to GitHub Pages
id: deployment
if: ${{ github.event_name == 'push' && ( startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' ) }}
uses: actions/deploy-pages@v1
Loading

0 comments on commit 532a4e2

Please sign in to comment.