Comments (5)
I think this is the right practise for crates producing a binary.
The cargo.lock is not supposed to be updated if the versions in it are compatible with the cargo.toml.
from tantivy-cli.
I think this would be ok if we have exact version number for each component. Not something like:
clap = "2"
Since now when I clone this repo and run cargo build
on it Cargo.lock will be modified. It doesn't force exact versions numbers on my side.
It means that if I will create PR it will always contain modified 'Cargo.lock` in it.
from tantivy-cli.
I misunderstand your ticket. (the title is quite misleading)
You just want to add it to .gitignore is this correct?
I'd like to keep it as is to ensure I don't forget updating it on releases.
I'm ok with adding
.idea/
*.iml
to .gitignore.
I'm not sure about Cargo.lock.
I am a bit afraid I might forget to ever update it if it is on .gitignore.
It means that if I will create PR it will always contain modified 'Cargo.lock` in it.
Only if you create your commit by adding all modified file into it.
from tantivy-cli.
My main point was about adding Cargo.lock to .gitignore and remove it from the git repo.
But after reading rust documentation it looks that they recommend for binaries adding Cargo.lock to the repo.
The problem here is then that cargo build
shouldn't update cargo.lock on my computer. It should instead pick the right versions from this file.
Not sure why this happened.
from tantivy-cli.
I think the meta reason is that I updated master and not develop. You might want to retry. Closing. Please send a PR if you want to put your editor files in the .gitignore file. I'm ok with that.
from tantivy-cli.
Related Issues (20)
- thread 'main' panicked at 'Unknown error while starting watching directory "wikipedia-index" [...] tantivy-0.9.1/src/directory/mmap_directory.rs:167:17 HOT 4
- [feature req] allow real json in indexing HOT 1
- Panic at "tantivy new" HOT 2
- Reach parity with core tantivy HOT 1
- Ignore fields that aren't indexed HOT 1
- Update to use tantivy 0.13 HOT 1
- Search command println panics with broken pipes HOT 3
- Compilation issue when running `cargo install tantivy-cli` HOT 2
- Rephrase Question: Should the field be fast HOT 1
- Prefix search HOT 1
- I do create f64 field, it creates text field HOT 2
- Successfully build on target "aarch64-unknown-linux-musl" but got "Illegal instruction (core dumped)" error when run HOT 1
- benchmark command shows 4 head columns but only 3 data columns HOT 1
- Add inspect command to print space usage
- How to define schema for source code? HOT 2
- CLI panics if schema contains an json_document field type HOT 4
- ask for fast field on text
- Thread Merge Error HOT 3
- What should be the schema for a non json log text file HOT 1
- CLI panics when `agg` option is omitted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tantivy-cli.