Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUpload categories specified in the manifest #3301
Conversation
rust-highfive
assigned
brson
Nov 18, 2016
This comment has been minimized.
This comment has been minimized.
rust-highfive
commented
Nov 18, 2016
|
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
From my comments on the crates.io PR, we may want to integrate a feedback mechanism here for unknown categories, but we can figure that out on the crates.io side first. |
alexcrichton
assigned
alexcrichton
and unassigned
brson
Nov 21, 2016
carols10cents
force-pushed the
integer32llc:categories
branch
from
c3a41a3
to
adc0cd1
Nov 29, 2016
This comment has been minimized.
This comment has been minimized.
|
Wheeee there's some failing tests that are totally my fault |
alexcrichton
reviewed
Dec 1, 2016
| @@ -147,7 +154,8 @@ impl Registry { | |||
| Ok(json::decode::<Users>(&body)?.users) | |||
| } | |||
|
|
|||
| pub fn publish(&mut self, krate: &NewCrate, tarball: &File) -> Result<()> { | |||
| pub fn publish(&mut self, krate: &NewCrate, tarball: &File) | |||
| -> Result<Vec<String>> { | |||
This comment has been minimized.
This comment has been minimized.
alexcrichton
Dec 1, 2016
Member
Perhaps the return value here could be structured, like:
struct Warnings {
category: Vec<String>,
}(etc)
carols10cents
added some commits
Nov 18, 2016
carols10cents
force-pushed the
integer32llc:categories
branch
from
1342f66
to
7dd0f93
Dec 3, 2016
This comment has been minimized.
This comment has been minimized.
|
I... did github change their UI again? I don't understand why the icon on the left is merge-conflict gray. I tried rebasing on master and it says it's up to date... |
This comment has been minimized.
This comment has been minimized.
Ms2ger
commented
Dec 5, 2016
|
It's "you can't merge this PR" gray. In this case, I assume, because you don't have permission to push to master. Bors can, though, so no worries. |
This comment has been minimized.
This comment has been minimized.
|
:( that's confusing. |
This comment has been minimized.
This comment has been minimized.
|
This looks good to me, just gonna wait to r+ until we merge the crates.io support and deploy it. |
carols10cents
referenced this pull request
Jan 16, 2017
Merged
Upload Travis CI and Appveyor badge metadata specified in the manifest #3546
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ Oh I meant to r+ this long ago! |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 17, 2017
This comment has been minimized.
This comment has been minimized.
|
|
bors
merged commit f697b8c
into
rust-lang:master
Jan 17, 2017
carols10cents
deleted the
integer32llc:categories
branch
Jan 17, 2017
bors
added a commit
that referenced
this pull request
Jan 17, 2017
alexcrichton
added
the
relnotes
label
Jan 18, 2017
This was referenced Jan 20, 2017
This was referenced Jan 20, 2017
bors
added a commit
to rust-lang/regex
that referenced
this pull request
Jan 20, 2017
This was referenced Jan 20, 2017
homu
added a commit
to clap-rs/clap
that referenced
this pull request
Jan 21, 2017
homu
added a commit
to clap-rs/clap
that referenced
this pull request
Jan 21, 2017
This comment has been minimized.
This comment has been minimized.
briansmith
commented
Jan 22, 2017
|
Please change the beta channel cargo so that, at a minimum, it doesn't emit a warning when |
carols10cents commentedNov 18, 2016
This adds support for uploading categories to crates.io, if they are specified in the manifest.
This goes with rust-lang/crates.io#473. It should be fine to merge this PR either before or after that one; crates.io master doesn't care if the categories are in the metadata or not. With that PR, I was able to use this patch with cargo to add categories to a crate!