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

Fix xvc file track memory issue #260

Merged
merged 262 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
5fbfdcb
Rename remote to storage in various files
iesahin Jun 14, 2024
0189b38
update
iesahin Jun 17, 2024
4df7a67
Merge ; commit '0189b38859649424af28b321740041086d026541'
iesahin Jun 29, 2024
e6b17bc
fix compile error
iesahin Jul 2, 2024
4653b69
TIDY - Rename XvcConfigInitParams to XvcConfigParams
iesahin Jul 3, 2024
4acf6f2
derive Clone for CLI structs
iesahin Jul 11, 2024
2471651
minor fix
iesahin Jul 11, 2024
ec37735
Renamed ITEMS env variables
iesahin Jul 13, 2024
7e20029
bump version
iesahin Jul 13, 2024
0d85aa6
added CRLF at the end of DONE
iesahin Jul 14, 2024
f365a42
fix the space at the end of out
iesahin Jul 14, 2024
216a419
fix space at the end
iesahin Jul 14, 2024
a901c83
bump version to release
iesahin Jul 15, 2024
5da8604
Merge remote-tracking branch 'origin/main' into develop
iesahin Jul 15, 2024
d9a19eb
fix regex
iesahin Jul 15, 2024
f4ffa53
file-copy
iesahin Jul 15, 2024
5a21dcd
Update docs
iesahin Jul 15, 2024
b7fec60
update CRLF in pipeline
iesahin Jul 15, 2024
cac89d0
Update docs
iesahin Jul 15, 2024
6320123
move generic to bottom
iesahin Jul 18, 2024
96ede58
added xvc-pipeline-step-dependency-sqlite file
iesahin Jul 18, 2024
692e838
Add rusqlite dependency
iesahin Jul 22, 2024
6839540
Updated dependencies
iesahin Jul 22, 2024
4959af5
crate upgrades
iesahin Jul 22, 2024
e9e2ebc
Updated to v0.6.9-a.0
iesahin Jul 22, 2024
bb540a6
Update track
iesahin Jul 22, 2024
b9966f8
update
iesahin Jul 22, 2024
8fb8ff9
cached type is now ty
iesahin Jul 22, 2024
09e7f77
fix import
iesahin Jul 22, 2024
4e31457
import fixes
iesahin Jul 22, 2024
3bed62b
Fix async API change
iesahin Jul 22, 2024
8cc2c08
one more result check
iesahin Jul 22, 2024
6cc63b5
update docs
iesahin Jul 22, 2024
5cac166
move and recheck
iesahin Jul 22, 2024
60a210a
ws
iesahin Jul 22, 2024
38fd54d
Added implementation for SqliteDependency
iesahin Jul 24, 2024
7960a60
added missing branches
iesahin Jul 26, 2024
90a85de
Fix for args
iesahin Jul 26, 2024
8315574
handler update
iesahin Jul 26, 2024
6bd5686
unnecessary let
iesahin Jul 26, 2024
dea58d3
Fix minor errors
iesahin Jul 26, 2024
6e38ce7
xvc file track fixes
iesahin Jul 26, 2024
76a85a4
ws updates
iesahin Jul 26, 2024
bd4688d
update command
iesahin Jul 26, 2024
414351f
fix line items
iesahin Jul 26, 2024
8b4b11f
revert command
iesahin Jul 26, 2024
9d59c6b
fix command
iesahin Jul 26, 2024
0748044
Fixed line errors
iesahin Jul 26, 2024
1752495
added value names
iesahin Jul 26, 2024
4de345b
Added help text for sqlite
iesahin Jul 26, 2024
beeaac8
update help text
iesahin Jul 26, 2024
a467f80
fix sql commands
iesahin Jul 26, 2024
502e8ae
update
iesahin Jul 26, 2024
1fe870f
debug
iesahin Jul 26, 2024
66a4a00
remove comments
iesahin Jul 26, 2024
bfb45fc
rerun
iesahin Jul 26, 2024
17e3dec
update
iesahin Jul 26, 2024
1ac90d2
added people,db
iesahin Jul 26, 2024
29f9329
added people.db
iesahin Jul 26, 2024
d33147a
added people
iesahin Jul 26, 2024
0939cfa
renamed the file
iesahin Jul 26, 2024
55a80bf
remove verbosity
iesahin Jul 26, 2024
369fe32
added compare
iesahin Jul 26, 2024
5dae1d7
fix superficial
iesahin Jul 26, 2024
926b8be
bump version
iesahin Jul 26, 2024
066b856
debug
iesahin Jul 26, 2024
4311bb0
debug
iesahin Jul 28, 2024
df6e2e8
remove watch in select
iesahin Jul 28, 2024
817eb36
handle sqlite type
iesahin Jul 28, 2024
d063ad1
Debug off
iesahin Jul 28, 2024
9fad80e
added bundled sqlite feature
iesahin Jul 28, 2024
0355ebf
renamed the feature and added to main
iesahin Jul 28, 2024
d0f65a9
rename feature
iesahin Jul 28, 2024
8a377a1
fix
iesahin Jul 28, 2024
2e5770d
remove debugs
iesahin Jul 28, 2024
8fe3c8b
fix
iesahin Jul 28, 2024
597a2f9
fix
iesahin Jul 28, 2024
7d39958
default = []
iesahin Jul 28, 2024
dc91b5c
recheck fixes
iesahin Jul 28, 2024
909fa79
add sqlite3 to binaries
iesahin Jul 28, 2024
b4b2bcf
fix ref rest
iesahin Jul 28, 2024
12d74b9
add changes
iesahin Jul 28, 2024
44f2f83
Move reflink behind feature flag
iesahin Jul 28, 2024
2f633a7
fixing feature flags
iesahin Jul 28, 2024
8232d02
add reflink feature to core
iesahin Jul 28, 2024
5f48ad1
remove reflink feature from core
iesahin Jul 28, 2024
84bb318
remove reflink feature from core
iesahin Jul 28, 2024
21e1714
Turn off debug flags
iesahin Jul 28, 2024
29fc013
add compile without default features
iesahin Jul 28, 2024
3d8b1ab
update
iesahin Jul 28, 2024
77fed5c
Added docs dir to lib
iesahin Jul 28, 2024
6b60a8e
Remove workflow_tests
iesahin Jul 28, 2024
9fbd0f6
remove workflow crate refs
iesahin Jul 28, 2024
9f946ac
add test features
iesahin Jul 28, 2024
2b862f2
ws
iesahin Jul 28, 2024
727ddcf
Bump version
iesahin Jul 28, 2024
9cdb635
Merge remote-tracking branch 'origin/main' into develop
iesahin Jul 28, 2024
e719133
fix import errors
iesahin Jul 28, 2024
281f7ed
fix warning
iesahin Jul 28, 2024
2bd4ea7
fix warnings
iesahin Jul 28, 2024
5a70d9d
update
iesahin Jul 28, 2024
8494bdf
fix warnings
iesahin Jul 28, 2024
f6a7510
fix warnings
iesahin Jul 28, 2024
b523cd0
fix some more warnings
iesahin Jul 28, 2024
35e3c6a
turn off wasabi and gcs warnings
iesahin Jul 28, 2024
2232b52
bump version
iesahin Jul 28, 2024
a30cc3d
fix docs errors
iesahin Jul 28, 2024
eb973fb
debug yaml
iesahin Jul 29, 2024
50fdbdf
Add sqlite_bundled feature to Windows build
iesahin Jul 31, 2024
d637f2e
Update pipeline output
iesahin Aug 2, 2024
998dc35
Fix spelling
iesahin Aug 3, 2024
b05e8e7
remove caching from glob_paths, glob_includes and dir_includes
iesahin Aug 3, 2024
fc5b481
remove some traces
iesahin Aug 3, 2024
116b29e
spelling
iesahin Aug 3, 2024
a76215c
tidy up comparisons and add a Diff implementation
iesahin Aug 3, 2024
4f73961
remove some traces
iesahin Aug 3, 2024
8a80345
update superficial and thorough comparisons for glob_items
iesahin Aug 3, 2024
13dba31
Updated docs and changelog
iesahin Aug 3, 2024
2ce46e6
Merge remote-tracking branch 'origin/main' into develop
iesahin Aug 3, 2024
b057fed
Bump version
iesahin Aug 3, 2024
1a35f56
make reflink optional in libn
iesahin Aug 3, 2024
9b1b13d
fix manifest
iesahin Aug 3, 2024
cfa1d49
Fix optional dependencies
iesahin Aug 4, 2024
634a8aa
Added bundled-openssl feature
iesahin Aug 4, 2024
c63f525
Update ref docs showing pipeline outputs
iesahin Aug 4, 2024
f383881
Bump version
iesahin Aug 4, 2024
8d7ad80
Update to use nightly proper
iesahin Aug 4, 2024
dd08d0d
Add publish github action
iesahin Aug 4, 2024
4b5d6a2
Fix publish.yml
iesahin Aug 4, 2024
ac0be74
Use an action for publish crate
iesahin Aug 4, 2024
62d3bf3
fix another fix
iesahin Aug 4, 2024
49d3c68
just use a for loop
iesahin Aug 4, 2024
63d964f
Add keep going when the packages are uploaded
iesahin Aug 4, 2024
0492632
Fix Windows build feature
iesahin Aug 4, 2024
15811a0
Update lib Cargo
iesahin Aug 5, 2024
b966591
bump dependencies
iesahin Aug 5, 2024
c43cdb1
Changelog
iesahin Aug 5, 2024
58f55cf
Fix check_ignore not reading the config
iesahin Aug 6, 2024
d01edab
Bump version
iesahin Aug 6, 2024
66586fd
Bump version
iesahin Aug 6, 2024
52c6870
Bump version
iesahin Aug 6, 2024
eda1658
debug with PEAK_ALLOC
iesahin Aug 6, 2024
b111877
Bump version
iesahin Aug 6, 2024
950c431
ws
iesahin Aug 8, 2024
aae241f
remove GlobSetError
iesahin Aug 8, 2024
70fc0d6
minor changes
iesahin Aug 8, 2024
0d1173b
use fast-glob
iesahin Aug 8, 2024
9def90e
add build_ignore_glob
iesahin Aug 8, 2024
09e349b
remove memory watches
iesahin Aug 8, 2024
1b05248
cleanup
iesahin Aug 8, 2024
e778c16
update to use glob
iesahin Aug 8, 2024
a1ac002
simplify
iesahin Aug 8, 2024
15ed2b9
remove watches and change to fast_glob
iesahin Aug 8, 2024
a0bfe41
remove glob erro
iesahin Aug 8, 2024
f5d5b54
use jwalk and fast-glob
iesahin Aug 8, 2024
8ad1ffb
Remove globset and use fast_glob in ignore
iesahin Aug 12, 2024
1fb26ce
Update SharedIgnoreRules to use RwLock
iesahin Aug 14, 2024
e5461ef
fixed walker_serial
iesahin Aug 14, 2024
49e3da7
fix warnings
iesahin Aug 14, 2024
e995543
fix warning
iesahin Aug 15, 2024
cadebbe
fix watch
iesahin Aug 15, 2024
5fa24cc
fixed file_recheck
iesahin Aug 15, 2024
b0d9ec2
fixed gitignore handler
iesahin Aug 15, 2024
5e2145b
bump version
iesahin Aug 15, 2024
ff8dde8
Merge remote-tracking branch 'origin/main' into develop
iesahin Aug 15, 2024
df81ce0
Fix test_walker_parallel
iesahin Aug 15, 2024
decef74
added symlink check
iesahin Aug 24, 2024
62b7eae
debug
iesahin Aug 24, 2024
5110d00
final /
iesahin Aug 24, 2024
0ac2237
recheck
iesahin Aug 24, 2024
3d8eebd
debug
iesahin Aug 24, 2024
75802ec
update store filtering
iesahin Aug 24, 2024
db4a27d
update sender
iesahin Aug 24, 2024
f6e1c67
list rerun
iesahin Aug 24, 2024
30015f4
Update
iesahin Aug 24, 2024
ed76f8b
update
iesahin Aug 24, 2024
9e1ee9a
add patterns to xvcignore
iesahin Aug 24, 2024
5228f72
check ignore
iesahin Aug 26, 2024
6723326
Update
iesahin Aug 26, 2024
8ab26bc
debug
iesahin Aug 26, 2024
737edd8
debug
iesahin Aug 26, 2024
9082eda
debug
iesahin Aug 26, 2024
7b7669a
fix
iesahin Aug 26, 2024
5fc7e20
fix
iesahin Aug 26, 2024
12a1b14
details
iesahin Aug 26, 2024
85efa22
remove details flag from check ignore
iesahin Aug 26, 2024
e83083a
Added whitelist example
iesahin Aug 26, 2024
2a38eee
fix whitelist example
iesahin Aug 26, 2024
921afbb
Fixed check ignore
iesahin Aug 26, 2024
e8114e2
Update changelog
iesahin Aug 26, 2024
392ddd1
debug
iesahin Aug 27, 2024
b672e3d
Handle directories in store differently
iesahin Aug 27, 2024
4c67cef
modify all store selectors
iesahin Aug 27, 2024
e9f42c2
debug
iesahin Aug 27, 2024
f3ddb36
debug
iesahin Aug 27, 2024
8fc8682
debug
iesahin Aug 27, 2024
d86b8ab
debug
iesahin Aug 27, 2024
6bf1703
debug
iesahin Aug 27, 2024
fbaf049
debug
iesahin Aug 27, 2024
be7cdc5
debug
iesahin Aug 27, 2024
7960fec
debug
iesahin Aug 27, 2024
54be172
fixed?
iesahin Aug 27, 2024
8d4c637
ws
iesahin Aug 27, 2024
fddd0e2
fixed some warnings
iesahin Aug 27, 2024
291a20c
changelog
iesahin Aug 27, 2024
da9e51c
bump version
iesahin Aug 27, 2024
fea9f27
add run-tests to gitignore
iesahin Aug 28, 2024
98cdeb0
debug
iesahin Aug 28, 2024
e004399
Updated example url
iesahin Aug 28, 2024
b6a5dfb
minor
iesahin Aug 28, 2024
e617be6
update test server urls
iesahin Aug 30, 2024
a28b030
Added run-tests script
iesahin Aug 30, 2024
d26def3
test
iesahin Aug 30, 2024
90da278
test
iesahin Aug 30, 2024
3ed4a27
minio
iesahin Aug 30, 2024
80f8d0a
fix urls
iesahin Aug 30, 2024
365c086
test
iesahin Aug 30, 2024
953400e
test
iesahin Aug 30, 2024
28efd73
fix bucket name
iesahin Aug 30, 2024
cfbfe3e
test
iesahin Aug 30, 2024
236f3fa
features
iesahin Aug 30, 2024
ea8544c
fix tests
iesahin Aug 30, 2024
265e35d
fix gitignore traversal
iesahin Aug 30, 2024
070f4e8
test
iesahin Aug 30, 2024
e27d57b
remove some unnecessary tests
iesahin Aug 30, 2024
ca5d534
fix test
iesahin Aug 30, 2024
539b79a
tests
iesahin Aug 30, 2024
5efb633
update
iesahin Aug 30, 2024
9d006b6
changelog
iesahin Aug 30, 2024
6749395
fail fast in tests
iesahin Sep 1, 2024
66e6033
test local
iesahin Sep 1, 2024
b499b18
updated doc tests
iesahin Sep 1, 2024
97d79c2
update test
iesahin Sep 1, 2024
06c88a4
test
iesahin Sep 1, 2024
55add13
config
iesahin Sep 1, 2024
80e7c65
update
iesahin Sep 1, 2024
bca12b6
Update minio tests
iesahin Sep 3, 2024
5dbeb34
fix alias command
iesahin Sep 3, 2024
9131e85
fix
iesahin Sep 4, 2024
c0b8ecf
add another chmod
iesahin Sep 4, 2024
0057570
fix
iesahin Sep 4, 2024
edcd8f1
debug
iesahin Sep 4, 2024
6c29d34
change counting
iesahin Sep 4, 2024
c1b7e05
change release date
iesahin Sep 4, 2024
d09162b
run in shell
iesahin Sep 4, 2024
c3dfc08
Use config file instead of mc alias
iesahin Sep 6, 2024
94d1713
add one-off tests to workflow
iesahin Sep 6, 2024
607c7c0
Update changelog
iesahin Sep 6, 2024
168c3e1
update test logging to trace
iesahin Sep 6, 2024
483cbe7
Added title to Changelog
iesahin Sep 9, 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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: for p in xvc-logging xvc-test-helper xvc-walker xvc-ecs xvc-config xvc-core xvc-storage xvc-file xvc-pipelines xvc ; do cargo publish --package $p ; done
run: for p in xvc-logging xvc-test-helper xvc-walker xvc-ecs xvc-config xvc-core xvc-storage xvc-file xvc-pipelines xvc ; do cargo publish --package $p ; done
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- build: nightly
rust: nightly
# rust: nightly-2024-01-01
test-args: --features test-ci --no-fail-fast
test-args: --features test-ci # --no-fail-fast
## for submitters other than me, I'll add another job here.
# test-args: --no-fail-fast
# test-args: --all-features
Expand Down Expand Up @@ -67,6 +67,7 @@ jobs:
brew install tree
brew install lsd
brew install python3
brew install minio/stable/mc

- name: Git config for automated Git tests
run: git config --global user.name 'Xvc Rabbit' && git config --global user.email '[email protected]' && git config --global init.defaultBranch main
Expand Down Expand Up @@ -105,6 +106,9 @@ jobs:
- name: Check if xvc is in PATH
run: tree $GITHUB_WORKSPACE && xvc --help

- name: Run Current Dev Tests
run: $GITHUB_WORKSPACE/run-tests.zsh

- name: Test
if: matrix.coverage
uses: actions-rs/cargo@v1
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Xvc Changelog

## Unreleased

## 0.6.11 (2024-09-04)

- Bump dependencies
- Replace globset with fast-glob for memory usage
- Remove --details option from xvc check-ignore
- Fixed xvc check-ignore to work with supplied paths
- Fixed loading store targets from xvc file list
- Directory targets in various commands doesn't require / at the end when they only exist in the cache
- Removed some duplicate tests from ignore
- Minio tests now use mc instead of s3cmd
- Add a step to run a subset of tests in CI for faster feedback

## 0.6.10 (2024-08-04)

- PR: <https://github.com/iesahin/xvc/pull/259>
Expand Down
68 changes: 48 additions & 20 deletions book/src/ref/xvc-check-ignore.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Check whether a path is ignored or whitelisted by Xvc.

