Bump tantivy to the latest commit on main branch, fix compilation issues, and open a PR
Follow these steps to bump tantivy to its latest version:
Run: git branch --show-current
If the current branch is not main, abort and ask the user to switch to the main branch first.
Run: git pull origin main
This ensures we're working from the latest code.
Run: gh api repos/quickwit-oss/tantivy/commits/main --jq '.sha'
Extract the first 7 characters as the short SHA.
Edit quickwit/Cargo.toml and update the rev field in the tantivy dependency to the new short SHA.
The line looks like:
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "XXXXXXX", ... }
Run cargo check in the quickwit directory to verify compilation.
If there are compilation errors:
Repeat until cargo check passes.
Run make fmt from the quickwit/ directory to format the code.
Run make update-licenses from the quickwit/ directory, then move the generated file:
mv quickwit/LICENSE-3rdparty.csv ./LICENSE-3rdparty.csv
Get the git username: git config user.name | tr ' ' '-' | tr '[:upper:]' '[:lower:]'
Get today's date: date +%Y-%m-%d
Create and checkout a new branch named: {username}/bump-tantivy-{date}
Example: paul/bump-tantivy-2024-03-15
Stage all modified files and create a commit with message:
Bump tantivy to {short-sha}
Push the branch and open a PR using:
gh pr create --title "Bump tantivy to {short-sha}" --body "Updates tantivy dependency to the latest commit on main."
Report the PR URL to the user when complete.
npx skills add quickwit-oss/bump-tantivy下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Capture and automate macOS UI with the Peekaboo CLI.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
Start voice calls via the OpenClaw voice-call plugin.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
iMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer