Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mvp #17

Merged
merged 77 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
5f76573
feat(config): add arx config resolver
norskeld Aug 12, 2022
098b598
feat(app): flesh out getting replacements and actions
norskeld Aug 12, 2022
bb4f57b
refactor(app): handle suites and single actions
norskeld Aug 12, 2022
1e18fce
refactor(app): apply clippy suggestions
norskeld Aug 12, 2022
a348c4a
refactor(tar): apply clippy suggestions
norskeld Aug 12, 2022
5b9a02b
feat: replacement processing basic functionality
norskeld Aug 13, 2022
3072f76
style(main): remove commented out code
norskeld Aug 13, 2022
b3417ed
chore: update README
norskeld Aug 13, 2022
e3b23a7
chore: update README and LICENSE
norskeld Dec 13, 2023
52f4848
chore(deps): bump deps
norskeld Dec 13, 2023
912bde3
refactor(config): refactor config parsing and construction, clean up …
norskeld Dec 13, 2023
0315bd4
refactor(parser): slightly change host parser
norskeld Dec 13, 2023
45b7dc9
refactor(repository): derive `Default` impl
norskeld Dec 13, 2023
6071bea
refactor(tar): remove unnecessary reference
norskeld Dec 13, 2023
5fbb805
chore(spec): redefine arx spec
norskeld Dec 18, 2023
870d281
chore: update spec.kdl
norskeld Jan 6, 2024
1f87faf
refactor: rewrite basics according to new spec
norskeld Jan 6, 2024
17a3b4a
refactor: apply clippy suggestions
norskeld Feb 29, 2024
de0c7b3
chore: add `clippy.toml` with MSRV specified
norskeld Feb 29, 2024
c09115b
refactor: remove unnecessary `else` blocks
norskeld Feb 29, 2024
2bedfce
refactor: redesign cli and make it more shell-friendly
norskeld Mar 1, 2024
6f2d168
chore: update spec.kdl
norskeld Mar 2, 2024
cc57f37
feat(executor): flesh out basic executor, implement `echo` actions
norskeld Mar 2, 2024
e036155
refactor: remove useless q-mark operators
norskeld Mar 2, 2024
1ddfbed
refactor: remove useless let bindings and references
norskeld Mar 2, 2024
9057162
chore: enable autocompletion inside format strings
norskeld Mar 2, 2024
f8abc76
refactor: apply clippy suggestions
norskeld Mar 2, 2024
4b26565
chore: remove `indoc` dependency, checkout `Cargo.lock`
norskeld Mar 2, 2024
0270d1a
refactor: remove unnecessary `iter()` calls
norskeld Mar 2, 2024
d9b8a53
chore: add `confirm` prompt example
norskeld Mar 3, 2024
1b00aae
feat(executor): implement prompts and answers store
norskeld Mar 4, 2024
3b398aa
refactor: remove unused mod
norskeld Mar 4, 2024
7a331c4
fix(actions/prompts): mark inputs as required if no default value pro…
norskeld Mar 4, 2024
ddbde8d
feat(actions/prompts): handle interrupts/cancelation
norskeld Mar 4, 2024
0a2ce0f
feat(actions): implement `run` action
norskeld Mar 4, 2024
c16cb22
feat(actions): add spinner for `run` action, improve styling a bit
norskeld Mar 4, 2024
83afe5e
feat(actions): implement `replace` action
norskeld Mar 5, 2024
0ebe0dc
feat(actions): implement `cp` action
norskeld Mar 5, 2024
c390057
feat(actions): implement `mv` action
norskeld Mar 5, 2024
fe72f4a
feat(actions): implement `rm` action, refactor other fs actions
norskeld Mar 5, 2024
4455e63
refactor(actions): use `State::get` facade method to access values
norskeld Mar 5, 2024
e8507d1
refactor(repository): remove unused enum, handle multiple slash error
norskeld Mar 5, 2024
3d0b1d8
refactor(config): get rid of unused let bindings
norskeld Mar 5, 2024
ecb0101
refactor(spinner): allow unused methods
norskeld Mar 5, 2024
0b62f95
refactor: move `Traverser` to `crate::path`, remove unused path utils…
norskeld Mar 5, 2024
93c1242
refactor(config): remove unused error variant
norskeld Mar 5, 2024
2f0a98d
refactor(clippy): allow variant names with the same prefix
norskeld Mar 5, 2024
7148544
feat(app): bail if the destination path already exists
norskeld Mar 5, 2024
da3680a
refactor: clean up and improve comments a bit
norskeld Mar 5, 2024
1e8f02b
refactor(app): use `try_exists` instead of `exists`
norskeld Mar 5, 2024
e82a7a2
refactor(actions): slightly simplify trait bounds for action executor…
norskeld Mar 5, 2024
51dfb94
feat(executor): delete config file after scaffolding is done
norskeld Mar 5, 2024
e2c3ecb
refactor(config): derive `Default` instead of manual impl
norskeld Mar 5, 2024
e64c50e
refactor(actions): replace `expect()` with anyhow's `Result`
norskeld Mar 6, 2024
0487ef6
chore: update project description
norskeld Mar 6, 2024
146decf
refactor(spec): improve `spec`
norskeld Mar 6, 2024
311a1fd
refactor(actions): stylize unknown action message
norskeld Mar 7, 2024
fa90c6d
refactor(config): refactor prompts parsing according to spec
norskeld Mar 7, 2024
e35f9d9
refactor(actions): adjust styling for suite names and prompts
norskeld Mar 7, 2024
ae05d31
refactor(app): add info prints, adjust style a bit
norskeld Mar 7, 2024
e1b0ae9
feat: implement fancy error reporting via `miette`
norskeld Mar 9, 2024
8a3e633
refactor(unpacker): refactor error handling in tar unpacker
norskeld Mar 10, 2024
c6faf4a
refactor(config): replace `Error as IoError` alias with qualified import
norskeld Mar 10, 2024
426d7d1
refactor: rename manifest to config
norskeld Mar 10, 2024
5383454
refactor(repository): refactor error handling in repository
norskeld Mar 10, 2024
75c3721
feat(repository): implement fancy error reporting for parser
norskeld Mar 10, 2024
14f296b
refactor(repository): slightly improve error report for fetching repo…
norskeld Mar 10, 2024
60f29c9
refactor(actions/prompts): move static helper methods from struct int…
norskeld Mar 10, 2024
674f0bb
refactor(config): do not parse `default` for select prompts
norskeld Mar 10, 2024
51ff257
feat(prompts): implement `number` prompt, slightly restructure
norskeld Mar 10, 2024
8b3425d
refactor(actions): remove artificial delay when performing replacements
norskeld Mar 10, 2024
7fab26c
refactor(config): slightly change error message
norskeld Mar 10, 2024
536d998
refactor(config): factor out parsing of `inject` nodes
norskeld Mar 10, 2024
658148d
chore(deps): remove unused deps
norskeld Mar 10, 2024
dc00e12
chore: update README
norskeld Mar 10, 2024
d8edda9
chore(spec): update spec
norskeld Mar 10, 2024
77e7e17
chore: update README
norskeld Mar 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@
# Generated by Cargo, will have compiled files and executables.
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries.
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt.
**/*.rs.bk
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"editor.rulers": [100],
"editor.formatOnSave": true,
"editor.inlayHints.enabled": "offUnlessPressed",
"editor.quickSuggestions": {
"strings": "on"
},
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
"rust-analyzer.diagnostics.disabled": ["macro-error"],
"rust-analyzer.lens.enable": true
Expand Down
Loading
Loading