steven-omaha
008892b7ce
fix: remove dbg statement
2023-05-23 17:47:58 +02:00
steven-omaha
9f4a5e4b48
fix: arg parsing
...
The 'pacdef group import' argument was called 'files', while we
expected it to be called 'groups'.
2023-05-23 17:43:06 +02:00
steven-omaha
a4639a1c3a
refact: overhaul arg parsing
2023-05-23 17:28:51 +02:00
steven-omaha
79c9e51e8c
refact(action)
2023-05-23 13:11:49 +02:00
steven-omaha
87569de3c9
chore(cliff): add config
2023-05-22 13:25:05 +02:00
steven-omaha
9a66a03f7d
chore: Release
2023-05-22 12:55:50 +02:00
steven-omaha
b6c2ccaf48
refact(backend): make macro crate-public
2023-05-22 12:33:25 +02:00
steven-omaha
32c2471073
docs: extend 'get_args' docstring
2023-05-22 12:32:21 +02:00
steven-omaha
0a781ed15b
chore: Release
2023-05-22 11:06:06 +02:00
steven-omaha
7b71e4178f
ci: fix docs.rs
...
https://docs.rs/crate/pacdef_core/1.1.0/builds/817226
2023-05-22 11:05:16 +02:00
steven-omaha
db6fd74832
fix: remove dbg
2023-05-19 17:55:29 +02:00
steven-omaha
7ec9110920
docs(README): update config documentation
2023-05-19 17:49:02 +02:00
steven-omaha
35e563a2bf
chore: update bacon config
...
include the arch feature for the default command (jobs.check)
2023-05-19 17:46:32 +02:00
steven-omaha
4a1d67847e
fix: don't overwrite config file
...
So far we have written a default config file if we encountered any error
when trying to read the one that should exist. That included:
* missing key-value-pairs,
* empty file, and
* a non-existant file.
Therefore, when a field is added to the Config struct, the entire config
file was overwritten with a default config. This occured during #20 .
Instead, we now provide default values in form of generator functions to
serde. Any value that is present in the config is then parsed and
replaces the default value. Only if the config file does not exist we
create an empty one.
Closes #26 .
2023-05-19 17:41:33 +02:00
steven-omaha
1237e7ed3b
docs(README): add flatpack config value
...
closes #23
2023-05-19 16:12:28 +02:00
steven-omaha
e74368df7f
docs(grouping): add docstrings
2023-05-19 16:05:27 +02:00
steven-omaha
85de801e59
ci: update checkout to v3
2023-05-18 20:08:39 +02:00
steven-omaha
0b2187d444
ci: run tests
2023-05-18 19:57:51 +02:00
steven-omaha
0ffe0c345d
feat(groups): allow nested group dirs
...
Instead of expecting all files to be located immediately under the group
dir, we allow them to be nested in additional folders. We walk the group
folder, and treat every file as a group file. The relative path of the
file as seen from the group dir becomes the group name.
Fixes #27 .
2023-05-18 17:16:30 +02:00
steven-omaha
ab913b4721
chore: Release
2023-05-17 15:09:40 +02:00
steven-omaha
7f887c8ee6
fix: pin libc version
2023-05-17 15:09:19 +02:00
steven-omaha
1c5d6e2505
chore: bump lockfile
2023-05-17 15:08:55 +02:00
steven-omaha
40fb1066e8
fix: privilege escalation for debian ( #25 )
2023-05-17 14:23:08 +02:00
steven-omaha
a1cbd9184c
ci: activate for devel branch
2023-05-17 11:00:10 +02:00
steven-omaha
9ec7375ca9
Merge pull request #20 from teackot/flatpak-backend
...
add support for flatpak
2023-05-16 19:18:52 +02:00
steven-omaha
8dc9b48c19
docs(search): add docstrings
2023-05-16 17:02:01 +02:00
steven-omaha
e7ab8ef34e
docs(path): add docstrings
2023-05-16 16:53:39 +02:00
steven-omaha
4105f5133e
docs: fix spelling
2023-05-16 16:23:49 +02:00
steven-omaha
2c9d525d36
docs(ui): add docstrings
2023-05-16 16:20:58 +02:00
steven-omaha
8b476f222d
refact(review): user intention query
2023-05-16 16:20:31 +02:00
steven-omaha
ecdd57e306
Merge pull request #21 from arctic-penguin/patch-1
...
docs(README): add references, links
2023-05-16 13:34:25 +02:00
steven-omaha
de0bc7d5ad
fix: make descriptions consistent
...
fixes #16
2023-05-16 12:18:07 +02:00
steven-omaha
2ef3d7c36f
chore: Release
2023-05-15 16:12:36 +02:00
steven-omaha
34d7b5d9de
fix: build when git not installed
...
When the git binary is not available, emit an empty git_hash
so that the build continues instead of aborting due to an
unset environment variable
2023-05-15 15:58:57 +02:00
steven-omaha
af9550bbe5
chore: Release
2023-05-15 15:26:50 +02:00
steven-omaha
6e748b8a2f
ci: add badge
2023-05-15 15:23:35 +02:00
steven-omaha
236f6e3bf3
ci: rename workflow
2023-05-15 15:19:43 +02:00
steven-omaha
03ff45b742
ci: add workflow dispatch trigger
2023-05-15 15:12:37 +02:00
steven-omaha
3bab73cb26
ci: install git
2023-05-15 15:09:54 +02:00
steven-omaha
0f487abc18
ci: try triggering github action
2023-05-15 15:05:04 +02:00
steven-omaha
35286adf5f
ci: setup github check workflow
2023-05-15 15:04:12 +02:00
steven-omaha
1a28f87134
docs(README): update for 1.0 release
2023-05-15 14:12:49 +02:00
steven-omaha
53478909b6
docs(README): subcommands alphabetical order
2023-05-15 13:37:24 +02:00
steven-omaha
408f8ba493
docs(README): disable backends
2023-05-15 13:36:47 +02:00
steven-omaha
aa9cfb164e
fix(args): package subcommands order
2023-05-15 13:28:31 +02:00
steven-omaha
06cfbc792b
refact(main): major update message
2023-05-15 13:24:30 +02:00
steven-omaha
082cad9529
chore: reformat a docstring
2023-05-12 22:41:16 +02:00
steven-omaha
001ccb5bf6
docs: update todo, reminder in Config to update readme
2023-05-12 22:41:01 +02:00
steven-omaha
7b59678e93
doc(README): add aliases
2023-05-12 22:40:15 +02:00
steven-omaha
e60294a44f
doc: delete 'completion' subcommand
2023-05-12 16:29:17 +02:00
steven-omaha
4f98163a86
chore: Release
2023-05-12 16:09:30 +02:00
steven-omaha
9e53f5dc21
chore: update Cargo.lock
2023-05-12 16:08:32 +02:00
steven-omaha
7d9f444ea6
feat: implement --noconfirm
2023-05-12 16:05:49 +02:00
steven-omaha
f03805446e
chore(bacon): add bacon config
2023-05-12 16:04:11 +02:00
steven-omaha
faa6b1451d
refact(main): extract load_default_config
2023-05-08 15:38:46 +02:00
steven-omaha
12c9a743ff
docs: add docstrings to two methods
2023-04-28 14:28:17 +02:00
steven-omaha
08f9a9305c
docs(config): update Config::load
2023-04-28 14:07:37 +02:00
steven-omaha
b70da6f7f2
feat(review): print enumerated groups with leading spaces
2023-04-27 10:49:54 +02:00
steven-omaha
d27cfa4a3b
refact(review): handle upper-case input
...
This commit updates the `ask_user_action_for_package` function in the
`review` module to convert user input to lowercase. This ensures that
the user input is case-insensitive and improves the user experience.
2023-04-27 10:14:10 +02:00
steven-omaha
37409e9e60
refact(regex): disable default features
...
these relate to performance and unicode support, neither of which we
are currently interested in
2023-03-30 17:58:47 +02:00
steven-omaha
f2ebfe68b5
chore: Release
2023-03-30 13:17:56 +02:00
steven-omaha
4a6ddcc1cf
chore: bump dependencies
2023-03-29 14:24:55 +02:00
steven-omaha
ae7018d664
chore: update lockfile
2023-03-29 14:20:28 +02:00
steven-omaha
4fe412ffca
refact(backend): use sort_unstable
2023-03-29 14:20:03 +02:00
steven-omaha
b01d5ea9df
refact(python): replace unwrap
2023-03-29 14:18:51 +02:00
steven-omaha
9b8f2712d3
refact(backend): get_group_packages_map
2023-03-17 17:01:21 +01:00
steven-omaha
c27eb35575
docs: add panics section
2023-03-16 15:32:38 +01:00
steven-omaha
c494785148
build: set msrv in Cargo.toml
2023-03-14 15:08:44 +01:00
steven-omaha
64d9c595bd
docs: add msrv
2023-03-14 15:02:05 +01:00
steven-omaha
f79fad454c
refact(backend): remove dead code
2023-03-03 17:58:17 +01:00
steven-omaha
e164416d33
docs: complete Backend trait
2023-03-03 17:57:05 +01:00
steven-omaha
83865e21e9
fix(review): as dependency using wrong binary
...
The order of Backend::{get_binary,get_binary_inner} was wrong.
The binary was actually never overwritten.
2023-03-03 17:32:34 +01:00
steven-omaha
e511235717
fix check for dependency support
2023-03-03 17:20:49 +01:00
steven-omaha
9827fcc28f
panic on {Rust,Python}::make_dependency
2023-02-28 14:37:32 +01:00
steven-omaha
e277899ad4
chore: Release
2023-02-28 13:07:35 +01:00
steven-omaha
362658e909
disable backend if binary does not exist
2023-02-28 13:06:48 +01:00
steven-omaha
b524840bc9
add option to disable backends
2023-02-28 12:58:24 +01:00
steven-omaha
a9e4162dbf
disable arch by default
2023-02-28 12:55:28 +01:00
steven-omaha
fc78a3b248
chore: Release
2023-02-28 12:38:52 +01:00
steven-omaha
e3e193f7e1
disable 'as dependency' if backend does not support it
2023-02-27 19:54:52 +01:00
steven-omaha
de06bf6b40
update todo
2023-02-27 19:47:36 +01:00
steven-omaha
184f86ebae
add python support
2023-02-27 19:39:25 +01:00
steven-omaha
7c4741753e
add debian backend
2023-02-27 17:21:56 +01:00
steven-omaha
1dced07619
update todo
2023-02-27 16:14:31 +01:00
steven-omaha
11301a1126
show supported backends in 'pacdef version'
2023-02-27 16:13:04 +01:00
steven-omaha
0affcff900
make arch an optional backend
2023-02-27 16:12:46 +01:00
steven-omaha
1cd6357560
update todo
2023-02-27 15:07:24 +01:00
steven-omaha
55c23d1953
prevent using invalid group names
2023-02-27 15:01:44 +01:00
steven-omaha
92650b0182
show error if any arg of 'group show' does not exist
2023-02-27 14:26:51 +01:00
steven-omaha
f94f08a18a
add error handling
2023-02-24 16:02:45 +01:00
steven-omaha
ef937ca146
add error GroupFileNotFound
2023-02-24 15:33:26 +01:00
steven-omaha
9fa9f90677
update todo
2023-02-24 15:32:59 +01:00
steven-omaha
c0a023e23a
work on argument parser
2023-02-24 14:56:09 +01:00
steven-omaha
5e82ace871
fix completion
2023-02-24 14:33:51 +01:00
steven-omaha
e4fe73c7eb
remove stale code
2023-02-24 14:14:33 +01:00
steven-omaha
93d4c58a00
Revert "add auto-generated zsh completion"
...
This reverts commit dca0895b39 .
2023-02-24 13:25:33 +01:00
steven-omaha
6d692bcfb5
fix version string
...
missing colon for topgrade
2023-02-24 12:43:40 +01:00
steven-omaha
7cb6d81bcd
update todo
2023-02-24 10:21:39 +01:00
steven-omaha
cb634187ea
add contributing, license
2023-02-24 10:16:09 +01:00
steven-omaha
d3bb57b66f
chore: Release
2023-02-23 22:14:43 +01:00