steven-omaha
5308909708
add proper version string
2023-01-30 16:34:25 +01:00
steven-omaha
b7243e08fd
upgrade to clap v4 again
...
i can't really live with the outdated library
monochrome output is the lesser evil
2023-01-30 15:57:19 +01:00
steven-omaha
dc382831c2
relax lifetime requirements in handle_backend_command
2023-01-30 15:25:08 +01:00
steven-omaha
816eb14eff
add todos, adjust some context messages
2023-01-30 15:05:27 +01:00
steven-omaha
a71a398e57
add Debug supertrait for Backend
2023-01-30 14:57:40 +01:00
steven-omaha
6270107a69
Revert "more review stuff"
...
This reverts commit 6d852305c9 .
This is WIP and does not compile right now. See branch `review`.
2023-01-30 14:39:27 +01:00
steven-omaha
e02136bcb0
fix bug when nothing to install for a specific backend
2023-01-30 14:36:00 +01:00
steven-omaha
6d852305c9
more review stuff
2023-01-19 13:31:55 +01:00
steven-omaha
1e5517a129
add custom aur helper rm args
2023-01-18 14:25:08 +01:00
steven-omaha
3f1dc1f46f
work on review
2023-01-18 14:05:20 +01:00
steven-omaha
c7508a6c24
start adding review
2023-01-15 12:04:19 +01:00
steven-omaha
b956782249
start adding review
2023-01-14 19:32:03 +01:00
steven-omaha
8210d65fe7
apply some pedantic lints
2023-01-14 18:23:48 +01:00
steven-omaha
2692b30c66
fix lint
2023-01-14 18:20:19 +01:00
steven-omaha
82801e141c
reduce compile time
...
disabling LTO and optimizing for size cuts compile time almost in half,
but increases the binary size from 2.1 to 2.5 MB.
this tradeoff is worth it.
performance is unaffected
2023-01-14 18:19:53 +01:00
steven-omaha
5ab03b38d5
refactor todo_per_backend
2023-01-14 18:03:31 +01:00
steven-omaha
6d42fc2597
improve command running
2023-01-14 17:40:49 +01:00
steven-omaha
4b13a86a6d
add config (WIP)
2023-01-14 17:08:59 +01:00
steven-omaha
13e34983b9
add config (WIP)
2023-01-14 16:56:07 +01:00
steven-omaha
9d1b94dca4
add actions derive macro
2023-01-13 15:25:46 +01:00
steven-omaha
3124741efe
clean up backend
2023-01-13 14:18:18 +01:00
steven-omaha
d2e2b93c04
unpin dependencies
2023-01-12 23:31:12 +01:00
steven-omaha
e37e43c3d1
clean up procedural macro
2023-01-12 23:27:32 +01:00
steven-omaha
28f95a42c7
remove backend/types
2023-01-12 23:18:17 +01:00
steven-omaha
c8c6ceabc7
refactor backend module
2023-01-12 23:16:31 +01:00
steven-omaha
b5d58e6656
add derive Register macro
2023-01-12 23:07:27 +01:00
steven-omaha
0b4b45ed73
fix bug in show
2023-01-12 15:30:55 +01:00
steven-omaha
f725afb475
update cargo lock
2023-01-12 15:26:29 +01:00
steven-omaha
0cebb092c5
remove benchmarks
...
these were broken since implementing backends
2023-01-12 15:23:57 +01:00
steven-omaha
9c0be97cbb
add TODOs
2023-01-12 15:21:17 +01:00
steven-omaha
b8281d2d4d
remove unnecessary derives
2023-01-12 15:15:09 +01:00
steven-omaha
1b4a4d8117
half-finish backend macro
...
i cannot figure out how procedural macros work actually
2023-01-12 15:01:04 +01:00
steven-omaha
49aa2b67e2
add backend macro (WIP)
2023-01-12 13:49:42 +01:00
steven-omaha
17ee55da30
extract search module
2023-01-12 12:19:34 +01:00
steven-omaha
3e308633e5
refactor output of search
2023-01-12 12:09:39 +01:00
steven-omaha
ca0ecf6d69
improve printing of found packages
2023-01-12 12:04:51 +01:00
steven-omaha
707bf919d6
add package search
2023-01-12 11:52:13 +01:00
steven-omaha
3502e0a70b
add 'new --edit'
2023-01-12 11:32:35 +01:00
steven-omaha
f05be4cce0
add 'new' argument
2023-01-12 11:23:45 +01:00
steven-omaha
b5d6aa9ffb
strip release binary
2023-01-11 15:02:58 +01:00
steven-omaha
6caf6636bb
add remove
2023-01-11 15:02:37 +01:00
steven-omaha
686a5cefad
add import
2023-01-11 14:49:03 +01:00
steven-omaha
08b74ce919
add todos
2023-01-11 13:59:45 +01:00
steven-omaha
701eeab9c5
refactor
2023-01-11 13:50:39 +01:00
steven-omaha
af8172690a
extract group, section, package to grouping module
2023-01-11 13:22:27 +01:00
steven-omaha
dee855b605
add warnings for empty groups and sections
2023-01-11 13:10:05 +01:00
steven-omaha
8db8c6fd41
add showing group content
2023-01-11 12:45:31 +01:00
steven-omaha
42d318298c
add showing group content (WIP)
2023-01-10 18:50:17 +01:00
steven-omaha
d4c97679e2
refactor backend iterator
2023-01-10 18:33:51 +01:00
steven-omaha
6f2c6c4540
reorder some imports
2023-01-10 18:20:43 +01:00
steven-omaha
ae0907c261
rework backend internals
2023-01-10 18:17:12 +01:00
steven-omaha
122665a088
improve error handling
2023-01-10 18:00:02 +01:00
steven-omaha
99bdced2a1
add error handling per backend
2023-01-10 17:45:37 +01:00
steven-omaha
487848e5bc
make cargo backend use .crates2.json file
2023-01-10 17:22:57 +01:00
steven-omaha
c2072223c6
add infallible From<String> for Package
2023-01-10 15:37:50 +01:00
steven-omaha
2ad0d84794
add perf.data.old to gitignore
2023-01-10 15:37:14 +01:00
steven-omaha
09ff4f4bfb
fix some pedantic lints
2023-01-10 15:25:54 +01:00
steven-omaha
1bf19f4669
move todo_per_backend into separate module
2023-01-10 15:21:02 +01:00
steven-omaha
627f66ea35
clean up minor items
2023-01-10 15:00:21 +01:00
steven-omaha
160e4d0b4c
make some public functions private
2023-01-10 14:54:41 +01:00
steven-omaha
84832132f8
add error when editing a non-existant group file
2023-01-10 14:53:27 +01:00
steven-omaha
3e05261d08
implement clean_packages
2023-01-10 14:48:18 +01:00
steven-omaha
0e043ef6b5
fix show_groups
2023-01-10 14:37:02 +01:00
steven-omaha
55c484d839
refactor show_unmanaged_packages
2023-01-10 14:35:29 +01:00
steven-omaha
44e4f644df
fix 'show_unmanaged_packages'
2023-01-10 14:27:58 +01:00
steven-omaha
3d0a54bf70
remove strum, adjust release profile
2023-01-10 14:20:10 +01:00
steven-omaha
4ded8670ee
fix setting working dir for editor
2023-01-10 14:15:29 +01:00
steven-omaha
e7c024f551
set working dir for editor
2023-01-10 14:13:46 +01:00
steven-omaha
7bf464b732
fix reading group sections
2023-01-10 14:13:36 +01:00
steven-omaha
832b94e2dc
remove impl_backend_constants parameter
...
was unused
2023-01-10 12:07:39 +01:00
steven-omaha
02116b1f16
move add_packages to macro
2023-01-10 12:05:36 +01:00
steven-omaha
26c1e317bd
rework section loading
2023-01-09 19:06:51 +01:00
steven-omaha
4907787911
start reimplementing main functions again
2023-01-09 18:30:12 +01:00
steven-omaha
ce98fa1cea
combine impls of Backends
2023-01-09 17:26:03 +01:00
steven-omaha
0da136fef7
implement generic backend methods with a macro
2023-01-09 17:23:34 +01:00
steven-omaha
d8027c23db
fix section extraction from group file
2023-01-06 14:18:10 +01:00
steven-omaha
c45d0cdf71
implement section
2023-01-06 14:14:21 +01:00
steven-omaha
80fb9d7252
get generic backend to work (to some extent)
2023-01-06 13:31:50 +01:00
steven-omaha
ef4d0bc723
rework generic backend
2023-01-06 12:46:10 +01:00
steven-omaha
4d5303b93a
Revert "add more generic backend stuff"
...
This reverts commit 9044f1484b .
2023-01-06 11:50:57 +01:00
steven-omaha
7e5fd60e9e
reorder Backend methods
2023-01-05 17:59:23 +01:00
steven-omaha
9044f1484b
add more generic backend stuff
2023-01-05 17:57:38 +01:00
steven-omaha
f8d7129fdf
add cargo backend
2023-01-05 17:25:39 +01:00
steven-omaha
0875881db1
complete Pacman backend
2023-01-05 16:50:42 +01:00
steven-omaha
2f511cf87c
add install and remove packages to Backend trait
2023-01-05 16:44:41 +01:00
steven-omaha
ddcb5dec3d
introduce backend modules
2023-01-05 16:30:13 +01:00
steven-omaha
53ffda70ce
convert pacman to first backend
2023-01-05 16:25:47 +01:00
steven-omaha
3829bec235
downgrade to latest 3.x version of clap
2023-01-05 16:13:58 +01:00
steven-omaha
3aec1640dd
fix argument parsing
...
caused by updating clap
2023-01-05 16:04:03 +01:00
steven-omaha
3bba9a8600
update versions
2023-01-05 15:55:28 +01:00
steven-omaha
6956164bed
add pacdef clean
2023-01-05 15:53:50 +01:00
steven-omaha
7ebedc8faf
propagate errors
2022-12-02 18:06:47 +01:00
steven-omaha
3010f2e0b0
start propagating errors
2022-12-02 17:58:53 +01:00
steven-omaha
1eb71b7651
handle errors in editing files
2022-12-02 17:51:10 +01:00
steven-omaha
81c6b04e64
implement editing of files
2022-12-02 17:33:59 +01:00
steven-omaha
5ee5aa520c
refactor
2022-12-02 17:26:37 +01:00
steven-omaha
d40d0fccee
refactor
2022-12-02 17:23:50 +01:00
steven-omaha
10f79e9d0e
refactor
2022-12-02 17:09:29 +01:00
steven-omaha
9f068e5ffe
refactor
2022-12-02 17:08:17 +01:00
steven-omaha
da70112231
refactor
2022-12-02 17:01:31 +01:00