<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/rust.git/src/bootstrap, branch temp-dev-stable</title>
<subtitle>github.com: rust-lang/rust.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/'/>
<entry>
<title>Auto merge of #77336 - pietroalbini:pkgname, r=&lt;try&gt;</title>
<updated>2020-10-09T10:09:33+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-10-09T10:09:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=b68ffe8285b13d8a316f0eca3d795d2a3d757f64'/>
<id>b68ffe8285b13d8a316f0eca3d795d2a3d757f64</id>
<content type='text'>
Always use the Rust version in package names

The format of the tarballs produced by CI is roughly the following:

    {component}-{release}-{target}.{ext}

While on the beta and nightly channels `{release}` is just the channel name, on the stable channel is either the Rust version or the version of the component we're shipping:

    cargo-0.47.0-x86_64-unknown-linux-gnu.tar.xz
    clippy-0.0.212-x86_64-unknown-linux-gnu.tar.xz
    llvm-tools-1.46.0-x86_64-unknown-linux-gnu.tar.xz
    miri-0.1.0-x86_64-unknown-linux-gnu.tar.xz
    rls-1.41.0-x86_64-unknown-linux-gnu.tar.xz
    rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz
    ...

This makes it really hard to get the package URL without having access to the manifest (and there is no manifest on ci-artifacts.rlo), as there is no consistent version number to use.

This PR addresses the problem by always using the Rust version number as `{release}` for the stable channel, regardless of the version number of the component we're shipping. I chose that instead of "stable" to avoid breaking the URL scheme *that* much.

Rustup should not be affected by this change, as it fetches the URLs from the manifest. Unfortunately we don't have a way to test other clients before making a stable release, as this change only affects the stable channel.

r? `@Mark-Simulacrum`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Always use the Rust version in package names

The format of the tarballs produced by CI is roughly the following:

    {component}-{release}-{target}.{ext}

While on the beta and nightly channels `{release}` is just the channel name, on the stable channel is either the Rust version or the version of the component we're shipping:

    cargo-0.47.0-x86_64-unknown-linux-gnu.tar.xz
    clippy-0.0.212-x86_64-unknown-linux-gnu.tar.xz
    llvm-tools-1.46.0-x86_64-unknown-linux-gnu.tar.xz
    miri-0.1.0-x86_64-unknown-linux-gnu.tar.xz
    rls-1.41.0-x86_64-unknown-linux-gnu.tar.xz
    rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz
    ...

This makes it really hard to get the package URL without having access to the manifest (and there is no manifest on ci-artifacts.rlo), as there is no consistent version number to use.

This PR addresses the problem by always using the Rust version number as `{release}` for the stable channel, regardless of the version number of the component we're shipping. I chose that instead of "stable" to avoid breaking the URL scheme *that* much.

Rustup should not be affected by this change, as it fetches the URLs from the manifest. Unfortunately we don't have a way to test other clients before making a stable release, as this change only affects the stable channel.

r? `@Mark-Simulacrum`
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #77631 - jyn514:helpful-changelog, r=RalfJung</title>
<updated>2020-10-08T05:50:49+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-10-08T05:50:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=9c07010b7f378929c6f5b32cb7ab762bc64bfd06'/>
<id>9c07010b7f378929c6f5b32cb7ab762bc64bfd06</id>
<content type='text'>
Make src/bootstrap/CHANGELOG.md more helpful

Addresses https://github.com/rust-lang/rust/commit/fe6fc555acd51bd7ba8755d9fbc7060feb67be25#r42949241.

r? `@RalfJung`
cc `@Mark-Simulacrum`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make src/bootstrap/CHANGELOG.md more helpful

Addresses https://github.com/rust-lang/rust/commit/fe6fc555acd51bd7ba8755d9fbc7060feb67be25#r42949241.

r? `@RalfJung`
cc `@Mark-Simulacrum`
</pre>
</div>
</content>
</entry>
<entry>
<title>Make src/bootstrap/CHANGELOG.md more helpful</title>
<updated>2020-10-06T22:28:01+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2020-10-06T22:28:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=2a41342e9ceabc72ec591a64fefb165729b5fbdc'/>
<id>2a41342e9ceabc72ec591a64fefb165729b5fbdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollup merge of #77624 - akoptelov:c-all-targets-fix, r=jyn514</title>
<updated>2020-10-06T22:16:16+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2020-10-06T22:16:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=f600154be6600d6749dd38b9b7f5caeb3e98ad1c'/>
<id>f600154be6600d6749dd38b9b7f5caeb3e98ad1c</id>
<content type='text'>
Add c as a shorthand check alternative for new options #77603

There is a missing "c" that is a shorthand for "check" in newly added match arm for handling check-specific options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add c as a shorthand check alternative for new options #77603

There is a missing "c" that is a shorthand for "check" in newly added match arm for handling check-specific options.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollup merge of #77400 - alarsyo:xpy-setup-suggestions, r=jyn514</title>
<updated>2020-10-06T22:16:01+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2020-10-06T22:16:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=59707c57488eac0766a2e28525a70d6801edf1a7'/>
<id>59707c57488eac0766a2e28525a70d6801edf1a7</id>
<content type='text'>
Fix suggestions for x.py setup

#76631 introduced a new `setup` command to x.py

