Commit Graph

55 Commits

Author SHA1 Message Date
fd88edb275 Code rearrangements
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m3s
Cargo CI / Lint (pull_request) Successful in 45s
2024-01-21 21:25:13 +01:00
66fa2a98a2 Move error into musichoard
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m4s
Cargo CI / Lint (pull_request) Successful in 43s
2024-01-21 21:11:29 +01:00
680939b749 Create core submodule separation
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m4s
Cargo CI / Lint (pull_request) Successful in 45s
2024-01-21 19:25:49 +01:00
4887456650 Further isolate
All checks were successful
Cargo CI / Lint (pull_request) Successful in 43s
Cargo CI / Build and Test (pull_request) Successful in 1m4s
2024-01-21 19:20:44 +01:00
9d4682b8bc More submodules
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m3s
Cargo CI / Lint (pull_request) Successful in 43s
2024-01-21 18:49:30 +01:00
839193ce39 Split out merge trait
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m2s
Cargo CI / Lint (pull_request) Successful in 44s
2024-01-21 18:30:12 +01:00
7809ba4d67 Split into more files
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m5s
Cargo CI / Lint (pull_request) Successful in 43s
2024-01-21 18:25:29 +01:00
0e5d02d73e Rip MusicHoard apart from internal structures
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m8s
Cargo CI / Lint (pull_request) Successful in 42s
2024-01-21 18:06:22 +01:00
6e9249e265 Separate the collection from beets output in tests (#114)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m4s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 1m3s
Cargo CI / Lint (pull_request) Successful in 42s
Closes #113

Reviewed-on: #114
2024-01-21 15:29:37 +01:00
267f4a5461 Help message for musichoard-edit artist sort are not showing (#112)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m3s
Cargo CI / Lint (push) Successful in 43s
Cargo CI / Build and Test (pull_request) Successful in 1m5s
Cargo CI / Lint (pull_request) Successful in 43s
Closes #111

Reviewed-on: #112
2024-01-14 15:57:18 +01:00
d876b75d14 Artists with a _sort field show up twice (#109)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m5s
Cargo CI / Lint (push) Successful in 44s
Closes #108

Reviewed-on: #109
2024-01-14 15:46:33 +01:00
3109e576e3 Sort by <field>_sort from tags if it is available (#107)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m3s
Cargo CI / Lint (push) Successful in 44s
Closes #73

Reviewed-on: #107
2024-01-13 15:42:04 +01:00
83675c25e6 Missing docstrings (#102)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 2m26s
Cargo CI / Lint (pull_request) Successful in 45s
Closes #98

Reviewed-on: #102
2024-01-12 21:52:06 +01:00
95ee681229 IDatabase::load should return D not take a mutable reference of it (#99)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 43s
Cargo CI / Build and Test (pull_request) Successful in 1m1s
Cargo CI / Lint (pull_request) Successful in 45s
Closes #96

Reviewed-on: #99
2024-01-12 21:34:01 +01:00
a315bf4229 Fix with_xxx function naming in main.rs (#101)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m0s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 42s
Closes #100

Reviewed-on: #101
2024-01-12 21:15:59 +01:00
845e9b09f4 Distinguish NoLibrary/NoDatabase from EmptyLibrary/EmptyDatabase (#97)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 47s
Cargo CI / Build and Test (pull_request) Successful in 1m2s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #95

Reviewed-on: #97
2024-01-12 20:42:37 +01:00
d528511249 Make it possible to launch main binary without database and/or library (#88)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 43s
Cargo CI / Build and Test (pull_request) Successful in 2m23s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #87

Reviewed-on: #88
2024-01-11 23:27:01 +01:00
0c48673032 Change artist new/delete to add/remove (#92)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m2s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 43s
Closes #89

Reviewed-on: #92
2024-01-11 21:51:51 +01:00
395cc57b9c Have consistent naming for binaries (#91)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m2s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 1m2s
Cargo CI / Lint (pull_request) Successful in 43s
Closes #90

Reviewed-on: #91
2024-01-11 21:29:03 +01:00
36b82049f2 Add method to manually add artist metadata (#85)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m2s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 2m26s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #55

Reviewed-on: #85
2024-01-10 22:33:57 +01:00
1bc612dc45 Make database and library optional (#86)
All checks were successful
Cargo CI / Lint (push) Successful in 55s
Cargo CI / Build and Test (push) Successful in 1m12s
Closes #25

Reviewed-on: #86
2024-01-07 11:07:35 +01:00
d7384476d4 Add a code coverage check to the CI pipeline (#84)
All checks were successful
Cargo CI / Build and Test (push) Successful in 58s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 42s
Closes #83

Reviewed-on: #84
2024-01-06 19:49:41 +01:00
26f0ccd842 Add integration tests to CI (#82)
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m1s
Cargo CI / Lint (push) Successful in 43s
Closes #81

Reviewed-on: #82
2024-01-06 16:14:07 +01:00
b1cf5d621d Add CI to repository (#80)
All checks were successful
Cargo CI / Pipeline (push) Successful in 1m3s
Cargo CI / Pipeline (pull_request) Successful in 1m7s
Closes #77

Reviewed-on: #80
2024-01-06 11:14:30 +01:00
74f7da20e6 Fix clippy lints for rust 1.75 (#79)
Closes #76

Reviewed-on: #79
2024-01-05 21:25:55 +01:00
62d6c43e3c Add a popup window for artist metadata (#70)
Closes #56

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/70
2023-05-21 22:48:48 +02:00
3cd0cfde18 Artist merge for non-null properties always erases database properties (#72)
Closes #71

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/72
2023-05-21 22:28:51 +02:00
fd775372cd Add artist metadata fields (#69)
Closes #54

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/69
2023-05-21 17:24:00 +02:00
bf5bf9d8ae Add database-library merge (#59)
Closes #48

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/59
2023-05-20 00:02:39 +02:00
d20a9a9dec Change Quality enum to a struct (#66)
Closes #65

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/66
2023-05-11 21:45:23 +02:00
d51f9c138b Replace TrackFormat with Quality (#63)
Closes #60

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/63
2023-05-10 23:44:02 +02:00
282e0e6f19 Clean up interfaces (#62)
Closes #61

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/62
2023-05-10 22:52:03 +02:00
c6ed827984 Features are not correct (#58)
Closes #57

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/58
2023-05-06 11:38:51 +02:00
e31b44d31d Separate dependencies (#50)
Closes #39

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/50
2023-04-27 20:09:45 +02:00
ad18c7e384 Beets config is ignored over SSH (#49)
Closes #42

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/49
2023-04-27 19:34:07 +02:00
2ecc64437a Selected item is always at the bottom of list (#41)
Closes #40

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/41
2023-04-27 19:05:37 +02:00
0545e5324e Support remote libraries (#36)
Closes #5

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/36
2023-04-14 16:21:25 +02:00
a5c1bb8558 Use AsRef and Into for better API calls (#38)
Closes #37

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/38
2023-04-14 12:21:36 +02:00
3ea04d90a6 Replace Query and QueryOption with better API (#35)
Closes #34

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/35
2023-04-14 10:24:24 +02:00
3e9c84656e Increase code coverage to a sensible amount (#33)
Closes #26

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/33
2023-04-13 20:32:33 +02:00
3e6c95d188 Replace as many Box<dyn Trait> with generics as possible (#32)
Closes #31

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/32
2023-04-13 15:29:14 +02:00
14a0567fa1 Add a TUI to the binary (#17)
Closes #14

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/17
2023-04-13 14:09:59 +02:00
1f5207fd65 Replace test implementations with mockall (#29)
Closes #27

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/29
2023-04-12 20:55:41 +02:00
3a12b37748 Add instructions for code coverage (#30)
Closes #28

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/30
2023-04-12 19:55:57 +02:00
4f28d97cf3 Remove unsafe from BeetsLibraryCommandExecutor (#23)
Closes #22

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/23
2023-04-10 22:03:04 +02:00
67ba032247 Make Library and Database type naming consistent (#21)
Closes #20

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/21
2023-04-10 21:36:43 +02:00
8b89a13b90 Multiple integration tests can call beets at the same time (#19)
Closes #18

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/19
2023-04-10 20:48:44 +02:00
49931ea0ad Add state information to albums and tracks (#16)
Closes #8

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/16
2023-04-10 11:27:07 +02:00
50f4d00e31 Create the main binary (#15)
Closes #7

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/15
2023-04-10 00:17:38 +02:00
5c7579ba23 Add artist as top level in data structure hierarchy (#13)
Closes #12

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/13
2023-04-01 01:59:59 +02:00