cargo.git
7 years agoMerge cargo (0.31.0-4) import into refs/heads/workingbranch
Ximin Luo [Tue, 20 Nov 2018 06:50:59 +0000 (06:50 +0000)]
Merge cargo (0.31.0-4) import into refs/heads/workingbranch

7 years ago_disable_fetch_cross_tests
Rust Maintainers [Tue, 20 Nov 2018 06:50:59 +0000 (06:50 +0000)]
_disable_fetch_cross_tests

Gbp-Pq: Name 2005_disable_fetch_cross_tests.patch

7 years ago_disable-net-tests
Rust Maintainers [Tue, 20 Nov 2018 06:50:59 +0000 (06:50 +0000)]
_disable-net-tests

Gbp-Pq: Name 2002_disable-net-tests.patch

7 years ago_sparc64_disable_incremental_build
Rust Maintainers [Tue, 20 Nov 2018 06:50:59 +0000 (06:50 +0000)]
_sparc64_disable_incremental_build

Gbp-Pq: Name 2007_sparc64_disable_incremental_build.patch

7 years agoFix can_run_doc_tests order depends on hash.
Eric Huss [Sun, 4 Nov 2018 18:38:51 +0000 (10:38 -0800)]
Fix can_run_doc_tests order depends on hash.

The deps are sorted, but the name is the same so the order depends on the metadata hash.
Fix by sorting by the actual name, too.

Gbp-Pq: Name 1002_fix_doc_tests_order_hash.patch

7 years ago_fix_inc_exc_tests
Rust Maintainers [Tue, 20 Nov 2018 06:50:59 +0000 (06:50 +0000)]
_fix_inc_exc_tests

Gbp-Pq: Name 1001_fix_inc_exc_tests.patch

7 years agocargo (0.31.0-4) unstable; urgency=medium
Ximin Luo [Tue, 20 Nov 2018 06:50:59 +0000 (06:50 +0000)]
cargo (0.31.0-4) unstable; urgency=medium

  * Don't set RUSTFLAGS in d/rules. (Closes: #914110)

[dgit import unpatched cargo 0.31.0-4]

7 years agoImport cargo_0.31.0-4.debian.tar.xz
Ximin Luo [Tue, 20 Nov 2018 06:50:59 +0000 (06:50 +0000)]
Import cargo_0.31.0-4.debian.tar.xz

[dgit import tarball cargo 0.31.0-4 cargo_0.31.0-4.debian.tar.xz]

7 years agoMerge cargo (0.31.0-3) import into refs/heads/workingbranch
Ximin Luo [Fri, 9 Nov 2018 10:56:54 +0000 (10:56 +0000)]
Merge cargo (0.31.0-3) import into refs/heads/workingbranch

7 years ago_disable_fetch_cross_tests
Rust Maintainers [Fri, 9 Nov 2018 10:56:54 +0000 (10:56 +0000)]
_disable_fetch_cross_tests

Gbp-Pq: Name 2005_disable_fetch_cross_tests.patch

7 years ago_disable-net-tests
Rust Maintainers [Fri, 9 Nov 2018 10:56:54 +0000 (10:56 +0000)]
_disable-net-tests

Gbp-Pq: Name 2002_disable-net-tests.patch

7 years ago_sparc64_disable_incremental_build
Rust Maintainers [Fri, 9 Nov 2018 10:56:54 +0000 (10:56 +0000)]
_sparc64_disable_incremental_build

Gbp-Pq: Name 2007_sparc64_disable_incremental_build.patch

7 years agoFix can_run_doc_tests order depends on hash.
Eric Huss [Sun, 4 Nov 2018 18:38:51 +0000 (10:38 -0800)]
Fix can_run_doc_tests order depends on hash.

The deps are sorted, but the name is the same so the order depends on the metadata hash.
Fix by sorting by the actual name, too.

Gbp-Pq: Name 1002_fix_doc_tests_order_hash.patch

