steven-omaha
654be10518
feat: warn about missing group only when relevant
...
So far we have warned the user when we first visited the group dir and
there were no group files. This lead to spurious warnings, e.g. when the
user wanted to import or create a group. We now defer the check to when
we actually need some content in the groups, and the program should not
perform the respective action without any groups present. This causes
some code duplication, but enhances UE.
Closes #31 .
2023-05-23 17:54:08 +02:00
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
Frederik Menke
9a55d7987c
docs(README): describe groups import
2023-05-21 16:38:28 +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
teackot
54acb132b5
Revert the switches_runtime change; implement flatpak-specific functions.
2023-05-16 20:15:10 +03:00
teackot
a38a1865f5
Alphabetical order
2023-05-16 19:48:54 +03:00
teackot
39496e836e
Fix formatting
2023-05-16 19:42:53 +03:00
teackot
8764221a27
Add flatpak backend to readme
2023-05-16 19:30:13 +03:00
teackot
0d509fdfa6
Remove the unnecessary flatpak feature flag
2023-05-16 19:22:56 +03:00
teackot
b413ef00be
Merge branch 'flatpak-per-user' into flatpak-backend
2023-05-16 19:08:15 +03:00
teackot
a017a4ee75
Implement flatpak_systemwide option
2023-05-16 19:07:39 +03:00
teackot
d559edc577
Fix flatpak-list skipping the first entry
2023-05-16 18:35:20 +03:00
teackot
6f10c789eb
Add flatpak_systemwide option
2023-05-16 18:32:29 +03: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
teackot
d03c338503
Support flatpak info
2023-05-16 16:58:18 +03: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
arctic-penguin
d4305abebe
docs(README): add references, links
2023-05-16 13:32:44 +02:00
teackot
3f239795b7
Add the ability to list installed flatpaks
2023-05-16 14:28:20 +03:00
steven-omaha
de0bc7d5ad
fix: make descriptions consistent
...
fixes #16
2023-05-16 12:18:07 +02:00
teackot
26352160be
Add a minimal flatpak backend
2023-05-16 12:11:23 +03: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