diff --git a/Cargo.toml b/Cargo.toml index 2e985b2c1a..0d33a232b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tantivy" -version = "0.19.0" +version = "0.20.0" authors = ["Paul Masurel "] license = "MIT" categories = ["database-implementations", "data-structures"] @@ -55,13 +55,13 @@ measure_time = "0.8.2" async-trait = "0.1.53" arc-swap = "1.5.0" -columnar = { version="0.1", path="./columnar", package ="tantivy-columnar" } -sstable = { version="0.1", path="./sstable", package ="tantivy-sstable", optional = true } -stacker = { version="0.1", path="./stacker", package ="tantivy-stacker" } -query-grammar = { version= "0.19.0", path="./query-grammar", package = "tantivy-query-grammar" } -tantivy-bitpacker = { version= "0.3", path="./bitpacker" } +columnar = { version= "0.1", path="./columnar", package ="tantivy-columnar" } +sstable = { version= "0.1", path="./sstable", package ="tantivy-sstable", optional = true } +stacker = { version= "0.1", path="./stacker", package ="tantivy-stacker" } +query-grammar = { version= "0.20.0", path="./query-grammar", package = "tantivy-query-grammar" } +tantivy-bitpacker = { version= "0.4", path="./bitpacker" } common = { version= "0.5", path = "./common/", package = "tantivy-common" } -tokenizer-api = { version="0.1", path="./tokenizer-api", package="tantivy-tokenizer-api" } +tokenizer-api = { version= "0.1", path="./tokenizer-api", package="tantivy-tokenizer-api" } sketches-ddsketch = { version = "0.2.1", features = ["use_serde"] } futures-util = { version = "0.3.28", optional = true } diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000000..d2ee79851a --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,21 @@ +# Release a new Tantivy Version + +## Steps + +1. Identify new packages in workspace since last release +2. Identify changed packages in workspace since last release +3. Bump version in `Cargo.toml` and their dependents for all changed packages +4. Update version of root `Cargo.toml` +5. Publish version starting with leaf nodes +6. Set git tag with new version + + +In conjucation with `cargo-release` Steps 1-4 (I'm not sure if the change detection works): +Set new packages to version 0.0.0 + +Replace prev-tag-name +```bash +cargo release --workspace --no-publish -v --prev-tag-name 0.19 --push-remote origin minor --no-tag --execute +``` + +no-tag or it will create tags for all the subpackages diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 3a63535479..0000000000 --- a/appveyor.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Appveyor configuration template for Rust using rustup for Rust installation -# https://github.com/starkat99/appveyor-rust - -os: Visual Studio 2015 -environment: - matrix: - - channel: stable - target: x86_64-pc-windows-msvc - -install: - - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - - rustup-init -yv --default-toolchain %channel% --default-host %target% - - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - - if defined msys_bits set PATH=%PATH%;C:\msys64\mingw%msys_bits%\bin - - rustc -vV - - cargo -vV - -build: false - -test_script: - - REM SET RUST_LOG=tantivy,test & cargo test --all --verbose --no-default-features --features lz4-compression --features mmap - - REM SET RUST_LOG=tantivy,test & cargo test test_store --verbose --no-default-features --features lz4-compression --features snappy-compression --features brotli-compression --features mmap - - REM SET RUST_BACKTRACE=1 & cargo build --examples diff --git a/bitpacker/Cargo.toml b/bitpacker/Cargo.toml index 4c14a23988..58991759b9 100644 --- a/bitpacker/Cargo.toml +++ b/bitpacker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tantivy-bitpacker" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["Paul Masurel "] license = "MIT" diff --git a/columnar/Cargo.toml b/columnar/Cargo.toml index 1e0b378935..51884d4473 100644 --- a/columnar/Cargo.toml +++ b/columnar/Cargo.toml @@ -3,16 +3,20 @@ name = "tantivy-columnar" version = "0.1.0" edition = "2021" license = "MIT" +homepage = "https://github.com/quickwit-oss/tantivy" +repository = "https://github.com/quickwit-oss/tantivy" +desciption = "column oriented storage for tantivy" +categories = ["database-implementations", "data-structures", "compression"] [dependencies] itertools = "0.10.5" fnv = "1.0.7" fastdivide = "0.4.0" -stacker = { path = "../stacker", package="tantivy-stacker"} -sstable = { path = "../sstable", package = "tantivy-sstable" } -common = { path = "../common", package = "tantivy-common" } -tantivy-bitpacker = { version= "0.3", path = "../bitpacker/" } +stacker = { version= "0.1", path = "../stacker", package="tantivy-stacker"} +sstable = { version= "0.1", path = "../sstable", package = "tantivy-sstable" } +common = { version= "0.5", path = "../common", package = "tantivy-common" } +tantivy-bitpacker = { version= "0.4", path = "../bitpacker/" } serde = "1.0.152" [dev-dependencies] diff --git a/query-grammar/Cargo.toml b/query-grammar/Cargo.toml index 91b1c4ad0f..4b00cd1554 100644 --- a/query-grammar/Cargo.toml +++ b/query-grammar/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tantivy-query-grammar" -version = "0.19.0" +version = "0.20.0" authors = ["Paul Masurel "] license = "MIT" categories = ["database-implementations", "data-structures"] diff --git a/sstable/Cargo.toml b/sstable/Cargo.toml index 58fa68b419..39f44798aa 100644 --- a/sstable/Cargo.toml +++ b/sstable/Cargo.toml @@ -3,9 +3,14 @@ name = "tantivy-sstable" version = "0.1.0" edition = "2021" license = "MIT" +homepage = "https://github.com/quickwit-oss/tantivy" +repository = "https://github.com/quickwit-oss/tantivy" +keywords = ["search", "information", "retrieval", "sstable"] +categories = ["database-implementations", "data-structures", "compression"] +desciption = "sstables for tantivy" [dependencies] -common = {path="../common", package="tantivy-common"} +common = {version= "0.5", path="../common", package="tantivy-common"} tantivy-fst = "0.4" # experimental gives us access to Decompressor::upper_bound zstd = { version = "0.12", features = ["experimental"] } diff --git a/stacker/Cargo.toml b/stacker/Cargo.toml index e65ddac870..d7cf8c0cdf 100644 --- a/stacker/Cargo.toml +++ b/stacker/Cargo.toml @@ -3,6 +3,9 @@ name = "tantivy-stacker" version = "0.1.0" edition = "2021" license = "MIT" +homepage = "https://github.com/quickwit-oss/tantivy" +repository = "https://github.com/quickwit-oss/tantivy" +description = "term hashmap used for indexing" [dependencies] murmurhash32 = "0.3" diff --git a/tokenizer-api/Cargo.toml b/tokenizer-api/Cargo.toml index cc325d0143..201f84decd 100644 --- a/tokenizer-api/Cargo.toml +++ b/tokenizer-api/Cargo.toml @@ -4,6 +4,8 @@ version = "0.1.0" license = "MIT" edition = "2021" description = "Tokenizer API of tantivy" +homepage = "https://github.com/quickwit-oss/tantivy" +repository = "https://github.com/quickwit-oss/tantivy" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html