## Synopsis
## Synopsis

```console
$ xvc check-ignore --help
Expand All @@ -17,53 +17,81 @@ Arguments:
Targets to check. If no targets are provided, they are read from stdin

Options:
-d, --details
Show the exclude patterns along with each target path. A series of lines are printed in this format: <path/to/.xvcignore>:<line_num>:<pattern> <target_path>

--ignore-filename <IGNORE_FILENAME>
Filename that contains ignore rules

This can be set to .gitignore to test whether Git and Xvc work the same way.

[default: .xvcignore]

-n, --non-matching
Include the target paths which don’t match any pattern in the --details list. All fields in each line, except for <target_path>, will be empty. Has no effect without --details

-h, --help
Print help (see a summary with '-h')

```

## Examples

```console
$ git init
...
$ xvc init
```

You can add files and directories to be ignored by Xvc to `.xvcignore` files.

```console
$ zsh -cl "echo 'my-dir/my-file' >> .xvcignore"
```

By default it checks the files supplied from `stdin`.

```shell
$ xvc check-ignore
```console
$ zsh -cl 'echo my-dir/my-file | xvc check-ignore'
[IGNORE] [CWD]/my-dir/my-file

```

The `.xvcignore` file format is identical to [`.gitignore` file format](https://git-scm.com/docs/gitignore).

```console
$ cat .xvcignore

