Commit Graph
100 Commits
Author SHA1 Message Date
steven-omaha 675b06352d refact(rustup): add run_external_command 2024-04-06 18:32:37 +02:00
steven-omaha 9d3654f436 ci(release): add zsh completion 2024-04-05 09:56:08 +02:00
steven-omaha 7e9f5e5930 doc(README): AUR binary version 2024-04-05 09:54:22 +02:00
steven-omaha 1d5f3d5232 chore: Release 2024-04-05 09:30:03 +02:00
steven-omaha 675ee2c0d8 chore(release): bump man pages 2024-04-05 09:25:00 +02:00
steven-omaha 9af77ba934 chore(release): update lockfile 2024-04-05 09:23:59 +02:00
steven-omaha 0e4bd99a5a feat(void): add void Linux backend
PR #69
2024-04-05 08:53:34 +02:00
steven-omaha 2dd4b0ef0e feat(rust): support $CARGO_HOME
get `.crates2.json` from `$CARGO_HOME` if present

Implements #70.
2024-04-04 21:38:55 +02:00
steven-omaha 8cc5365070 refact(rustup): rework most of the code 2024-04-04 17:10:14 +02:00
steven-omaha 2c409d2c46 ci(check): keep going after failure 2024-04-04 13:01:59 +02:00
steven-omaha ceaccc8748 style(rustup): add empty lines 2024-04-03 17:51:13 +02:00
steven-omaha 99210e8599 refact(rustup): add todo 2024-04-03 17:50:56 +02:00
steven-omaha 98e6e7f2c6 refact(rustup): remove unused mut 2024-04-03 17:47:58 +02:00
steven-omaha 5f6384b6b3 refact(rustup): get_all_installed_packages 2024-04-03 17:46:34 +02:00
steven-omaha 937efc3782 refact(rustup): make_dependency panic
calling this would be a programming error, therefore a panic is warranted
2024-04-03 17:42:57 +02:00
steven-omaha 2952b7ba44 doc(template,bug): config yaml 2024-04-03 12:53:59 +02:00
steven-omaha 313493c0f4 doc(template): feature request 2024-04-03 12:32:36 +02:00
steven-omaha 7b21120144 doc(template,backend): implement checkbox 2024-04-03 12:26:07 +02:00
steven-omaha 78039738f1 doc(template): backend request 2024-04-03 12:20:04 +02:00
steven-omaha ee72e5fae3 doc(issue,bug): pacdef config file 2024-04-03 12:14:34 +02:00
steven-omaha 8766e75238 doc(issue-template): version shell render 2024-04-03 11:59:13 +02:00
steven-omaha 7905ec777b doc(issue-template): multiline value 2024-04-03 11:57:43 +02:00
steven-omaha 9ce6dfb3ce doc(issue-template): reproduction, formatting 2024-04-03 11:54:57 +02:00
steven-omaha 5ddc33a355 doc(issue-template): add bug report form 2024-04-03 11:42:01 +02:00
steven-omaha 743c9555bc doc(README): rustup 2024-04-03 09:44:19 +02:00
steven-omaha 94146e3c4c ci: build binary on release
Upon release of a new version, automatically build a separate version of
pacdef for each backend that requires a feature flag. Attach all the
artifacts to the Github release.

Implemented by @thechubbypanda. Fixes #58. PR in #63.
2024-04-02 22:36:10 +02:00
steven-omaha 631a9afb7f feat(rustup): add rustup backend
This commit adds support for rustup and was provided by @InnocentZero.
The main change under the hood is that rustup packages require up to
three path elements, either 'toolchain/<VERSION>' or
'component/<VERSION>/<component>', where <VERSION> can be stable,
nightly, or any explicit rust version. This change was facilitated by
making Package::repo crate-public.

The README still needs to be updated.

Related to #54. Merges #55.
2024-04-02 15:04:34 +02:00
steven-omaha 8cc4791a9c doc: bump MSRV to 1.74
required by clap
2024-04-01 14:21:25 +02:00
steven-omaha afa8e7f55a doc: remove invalid link 2024-04-01 14:08:58 +02:00
steven-omaha 9767cc374d doc: minimum supported apt version 2024-04-01 14:08:45 +02:00
steven-omaha e37cf03349 ci: enable tests for all features 2024-04-01 14:01:17 +02:00
steven-omaha 6bba968897 ci: build, clippy for all features 2024-04-01 13:58:21 +02:00
steven-omaha 9f6f758a8d ci: fail on any clippy warning 2024-04-01 13:31:26 +02:00
steven-omaha 3f8468c660 fix(debian): build against rust-apt-0.7.0
1bcb7f8 bumped rust-apt from 0.5 to 0.7. This change made
Cache::packages(&self, &sort) a fallible function. The required change in
the Debian backend was missed.