7 years ago_fix_inc_exc_tests
Rust Maintainers [Fri, 9 Nov 2018 10:56:54 +0000 (10:56 +0000)]
_fix_inc_exc_tests

Gbp-Pq: Name 1001_fix_inc_exc_tests.patch

7 years agocargo (0.31.0-3) unstable; urgency=medium
Ximin Luo [Fri, 9 Nov 2018 10:56:54 +0000 (10:56 +0000)]
cargo (0.31.0-3) unstable; urgency=medium

  * Tweak the cargo wrapper script to be more robust.

[dgit import unpatched cargo 0.31.0-3]

7 years agoImport cargo_0.31.0-3.debian.tar.xz
Ximin Luo [Fri, 9 Nov 2018 10:56:54 +0000 (10:56 +0000)]
Import cargo_0.31.0-3.debian.tar.xz

[dgit import tarball cargo 0.31.0-3 cargo_0.31.0-3.debian.tar.xz]

7 years agoImport cargo_0.31.0.orig.tar.gz
Ximin Luo [Sun, 4 Nov 2018 11:50:33 +0000 (11:50 +0000)]
Import cargo_0.31.0.orig.tar.gz

[dgit import orig cargo_0.31.0.orig.tar.gz]

7 years agoImport cargo_0.31.0.orig-vendor.tar.gz
Ximin Luo [Sun, 4 Nov 2018 11:50:33 +0000 (11:50 +0000)]
Import cargo_0.31.0.orig-vendor.tar.gz

[dgit import orig cargo_0.31.0.orig-vendor.tar.gz]