# Add patterns of files xvc should ignore, which could improve
# the performance.
# It's in the same format as .gitignore files.

.DS_Store
my-dir/my-file

```

If you supply paths from the CLI, they are checked instead.
If you supply paths from the CLI, they are checked against the ignore rules in `.xvcignore`.

```shell
```console
$ xvc check-ignore my-dir/my-file another-dir/another-file
[IGNORE] [CWD]/my-dir/my-file
[NO MATCH] [CWD]/another-dir/another-file

```

If you're looking which `.xvcignore` file ignores (or whitelists) a certain path, you can use `--details`.
You can also add whitelist patterns to `,.xvcignore` files.

```shell
$ xvc check-ignore --details my-dir/my-file another-dir/another-file
```console
$ zsh -cl "echo '!another-dir/*' >> .xvcignore"
```

`.xvcignore` file format is identical to [`.gitignore` file format](https://git-scm.com/docs/gitignore).
This utility can be used to check any other ignore rules in other files as well.
You can specify an alternative ignore filename with `--ignore-filename` option.
The below command is identical to `git check-ignore` and should give the same results.
```console
$ xvc check-ignore my-dir/my-file another-dir/another-file
[IGNORE] [CWD]/my-dir/my-file
[WHITELIST] [CWD]/another-dir/another-file

