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 upPort books to mdbook #39633
Conversation
rust-highfive
assigned
alexcrichton
Feb 8, 2017
steveklabnik
changed the title
Bring mdbook in-tree and port our books to it
Vendor mdbook in-tree and port our books to it
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
Oh, and pour one out for |
This comment has been minimized.
This comment has been minimized.
|
Looking good! I take it that the Also, I think that you'll need to re-run |
This comment has been minimized.
This comment has been minimized.
Ah ha! I always forget about submodules; totally.
yes, that shouldn't be too bad. It's a tiny file. |
This comment has been minimized.
This comment has been minimized.
|
Ok in that case let's scratch the submodule idea and instead just depend on it as a library, vendor a small bit of the book logic, and then we can rely on cargo-vendor to pull in the vendor'd deps |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton I guess I'll call this wrapper........... rustbook. IT LIVES |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton I think I did this correctly... |
This comment has been minimized.
This comment has been minimized.
|
Are all these fingerprint files intentional? I don't really know what they are, so maybe they are intentional? |
This comment has been minimized.
This comment has been minimized.
|
@frewsxcv not sure, i just ran |
This comment has been minimized.
This comment has been minimized.
|
Hrm, looks like maybe the vendoring didn't work? https://travis-ci.org/rust-lang/rust/jobs/199465089#L371 |
This comment has been minimized.
This comment has been minimized.
|
I'm not sure, but I feel like this file shouldn't be there: https://github.com/steveklabnik/rust/blob/041312e1909be2954852317339629715d314e045/src/target/release/.fingerprint/kernel32-sys-4995bb2d2dfb906c/dep-build-script-build_script_build-4995bb2d2dfb906c maybe some bug in cargo vendor? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton i added a |
This comment has been minimized.
This comment has been minimized.
|
It is unclear to me why this works for me locally but fails on travis :( |
This comment has been minimized.
This comment has been minimized.
|
@est31 points out to me on IRC that the bots are using |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
mdBook is designed to be able to be used as a library, but I think you are the first ones actually using it like that |
This comment has been minimized.
This comment has been minimized.
|
I am extremely confused.
yet the update doesn't show up here. hmmmmmmmmmmmmmmmmmmm |
steveklabnik
force-pushed the
steveklabnik:vendor-mdbook
branch
from
bb66fa9
to
3812b66
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
It looks like github is having some issues; I assume this PR will be updated soon, then. |
This comment has been minimized.
This comment has been minimized.
|
Okay, I don't know why the bot is failing here; I can run (It fails with license issues, but it doesn't fail like it does on travis) |
This comment has been minimized.
This comment has been minimized.
|
Here is the summary of license issues:
So, that's
All of the Unlicense projects are dual with MIT, so the real issue is |
This comment has been minimized.
This comment has been minimized.
mdBook is also licensed under the MPL 2.0, is that a problem? |
This comment has been minimized.
This comment has been minimized.
|
@azerupi interesting, wonder why it wasn't caught by the lint. We're going to discuss it at the core team meeting today; it's not inherently a problem, but right now, everything in the repo is licensed identically. Moving away from that would be a big change, possibly. |
This comment has been minimized.
This comment has been minimized.
|
Updating myself: it appears that I did not run It's not clear why, with the vendor, it says that it's looking at crates.io to get the source and can't find it. |
This comment has been minimized.
This comment has been minimized.
|
@azerupi expect a post on internals sometime in the near-ish future; we're going to ask everyone what they think |
steveklabnik
referenced this pull request
Feb 8, 2017
Closed
Tracking issue for RFC 1828: Rust Bookshelf #39588
This comment has been minimized.
This comment has been minimized.
|
Internals post is here: https://internals.rust-lang.org/t/licenses-of-vendored-tools-in-the-rust-repo/4758 |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Feb 13, 2017
bors
added a commit
that referenced
this pull request
Feb 13, 2017
bors
added a commit
that referenced
this pull request
Feb 14, 2017
bors
added a commit
that referenced
this pull request
Feb 14, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: p=1 I'm giving this a priority because there are a few PRs to the book that will need to be rebased after this PR, and this PR has already been sitting in the queue for three days. |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Feb 14, 2017
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: retry |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Feb 14, 2017
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
… On Tue, Feb 14, 2017 at 4:46 PM, bors ***@***.***> wrote:
|
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Feb 15, 2017
This comment has been minimized.
This comment has been minimized.
|
|
bors
merged commit cacb3bc
into
rust-lang:master
Feb 15, 2017
This was referenced Feb 15, 2017
steveklabnik
deleted the
steveklabnik:vendor-mdbook
branch
Feb 15, 2017
This comment has been minimized.
This comment has been minimized.
|
could we perhaps switch back to the rustbook color scheme? |
steveklabnik commentedFeb 8, 2017
•
edited
Part of #39588
blocked on #39431
As a first step towards the bookshelf, we
vendor mdbook in-tree andport our books to it. Eventually, both of these books will be moved out-of-tree, but the nightly book will rely on doing the same thing. As such, this intermediate step is useful.r? @alexcrichton @brson
/cc @azerupi