By default the command prompts for a profile to use:

```
Welcome to the Rust project! What do you want to do with x.py?
a) Contribute to the standard library
b) Contribute to the compiler
c) Contribute to the compiler, and also modify LLVM or codegen
d) Install Rust from source
```

and then displays command suggestions, depending on which profile was chosen. However [the mapping between chosen profile](https://github.com/rust-lang/rust/blob/9cba260df0f1c67ea3690035cd5611a7465a1560/src/bootstrap/setup.rs#L75-L85) and [suggestion](https://github.com/rust-lang/rust/blob/9cba260df0f1c67ea3690035cd5611a7465a1560/src/bootstrap/setup.rs#L42-L47) isn't exact, leading to suggestions not being shown if the user presses `c` or `d`. (because "c" is translated to "llvm" and "d" to "maintainer", but suggestions trigger for "codegen" and "user" respectively)

A more thorough refactor would stop using "strings-as-type" to make sure this kind of error doesn't happen, but it may be overkill for that kind of "script" program?

Tagging the setup command author: @jyn514
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix suggestions for x.py setup

#76631 introduced a new `setup` command to x.py

By default the command prompts for a profile to use:

```
Welcome to the Rust project! What do you want to do with x.py?
a) Contribute to the standard library
b) Contribute to the compiler
c) Contribute to the compiler, and also modify LLVM or codegen
d) Install Rust from source
```

and then displays command suggestions, depending on which profile was chosen. However [the mapping between chosen profile](https://github.com/rust-lang/rust/blob/9cba260df0f1c67ea3690035cd5611a7465a1560/src/bootstrap/setup.rs#L75-L85) and [suggestion](https://github.com/rust-lang/rust/blob/9cba260df0f1c67ea3690035cd5611a7465a1560/src/bootstrap/setup.rs#L42-L47) isn't exact, leading to suggestions not being shown if the user presses `c` or `d`. (because "c" is translated to "llvm" and "d" to "maintainer", but suggestions trigger for "codegen" and "user" respectively)

A more thorough refactor would stop using "strings-as-type" to make sure this kind of error doesn't happen, but it may be overkill for that kind of "script" program?

Tagging the setup command author: @jyn514
</pre>
</div>
</content>
</entry>
<entry>
<title>Add c as a shorthand check alternative for new options #77603</title>
<updated>2020-10-06T19:05:11+00:00</updated>
<author>
<name>Alexander Koptelov</name>
<email>alexandre.koptelov@gmail.com</email>
</author>
<published>2020-10-06T19:04:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=db46f43977c50f1dcbc612cd950245cad1c07fcc'/>
<id>db46f43977c50f1dcbc612cd950245cad1c07fcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #76356 - caass:hooks, r=jyn514</title>
<updated>2020-10-06T14:51:51+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-10-06T14:51:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=9fdaeb393a16951f6fdef087193fef576e36aba6'/>
<id>9fdaeb393a16951f6fdef087193fef576e36aba6</id>
<content type='text'>
Add a command to install a git hook to automatically run `x.py test tidy --bless`

Some folks (such as myself) would probably find a lot of convenience in a pre-commit hook that automatically runs tidy before committing, to avoid burning CI time learning that your commit wasn't tidy.

I'm absolutely positive I have missed some stuff. I basically just got this to where you can run `./x.py run install-git-hook` and then clicked the commit button. Please let me know what else you'd like me to add before this can be merged!

[rustc-dev-guide companion PR](https://github.com/rust-lang/rustc-dev-guide/pull/848)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a command to install a git hook to automatically run `x.py test tidy --bless`

Some folks (such as myself) would probably find a lot of convenience in a pre-commit hook that automatically runs tidy before committing, to avoid burning CI time learning that your commit wasn't tidy.

I'm absolutely positive I have missed some stuff. I basically just got this to where you can run `./x.py run install-git-hook` and then clicked the commit button. Please let me know what else you'd like me to add before this can be merged!

[rustc-dev-guide companion PR](https://github.com/rust-lang/rustc-dev-guide/pull/848)
</pre>
</div>
</content>
</entry>
<entry>
<title>Use String type for Profile parse error</title>
<updated>2020-10-06T14:40:30+00:00</updated>
<author>
<name>Antoine Martin</name>
<email>antoine97.martin@gmail.com</email>
</author>
<published>2020-10-05T16:03:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=d67a7e6cfc86352ffdd1098d66831675736677dc'/>
<id>d67a7e6cfc86352ffdd1098d66831675736677dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Show available profiles on error</title>
<updated>2020-10-06T14:40:30+00:00</updated>
<author>
<name>Antoine Martin</name>
<email>antoine97.martin@gmail.com</email>
</author>
<published>2020-10-05T15:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=3afc004845b36d18009718fe8d5179adfa1ca2ea'/>
<id>3afc004845b36d18009718fe8d5179adfa1ca2ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Profile enum for x.py setup</title>
<updated>2020-10-06T14:40:30+00:00</updated>
<author>
<name>Antoine Martin</name>
<email>antoine97.martin@gmail.com</email>
</author>
<published>2020-10-05T15:27:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=d3d33971216f5eca3139e239c2b1f485c52270f4'/>
<id>d3d33971216f5eca3139e239c2b1f485c52270f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
