Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Backwards compatible archive processing #485
In order to migrate all data from the community site (and, technically, to remain backwards compatible with it), Supermarket needs to understand how to process more than just GZipped tarballs. This PR uses libarchive so that Supermarket can process all existing cookbook archives. It also modifies the process by which a cookbook's metadata is found to support some backwards-compatible quirks, such as cookbooks which have metadata in file named "metadata.json.txt"
Once Supermarket is officially launched, this code can likely be modified to be more restrictive, or just reverted outright. But right now it'd be nice to just get everything migrated over.
The libarchive gem requires the