-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into import/add-7z-source
- Loading branch information
Showing
238 changed files
with
12,813 additions
and
1,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
labels: "Bug" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
Thanks for taking the time to fill out this bug report! Before | ||
submitting your issue, make sure this has not been already | ||
reported or if it works with the latest version of the library. | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Bug Description | ||
description: > | ||
If applicable, add screenshots to help explain your | ||
problem. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduction | ||
attributes: | ||
label: To Reproduce | ||
description: > | ||
Provide a step-by-step instruction of how to reproduce the behavior. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: part_yaml | ||
attributes: | ||
label: part yaml | ||
description: > | ||
If possible, please paste the yaml spec that causes the | ||
failure. This will be automatically formatted into code, so no | ||
need for backticks. | ||
render: shell | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: > | ||
Please copy and paste any relevant log output. This will be | ||
automatically formatted into code, so no need for backticks. | ||
render: shell | ||
validations: | ||
required: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Charmcraft Discourse | ||
url: https://discourse.charmhub.io/c/charmcraft/3 | ||
about: Issues creating charms | ||
- name: Snapcraft Discourse | ||
url: https://forum.snapcraft.io/c/snapcraft/13 | ||
about: Issues creating snaps | ||
- name: Rockcraft Discourse | ||
url: https://discourse.ubuntu.com/c/rocks/117 | ||
about: Issues creating ROCKs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Task | ||
description: File an enhancement proposal | ||
labels: "Enhancement" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
Thanks for taking the time to fill out this enhancement | ||
proposal! Before submitting your issue, please make sure there | ||
isn't already a prior issue concerning this. If there is, | ||
please join that discussion instead. | ||
- type: textarea | ||
id: enhancement-proposal-what | ||
attributes: | ||
label: What needs to get done | ||
description: > | ||
Describe what needs to get done | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: enhancement-proposal-why | ||
attributes: | ||
label: Why it needs to get done | ||
description: > | ||
Describe why it needs to get done | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
// Configuration file for RenovateBot: https://docs.renovatebot.com/configuration-options | ||
extends: ["config:base"], | ||
labels: ["dependencies"], // For convenient searching in GitHub | ||
pip_requirements: { | ||
fileMatch: ["^tox.ini$", "(^|/)requirements([\\w-]*)\\.txt$"] | ||
}, | ||
pip_setup: { | ||
fileMatch: ["^pyproject.toml$", "(^|/)setup\\.py$"] | ||
}, | ||
packageRules: [ | ||
{ | ||
// Automerge patches, pin changes and digest changes. | ||
// Also groups these changes together. | ||
groupName: "bugfixes", | ||
excludePackageNames: ["ruff"], | ||
matchUpdateTypes: ["patch", "pin", "digest"], | ||
prPriority: 3, // Patches should go first! | ||
automerge: true | ||
}, | ||
{ | ||
// Update all internal packages in one higher-priority PR | ||
groupName: "internal packages", | ||
matchPackagePrefixes: ["craft-", "snap-"], | ||
matchLanguages: ["python"], | ||
prPriority: 2 | ||
}, | ||
{ | ||
// GitHub Actions are higher priority to update than most dependencies. | ||
groupName: "GitHub Actions", | ||
matchManagers: ["github-actions"], | ||
prPriority: 1 | ||
}, | ||
// Everything not in one of these rules gets priority 0 and falls here. | ||
{ | ||
// Minor changes can be grouped and automerged for dev dependencies, but are also deprioritised. | ||
groupName: "development dependencies (minor and patch)", | ||
groupSlug: "dev-dependencies", | ||
matchPackageNames: [ | ||
"black", | ||
"codespell", | ||
"coverage", | ||
"isort", | ||
"mypy", | ||
"pydocstyle", | ||
"pylint", | ||
"pytest", | ||
"tox", | ||
], | ||
matchPackagePatterns: [ | ||
".*-mock$" | ||
], | ||
matchPackagePrefixes: [ | ||
"pytest-", | ||
"pylint-", | ||
"types-", | ||
], | ||
matchUpdateTypes: ["minor", "patch", "pin", "digest"], | ||
prPriority: -1, | ||
automerge: true | ||
}, | ||
{ | ||
// Documentation related updates | ||
groupName: "documentation dependencies", | ||
groupSlug: "doc-dependencies", | ||
matchPackageNames: ["Sphinx"], | ||
matchPackagePatterns: ["^[Ss]phinx.*$", "^furo$"] | ||
}, | ||
{ | ||
// Other major dependencies get deprioritised below minor dev dependencies. | ||
matchUpdateTypes: ["major"], | ||
prPriority: -2 | ||
}, | ||
{ | ||
// Major dev dependencies are stone last, but grouped. | ||
groupName: "development dependencies (major versions)", | ||
groupSlug: "dev-dependencies", | ||
matchDepTypes: ["devDependencies"], | ||
matchUpdateTypes: ["major"], | ||
prPriority: -3 | ||
}, | ||
{ | ||
// Ruff is still unstable, so update it separately. | ||
matchPackageNames: ["ruff"], | ||
prPriority: -3 | ||
} | ||
], | ||
regexManagers: [ | ||
{ | ||
// tox.ini can get updates too if we specify for each package. | ||
fileMatch: ["tox.ini"], | ||
depTypeTemplate: "devDependencies", | ||
matchStrings: [ | ||
"# renovate: datasource=(?<datasource>\\S+)\n\\s+(?<depName>.*?)(\\[[\\w]*\\])*[=><]=?(?<currentValue>.*?)\n" | ||
] | ||
} | ||
], | ||
timezone: "Etc/UTC", | ||
automergeSchedule: "every weekend", | ||
schedule: "every weekend", | ||
prConcurrentLimit: 2, // No more than 2 open PRs at a time. | ||
prCreation: "not-pending", // Wait until status checks have completed before raising the PR | ||
prNotPendingHours: 4, // ...unless the status checks have been running for 4+ hours. | ||
prHourlyLimit: 1, // No more than 1 PR per hour. | ||
stabilityDays: 2 // Wait 2 days from release before updating. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# this workflow requires to provide JIRA webhook URL via JIRA_URL GitHub Secret | ||
# read more: https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Automationtriggers-Incomingwebhook | ||
# original code source: https://github.com/beliaev-maksim/github-to-jira-automation | ||
|
||
name: Issues to JIRA | ||
|
||
on: | ||
issues: | ||
# available via github.event.action | ||
types: [opened, reopened, closed] | ||
|
||
jobs: | ||
update: | ||
name: Update Issue | ||
uses: beliaev-maksim/github-to-jira-automation/.github/workflows/issues_to_jira.yaml@master | ||
secrets: | ||
JIRA_URL: ${{ secrets.JIRA_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,3 +112,6 @@ ENV/ | |
parts/ | ||
stage/ | ||
prime/ | ||
|
||
# Tox environments | ||
/.tox/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
ignore-from-file: [.gitignore] | ||
|
||
extends: default | ||
|
||
rules: | ||
document-start: disable | ||
float-values: enable | ||
line-length: disable | ||
octal-values: enable | ||
truthy: | ||
check-keys: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.