```shell
$ xvc check-ignore --ignore-filename .gitignore
```

This utility can be used to check any other ignore rules in other files as well.
You can specify an alternative ignore filename with `--ignore-filename` option.
The below command is identical to `git check-ignore` and should give the same results.

```console
$ xvc check-ignore --ignore-filename .gitignore

```
6 changes: 3 additions & 3 deletions book/src/ref/xvc-file-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Total #: 30 Workspace Size: 51195 Cached Size: 0

```

By default the command hides dotfiles. If you also want to show them, you can use `--show-dot-files`/`-a` flag.
By default the command hides dotfiles. If you also want to show them, you can use `--show-dot-files`/`-a` flag.

```console
$ xvc file list --sort name-asc --show-dot-files
Expand Down Expand Up @@ -209,7 +209,7 @@ Total #: 32 Workspace Size: 51443 Cached Size: 0

```

You can also hide the summary below the list to get only the list of files.
You can also hide the summary below the list to get only the list of files.

```console
$ xvc file list --sort name-asc --no-summary
Expand Down Expand Up @@ -276,7 +276,7 @@ If you add another set of files as hardlinks to the cached copies, it will
print the second letter as `H`.

```console
$ xvc file track dir-0002 --recheck-method hardlink
$ xvc file track dir-0002/ --recheck-method hardlink

$ xvc file list dir-0002
FH 2005 [..] 447933dc 447933dc dir-0002/file-0005.bin
Expand Down
2 changes: 1 addition & 1 deletion book/src/ref/xvc-storage-new-local.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ $ xvc file remove --from-storage backup dir-0001/

`--name NAME` is not checked to be unique but you should use unique storage names to refer them later.

`--path PATH` should be accessible for writing and shouldn't already exist.
`--path PATH` should be accessible for writing and shouldn't already exist.

## Technical Details

Expand Down
5 changes: 1 addition & 4 deletions book/src/ref/xvc-storage-new-minio.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $ xvc file track dir-0001
You can define a storage bucket as storage and begin to use it.

```console,ignore
$ xvc storage new minio --name backup --endpoint http://emresult.com:9000 --bucket-name one --region us-east-1 --storage-prefix xvc
$ xvc storage new minio --name backup --endpoint http://e1.xvc.dev:9000 --bucket-name xvc-tests --region us-east-1 --storage-prefix xvc