This commit propagates the error in get_all_installed_packages and
get_explicitly_installed_packages for the Debian backend.

Fixes #64.
2024-03-26 14:22:00 +01:00
steven-omaha 4b7a497dda fix(review): typo 2024-03-24 20:57:32 +01:00
steven-omaha 34afcb0fd1 feat(review): add 'apply' reply
Add the 'a(p)ply' part to the review prompt, which applies all actions
that were put in so far. When the user has too many packages to review,
this allows them to process the packages in chunks of arbitrary sizes.

Related to #36.
2024-03-24 19:17:35 +01:00
steven-omaha 52f615324a chore: Release 2024-03-20 11:32:29 +01:00
steven-omaha ecf1aefd25 chore(release): bump man pages 2024-03-20 11:31:24 +01:00
steven-omaha 1bcb7f80cd chore(release): bump dependencies, update lockfile 2024-03-20 11:30:08 +01:00
steven-omaha 489074a897 chore: Release 2024-02-15 12:05:14 +01:00
steven-omaha d0693c1846 chore(release): bump man pages 2024-02-15 12:04:09 +01:00
steven-omaha cf86725c14 chore(release): update lockfile 2024-02-15 12:02:54 +01:00
steven-omaha 82bf880849 chore: Release 2024-01-28 08:18:35 +01:00
steven-omaha 1b22570cc8 chore(release): bump man pages 2024-01-28 08:17:56 +01:00
steven-omaha a8df38659a chore(release): update lockfile 2024-01-28 08:16:28 +01:00
steven-omaha 43805d7784 feat(python): pipx support
see #50
closes #48
2024-01-28 08:12:40 +01:00
steven-omaha ec1aab4b43 refact(ui): infallible conversion for u8 to char 2024-01-16 13:19:37 +01:00
steven-omaha b5cbcdce4b chore: Release 2023-12-26 17:56:53 +01:00
steven-omaha 0a421ddf42 chore(release): bump man pages 2023-12-26 17:55:37 +01:00
steven-omaha e6431d1967 chore(release): update lockfile 2023-12-26 17:54:24 +01:00
steven-omaha 527b2dba28 fix(README): typo 2023-11-06 10:37:31 +01:00
steven-omaha bcf43a8683 test(args): add negative test cases 2023-10-17 15:37:57 +02:00
steven-omaha 87a85b00dd test: add rstest crate, argument parsing tests 2023-10-17 15:21:19 +02:00
steven-omaha bfb2cb2bc6 chore: Release 2023-10-16 14:42:39 +02:00
steven-omaha 31a7ff41ba chore(release): bump man pages 2023-10-16 14:41:53 +02:00
steven-omaha 2f2c0d54d2 chore(release): update lockfile 2023-10-16 14:41:44 +02:00
steven-omaha 0fab8c11d4 feat(grouping): check duplicate packages in section
closes #47
2023-10-11 16:45:48 +02:00
steven-omaha 0381fc7525 fix(grouping): non-canonical ordering
The first attempt 02c44c92d0 caused
`Section.partial_cmp` and `Section.cmp` to call each other recursively.
That lead to a stack overflow when compiled without optimizations, and
an infinite loop when optimizations were enabled.