7 years agoDeclare fast forward from 0.28.0-2
Vasudev Kamath [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
Declare fast forward from 0.28.0-2

[dgit --quilt=gbp --overwrite]

7 years agoReplace causes() with iter_chain()
Vasudev Kamath [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
Replace causes() with iter_chain()

causes() in failure crate is deprecated and since cargo
does not allow warnings causes build failure.
Forwarded: no
Last-Update: 2018-08-11

Gbp-Pq: Name 1001_failure_deprecated_fix.patch

7 years agoDisable fetch tests to allow build on arm and ppc architecture
Vasudev Kamath [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
Disable fetch tests to allow build on arm and ppc architecture

These tests are disabled to allow building on release architecture.
Bug: https://github.com/rust-lang/cargo/issues/5864
Last-Update: 2018-08-05

Gbp-Pq: Name 2005_disable_fetch_cross_tests.patch

7 years agoUse libssh2 from system by default
Vasudev Kamath [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
Use libssh2 from system by default

Bug: https://github.com/alexcrichton/ssh2-rs/issues/88
Forwarded: not-needed
Last-Update: 2018-07-28

Gbp-Pq: Name 2003_force-use-system-libssh2.patch

7 years agoDisable network tests
Ximin Luo [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
Disable network tests

Forwarded: TODO

Gbp-Pq: Name 2002_disable-net-tests.patch

7 years agoAlways use system libgit2
Ximin Luo [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
Always use system libgit2

Forwarded: not-needed

Gbp-Pq: Name 2001_use-system-libgit2.patch

7 years ago_clean-cargo-deps
Ximin Luo [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
_clean-cargo-deps

Gbp-Pq: Name 2004_clean-cargo-deps.patch

7 years agoDisable incremental builds on sparc64
Rust Maintainers [Mon, 13 Aug 2018 15:07:13 +0000 (20:37 +0530)]
Disable incremental builds on sparc64

Incremental builds are currently unreliable on sparc64,
disable them by default for the time being.
Last-Update: 2018-08-07

Gbp-Pq: Name 2007_sparc64_disable_incremental_build.patch

7 years ago[PATCH] Support cross-compile install
Ximin Luo [Fri, 29 Jun 2018 01:57:24 +0000 (18:57 -0700)]
[PATCH] Support cross-compile install

Gbp-Pq: Name 0774e97da3894f07ed5b6f7db175027a9bc4718b.patch

7 years agoPrepare upload to unstable.
Vasudev Kamath [Mon, 13 Aug 2018 15:00:09 +0000 (20:30 +0530)]
Prepare upload to unstable.

7 years agoRefresh patch for new release.
Vasudev Kamath [Mon, 13 Aug 2018 15:06:21 +0000 (20:36 +0530)]
Refresh patch for new release.

7 years agoMerge branch 'debian/sid' into debian/experimental
Vasudev Kamath [Mon, 13 Aug 2018 14:57:58 +0000 (20:27 +0530)]
Merge branch 'debian/sid' into debian/experimental

7 years agoUpload to experimental.
Vasudev Kamath [Sun, 12 Aug 2018 17:17:43 +0000 (22:47 +0530)]
Upload to experimental.

7 years agoDrop unused wild cards from copyright
Vasudev Kamath [Sun, 12 Aug 2018 17:17:30 +0000 (22:47 +0530)]
Drop unused wild cards from copyright

7 years agoMark package compliant with Debian Policy 4.2.0
Vasudev Kamath [Sun, 12 Aug 2018 16:55:57 +0000 (22:25 +0530)]
Mark package compliant with Debian Policy 4.2.0

7 years agoPatch to fix build failure due to failure deprecated warnings
Vasudev Kamath [Sun, 12 Aug 2018 16:55:05 +0000 (22:25 +0530)]
Patch to fix build failure due to failure deprecated warnings

7 years agoUpdate copyright information for new release.
Vasudev Kamath [Sun, 12 Aug 2018 16:54:50 +0000 (22:24 +0530)]
Update copyright information for new release.

7 years agoRelease 0.28.0-2 to Debian unstable.
Ximin Luo [Sun, 12 Aug 2018 07:15:24 +0000 (00:15 -0700)]
Release 0.28.0-2 to Debian unstable.

7 years agoRecord cargo (0.28.0-2) in archive suite sid
Ximin Luo [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
Record cargo (0.28.0-2) in archive suite sid

7 years agoDisable fetch tests to allow build on arm and ppc architecture
Vasudev Kamath [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
Disable fetch tests to allow build on arm and ppc architecture

These tests are disabled to allow building on release architecture.
Bug: https://github.com/rust-lang/cargo/issues/5864
Last-Update: 2018-08-05

Gbp-Pq: Name 2005_disable_fetch_cross_tests.patch

7 years agoUse libssh2 from system by default
Vasudev Kamath [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
Use libssh2 from system by default

Bug: https://github.com/alexcrichton/ssh2-rs/issues/88
Forwarded: not-needed
Last-Update: 2018-07-28

Gbp-Pq: Name 2003_force-use-system-libssh2.patch

7 years agoDisable network tests
Ximin Luo [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
Disable network tests

Forwarded: TODO

Gbp-Pq: Name 2002_disable-net-tests.patch

7 years agoAlways use system libgit2
Ximin Luo [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
Always use system libgit2

Forwarded: not-needed

Gbp-Pq: Name 2001_use-system-libgit2.patch

7 years ago_clean-cargo-deps
Ximin Luo [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
_clean-cargo-deps

Gbp-Pq: Name 2004_clean-cargo-deps.patch

7 years agoDisable incremental builds on sparc64
Rust Maintainers [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
Disable incremental builds on sparc64

Incremental builds are currently unreliable on sparc64,
disable them by default for the time being.
Last-Update: 2018-08-07

Gbp-Pq: Name 2007_sparc64_disable_incremental_build.patch

7 years ago[PATCH] Support cross-compile install
Ximin Luo [Fri, 29 Jun 2018 01:57:24 +0000 (18:57 -0700)]
[PATCH] Support cross-compile install

Gbp-Pq: Name 0774e97da3894f07ed5b6f7db175027a9bc4718b.patch

7 years agocargo (0.28.0-2) unstable; urgency=medium
Ximin Luo [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
cargo (0.28.0-2) unstable; urgency=medium

  * Re-add `install --target` functionality, needed by dh-cargo.

[dgit import unpatched cargo 0.28.0-2]

7 years agoImport cargo_0.28.0-2.debian.tar.xz
Ximin Luo [Sun, 12 Aug 2018 07:15:23 +0000 (12:45 +0530)]
Import cargo_0.28.0-2.debian.tar.xz

[dgit import tarball cargo 0.28.0-2 cargo_0.28.0-2.debian.tar.xz]

7 years agoRe-add `install --target` functionality, needed by dh-cargo
Ximin Luo [Sun, 12 Aug 2018 07:15:17 +0000 (00:15 -0700)]
Re-add `install --target` functionality, needed by dh-cargo

7 years agoupdated changelog for 0.29.0 (not yet ready for upload)
Vasudev Kamath [Wed, 8 Aug 2018 16:32:44 +0000 (22:02 +0530)]
updated changelog for 0.29.0 (not yet ready for upload)

7 years agoUpdate patch 2003 for new libssh2-sys
Vasudev Kamath [Wed, 8 Aug 2018 15:31:55 +0000 (21:01 +0530)]
Update patch 2003 for new libssh2-sys

7 years agoRefresh patch 2002
Vasudev Kamath [Wed, 8 Aug 2018 15:31:48 +0000 (21:01 +0530)]
Refresh patch 2002

7 years agoUpdate 2001 to new libgit2-sys
Vasudev Kamath [Wed, 8 Aug 2018 15:29:05 +0000 (20:59 +0530)]
Update 2001 to new libgit2-sys

7 years agoRemove fuzz from 2004
Vasudev Kamath [Wed, 8 Aug 2018 15:28:57 +0000 (20:58 +0530)]
Remove fuzz from 2004

7 years agoUpdate upstream source from tag 'upstream/0.29.0'
Vasudev Kamath [Wed, 8 Aug 2018 15:14:32 +0000 (20:44 +0530)]
Update upstream source from tag 'upstream/0.29.0'

Update to upstream version '0.29.0'
with Debian dir 22d4e657f4c6e4a475be00484a842da4b5b3f772

7 years agoNew upstream version 0.29.0
Vasudev Kamath [Wed, 8 Aug 2018 15:13:41 +0000 (20:43 +0530)]
New upstream version 0.29.0

7 years agoChange pattern for embedded zlib
Vasudev Kamath [Wed, 8 Aug 2018 15:12:38 +0000 (20:42 +0530)]
Change pattern for embedded zlib

7 years agoUpdate unsuspicious text for new release 0.29.0
Vasudev Kamath [Wed, 8 Aug 2018 15:12:26 +0000 (20:42 +0530)]
Update unsuspicious text for new release 0.29.0

7 years agoUpload 0.28.0 to unstable.
Vasudev Kamath [Tue, 7 Aug 2018 16:44:56 +0000 (22:14 +0530)]
Upload 0.28.0 to unstable.

7 years agoDeclare fast forward from 0.27.0-2
Vasudev Kamath [Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)]
Declare fast forward from 0.27.0-2

[dgit --quilt=gbp --overwrite]

7 years agoDisable fetch tests to allow build on arm and ppc architecture
Vasudev Kamath [Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)]
Disable fetch tests to allow build on arm and ppc architecture

These tests are disabled to allow building on release architecture.
Bug: https://github.com/rust-lang/cargo/issues/5864
Last-Update: 2018-08-05

Gbp-Pq: Name 2005_disable_fetch_cross_tests.patch

7 years agoUse libssh2 from system by default
Vasudev Kamath [Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)]
Use libssh2 from system by default

Bug: https://github.com/alexcrichton/ssh2-rs/issues/88
Forwarded: not-needed
Last-Update: 2018-07-28

Gbp-Pq: Name 2003_force-use-system-libssh2.patch

7 years agoDisable network tests
Ximin Luo [Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)]
Disable network tests

Forwarded: TODO

Gbp-Pq: Name 2002_disable-net-tests.patch

7 years agoAlways use system libgit2
Ximin Luo [Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)]
Always use system libgit2

Forwarded: not-needed

Gbp-Pq: Name 2001_use-system-libgit2.patch

7 years ago_clean-cargo-deps
Ximin Luo [Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)]
_clean-cargo-deps

Gbp-Pq: Name 2004_clean-cargo-deps.patch

7 years agoDisable incremental builds on sparc64
Rust Maintainers [Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)]
Disable incremental builds on sparc64

Incremental builds are currently unreliable on sparc64,
disable them by default for the time being.
Last-Update: 2018-08-07

Gbp-Pq: Name 2007_sparc64_disable_incremental_build.patch

7 years agoPrepare upload to experimental
Vasudev Kamath [Tue, 7 Aug 2018 16:31:35 +0000 (22:01 +0530)]
Prepare upload to experimental

7 years agoDisable incremental test on sparc64 thanks to John Paul
Vasudev Kamath [Tue, 7 Aug 2018 16:29:32 +0000 (21:59 +0530)]
Disable incremental test on sparc64 thanks to John Paul

7 years agoPrepare release for experimental.
Vasudev Kamath [Sun, 5 Aug 2018 16:11:15 +0000 (21:41 +0530)]
Prepare release for experimental.

7 years agoIntroduce patch to disable fetch platform specific tests
Vasudev Kamath [Sun, 5 Aug 2018 16:10:53 +0000 (21:40 +0530)]
Introduce patch to disable fetch platform specific tests

7 years agoPrepare upload to experimental.
Vasudev Kamath [Sun, 29 Jul 2018 16:37:55 +0000 (22:07 +0530)]
Prepare upload to experimental.

7 years agoImport cargo_0.28.0.orig.tar.gz
Vasudev Kamath [Sun, 29 Jul 2018 16:37:36 +0000 (22:07 +0530)]
Import cargo_0.28.0.orig.tar.gz

[dgit import orig cargo_0.28.0.orig.tar.gz]

7 years agoImport cargo_0.28.0.orig-vendor.tar.gz
Vasudev Kamath [Sun, 29 Jul 2018 16:37:36 +0000 (22:07 +0530)]
Import cargo_0.28.0.orig-vendor.tar.gz

[dgit import orig cargo_0.28.0.orig-vendor.tar.gz]

7 years agoBump standards version to 4.1.5
Vasudev Kamath [Sun, 29 Jul 2018 16:36:10 +0000 (22:06 +0530)]
Bump standards version to 4.1.5

7 years agoUpdate copyright information.
Vasudev Kamath [Sun, 29 Jul 2018 16:36:02 +0000 (22:06 +0530)]
Update copyright information.

7 years agoDrop unwanted formatting changes from patch
Vasudev Kamath [Sun, 29 Jul 2018 12:50:13 +0000 (18:20 +0530)]
Drop unwanted formatting changes from patch

7 years agoUpdate changelog
Vasudev Kamath [Sat, 28 Jul 2018 17:37:20 +0000 (23:07 +0530)]
Update changelog

7 years agoUpdate copyright for new release.
Vasudev Kamath [Sat, 28 Jul 2018 17:36:50 +0000 (23:06 +0530)]
Update copyright for new release.

7 years agoRefresh patch 2007 for new release.
Vasudev Kamath [Sat, 28 Jul 2018 16:57:08 +0000 (22:27 +0530)]
Refresh patch 2007 for new release.

7 years agoAdd patch to use libssh2 from system
Vasudev Kamath [Sat, 28 Jul 2018 16:56:41 +0000 (22:26 +0530)]
Add patch to use libssh2 from system

7 years agoUpdate patch 2001 for new libgit2-sys version.
Vasudev Kamath [Sat, 28 Jul 2018 14:58:53 +0000 (20:28 +0530)]
Update patch 2001 for new libgit2-sys version.

7 years agoDrop patch 2008, merged upstream.
Vasudev Kamath [Sat, 28 Jul 2018 14:45:20 +0000 (20:15 +0530)]
Drop patch 2008, merged upstream.

7 years agoMore standard changelog formatting
Ximin Luo [Fri, 27 Jul 2018 12:45:10 +0000 (05:45 -0700)]
More standard changelog formatting

7 years agoFix python3 build-dep for cross-compile, multi-arch:allowed needs :native annotation...
Ximin Luo [Fri, 27 Jul 2018 12:44:41 +0000 (05:44 -0700)]
Fix python3 build-dep for cross-compile, multi-arch:allowed needs :native annotation here

7 years agoMerge branch 'debian/sid' into debian/experimental
Ximin Luo [Fri, 27 Jul 2018 12:44:34 +0000 (05:44 -0700)]
Merge branch 'debian/sid' into debian/experimental

7 years agoUpdate of the alioth ML address.
Sylvestre Ledru [Mon, 23 Jul 2018 11:20:04 +0000 (13:20 +0200)]
Update of the alioth ML address.

7 years agoUpdate changelog (not ready for release).
Vasudev Kamath [Sun, 22 Jul 2018 16:44:58 +0000 (22:14 +0530)]
Update changelog (not ready for release).

7 years agoUpdate upstream source from tag 'upstream/0.28.0'
Vasudev Kamath [Sun, 22 Jul 2018 16:38:12 +0000 (22:08 +0530)]
Update upstream source from tag 'upstream/0.28.0'

Update to upstream version '0.28.0'
with Debian dir 1abcf632df0eae855f6df6f9e110cb16fc624d00

7 years agoNew upstream version 0.28.0
Vasudev Kamath [Sun, 22 Jul 2018 16:37:14 +0000 (22:07 +0530)]
New upstream version 0.28.0

7 years agoUpdate for new release.
Vasudev Kamath [Sun, 22 Jul 2018 15:30:50 +0000 (21:00 +0530)]
Update for new release.

7 years agoAuto merge of #5722 - alexcrichton:beta-next, r=alexcrichton
bors [Fri, 13 Jul 2018 20:44:11 +0000 (20:44 +0000)]
Auto merge of #5722 - alexcrichton:beta-next, r=alexcrichton

[beta] Partially revert dep changes in #5651

This is a beta backport of https://github.com/rust-lang/cargo/pull/5711

7 years agoPartially revert dep changes in #5651
Alex Crichton [Wed, 11 Jul 2018 16:27:08 +0000 (09:27 -0700)]
Partially revert dep changes in #5651

Some logic which was tweaked around the dependencies of build script targets was
tweaked slightly in a way that causes cargo to stack overflow by accientally
adding a dependency loop. This commit implements one of the strategies discussed
in #5711 to fix this situation.

The problem here is that when calculating the deps of a build script we need the
build scripts of *other* packages, but the exact profile is somewhat difficult
to guess at the moment we're generating our build script unit. To solve this the
dependencies towards other build scripts' executions is added in a different
pass after all other units have been assembled. At this point we should know for
sure that all build script executions are in the dependency graph, and we just
need to add a few more edges.

Closes #5708

7 years agoAuto merge of #5687 - ehuss:beta-panic-rustdoc, r=alexcrichton
bors [Thu, 5 Jul 2018 21:59:33 +0000 (21:59 +0000)]
Auto merge of #5687 - ehuss:beta-panic-rustdoc, r=alexcrichton

[BETA] Fix doctests linking too many libs.

Backport of #5651.

7 years ago[BETA] Fix doctests linking too many libs.
bors [Thu, 5 Jul 2018 20:06:19 +0000 (20:06 +0000)]
[BETA] Fix doctests linking too many libs.

Backport of #5651.

7 years agoAuto merge of #5686 - alexcrichton:beta-next, r=alexcrichton
bors [Thu, 5 Jul 2018 21:21:31 +0000 (21:21 +0000)]
Auto merge of #5686 - alexcrichton:beta-next, r=alexcrichton

[beta] Fix `cargo install` using a workspace target dir

Backport of https://github.com/rust-lang/cargo/pull/5685

7 years agoFix `cargo install` using a workspace target dir
Alex Crichton [Thu, 5 Jul 2018 19:05:50 +0000 (12:05 -0700)]
Fix `cargo install` using a workspace target dir

Closes #5662

7 years agoAuto merge of #5671 - Mark-Simulacrum:backport-4be5a4486, r=alexcrichton
bors [Fri, 29 Jun 2018 22:26:44 +0000 (22:26 +0000)]
Auto merge of #5671 - Mark-Simulacrum:backport-4be5a4486, r=alexcrichton

Fix avoiding a rebuild when moving around a workspace

This is a backport of https://github.com/rust-lang/cargo/pull/5669.

There's a case where Cargo will recompile a project even if the fingerprint
looks like it's fresh, when some output files are missing. This was intended to
cover the case where an output file was deleted manually or otherwise messed
with. The check here was a bit too eager, however. It checked not only the
actual output destination of the compiler but *also* the location that we hard
link the output file up to.

Due to recent changes in #5460 we don't always create the hard links for path
dependencies in the top-level dir, and this meant that if the library were
compiled and then tested later on the test may recompile the original library by
accident.

The fix in this commit is to cease looking for the hardlink if it exists or not.
This way we only check for the presence of the output file itself and only
recompile if that file is missing. The reason for this is that we
unconditionally relink files into place whether it's fresh or not, so we'll
always recreate the hard link anyway if it's missing.

cc rust-lang/rust#51717

r? @alexcrichton

7 years agoFix avoiding a rebuild when moving around a workspace
Alex Crichton [Fri, 29 Jun 2018 19:17:41 +0000 (12:17 -0700)]
Fix avoiding a rebuild when moving around a workspace

There's a case where Cargo will recompile a project even if the fingerprint
looks like it's fresh, when some output files are missing. This was intended to
cover the case where an output file was deleted manually or otherwise messed
with. The check here was a bit too eager, however. It checked not only the
actual output destination of the compiler but *also* the location that we hard
link the output file up to.

Due to recent changes in #5460 we don't always create the hard links for path
dependencies in the top-level dir, and this meant that if the library were
compiled and then tested later on the test may recompile the original library by
accident.

The fix in this commit is to cease looking for the hardlink if it exists or not.
This way we only check for the presence of the output file itself and only
recompile if that file is missing. The reason for this is that we
unconditionally relink files into place whether it's fresh or not, so we'll
always recreate the hard link anyway if it's missing.

cc rust-lang/rust#51717

7 years agoUpdate README.source to mention preferred way of upload.
Vasudev Kamath [Sat, 9 Jun 2018 09:11:23 +0000 (14:41 +0530)]
Update README.source to mention preferred way of upload.

7 years agoAuto merge of #5603 - matklad:publish-nightly-features, r=matklad
bors [Thu, 7 Jun 2018 07:02:02 +0000 (07:02 +0000)]
Auto merge of #5603 - matklad:publish-nightly-features, r=matklad

Allow publishing crates with nightly features

closes #5427.

cc @rust-lang/cargo: I remember a vigorous debate over publishing crates with nightly Cargo features, but I can't recollect our exact plan of action. The discussion is logged here: https://paper.dropbox.com/doc/Unstable-Cargo-features-JBYMdsUYcO3FyW8Ubkjoz.

I think we just need to allow to publish crates with unstable cargo features, for the same reason we allow unstable rust features: you need explicit opt-in, even for deps. This is covered by Cargo tests: https://github.com/rust-lang/cargo/blob/9f097787b04b06cdde4fc42b26a531b22c1b37a6/tests/testsuite/cargo_features.rs#L115-L215.

I am not sure if we have ever implemented crates.io side of validation?

7 years agoRelease 0.27.0-2 to Debian unstable.
Ximin Luo [Thu, 7 Jun 2018 05:35:33 +0000 (22:35 -0700)]
Release 0.27.0-2 to Debian unstable.

7 years agoRecord cargo (0.27.0-2) in archive suite sid
Ximin Luo [Thu, 7 Jun 2018 05:35:30 +0000 (11:05 +0530)]
Record cargo (0.27.0-2) in archive suite sid