chore(backend): several backend changes (#1403)

pull/1408/head
TRaSH 1 year ago committed by GitHub
commit 36d5c4c7b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,17 +12,59 @@ These are mostly guidelines, not rules. Use your best judgment, and feel free to
- Make sure that after the changes you don't get any [markdownlint](https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md) errors
- If the `metadata.json` and `metadata.schema.json` needs changes, announce it first in the Discord `#development` channel and ping`voidpointer` and `nitsua` so the 3rd party apps don't break :bangbang:
## Branch naming
We're trying to be as consistent as possible for automation of the changelog.
- **feat/xxx** Commits, that adds a new feature
- **fix/xxx** Commits, that fixes a bug/issue
- **style/xxx** Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
- **chore/xxx** Miscellaneous commits (administrative / cleanup / backend)
Where 'xxx' can stand for Starr/Sonarr/Radarr/Guide etc
*Examples:*
`feat/Starr-ELEANOR-to-Scene-CF`
`feat/Radarr-CiNEPHiLES-to-Remux-Tier-02`
`feat/maintenance`
`fix/dv-hdr10-cf-should-match-dv-hdr10+`
[Source](https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13#types){:target="_blank" rel="noopener noreferrer"}
## Pull Request naming
We're trying to be as consistent as possible for automation of the changelog.
- **feat(xxx):** Commits, that adds a new feature
- **fix(xxx):** Commits, that fixes a bug/issue
- **style(xxx):** Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
- **chore(xxx):** Miscellaneous commits (administrative / cleanup / backend)
Where 'xxx' can stand for Starr/Sonarr/Radarr/Guide etc
*Examples:*
`feat(starr): add ELEANOR to Scene CF`
`feat(radarr): add CiNEPHiLES to Remux Tier 02`
`feat(maintenance): various changes to the Starr CFs`
`fix(starr): DV HDR10 CF should match DV HDR10+`
[Source](https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13#types){:target="_blank" rel="noopener noreferrer"}
## When doing a PR that is WIP
When doing a PR that is in-progress and not yet complete / ready for review or not yet done fully, please ensure it is a **DRAFT Pull Request**
## Radarr/Sonarr Custom Format (JSON)
- Custom Format name needs to match json name :bangbang:
- No hashcode can exists multiple times :bangbang:
- JSON file names are always written in small letters, spaces are replaced by a dash, no spaces or special characters except a dash :bangbang:
- When adding the hashcode for Radarr use the following naming `CF_name` on the following [link+example](https://md5.gromweb.com/?string=BR-DISK).
- When adding the hashcode for Radarr Anime use the following naming `Radarr Anime CF_name` on the following [link+example](https://md5.gromweb.com/?string=Radarr+Anime+BR-DISK).
- When adding the hashcode for Sonarr use the following naming `Sonarr CF_name` on the following [link+example](https://md5.gromweb.com/?string=Sonarr+BR-DISK).
- When adding the hashcode for Sonarr Anime use the following naming `Sonarr Anime CF_name` on the following [link+example](https://md5.gromweb.com/?string=Sonarr+Anime+BR-DISK).
- Provide a link to your regex example of your Custom Format using the following [Template](https://regex101.com/r/fXmQQm/1).
- When adding a RlsGRp to a Custom Format for what ever reason, please add in the PR why it's added/removed/moved.
- When adding the hashcode for Radarr use the following naming `CF_name` on the following [link+example](https://md5.gromweb.com/?string=BR-DISK){:target="_blank" rel="noopener noreferrer"}.
- When adding the hashcode for Radarr Anime use the following naming `Radarr Anime CF_name` on the following [link+example](https://md5.gromweb.com/?string=Radarr+Anime+BR-DISK){:target="_blank" rel="noopener noreferrer"}.
- When adding the hashcode for Sonarr use the following naming `Sonarr CF_name` on the following [link+example](https://md5.gromweb.com/?string=Sonarr+BR-DISK){:target="_blank" rel="noopener noreferrer"}.
- When adding the hashcode for Sonarr Anime use the following naming `Sonarr Anime CF_name` on the following [link+example](https://md5.gromweb.com/?string=Sonarr+Anime+BR-DISK){:target="_blank" rel="noopener noreferrer"}.
- Provide a link to your regex example of your Custom Format using the following [Template](https://regex101.com/r/4DypIW/1){:target="_blank" rel="noopener noreferrer"}.
- When adding a RlsGrp to a Custom Format for whatever reason, please add in the PR why it's added/removed/moved.
When adding a regex test case
@ -48,4 +90,4 @@ When updating or adding a new CF the test case url needs to be added to the json
## Recommendations
- use [VSCode](https://code.visualstudio.com/) for editing with the following extension [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint)
- use [VSCode](https://code.visualstudio.com/){:target="_blank" rel="noopener noreferrer"} for editing with the following extension [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint){:target="_blank" rel="noopener noreferrer"}

@ -12,10 +12,10 @@ Check all boxes as they are completed
- [ ] Use github checklists. When solved, check the box and explain the answer.
**Learning**
If you're adding a new Custom Format make sure you follow the [Radarr/Sonarr Custom Format (JSON) Guidelines](https://github.com/TRaSH-/Guides/blob/master/.github/CONTRIBUTING.md).
If you're adding a new Custom Format make sure you follow the [Radarr/Sonarr Custom Format (JSON) Guidelines](https://github.com/TRaSH-Guides/Guides/blob/master/.github/CONTRIBUTING.md).
**Requirements**
Check all boxes as they are completed
- [ ] These changes meet the standards for [contributing](https://github.com/TRaSH-/Guides/blob/master/.github/CONTRIBUTING.md).
- [ ] I have read the [code of conduct](https://github.com/TRaSH-/Guides/blob/master/.github/CODE_OF_CONDUCT.md).
- [ ] These changes meet the standards for [contributing](https://github.com/TRaSH-Guides/Guides/blob/master/.github/CONTRIBUTING.md).
- [ ] I have read the [code of conduct](https://github.com/TRaSH-Guides/Guides/blob/master/.github/CODE_OF_CONDUCT.md).

@ -3,7 +3,7 @@
!!! note ""
Here you will find a collection of Scripts you can use with Bazarr.
Most of them are provided by other users, if you got a script you want to share don't hesitate to create a [PR](https://github.com/TRaSH-/Guides/blob/master/.github/CONTRIBUTING.md) for it
Most of them are provided by other users, if you got a script you want to share don't hesitate to create a [PR](https://github.com/TRaSH-Guides/Guides/blob/master/.github/CONTRIBUTING.md) for it
## 2 to 3 language code

@ -5,10 +5,10 @@
# TRaSH-Guides
[![Discord chat](https://img.shields.io/discord/492590071455940612?style=flat-square&color=4051B5&logo=discord){ .off-glb }](https://trash-guides.info/discord){:target="_blank" rel="noopener noreferrer"}
[![GitHub last commit](https://img.shields.io/github/last-commit/TRaSH-/Guides?color=4051B5&label=Last%20Update&style=flat-square){ .off-glb }](https://github.com/TRaSH-/Guides/commits/master){:target="_blank" rel="noopener noreferrer"}
[![GitHub contributors](https://img.shields.io/github/contributors/TRaSH-/Guides?color=4051B5&style=flat-square){ .off-glb }](https://github.com/TRaSH-/Guides/graphs/contributors){:target="_blank" rel="noopener noreferrer"}
[![GitHub pull requests](https://img.shields.io/github/issues-pr/TRaSH-/Guides?color=4051B5&style=flat-square){ .off-glb }](https://github.com/TRaSH-/Guides/pulls){:target="_blank" rel="noopener noreferrer"}
[![GitHub issues](https://img.shields.io/github/issues/TRaSH-/Guides?color=4051B5&style=flat-square){ .off-glb }](https://github.com/TRaSH-/Guides/issues){:target="_blank" rel="noopener noreferrer"}
[![GitHub last commit](https://img.shields.io/github/last-commit/TRaSH-Guides/Guides?color=4051B5&label=Last%20Update&style=flat-square){ .off-glb }](https://github.com/TRaSH-Guides/Guides/commits/master){:target="_blank" rel="noopener noreferrer"}
[![GitHub contributors](https://img.shields.io/github/contributors/TRaSH-Guides/Guides?color=4051B5&style=flat-square){ .off-glb }](https://github.com/TRaSH-Guides/Guides/graphs/contributors){:target="_blank" rel="noopener noreferrer"}
[![GitHub pull requests](https://img.shields.io/github/issues-pr/TRaSH-Guides/Guides?color=4051B5&style=flat-square){ .off-glb }](https://github.com/TRaSH-Guides/Guides/pulls){:target="_blank" rel="noopener noreferrer"}
[![GitHub issues](https://img.shields.io/github/issues/TRaSH-Guides/Guides?color=4051B5&style=flat-square){ .off-glb }](https://github.com/TRaSH-Guides/Guides/issues){:target="_blank" rel="noopener noreferrer"}
*TRaSH Guides, Guides that aren't trash.*
@ -27,7 +27,7 @@ I try to make my guides as easy as possible for everyone to understand, in my op
[![Discord chat](https://img.shields.io/discord/492590071455940612?style=for-the-badge&color=4051B5&logo=discord){ .off-glb }](https://trash-guides.info/discord){:target="_blank" rel="noopener noreferrer"}
If you have questions, suggestions, requests or want to contribute, click the chat badge to join the Discord Channel where you can ask your questions directly or use the following [link](https://github.com/TRaSH-/Guides/issues){:target="_blank" rel="noopener noreferrer"} to open an issue on GitHub.
If you have questions, suggestions, requests or want to contribute, click the chat badge to join the Discord Channel where you can ask your questions directly or use the following [link](https://github.com/TRaSH-Guides/Guides/issues){:target="_blank" rel="noopener noreferrer"} to open an issue on GitHub.
Feel free to create a PR if you want to.
---

@ -3,8 +3,8 @@ site_description: Guides mainly for Sonarr/Radarr/Bazarr and everything related
site_author: TRaSH
site_url: https://trash-guides.info/
repo_url: https://github.com/TRaSH-/Guides
repo_name: TRaSH-/Guides
repo_url: https://github.com/TRaSH-Guides/Guides
repo_name: TRaSH-Guides
copyright: Copyright © 2022 TRaSH
@ -16,7 +16,7 @@ extra:
- icon: fontawesome/brands/discord
link: https://trash-guides.info/discord
- icon: fontawesome/brands/square-github
link: https://github.com/TRaSH-/Guides
link: https://github.com/TRaSH-Guides/Guides
extra_css:
- stylesheets/extra.css

Loading…
Cancel
Save