mirror of
https://github.com/hassio-addons/addon-mopidy.git
synced 2025-05-04 19:41:46 +00:00
Migrate JSON config to YAML (#186)
This commit is contained in:
parent
f0a8c36676
commit
b9ca37c77a
6 changed files with 43 additions and 189 deletions
85
.github/labels.yml
vendored
85
.github/labels.yml
vendored
|
@ -1,85 +0,0 @@
|
|||
---
|
||||
- name: "breaking-change"
|
||||
color: ee0701
|
||||
description: "A breaking change for existing users."
|
||||
- name: "bugfix"
|
||||
color: ee0701
|
||||
description: "Inconsistencies or issues which will cause a problem for users or implementors."
|
||||
- name: "documentation"
|
||||
color: 0052cc
|
||||
description: "Solely about the documentation of the project."
|
||||
- name: "enhancement"
|
||||
color: 1d76db
|
||||
description: "Enhancement of the code, not introducing new features."
|
||||
- name: "refactor"
|
||||
color: 1d76db
|
||||
description: "Improvement of existing code, not introducing new features."
|
||||
- name: "performance"
|
||||
color: 1d76db
|
||||
description: "Improving performance, not introducing new features."
|
||||
- name: "new-feature"
|
||||
color: 0e8a16
|
||||
description: "New features or options."
|
||||
- name: "maintenance"
|
||||
color: 2af79e
|
||||
description: "Generic maintenance tasks."
|
||||
- name: "ci"
|
||||
color: 1d76db
|
||||
description: "Work that improves the continue integration."
|
||||
- name: "dependencies"
|
||||
color: 1d76db
|
||||
description: "Upgrade or downgrade of project dependencies."
|
||||
|
||||
- name: "in-progress"
|
||||
color: fbca04
|
||||
description: "Issue is currently being resolved by a developer."
|
||||
- name: "stale"
|
||||
color: fef2c0
|
||||
description: "There has not been activity on this issue or PR for quite some time."
|
||||
- name: "no-stale"
|
||||
color: fef2c0
|
||||
description: "This issue or PR is exempted from the stable bot."
|
||||
|
||||
- name: "security"
|
||||
color: ee0701
|
||||
description: "Marks a security issue that needs to be resolved asap."
|
||||
- name: "incomplete"
|
||||
color: fef2c0
|
||||
description: "Marks a PR or issue that is missing information."
|
||||
- name: "invalid"
|
||||
color: fef2c0
|
||||
description: "Marks a PR or issue that is missing information."
|
||||
|
||||
- name: "beginner-friendly"
|
||||
color: 0e8a16
|
||||
description: "Good first issue for people wanting to contribute to the project."
|
||||
- name: "help-wanted"
|
||||
color: 0e8a16
|
||||
description: "We need some extra helping hands or expertise in order to resolve this."
|
||||
|
||||
- name: "hacktoberfest"
|
||||
description: "Issues/PRs are participating in the Hacktoberfest."
|
||||
color: fbca04
|
||||
- name: "hacktoberfest-accepted"
|
||||
description: "Issues/PRs are participating in the Hacktoberfest."
|
||||
color: fbca04
|
||||
|
||||
- name: "priority-critical"
|
||||
color: ee0701
|
||||
description: "This should be dealt with ASAP. Not fixing this issue would be a serious error."
|
||||
- name: "priority-high"
|
||||
color: b60205
|
||||
description: "After critical issues are fixed, these should be dealt with before any further issues."
|
||||
- name: "priority-medium"
|
||||
color: 0e8a16
|
||||
description: "This issue may be useful, and needs some attention."
|
||||
- name: "priority-low"
|
||||
color: e4ea8a
|
||||
description: "Nice addition, maybe... someday..."
|
||||
|
||||
- name: "major"
|
||||
color: b60205
|
||||
description: "This PR causes a major version bump in the version number."
|
||||
- name: "minor"
|
||||
color: 0e8a16
|
||||
description: "This PR causes a minor version bump in the version number."
|
57
.github/release-drafter.yml
vendored
57
.github/release-drafter.yml
vendored
|
@ -1,57 +0,0 @@
|
|||
---
|
||||
name-template: "v$RESOLVED_VERSION"
|
||||
tag-template: "v$RESOLVED_VERSION"
|
||||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
||||
sort-direction: ascending
|
||||
|
||||
categories:
|
||||
- title: "🚨 Breaking changes"
|
||||
labels:
|
||||
- "breaking-change"
|
||||
- title: "✨ New features"
|
||||
labels:
|
||||
- "new-feature"
|
||||
- title: "🐛 Bug fixes"
|
||||
labels:
|
||||
- "bugfix"
|
||||
- title: "🚀 Enhancements"
|
||||
labels:
|
||||
- "enhancement"
|
||||
- "refactor"
|
||||
- "performance"
|
||||
- title: "🧰 Maintenance"
|
||||
labels:
|
||||
- "maintenance"
|
||||
- "ci"
|
||||
- title: "📚 Documentation"
|
||||
labels:
|
||||
- "documentation"
|
||||
- title: "⬆️ Dependency updates"
|
||||
labels:
|
||||
- "dependencies"
|
||||
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- "major"
|
||||
- "breaking-change"
|
||||
minor:
|
||||
labels:
|
||||
- "minor"
|
||||
- "new-feature"
|
||||
patch:
|
||||
labels:
|
||||
- "bugfix"
|
||||
- "chore"
|
||||
- "ci"
|
||||
- "dependencies"
|
||||
- "documentation"
|
||||
- "enhancement"
|
||||
- "performance"
|
||||
- "refactor"
|
||||
default: patch
|
||||
|
||||
template: |
|
||||
## What’s changed
|
||||
|
||||
$CHANGES
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"build_from": {
|
||||
"amd64": "ghcr.io/hassio-addons/debian-base/amd64:4.2.2"
|
||||
}
|
||||
}
|
3
mopidy/build.yaml
Normal file
3
mopidy/build.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
build_from:
|
||||
amd64: ghcr.io/hassio-addons/debian-base/amd64:4.2.2
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
"name": "Mopidy",
|
||||
"version": "dev",
|
||||
"slug": "mopidy",
|
||||
"panel_icon": "mdi:music-circle",
|
||||
"description": "Mopidy is an extensible music server",
|
||||
"url": "https://github.com/hassio-addons/addon-mopidy",
|
||||
"ingress": true,
|
||||
"ingress_entry": "iris/",
|
||||
"ingress_stream": true,
|
||||
"arch": ["amd64"],
|
||||
"auth_api": true,
|
||||
"audio": true,
|
||||
"ports": {
|
||||
"6600/tcp": 6600,
|
||||
"5555/udp": 5555,
|
||||
"80/tcp": null
|
||||
},
|
||||
"ports_description": {
|
||||
"6600/tcp": "Mopidy",
|
||||
"5555/udp": "Autoaudiosink",
|
||||
"80/tcp": "Web interface (Not required for Ingress)"
|
||||
},
|
||||
"map": ["config", "share:rw", "ssl"],
|
||||
"options": {
|
||||
"system_packages": [],
|
||||
"python_packages": [],
|
||||
"settings": []
|
||||
},
|
||||
"schema": {
|
||||
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
|
||||
"system_packages": ["str"],
|
||||
"python_packages": ["str"],
|
||||
"settings": [
|
||||
{
|
||||
"name": "str",
|
||||
"value": "str"
|
||||
}
|
||||
],
|
||||
"leave_front_door_open": "bool?"
|
||||
}
|
||||
}
|
40
mopidy/config.yaml
Normal file
40
mopidy/config.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
name: Mopidy
|
||||
version: dev
|
||||
slug: mopidy
|
||||
panel_icon: mdi:music-circle
|
||||
description: Mopidy is an extensible music server
|
||||
url: https://github.com/hassio-addons/addon-mopidy
|
||||
ingress: true
|
||||
ingress_entry: iris/
|
||||
ingress_stream: true
|
||||
arch:
|
||||
- amd64
|
||||
auth_api: true
|
||||
audio: true
|
||||
ports:
|
||||
6600/tcp: 6600
|
||||
5555/udp: 5555
|
||||
80/tcp: null
|
||||
ports_description:
|
||||
6600/tcp: Mopidy
|
||||
5555/udp: Autoaudiosink
|
||||
80/tcp: Web interface (Not required for Ingress)
|
||||
map:
|
||||
- config
|
||||
- share:rw
|
||||
- ssl
|
||||
options:
|
||||
system_packages: []
|
||||
python_packages: []
|
||||
settings: []
|
||||
schema:
|
||||
log_level: list(trace|debug|info|notice|warning|error|fatal)?
|
||||
system_packages:
|
||||
- str
|
||||
python_packages:
|
||||
- str
|
||||
settings:
|
||||
- name: str
|
||||
value: str
|
||||
leave_front_door_open: bool?
|
Loading…
Add table
Add a link
Reference in a new issue