# End of days for the rust-lang nursery?

**URL:** <https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750>\
**Category:** Uncategorized\
**Created:** [November 1, 2018, 8:21pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750 "2018-11-01T20:21:44Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrc](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/nrc/32/126_2.png) [@nrc](https://internals.rust-lang.org/u/nrc)\
**Post date:** [November 1, 2018, 8:21pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/1 "2018-11-01T20:21:44Z")

</div>

The [nursery GitHub org](https://github.com/rust-lang-nursery) has been around for a while now. The original purpose was a place for libraries which were considered important for the community, but not ready (or appropriate) for the main org. Once concern was that the main repo would get too cluttered if there were lots of repos there.

We long ago stopped using the nursery for discovery of libraries in favour of [crates.io](http://crates.io). It is now used as just another org for Rust stuff. Although nominally things in the nursery are less mature than those in the main org, this is not at all strict. The main org has also passed the point of having few enough repos to be easy to navigate.

The downside of multiple orgs is that teams, bots, and settings have to be maintained in two places. This is extra work for no gain, and is a security risk (since we double the chance of forgetting to update something).

So, it seems to the core team that the nursery is no longer useful and it should be retired. The plan would be to move all the repos to the main org (repos which are no longer relevant or unmaintained could be moved to [https://github.com/rust-unofficial](https://github.com/rust-unofficial)), and to merge teams across the orgs. GitHub automatically redirects moved repos, so there should be no changes needed to either your bookmarks or Git configs.

Please let us know your thoughts!

---

<div class="post-metadata">

**Author:** ![Centril](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/centril/32/3334_2.png) [@Centril](https://internals.rust-lang.org/u/Centril)\
**Post date:** [November 1, 2018, 8:47pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/2 "2018-11-01T20:47:54Z")

</div>

Seems like a good idea to merge…

…a reminder / note: add “this has moved” links to the nursery so that we don’t get a bunch of dead links.

---

<div class="post-metadata">

**Author:** ![sfackler](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/sfackler/32/9_2.png) [@sfackler](https://internals.rust-lang.org/u/sfackler)\
**Post date:** [November 1, 2018, 10:16pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/3 "2018-11-01T22:16:12Z")

</div>

Yeah, let’s get rid of it.

---

<div class="post-metadata">

**Author:** ![Mark\_Simulacrum](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/mark_simulacrum/32/2853_2.png) [@Mark\_Simulacrum](https://internals.rust-lang.org/u/Mark_Simulacrum)\
**Post date:** [November 1, 2018, 10:20pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/4 "2018-11-01T22:20:21Z")

</div>

> [@Centril](#):
>
> …a reminder / note: add “this has moved” links to the nursery so that we don’t get a bunch of dead links.

Is this necessary? I was somewhat hoping that GitHub would auto-redirect both pages and links to the repositories directly...

---

<div class="post-metadata">

**Author:** ![sfackler](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/sfackler/32/9_2.png) [@sfackler](https://internals.rust-lang.org/u/sfackler)\
**Post date:** [November 1, 2018, 10:25pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/5 "2018-11-01T22:25:15Z")

</div>

Yep, Github will redirect when you go to the old location of a transferred repository.

---

<div class="post-metadata">

**Author:** ![Nemo157](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/nemo157/32/11585_2.png) [@Nemo157](https://internals.rust-lang.org/u/Nemo157)\
**Post date:** [November 1, 2018, 11:00pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/6 "2018-11-01T23:00:26Z")

</div>

Including github pages hosted websites, e.g. [https://rust-lang-nursery.github.io/rustc-guide/walkthrough.html](https://rust-lang-nursery.github.io/rustc-guide/walkthrough.html)?

---

<div class="post-metadata">

**Author:** ![cuviper](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/cuviper/32/1897_2.png) [@cuviper](https://internals.rust-lang.org/u/cuviper)\
**Post date:** [November 1, 2018, 11:09pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/7 "2018-11-01T23:09:39Z")

</div>

This gist says that [github.io](http://github.io) pages don’t redirect automatically, but shows how to do manual redirects: [https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7](https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7)

But I guess you’d have to do that for every single page within too?

---

<div class="post-metadata">

**Author:** ![hawkrives](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/hawkrives/32/2049_2.png) [@hawkrives](https://internals.rust-lang.org/u/hawkrives)\
**Post date:** [November 2, 2018, 12:48pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/8 "2018-11-02T12:48:55Z")

</div>

You can add a special 404.html and do a JS-based redirect, if needed.

And I think you can get around the way that gh-pages needs a repository by transferring the repos, then setting up a [rust-lang-nursery.github.io](http://rust-lang-nursery.github.io) repo and putting the website redirects in there.

That way GH repo requests will be redirected, and web page requests will as well, without having to put up another repo which would break the repo forwarding.

---

<div class="post-metadata">

**Author:** ![KodrAus](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kodraus/32/2816_2.png) [@KodrAus](https://internals.rust-lang.org/u/KodrAus)\
**Post date:** [November 3, 2018, 12:38am UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/9 "2018-11-03T00:38:04Z")

</div>

Retiring the nursery sounds good to me too. It has played a role recently as a springboard to officialdom though, where a library starts out under someone’s personal account, then makes its way into the nursery with a few people pushing it forward, then one way or another makes its way into `std` or the `rust-lang` org.

That sort of process sounds like it could be replaced with a working group structure going forward though.

---

<div class="post-metadata">

**Author:** ![dwijnand](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/dwijnand/32/4195_2.png) [@dwijnand](https://internals.rust-lang.org/u/dwijnand)\
**Post date:** [November 22, 2018, 5:48pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/10 "2018-11-22T17:48:25Z")

</div>

Another advantage of merging the orgs is that we can benefit more from GitHub’s issue transfer feature which requires source and target repos to be in the same org [https://help.github.com/articles/transferring-an-issue-to-another-repository/](https://help.github.com/articles/transferring-an-issue-to-another-repository/) (although tbh GitHub should lift that restriction).

---

<div class="post-metadata">

**Author:** ![nrc](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/nrc/32/126_2.png) [@nrc](https://internals.rust-lang.org/u/nrc)\
**Post date:** [November 25, 2018, 9:32pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/11 "2018-11-25T21:32:51Z")

</div>

I started doing the change over with a few tools repos that we were planning on moving anyway (and a few that we weren’t). Some issues that came up:

- CI URLs need updating
- GH pages can exist where I wasn’t expecting them too (I thought they needed their own repo, but apparently not, I think this was just me being not smart)
- there are implicit links between teams and repos which are not carried over
- I think URLs used by bots or other programs using the GH APIs need updating
- there are some ‘dead’ repos. I’ve archived these and I think that the end goal should be that the nursery will probably exist but only contain archived repos. We could rename it to the rust-lang-graveyard or seomthing.

None of these are show-stoppers, just things to be aware of for later moves. If anyone wants to move a repo they own from the nursery to rust-lang or to a team org and you have the privs, please feel free to do that.

---

<div class="post-metadata">

**Author:** ![phansch](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/phansch/32/3856_2.png) [@phansch](https://internals.rust-lang.org/u/phansch)\
**Post date:** [November 26, 2018, 6:36am UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/12 "2018-11-26T06:36:14Z")

</div>

Could someone also create the `rust-lang-nursery.github.io` repo so that redirects from old gh-pages can be set up?

---

<div class="post-metadata">

**Author:** ![nrc](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/nrc/32/126_2.png) [@nrc](https://internals.rust-lang.org/u/nrc)\
**Post date:** [November 26, 2018, 8:03pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/13 "2018-11-26T20:03:50Z")

</div>

> Could someone also create the `rust-lang-nursery.github.io` repo so that redirects from old gh-pages can be set up?

I've created the repo and a redirect for Clippy. PRs for other redirects would be gratefully accepted.

---

<div class="post-metadata">

**Author:** ![jethrogb](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jethrogb](https://internals.rust-lang.org/u/jethrogb)\
**Post date:** [November 28, 2018, 1:02pm UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/14 "2018-11-28T13:02:44Z")

</div>

> [@nrc](#):
>
> there are some ‘dead’ repos. I’ve archived these and I think that the end goal should be that the nursery will probably exist but only contain archived repos. We could rename it to the rust-lang-graveyard or seomthing.

Can these be moved to [rust-lang-deprecated · GitHub](https://github.com/rust-lang-deprecated/) ?

---

<div class="post-metadata">

**Author:** ![nrc](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/nrc/32/126_2.png) [@nrc](https://internals.rust-lang.org/u/nrc)\
**Post date:** [March 25, 2019, 8:31am UTC](https://internals.rust-lang.org/t/end-of-days-for-the-rust-lang-nursery/8750/15 "2019-03-25T08:31:05Z")

</div>

Closed on March 25, 2019, 8:31am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
