Skip to content

Commit

Permalink
Merge pull request #7 from TRaSH-Guides/master
Browse files Browse the repository at this point in the history
  • Loading branch information
FonduemangVI authored Jul 3, 2024
2 parents 08298b4 + 2a351ba commit 88420db
Show file tree
Hide file tree
Showing 608 changed files with 12,550 additions and 8,794 deletions.
48 changes: 47 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,55 @@
# top-most EditorConfig file
root = true

[*.json]
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{css}]
indent_style = space
indent_size = 2
end_of_line = lf

[*.{htm,html}]
indent_style = space
indent_size = 2
end_of_line = lf

[*.js]
indent_style = space
indent_size = 2
end_of_line = lf

[*.{json,jsonc,webmanifest}]
indent_style = space
indent_size = 2
end_of_line = lf

[*.md]
indent_style = space
indent_size = 4
end_of_line = lf

[*.py]
indent_style = space
indent_size = 4
end_of_line = lf

[*.sh]
indent_style = space
indent_size = 4
end_of_line = lf

[*.xml]
indent_style = space
indent_size = 2
end_of_line = lf

[*.{yaml,yml}]
indent_style = space
indent_size = 2
end_of_line = lf
23 changes: 10 additions & 13 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,19 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Expand Down
63 changes: 0 additions & 63 deletions .github/configs/release-changelog-builder-action.json

This file was deleted.

57 changes: 44 additions & 13 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,70 @@
"Area: Bazarr":
- changed-files:
- any-glob-to-any-file: ['docs/Bazarr/**']
- any-glob-to-any-file: ["docs/Bazarr/**"]
"Area: Dependencies":
- changed-files:
- any-glob-to-any-file: ['package.json', 'package-lock.json']
- any-glob-to-any-file: ["package.json", "package-lock.json"]
"Area: Downloaders":
- changed-files:
- any-glob-to-any-file: ['docs/Downloaders/**']
- any-glob-to-any-file: ["docs/Downloaders/**"]
"Area: Plex":
- changed-files:
- any-glob-to-any-file: ['docs/Plex/**']
- any-glob-to-any-file: ["docs/Plex/**"]
"Area: Prowlarr":
- changed-files:
- any-glob-to-any-file: ['docs/Prowlarr/**']
- any-glob-to-any-file: ["docs/Prowlarr/**"]
"Area: Radarr":
- changed-files:
- any-glob-to-any-file: ['docs/json/radarr/cf/**', 'docs/json/radarr/quality-size/**', 'docs/json/radarr/naming/**', 'docs/Radarr/**']
- any-glob-to-any-file:
[
"docs/json/radarr/cf/**",
"docs/json/radarr/quality-size/**",
"docs/json/radarr/naming/**",
"docs/Radarr/**",
]
"Area: Recyclarr":
- changed-files:
- any-glob-to-any-file: ['docs/recyclarr-configs/**']
- any-glob-to-any-file: ["docs/recyclarr-configs/**"]
"Area: Sonarr":
- changed-files:
- any-glob-to-any-file: ['docs/json/sonarr/rp/**', 'docs/json/sonarr/cf/**', 'docs/json/sonarr/quality-size/**', 'docs/json/sonarr/naming/**', 'docs/Sonarr/**']
- any-glob-to-any-file:
[
"docs/json/sonarr/rp/**",
"docs/json/sonarr/cf/**",
"docs/json/sonarr/quality-size/**",
"docs/json/sonarr/naming/**",
"docs/Sonarr/**",
]
"Area: Starr Custom Formats":
- changed-files:
- any-glob-to-any-file: ['docs/json/radarr/cf/**', 'docs/json/sonarr/cf/**']
- any-glob-to-any-file:
["docs/json/radarr/cf/**", "docs/json/sonarr/cf/**"]
"Area: Starr Naming":
- changed-files:
- any-glob-to-any-file: ['docs/json/radarr/naming/**', 'docs/json/sonarr/naming/**']
- any-glob-to-any-file:
["docs/json/radarr/naming/**", "docs/json/sonarr/naming/**"]
"Area: github_actions":
- changed-files:
- any-glob-to-any-file: ['.github/workflows/**', '.github/dependabot.yml', '.github/labeler.yml', '.github/stale.yml']
- any-glob-to-any-file:
[
".github/workflows/**",
".github/dependabot.yml",
".github/labeler.yml",
".github/stale.yml",
]
"Area: python":
- changed-files:
- any-glob-to-any-file: ['**/*.py']
- any-glob-to-any-file: ["**/*.py"]
"Area: Backend":
- changed-files:
- any-glob-to-any-file: ['docs/**/*.md', '!docs/Bazarr/**', '!docs/Downloaders/**', '!docs/Plex/**', '!docs/Prowlarr/**', '!docs/Radarr/**', '!docs/recyclarr-configs/**', '!docs/Sonarr/**']
- any-glob-to-any-file:
[
"docs/**/*.md",
"!docs/Bazarr/**",
"!docs/Downloaders/**",
"!docs/Plex/**",
"!docs/Prowlarr/**",
"!docs/Radarr/**",
"!docs/recyclarr-configs/**",
"!docs/Sonarr/**",
]
61 changes: 0 additions & 61 deletions .github/scripts/update-contributors-backup.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/scripts/update-contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ let index = 0;
let page = 1;

function fetchPage() {
axios.get(`https://api.github.com/repos/FonduemangVI/Guides/contributors?per_page=100&page=${page}`)
axios.get(`https://api.github.com/repos/TRaSH-Guides/Guides/contributors?per_page=100&page=${page}`)
.then((response) => {
if (response.data.length === 0) {
// No more contributors, write the file
contributors += '\n</div>';
contributors = indentString(contributors, '');

fs.writeFileSync('CONTRIBUTORS.md', `## Contributors\n\n<!-- readme: contributors -start -->\n${contributors}\n<!-- readme: contributors -end -->\n`);
fs.writeFileSync('CONTRIBUTORS.md', `<!-- editorconfig-checker-disable-file -->\n\n## Contributors\n\n<!-- readme: contributors -start -->\n${contributors}\n<!-- readme: contributors -end -->\n`);
return;
}

Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/changelog-builder.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/conflicts.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Label Conflicts

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
triage:
Expand Down
Loading

0 comments on commit 88420db

Please sign in to comment.