Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
225: Fix the benchmarks datasets URL format r=Kerollmops a=Kerollmops

We were using an URL of the form _git://github.com/orga/repo.git_ which is wrong and GitHub broke it recently. I just changed it to make it valid by using the https://github.com/orga/repo.git format.

This PR also changes the version of `retain_mut` to _=0.1.7_ to avoid CI-breaking warnings. If you want to understand the reason why I am doing that you can read more in RoaringBitmap#224.

Co-authored-by: Kerollmops <[email protected]>
  • Loading branch information
bors[bot] and Kerollmops authored Jun 28, 2022
2 parents 0035230 + b56f78e commit d84b634
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
/Cargo.lock
/proptest-regressions
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ license = "MIT OR Apache-2.0"
[dependencies]
bytemuck = "1.7.3"
byteorder = "1.4.3"
retain_mut = "0.1.6"
retain_mut = "=0.1.7"

[features]
simd = []
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ roaring = { path = ".." }

[dev-dependencies]
once_cell = "1.9"
git2 = { version = "0.13", default-features = false, features = ["vendored-openssl"] }
git2 = { version = "0.13", default-features = false, features = ["https", "vendored-openssl"] }
zip = { version = "0.5", default-features = false, features = ["deflate"] }
indicatif = "0.16"
criterion = { version = "0.3", features = ["html_reports"] }
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benches/datasets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fn init_datasets() -> Result<PathBuf, Box<dyn std::error::Error>> {
if !Path::new(&repo_path).exists() {
git2::build::RepoBuilder::new()
.fetch_options(fetch_opts)
.clone("git://github.com/RoaringBitmap/real-roaring-datasets.git", &repo_path)?;
.clone("https://github.com/RoaringBitmap/real-roaring-datasets.git", &repo_path)?;
} else {
let repo = git2::Repository::open(&repo_path)?;
repo.find_remote("origin")?.fetch(&["master"], Some(&mut fetch_opts), None)?;
Expand Down

0 comments on commit d84b634

Please sign in to comment.