This commit now properly implements at first `Ord` for both `Section`
and `Group`, and from this derives `PartialEq` for each.
2023-10-10 16:34:25 +02:00
steven-omaha bd96a9074a Revert "fix(grouping): non-canonical ordering"
This reverts commit 02c44c92d0.
2023-10-10 16:31:29 +02:00
steven-omaha 0b71416ddb docs(README): MSRV 1.70.0 2023-10-10 16:02:18 +02:00
steven-omaha 87e2eddf64 chore: bump dependencies 2023-10-10 15:38:19 +02:00
steven-omaha becdb8f413 docs(core): add panics section 2023-10-10 15:32:14 +02:00
steven-omaha 02c44c92d0 fix(grouping): non-canonical ordering
clippy: incorrect_partial_ord_impl_on_ord_type
2023-10-10 15:28:28 +02:00
steven-omaha 73c041922f chore: bump dependencies 2023-07-06 12:55:58 +02:00
steven-omaha 3515d8bc0b chore: Release 2023-06-06 16:53:50 +02:00
steven-omaha 421a24b4ff docs: update release checklist 2023-06-06 16:51:59 +02:00
steven-omaha 5d87531cd7 chore(release): bump man pages 2023-06-06 16:50:44 +02:00
steven-omaha 580c71e9a1 chore(release): update lockfile 2023-06-06 16:49:13 +02:00
steven-omaha 14f5618d84 docs: update release checklist 2023-06-06 16:48:59 +02:00
steven-omaha 79b1efe46f chore(cliff): update config 2023-06-06 16:48:38 +02:00
steven-omaha 23129d9cb2 chore(cliff): update config 2023-06-06 16:46:13 +02:00
steven-omaha d11467a318 docs(core): docstrings 2023-06-06 16:14:28 +02:00
steven-omaha f394ea8938 refact(core): remove get_group_file_paths... 2023-06-06 16:11:54 +02:00
steven-omaha d27a5d7540 docs(core): docstrings 2023-06-06 16:10:40 +02:00
steven-omaha 7d896f391a feat(export): zsh completion 2023-06-06 15:30:24 +02:00
steven-omaha 4843543a74 feat(export): docstrings, man, README, switches 2023-06-06 15:30:24 +02:00
steven-omaha 0610cd0731 feat(export): second move method 2023-06-06 15:30:24 +02:00
steven-omaha 0b7fcbbbd4 feat(export): core logic 2023-06-06 15:30:24 +02:00
steven-omaha f527125e59 feat(export): CLI, data structures 2023-06-06 15:30:24 +02:00
steven-omaha 3e2a76cae0 docs: add release checklist 2023-06-06 15:07:16 +02:00
steven-omaha e869d4a85a docs(README): link to topgrade 2023-06-02 14:16:28 +02:00
steven-omaha a7e36324dc refact(core): manual let else 2023-06-02 14:07:54 +02:00
steven-omaha a573cd18f8 refact: use clone instead to_owned 2023-06-02 14:05:17 +02:00
steven-omaha 1022db2d48 refact: replace match with if let else 2023-06-02 14:04:43 +02:00
steven-omaha 3b830e9b60 refact: unncessary wraps 2023-06-02 14:03:48 +02:00
steven-omaha c3f73cb4fa refact: unncessary wraps 2023-06-02 14:02:12 +02:00
steven-omaha 89fc17c473 refact(main): create_empty_config_file 2023-06-02 12:38:42 +02:00
steven-omaha 74781b518f Merge pull request #37 from TeeWallz/main
Added call to create config directory
2023-06-01 22:33:00 +02:00
steven-omaha e2f12d7cab chore: bump man pages 2023-05-31 13:43:22 +02:00
steven-omaha 3b8e8c180f fix(rust): handle missing crates file
When no packages have been installed yet using cargo-install, the rust
backend has errored out until now when trying to load the file. If the
file does not exist, we assume it is empty and that no packages have
been installed for cargo.
2023-05-31 13:08:46 +02:00
steven-omaha dcd85f0156 chore: update subcrate repository urls 2023-05-30 15:30:44 +02:00
steven-omaha 0dc3c111b1 refact(core): simplify valid group name check 2023-05-30 14:56:28 +02:00
steven-omaha 1f70f328bc docs(core): remove outdated docstring 2023-05-30 14:55:29 +02:00
steven-omaha 182b0eaf16 chore: Release 2023-05-30 09:38:56 +02:00
steven-omaha a931bebb56 docs(man): finalize pacdef.8 2023-05-30 09:34:44 +02:00
steven-omaha ada70823eb docs(man): add pacdef.8 content 2023-05-26 16:44:25 +02:00
steven-omaha 59d2be8822 docs(man): add pacdef.yaml.5 2023-05-26 15:29:54 +02:00
steven-omaha e05b4e65d9 docs(man): add manpage template 2023-05-26 14:15:46 +02:00
steven-omaha 8f11e0fc0c chore: Release 2023-05-26 13:21:14 +02:00
steven-omaha 0ba385e741 chore: Release 2023-05-26 13:19:24 +02:00