Commit Graph
81 Commits
Author SHA1 Message Date
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 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 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 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 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