All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Now only file deletions will be assumed to be crate deletions.
Thus skipping all files with extension helps us to get past the initial
commit which includes such files, like .github/*.yml
.
Related to https://github.com/rust-lang/docs.rs/pull/1807#issuecomment-1235158502
git-repository
.
This fixes the 'zlib stream broken' issue when fetching crates.io
changes which was caused by git-repository
configuring for
max-performance by default, which affects a crate used by git2
as
well. For some reason, changing to zlib-ng
as backend wasn't taken
kindly by libgit2
causing it to fail after a short while of receiving
a pack from the remote.
The fix avoids making such modifications to the zlib crate, allowing
both crates, git-repository
and git2
to co-exist in the same
dependency tree.
5b2e3ce
)ac83e7a
)git-repository
. (23a66b9
)e93f1c6
)7616db2
)02f715e
)4b7fc6e
)
Change::Added
. This ignored the fact that any line could also
carry a yanked crate, misrepresenting them.
This is now fixed, and yanked crates generally show up as
Change::Yanked
.
One might take this as a hint that diffentiating by yank status might
not be that useful after all as it doesn't scale that well. Maybe
a future version changes how Change
is represented.
For good measure, now using +
in the refspec to assure it forces
an update.
gitoxide
Repository
instead of git2::Repository
This comes with plenty of changes to the API of the
last_seen_reference()
and to the lower-level methods that take
object ids (now git::hash::ObjectId
.
Note that git2
is still used internally for fetching and cloning.
This change was made to assure that at no time there are two open
repositories (once for git2, once for gitoxide
), as this has the
potential to double resource usage for file handles.
CloneOptions
into index
module.
The index
module is now public for that reason.Clippy helped 2 times to make code idiomatic.
gitoxide
(23e14af
)eb148e5
)ae3f971
)68ff142
)371b512
)3749220
)7cee17e
)9ba7921
)3416414
)eadc65f
)55d71dc
)cd86f5b
)fa9cfab
)gitoxide
Repository
instead of git2::Repository
(2d3a182
)272bec8
)8a1bc25
)45494f0
)61e217a
)aeb6f45
)6dadfb7
)ebacafd
)877b519
)56bfad7
)365bcf0
)c0295c5
)0efccd4
)Index
on the new fixture (f9e31f2
)9a2ce43
)d28591b
)7e85688
)0c77e40
)78e05bd
)946ca4c
)CloneOptions
into index
module. (07f4b6c
)ecd84eb
)9a5f312
)Now that the ecosystem experienced its first (known) supply-chain attack crates can also be deleted and we should be able to detect that to allow downstream users to act on this automatically.
Clippy helped 1 time to make code idiomatic.
43c63ca
)cc19788
)2701f5c
)aba9087
)df91215
)220b943
)3831937
)0301da5
)40655bd
)d273245
)
git2
v0.14, a BREAKING change. In order to use this release, assure that other dependencies also use git2
v0.14.31e82c7
)997ea73
)e78694f
)5af8ec4
)e228d92
)f00226b
)448eec7
)
CloneOptions
to allow private crate index repositoriesIndex::from_path_or_cloned_with_options(…)
to allow cloning from different crates repositories.ed5c1ac
)
peek_changes(…)
.eb244b7
)
(fetch|peek)_changes_with_options(git2::FetchOptions)
variants.0167119
)
6456fa2
)
peek_changes()
method, which is like fetch_changes()
, but doesn't remember which changes it already saw. Use indx.last_seen_reference().set_target(oid)
to get a similar effect as if fetch_changes()
had been called.crates-index
crateCrateVersion::from_crates_diff_json(...)
was removed in favor of CrateVersion::from_str(...)
which is powered by serde
.38d9163
)
Add a tutorial to the documentation.
2d0c816
)
Maybe ... the version is too new? Odd that it works locally though.
Now every ref path is supported.
It's impossible to work without it, I think :).
Otherwise, just abort early.
381e7cc
)706636b
)cdfc689
)3a5eb46
)91bf44d
)36b79de
)120d752
)42a9800
)0a738f3
)dda7c80
)714d7cf
)ae26330
)959fde0
)f4ea940
)05bffd6
)b11f6df
)4860906
)a052f41
)c4bf948
)accb62d
)b0f19b0
)601dc2d
)ef53496
)97a5b81
)81c95f2
)988b668
)caa5879
)56d416a
)42e6803
)a4e6e7e
)b784f1c
)787bdac
)ed7ca36
)b0dd277
)708d9c0
)eee5134
)d06c4a0
)24c1c81
)97b417a
)2ef9c02
)8048a2c
)9ef08fa
)11a006b
)42e1290
)887c088
)607d747
)3ce91e8
)8801ec2
)e451067
)f89651b
)d49f62f
)d0d4307
)f9f67ef
)a978136
)77bbd20
)2d0d5d9
)094c788
)f9d531a
)fdf281e
)1c0b2c0
)f1568c0
)