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

refactor!: v0.4.0 main rewrite #150

Merged
merged 196 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
3acaee4
refactor!: rename download module
beeb Aug 17, 2024
f7d3c4a
feat(install): starting to work on the install pipeline
beeb Aug 17, 2024
39ee40d
feat: more work on new install flow
beeb Aug 17, 2024
d0077fb
feat: continued progress
beeb Aug 17, 2024
15267f3
fix: remove unused import
beeb Aug 17, 2024
207c05b
refactor: reduce code duplication
beeb Aug 17, 2024
9aeac4f
fix: remove unused import
beeb Aug 17, 2024
494aa65
refactor: rename function
beeb Aug 17, 2024
127e989
refactor: better structure
beeb Aug 17, 2024
0e394ad
refactor: leverage type safety
beeb Aug 17, 2024
25450e1
fix: handle missing folders in installation
beeb Aug 17, 2024
a0851b0
refactor: match statement
beeb Aug 17, 2024
af61960
refactor: rename import aliases
beeb Aug 17, 2024
8bdf072
feat: add subdependencies installation
beeb Aug 17, 2024
64ceca5
docs: comments
beeb Aug 17, 2024
dc11110
feat(install): more work on the command
beeb Aug 17, 2024
b6be998
refactor: more refactoring
beeb Aug 17, 2024
d050175
refactor: rename functions
beeb Aug 17, 2024
97d5e74
fix: generate lockfile if not exists
beeb Aug 17, 2024
9f7b061
fix: small bugs
beeb Aug 17, 2024
253401e
fix: zip path
beeb Aug 17, 2024
8b8fd62
fix: remove unused import
beeb Aug 17, 2024
c3b3684
fix: forge init
beeb Aug 17, 2024
79aab3e
docs: comment
beeb Aug 17, 2024
a6814d5
docs: comment
beeb Aug 17, 2024
a174aa4
refactor: url check
beeb Aug 17, 2024
a45ee11
refactor: rename arg
beeb Aug 18, 2024
4c4e311
feat: nice ui
beeb Aug 18, 2024
7603952
fix: cleanup
beeb Aug 18, 2024
d1d6e55
fix: remove log
beeb Aug 18, 2024
ac9deee
feat: don't install already existing dep
beeb Aug 18, 2024
0b125be
refactor: better flow
beeb Aug 18, 2024
f9cc629
fix: git deps integrity check
beeb Aug 18, 2024
6566349
feat: nice init command output
beeb Aug 18, 2024
d730673
fix: add missing outro
beeb Aug 18, 2024
b863686
feat: better init command
beeb Aug 18, 2024
40a0592
refactor: lib error handling
beeb Aug 18, 2024
dbb526b
feat: better default config
beeb Aug 18, 2024
264f849
refactor: default config
beeb Aug 18, 2024
1b27ee4
refactor: commands module
beeb Aug 18, 2024
3bb1f5b
refactor(commands): more separation
beeb Aug 18, 2024
8353e99
refactor: rename module
beeb Aug 18, 2024
a969986
refactor: remappings
beeb Aug 18, 2024
3d0e04a
refactor: rename versioning to push
beeb Aug 18, 2024
7592012
feat: add help text to prompt
beeb Aug 19, 2024
1642311
chore: fix clippy warnings
beeb Aug 19, 2024
c0f84df
fix: message
beeb Aug 19, 2024
6199e44
refactor: ignore errors
beeb Aug 19, 2024
0c6b494
fix: logging during multiprogress
beeb Aug 19, 2024
7aa8b22
feat(update): update functionality, yet to be added to the cli command
beeb Aug 19, 2024
2988fae
feat(update): wip
beeb Aug 19, 2024
f4da033
chore: update deps
beeb Aug 19, 2024
168443c
perf(registry): sort unstable
beeb Aug 19, 2024
b7be53f
refactor: cleanup
beeb Aug 19, 2024
f322889
feat(update): better logging
beeb Aug 19, 2024
ab32b42
docs: comment
beeb Aug 19, 2024
ec809e1
feat(update): better logging
beeb Aug 19, 2024
bda7f47
feat: better zip checksum error
beeb Aug 20, 2024
e7102c5
refactor: remove unused field from dep
beeb Aug 20, 2024
d1ceb67
feat(update): add config update
beeb Aug 20, 2024
bc73c1b
feat(uninstall): command
beeb Aug 20, 2024
9d130f2
fix: uninstall logs
beeb Aug 20, 2024
833ef2a
fix: unused imports
beeb Aug 20, 2024
f6ec9c7
feat: login
beeb Aug 20, 2024
8f3a0e6
test: remove for now
beeb Aug 20, 2024
1c82c49
refactor(push): refactor command
beeb Aug 20, 2024
3e3d25a
fix: clippy
beeb Aug 20, 2024
5f7c99b
fix: ignore .git folder when walking filetree
beeb Aug 20, 2024
4bbbc50
fix: error message
beeb Aug 20, 2024
5035e43
feat(update): more logging
beeb Aug 20, 2024
36e9eca
fix: unused import
beeb Aug 20, 2024
498d94d
fix(init): don't add url to config
beeb Aug 20, 2024
86ea088
docs: comment
beeb Aug 20, 2024
64c234f
refactor(version): simpler output
beeb Aug 20, 2024
4052614
fix: clippy lints
beeb Aug 20, 2024
5691652
fix: unused imports
beeb Aug 20, 2024
f63f132
chore: update cliclack
beeb Aug 20, 2024
53b9ab2
chore: update deps
beeb Aug 20, 2024
a049e2c
chore: remove unused dep
beeb Aug 20, 2024
b7b93e1
chore: update deps
beeb Aug 20, 2024
3f6cbd5
feat: add defaults for some commands
beeb Aug 20, 2024
632a725
refactor: improve type safety
beeb Aug 20, 2024
2612f3b
revert: do not update config file on update
beeb Aug 21, 2024
f5fcad8
fix: support for version requirements in dependencies
beeb Aug 21, 2024
49a645a
feat(init): add entry to gitignore file
beeb Aug 21, 2024
ea196fe
refactor: url helper
beeb Aug 22, 2024
d7196b6
test(auth): refactor tests
beeb Aug 22, 2024
7184860
test(auth): remove comments
beeb Aug 22, 2024
3c08903
test(config): work in progress
beeb Aug 22, 2024
b229dae
test(config): wip
beeb Aug 22, 2024
9d0b406
test(config): add tests
beeb Aug 22, 2024
0286a7c
test(config): finish
beeb Aug 22, 2024
7fd47c9
refactor: paths object
beeb Aug 22, 2024
c07f382
feat(config): add constructor for path
beeb Aug 22, 2024
a7c71e9
refactor(utils): avoid lazy
beeb Aug 22, 2024
1246f06
test(download): add tests
beeb Aug 22, 2024
89b33a6
perf(download): improve clone
beeb Aug 22, 2024
6903b99
refactor: remove yansi
beeb Aug 25, 2024
2270967
fix: various small fixes
beeb Aug 25, 2024
2a5cd23
docs: silence warning
beeb Aug 25, 2024
1e4358b
test(download): finished tests
beeb Aug 26, 2024
0e4d8ab
test(install): add tests
beeb Aug 26, 2024
4148a78
test(install): add tests
beeb Aug 26, 2024
a244f40
test: comment
beeb Aug 26, 2024
a4c4bb9
test(install): add test
beeb Aug 26, 2024
27c570f
test(install): add test
beeb Aug 26, 2024
8efdb82
feat: add support for git tags and branches
beeb Aug 26, 2024
79fbebd
docs: comment
beeb Aug 26, 2024
7760381
test(config): more tests
beeb Aug 26, 2024
9b3ae0c
test(install): add tests
beeb Aug 26, 2024
5511096
test(install): add tests
beeb Aug 26, 2024
ec46146
test(install): add asserts
beeb Aug 27, 2024
07d3a46
refactor(lock): LockFile type
beeb Aug 27, 2024
c28bdf0
test(lock): add tests
beeb Aug 27, 2024
50b8312
test(lock): add tests
beeb Aug 27, 2024
066a766
fix(remappings): remove all deps with the same path
beeb Aug 27, 2024
5a69d0c
fix(uninstall): remove from remappings before deleting from disk
beeb Aug 27, 2024
f6664a0
fix: folder hash on windows
beeb Aug 27, 2024
446c4fc
chore: update deps
beeb Aug 27, 2024
7438c1e
feat: add more derive traits on structs
beeb Aug 27, 2024
84c470f
test: fix mockito instances
beeb Aug 27, 2024
85622cd
test: simplify mock server
beeb Aug 27, 2024
12920ad
test: minify mockito payloads
beeb Aug 27, 2024
2689db5
test: simplify mockito tests
beeb Aug 27, 2024
1c6a3e2
test(install): more precise asserts
beeb Aug 27, 2024
2a2e955
test: remove unused import
beeb Aug 27, 2024
8e9eb6c
fix: warning
beeb Aug 27, 2024
f174f50
feat: gate some serde derivations behind a feature flag
beeb Aug 27, 2024
887c9d8
docs: typo
beeb Aug 28, 2024
a1840db
refactor(push): improve code
beeb Aug 28, 2024
407c559
fix(push): remove unused import
beeb Aug 28, 2024
046ed01
test(utils): refactor tests
beeb Aug 28, 2024
85a0932
fix(push): better zip
beeb Aug 28, 2024
0fa8b03
test(push): add test
beeb Aug 28, 2024
c78e1e4
test(push): cleanup
beeb Aug 28, 2024
d7fef97
test(registry): add tests
beeb Aug 29, 2024
0edfc3b
fix(utils): folder hash
beeb Aug 29, 2024
ea494c8
test(utils): make path absolute
beeb Aug 29, 2024
ab4b7da
test(registry): add test
beeb Aug 29, 2024
aed36af
test(registry): add tests
beeb Sep 1, 2024
6fb15d5
fix(download): better path matching
beeb Sep 1, 2024
9ff963d
feat(config): canonicalize root path
beeb Sep 1, 2024
085ae10
feat(config): guard Paths against manual construction
beeb Sep 1, 2024
96426a4
refactor: move api_url to registry module
beeb Sep 1, 2024
4d15307
chore: new version of cliclack
beeb Sep 1, 2024
7097427
test(remappings): add tests
beeb Sep 1, 2024
468ae1b
fix(config): default foundry config
beeb Sep 1, 2024
72e1cf1
fix(remappings): existing remappings detection
beeb Sep 1, 2024
20caafa
fix(remappings): small blunder
beeb Sep 1, 2024
88dea29
docs: todo
beeb Sep 1, 2024
cf3139c
docs: todo
beeb Sep 1, 2024
95b0002
test(remappings): add test
beeb Sep 3, 2024
741eb81
test(remappings): add tests
beeb Sep 3, 2024
fa07726
test(remappings): add tests
beeb Sep 3, 2024
a878ff0
fix: windows path handling
beeb Sep 3, 2024
168344a
test(remappings): add tests
beeb Sep 4, 2024
060981e
test(remappings): add test
beeb Sep 4, 2024
9b837ba
fix: wording
beeb Sep 4, 2024
7f325fd
chore: update deps
beeb Sep 4, 2024
8620f40
chore: update metadata
beeb Sep 4, 2024
c6b63de
chore: update metadata
beeb Sep 4, 2024
960ccf6
chore: cleanup cargo toml
beeb Sep 4, 2024
70b4b1a
refactor: fix clippy lints
beeb Sep 4, 2024
f9eea68
ci: run tests on windows
beeb Sep 4, 2024
6ce5baf
chore: merge branch 'main' into install-pipeline
beeb Sep 4, 2024
3393598
chore: remove unused files
beeb Sep 4, 2024
63779d4
fix(auth): path display
beeb Sep 4, 2024
5a43171
fix(push): normalize path separator
beeb Sep 4, 2024
726a6bc
refactor: workspace
beeb Sep 5, 2024
469803a
ci: run on PRs to all branches
beeb Sep 5, 2024
d52c137
chore: merge branch 'release/v0.4.0' into install-pipeline
beeb Sep 5, 2024
a028f75
docs: add missing docs
beeb Sep 5, 2024
8223823
feat(soldeer): use owo_colors
beeb Sep 5, 2024
0a63705
docs(commands): install command help text
beeb Sep 5, 2024
574c0a1
docs(commands): fix help text
beeb Sep 5, 2024
658ca97
docs(commands): improvements
beeb Sep 5, 2024
e9a1f9a
docs(commands): improvements
beeb Sep 5, 2024
107956b
docs(commands): install command helptext
beeb Sep 5, 2024
981ee11
test(core): add hash folder test
beeb Sep 5, 2024
ccaa59e
docs(core): fix docs
beeb Sep 5, 2024
7b7955c
refactor(core): utils
beeb Sep 5, 2024
1abb776
refactor(core): normalize imports
beeb Sep 5, 2024
620a136
fix(core): make errors non exhaustive
beeb Sep 5, 2024
2e93d5e
feat(bin): restore yansi
beeb Sep 5, 2024
2288cf2
chore: rename folder names
beeb Sep 5, 2024
29e630a
refactor: use derive_more
beeb Sep 5, 2024
9a17879
refactor: various small tweaks
beeb Sep 5, 2024
236c285
refactor: hide cliclack behind a feature flag
beeb Sep 5, 2024
548f6a3
refactor: remove progress struct when no cli
beeb Sep 5, 2024
fd3cb19
refactor: move function to commands
beeb Sep 5, 2024
f7d623e
refactor: make function private
beeb Sep 5, 2024
e9cde4e
refactor: re-organize login
beeb Sep 5, 2024
af157bf
chore: remove unused dep
beeb Sep 5, 2024
b5b71ab
fix: remove unused lint allow
beeb Sep 5, 2024
0ac2070
fix: remove dead_code lint warnings
beeb Sep 5, 2024
fe79325
refactor(commands): login command
beeb Sep 5, 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
12 changes: 7 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ name: Rust

on:
push:
branches: ["main"]
branches: ['main']
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
build-test:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
cache-on-failure: true
- run: cargo doc --workspace --all-features --no-deps --document-private-items
env:
RUSTDOCFLAGS: "--cfg docsrs -D warnings"
RUSTDOCFLAGS: '--cfg docsrs -D warnings'

fmt:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
}
},
"rust-analyzer.cargo.features": "all"
}
Loading