```

Expand Down Expand Up @@ -147,7 +147,6 @@ You may need to consider this when you have servers running in exact URLs.
If you have a `http://minio.example.com:9001` as a Minio server, you may want to supply `http://example.com:9001` as the endpoint, and `minio` as the bucket name to form the correct URL.
This behavior may change in the future.


## Technical Details

This command requires Xvc to be compiled with `minio` feature, which is _on_ by default.
Expand All @@ -162,5 +161,3 @@ A file that's found in `.xvc/{{HASH_PREFIX}}/{{CACHE_PATH}}` is saved to `http:/
`{{REPO_ID}}` is the unique identifier for the repository created during `xvc init`.
Hence if you use a common storage for different Xvc projects, their files are kept under different directories.
There is no inter-project deduplication.


2 changes: 1 addition & 1 deletion book/src/ref/xvc-storage-new-rsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $ xvc file track dir-0001
You can define a storage bucket as storage and begin to use it.

```console
$ xvc storage new rsync --name backup --host one.emresult.com --user iex --storage-dir /tmp/xvc-backup/
$ xvc storage new rsync --name backup --host e1.xvc.dev --user iex --storage-dir /tmp/xvc-backup/

```

Expand Down
10 changes: 5 additions & 5 deletions config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xvc-config"
version = "0.6.10"
version = "0.6.11"
edition = "2021"
description = "Xvc configuration management"
authors = ["Emre Şahin <[email protected]>"]
Expand All @@ -16,8 +16,8 @@ name = "xvc_config"
crate-type = ["rlib"]

