opscode/supermarket — pull request #607 by brettchalupa (2014-07-17 17:54:10+00:00)
Title: Allow Cookbooks to be deprecated in the UI

:fork_and_knife:

This allows cookbook owners and Supermarket admins to deprecate cookbooks and specify a replacement. Currently, a cookbook cannot be deprecated w/o setting a replacement.

This does not send out emails to to collaborators or followers. I will do that in a separate pull request.

Trello card: https://trello.com/c/6gyEzuW2

What it looks like in action:

![cookbook_deprecation](https://cloud.githubusercontent.com/assets/928367/3617098/f972c154-0dda-11e4-98cc-acbc4514a3a1.gif)

The deprecation notice on the Cookbook show:

![screen shot 2014-07-17 at 1 08 51 pm](https://cloud.githubusercontent.com/assets/928367/3617105/0747d94a-0ddb-11e4-8a98-7638a7d9cd1d.png)

The little notice in the Cookbook partial:

![screen shot 2014-07-17 at 1 14 04 pm](https://cloud.githubusercontent.com/assets/928367/3617106/0755dcac-0ddb-11e4-9430-dc0ec51c659e.png)