Scott Schafer
251a2c7915
cargo-test-support: Make publish http api write to file system
2022-09-22 10:00:49 -06:00
bors
e5ec3a8ff9
Auto merge of #11004 - jonhoo:bump-git2, r=weihanglo
...
Bump git2 to 0.15 and libgit2-sys to 0.14
This will allow cargo to avoid vendored builds of git2 in up-to-date
environments going forward, and brings in the [libgit2 1.4.4 CVE fix].
[libgit2 1.4.4 CVE fix]: https://github.com/libgit2/libgit2/releases/tag/v1.4.4
2022-08-27 09:22:12 +00:00
Jon Gjengset
ed78e6b747
Bump snapbox to 0.3
...
0.3 has a small number of [breaking changes], but makes diffs much
easier to visually parse by eliding large sections of unchanged content.
[breaking changes]: https://github.com/assert-rs/trycmd/blob/main/crates/snapbox/CHANGELOG.md#030---2022-08-01
2022-08-17 22:07:20 +00:00
Jon Gjengset
30fe22b260
Bump git2 to 0.15 and libgit2-sys to 0.14
...
This will allow cargo to avoid vendored builds of git2 in up-to-date
environments going forward, and brings in the [libgit2 1.4.4 CVE fix].
[libgit2 1.4.4 CVE fix]: https://github.com/libgit2/libgit2/releases/tag/v1.4.4
2022-08-17 22:02:28 +00:00
Eric Holk
e9c7544c19
Move Windows path test function to test code
2022-08-03 15:59:59 -07:00
Yuki Okushi
819f7a5cff
Enforce to use tar v0.4.38
2022-06-01 19:17:15 +09:00
klensy
867a580f29
dedupe toml_edit crate, followup #10603
2022-05-02 03:10:38 +03:00
Ed Page
5eaec4fa2f
refactor(test-support): Use snapbox to look up binaries
2022-04-27 20:45:36 -05:00
Weihang Lo
0e044546f8
Bump git2@0.14.2 and libgit2-sys@0.13.2
...
The previous libgit2-sys release forgot to include the fix of libgit2 1.4.2.
https://github.com/rust-lang/git2-rs/pull/820#issuecomment-1064284814
That might cause problems when people don't have "Git for Windows"
installed on their machines.
2022-03-15 07:26:45 +08:00
Loïc BRANSTETT
dd701a17f3
Update git2 to 0.14.1 and git2-curl to 0.15.0 and libgit2-sys to 0.13.1
2022-03-01 18:39:22 +01:00
Eric Huss
54e7f684a8
Sync toml_edit versions
2022-01-25 14:33:32 -08:00
Ed Page
320c279f43
Port cargo from toml-rs to toml_edit
...
Benefits:
- A TOML 1.0 compliant parser
- Unblock future work
- Have `cargo init` add the current crate to the workspace, rather
than error
- #5586 : Upstream `cargo-add`
2022-01-13 09:27:27 -06:00
Alex Crichton
cab1e3566b
Fix CI testing
2021-10-22 13:30:46 -07:00
Alex Crichton
c687d83ada
Remove `authors` directives from Cargo crates
...
Most of these are pretty dated and Cargo defaults nowadays to not
emitting an `authors` field so this commit also removes them from the
manifests.
2021-10-22 10:27:20 -07:00
Alex Crichton
cabe1cca0a
Upgrade Cargo to the 2021 edition
...
This didn't actually result in any code changes yet, for now this simply
flips the edition flag for all of our crates and documentation.
2021-10-22 10:25:52 -07:00
Eric Huss
16b5402fd7
testsuite: Switch to colored diffs with Myers diff.
2021-06-16 15:43:29 -07:00
Eric Huss
e132bb53ab
Move comparison and diffing code to a new module.
...
This includes various minor refactorings to try to clean things up
and provide better error messages.
2021-06-16 09:44:29 -07:00
Paul Mabileau
a5b4b4710a
Bump `url` to 2.2.2 where `Into<String>` for `Url` is used
...
The base package, `cargo-test-support` and `mdman`.
Signed-off-by: Paul Mabileau <paulmabileau@hotmail.fr>
2021-05-10 22:20:11 +02:00
Eric Huss
c840160a6d
Remove the dev-dependency cycle on cargo.
2021-03-20 17:42:42 -07:00
Eric Huss
0ad3fb1b57
Remove CargoResult from cargo-test-support.
2021-03-20 17:42:41 -07:00
Eric Huss
888100352a
Move ProcessBuilder to cargo-util.
2021-03-20 15:19:03 -07:00
bors
638f33d036
Auto merge of #9035 - weihanglo:fix/git-init-search-path, r=alexcrichton
...
Fix: set default git config search path for tests
Fixes https://github.com/rust-lang/cargo/issues/8863 by setting the default config search path.
Just wait https://github.com/rust-lang/git2-rs/pull/656 being merged and update Cargo.toml the new release of git2-rs 😄
2021-01-22 15:29:39 +00:00
Weihang Lo
06d65a48f8
chore: bump versions of git2 and libgit2-sys
2021-01-22 23:27:44 +08:00
Dirkjan Ochtman
c221fec911
Implement support for rust-version field in project metadata
2021-01-20 11:40:41 +01:00
CrLF0710
ad0940c9ad
Add missing license field.
2020-06-20 10:03:25 +08:00
Alex Tokarev
38aa4a2353
Remove unused transitive dependencies: miniz_oxide, adler32
...
Fixes #8019
2020-03-23 19:19:29 +03:00
Alex Crichton
82239d7a10
Bump libgit2 dependencies
...
Brings in rust-lang/git2-rs#527
Closes #7466
Closes #7988
2020-03-13 12:26:46 -07:00
Alex Crichton
5b6e7397ed
Update libgit2 dependency
...
Brings in a few CVE fixes and such for libgit2, bringing libgit to
0.99.0
2020-02-26 09:39:05 -08:00
Matthias Krüger
8245e02924
bump git2 dependencies
2019-12-19 23:29:41 +01:00
Eric Huss
079b3fbad8
Fix `tar` duplicate artifact in rust-lang/rust.
2019-09-18 17:41:48 -07:00
Alex Crichton
0dd79670d4
Add back a full integration test for `-Zbuild-std`
...
Only run these tests on one CI builder (not all platforms) though. This
is extremely resource intensive since it rebuilds libstd. Currently this
does not share a build directly like before because the number of tests
are supposed to be small, but if necessary we can add that in later too.
2019-09-16 11:47:09 -07:00
Alex Crichton
9115b2c326
Extract `support` directory to its own crate
...
Extract out all our test support code to its own standalone crate so it
can be shared between multiple test suites if necessary.
2019-09-16 11:47:09 -07:00