[dependencies]
xvc-logging = { version = "0.6.10", path = "../logging" }
xvc-walker = { version = "0.6.10", path = "../walker" }
xvc-logging = { version = "0.6.11", path = "../logging" }
xvc-walker = { version = "0.6.11", path = "../walker" }


## Cli and config
Expand All @@ -33,7 +33,7 @@ crossbeam-channel = "^0.5"
crossbeam = "^0.8"

## File system
walkdir = "^2.4"
walkdir = "^2.5"

## Logging and errors
thiserror = "^1.0"
Expand All @@ -45,4 +45,4 @@ fern = { version = "^0.6", features = ["colored"] }
regex = "^1.10"
strum = "^0.26"
strum_macros = "^0.26"
lazy_static = "^1.4"
lazy_static = "^1.5"
27 changes: 14 additions & 13 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xvc-core"
version = "0.6.10"
version = "0.6.11"
edition = "2021"
description = "Xvc core for common elements for all commands"
authors = ["Emre Şahin <[email protected]>"]
Expand All @@ -16,13 +16,13 @@ name = "xvc_core"
crate-type = ["rlib"]

[dependencies]
xvc-config = { version = "0.6.10", path = "../config" }
xvc-logging = { version = "0.6.10", path = "../logging" }
xvc-ecs = { version = "0.6.10", path = "../ecs" }
xvc-walker = { version = "0.6.10", path = "../walker" }
xvc-config = { version = "0.6.11", path = "../config" }
xvc-logging = { version = "0.6.11", path = "../logging" }
xvc-ecs = { version = "0.6.11", path = "../ecs" }
xvc-walker = { version = "0.6.11", path = "../walker" }

## Cli and config
clap = { version = "^4.4", features = ["derive"] }
clap = { version = "^4.5", features = ["derive"] }
directories-next = "2.0"

## Hashing
Expand All @@ -38,20 +38,20 @@ serde = { version = "^1.0", features = ["derive"] }
serde_yaml = "^0.9"
serde_json = "^1.0"
rmp = "^0.8"
rmp-serde = "1.1.2"
rmp-serde = "1.3.0"
toml = "^0.8"

## Network
reqwest = { version = "^0.11", features = ["blocking", "json", "gzip"] }

## Parallelization
rayon = "^1.8"
rayon = "^1.10"
crossbeam-channel = "^0.5"
crossbeam = "^0.8"

## File system
jwalk = "^0.8"
walkdir = "^2.4"
walkdir = "^2.5"
relative-path = { version = "^1.9", features = ["serde"] }
path-absolutize = "^3.1"
glob = "^0.3"
Expand All @@ -60,6 +60,7 @@ glob = "^0.3"
thiserror = "^1.0"
anyhow = "^1.0"
log = "^0.4"
peak_alloc = "^0.2"
### meta-logging-in-format is required for sled: https://github.com/spacejam/sled/issues/1384
fern = { version = "^0.6", features = ["colored"] }

Expand All @@ -71,15 +72,15 @@ paste = "1.0"
regex = "^1.10"
strum = "^0.26"
strum_macros = "^0.26"
lazy_static = "^1.4"
uuid = { version = "^1.6", features = ["serde", "v4", "fast-rng"] }
lazy_static = "^1.5"
uuid = { version = "^1.10", features = ["serde", "v4", "fast-rng"] }
hex = { version = "^0.4", features = ["serde"] }
cached = "^0.53"
derive_more = "^0.99"
itertools = "^0.13"


[dev-dependencies]
xvc-test-helper = { version = "0.6.10", path = "../test_helper/" }
proptest = "^1.4"
xvc-test-helper = { version = "0.6.11", path = "../test_helper/" }
proptest = "^1.5"
test-case = "^3.3"
Loading
Loading