Compare commits
1 Commits
master
...
1884151eb0
| Author | SHA1 | Date | |
|---|---|---|---|
| 1884151eb0 |
+267
@@ -0,0 +1,267 @@
|
|||||||
|
# =============================================================
|
||||||
|
# .gitattributes — Universal JetBrains / Multi-Stack Template
|
||||||
|
# Covers: PHP, Go, TypeScript, JavaScript, Rust, Dart/Flutter,
|
||||||
|
# Python, Ruby, HCL/Terraform, SQL, HTML, CSS, DevOps
|
||||||
|
# =============================================================
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# DEFAULTS: LF everywhere, CRLF only for Windows-specific files
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
*.bat text eol=crlf
|
||||||
|
*.cmd text eol=crlf
|
||||||
|
*.ps1 text eol=crlf
|
||||||
|
*.psm1 text eol=crlf
|
||||||
|
*.psd1 text eol=crlf
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# PHP
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.php text diff=php
|
||||||
|
*.phtml text diff=php
|
||||||
|
*.php8 text diff=php
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Go
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.go text diff=golang
|
||||||
|
go.sum text -diff
|
||||||
|
go.work.sum text -diff
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# TypeScript / JavaScript
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.ts text diff=typescript
|
||||||
|
*.tsx text diff=typescript
|
||||||
|
*.js text diff=javascript
|
||||||
|
*.jsx text diff=javascript
|
||||||
|
*.mjs text diff=javascript
|
||||||
|
*.cjs text diff=javascript
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Rust
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.rs text diff=rust
|
||||||
|
Cargo.lock text -diff
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Dart / Flutter
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.dart text diff=dart
|
||||||
|
pubspec.lock text -diff
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Lua
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.lua text diff=lua
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Python
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.py text diff=python
|
||||||
|
*.pyi text diff=python
|
||||||
|
Pipfile.lock text -diff
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Ruby
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.rb text diff=ruby
|
||||||
|
Gemfile.lock text -diff
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Web: HTML / CSS / Templates
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.html text diff=html
|
||||||
|
*.htm text diff=html
|
||||||
|
*.blade.php text diff=html
|
||||||
|
*.templ text diff=html
|
||||||
|
*.twig text diff=html
|
||||||
|
*.njk text diff=html
|
||||||
|
*.ejs text diff=html
|
||||||
|
*.hbs text diff=html
|
||||||
|
*.mustache text diff=html
|
||||||
|
*.vue text diff=html
|
||||||
|
*.svelte text diff=html
|
||||||
|
*.css text diff=css
|
||||||
|
*.scss text diff=css
|
||||||
|
*.sass text diff=css
|
||||||
|
*.less text diff=css
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Data / Config formats
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.json text diff=json
|
||||||
|
*.jsonc text diff=json
|
||||||
|
*.json5 text diff=json
|
||||||
|
*.yaml text diff=yaml
|
||||||
|
*.yml text diff=yaml
|
||||||
|
*.toml text
|
||||||
|
*.xml text diff=html
|
||||||
|
*.svg text diff=html
|
||||||
|
*.env text
|
||||||
|
*.env.* text
|
||||||
|
*.ini text
|
||||||
|
*.cfg text
|
||||||
|
*.conf text
|
||||||
|
*.properties text
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# HCL / Terraform / HashiCorp stack
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.hcl text diff=terraform
|
||||||
|
*.tf text diff=terraform
|
||||||
|
*.tfvars text diff=terraform
|
||||||
|
*.tfvars.json text diff=json
|
||||||
|
.terraform.lock.hcl text -diff merge=ours
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# SQL / Database
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.sql text diff=sql
|
||||||
|
*.pgsql text diff=sql
|
||||||
|
*.mysql text diff=sql
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Shell / Scripts
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.sh text eol=lf
|
||||||
|
*.bash text eol=lf
|
||||||
|
*.zsh text eol=lf
|
||||||
|
*.fish text eol=lf
|
||||||
|
Makefile text eol=lf
|
||||||
|
*.mk text eol=lf
|
||||||
|
Dockerfile text eol=lf
|
||||||
|
Dockerfile.* text eol=lf
|
||||||
|
*.dockerfile text eol=lf
|
||||||
|
*.containerfile text eol=lf
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Documentation
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.md text diff=markdown
|
||||||
|
*.mdx text diff=markdown
|
||||||
|
*.rst text
|
||||||
|
*.txt text
|
||||||
|
*.adoc text
|
||||||
|
LICENSE text
|
||||||
|
AUTHORS text
|
||||||
|
CODEOWNERS text
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Lock files — no diff noise, merge=ours
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.lock text -diff merge=ours
|
||||||
|
*.lock.* text -diff merge=ours
|
||||||
|
package-lock.json text -diff merge=ours
|
||||||
|
yarn.lock text -diff merge=ours
|
||||||
|
pnpm-lock.yaml text -diff merge=ours
|
||||||
|
composer.lock text -diff merge=ours
|
||||||
|
bun.lockb binary
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Generated files — hide from diff + GitHub stats
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*_templ.go linguist-generated=true -diff
|
||||||
|
*.pb.go linguist-generated=true -diff
|
||||||
|
*.gen.go linguist-generated=true -diff
|
||||||
|
*.generated.go linguist-generated=true -diff
|
||||||
|
*.generated.ts linguist-generated=true -diff
|
||||||
|
*.generated.php linguist-generated=true -diff
|
||||||
|
*_test.snap linguist-generated=true -diff
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Binary: Images
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.jpeg binary
|
||||||
|
*.gif binary
|
||||||
|
*.bmp binary
|
||||||
|
*.ico binary
|
||||||
|
*.webp binary
|
||||||
|
*.avif binary
|
||||||
|
*.tiff binary
|
||||||
|
*.tif binary
|
||||||
|
*.psd binary
|
||||||
|
*.ai binary
|
||||||
|
*.eps binary
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Binary: Fonts
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.ttf binary
|
||||||
|
*.otf binary
|
||||||
|
*.woff binary
|
||||||
|
*.woff2 binary
|
||||||
|
*.eot binary
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Binary: Audio / Video
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.mp3 binary
|
||||||
|
*.mp4 binary
|
||||||
|
*.wav binary
|
||||||
|
*.flac binary
|
||||||
|
*.ogg binary
|
||||||
|
*.opus binary
|
||||||
|
*.aac binary
|
||||||
|
*.m4a binary
|
||||||
|
*.webm binary
|
||||||
|
*.avi binary
|
||||||
|
*.mov binary
|
||||||
|
*.mkv binary
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Binary: Archives / Executables
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.zip binary
|
||||||
|
*.tar binary
|
||||||
|
*.gz binary
|
||||||
|
*.bz2 binary
|
||||||
|
*.xz binary
|
||||||
|
*.7z binary
|
||||||
|
*.rar binary
|
||||||
|
*.exe binary
|
||||||
|
*.dll binary
|
||||||
|
*.so binary
|
||||||
|
*.dylib binary
|
||||||
|
*.a binary
|
||||||
|
*.o binary
|
||||||
|
*.wasm binary
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Binary: Documents / Data files
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.pdf binary
|
||||||
|
*.doc binary
|
||||||
|
*.docx binary
|
||||||
|
*.xls binary
|
||||||
|
*.xlsx binary
|
||||||
|
*.ppt binary
|
||||||
|
*.pptx binary
|
||||||
|
*.db binary
|
||||||
|
*.sqlite binary
|
||||||
|
*.sqlite3 binary
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# Terraform state — never should be committed, but just in case
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
*.tfstate binary
|
||||||
|
*.tfstate.backup binary
|
||||||
|
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
# git archive export-ignore
|
||||||
|
# (files excluded from GitHub release tarballs)
|
||||||
|
# ─────────────────────────────────────────────────────────────
|
||||||
|
README.md export-ignore
|
||||||
|
CHANGELOG.md export-ignore
|
||||||
|
CONTRIBUTING.md.md export-ignore
|
||||||
|
SECURITY.md export-ignore
|
||||||
|
.editorconfig export-ignore
|
||||||
|
.env.example export-ignore
|
||||||
|
.gitattributes export-ignore
|
||||||
|
.gitignore export-ignore
|
||||||
|
.github export-ignore
|
||||||
|
docs export-ignore
|
||||||
|
tests export-ignore
|
||||||
+2
-1
@@ -14,4 +14,5 @@ vendor/
|
|||||||
config/secret.yaml
|
config/secret.yaml
|
||||||
*.md
|
*.md
|
||||||
mdb
|
mdb
|
||||||
internal/releaseparser/resources/*
|
internal/releaseparser/resources/*
|
||||||
|
review_unknown_tokens.txt
|
||||||
@@ -5,6 +5,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"log/slog"
|
"log/slog"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"runtime"
|
||||||
"slices"
|
"slices"
|
||||||
|
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
@@ -26,7 +27,13 @@ func New() {
|
|||||||
|
|
||||||
configDir, _ := filepath.Abs(dir)
|
configDir, _ := filepath.Abs(dir)
|
||||||
|
|
||||||
viper.AddConfigPath(configDir)
|
switch runtime.GOOS {
|
||||||
|
case "windows":
|
||||||
|
viper.AddConfigPath(configDir)
|
||||||
|
case "linux":
|
||||||
|
viper.AddConfigPath("/opt/sources/resource-scraper/config")
|
||||||
|
}
|
||||||
|
|
||||||
viper.SetConfigName(configName)
|
viper.SetConfigName(configName)
|
||||||
err := viper.ReadInConfig()
|
err := viper.ReadInConfig()
|
||||||
if err != nil { // Handle errors reading the config file
|
if err != nil { // Handle errors reading the config file
|
||||||
|
|||||||
@@ -3,3 +3,4 @@ REAL_REPACK
|
|||||||
READNFO
|
READNFO
|
||||||
PROPER
|
PROPER
|
||||||
RERIP
|
RERIP
|
||||||
|
199X
|
||||||
@@ -37,13 +37,26 @@ SPECIAL_EDITION
|
|||||||
SPECIAL_COLLECTORS_EDITION_REMASTERED
|
SPECIAL_COLLECTORS_EDITION_REMASTERED
|
||||||
30_YEARS_SPECIAL_COLLECTORS_EDITION_REMASTERED
|
30_YEARS_SPECIAL_COLLECTORS_EDITION_REMASTERED
|
||||||
LIMITED_EDITION_REMASTERED
|
LIMITED_EDITION_REMASTERED
|
||||||
|
25th_Anniversary_Edition
|
||||||
DEMO_REISSUE
|
DEMO_REISSUE
|
||||||
|
Ultimate_Edition
|
||||||
|
Issue_255
|
||||||
|
Issue_254
|
||||||
|
Issue_198
|
||||||
|
7INCH_VINYL
|
||||||
REMASTERED_REISSUE
|
REMASTERED_REISSUE
|
||||||
PROMO_DEMO
|
PROMO_DEMO
|
||||||
|
ES_RETAIL
|
||||||
|
BOX_SET
|
||||||
|
BONUS
|
||||||
REISSUE_EP
|
REISSUE_EP
|
||||||
|
30th_Anniversary
|
||||||
|
REDUX
|
||||||
|
REMASTERED_BOXSET
|
||||||
MAG
|
MAG
|
||||||
REISSUE_BOXSET
|
REISSUE_BOXSET
|
||||||
30TH_ANNIVERSARY_EDITION_REMASTERED
|
30TH_ANNIVERSARY_EDITION_REMASTERED
|
||||||
|
DELUXE
|
||||||
Deluxe_Edition_Reissue
|
Deluxe_Edition_Reissue
|
||||||
INSTRUMENTAL
|
INSTRUMENTAL
|
||||||
REISSUE_EXPANDED_EDITION
|
REISSUE_EXPANDED_EDITION
|
||||||
|
|||||||
@@ -22,8 +22,13 @@ CN
|
|||||||
RU
|
RU
|
||||||
ID
|
ID
|
||||||
PH
|
PH
|
||||||
|
RO
|
||||||
|
LT
|
||||||
BY
|
BY
|
||||||
CZ
|
CZ
|
||||||
|
SP
|
||||||
|
IR
|
||||||
|
FO
|
||||||
RS
|
RS
|
||||||
DA
|
DA
|
||||||
HI
|
HI
|
||||||
|
|||||||
@@ -22,7 +22,11 @@ DVD
|
|||||||
CDREP
|
CDREP
|
||||||
LP
|
LP
|
||||||
2LP
|
2LP
|
||||||
|
3VINYL
|
||||||
3TAPE
|
3TAPE
|
||||||
|
13CD
|
||||||
|
13CDR
|
||||||
|
10INCH_VINYL
|
||||||
25CD
|
25CD
|
||||||
WEBFLAC
|
WEBFLAC
|
||||||
2TAPE
|
2TAPE
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user