-
Notifications
You must be signed in to change notification settings - Fork 681
Add archives category
#11856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add archives category
#11856
Conversation
|
IMHO since most archive formats usually include compression by default I'm not sure we really need another top-level category for this 🤔 @rust-lang/crates-io thoughts? |
|
There are many file formats that can both be archived and compressed, such as ZIP and 7z, but there are also some file formats that can only be archived, such as tar and cpio.1 Since tar and cpio can only archive, I don't think it's appropriate to assign them to the Footnotes |
|
We discussed this at yesterday's team meeting and while we see how a distinction can be made between compression and archive formats, we don't feel this broad enough to be a top-level category. Since that meeting I've gone through your list above and have looked through the existing category structure. Out of the existing categories I think this could possibly fit under either of the following categories. The links and result counts are for a search of "archive" within each category.
We would reconsider this as a subcategory. Speaking for myself and not the team, I'd like to provide a bit more background context. A few years ago we decided not to remove the categories feature, but its kind of in a soft deprecation state for now. A few reasons for that being:
As a user I really like the discoverability of categories, but if popular crates don't opt-in to the appropriate category then it can just as easily push users towards a worse selection than if they had done a more general search. In that sense, new categories have a steep hill to climb before they are a net value add and I think that is one of the reasons the team has been more reluctant to adding new categories recently. Again, I'm sure the team is willing to reconsider this as a subcategory, but even then we may not be able to reach consensus on adding this category. |
|
thanks for your comprehensive feedback, Justin! if we can find a good parent category for archives then I'm open to discussing the proposal. until then, I guess we can close this PR for now. |
This pull request adds a category for crates that implement archives formats such as tar and ZIP.
It seems there is no category for archives formats. For this reason, the following crates are either not assigned to any category, or crates for file formats that can both archive and compress, such as LHA/LZH, are assigned the
compressioncategory.Examples of crates
ar- a library for encoding/decoding Unix archive files.cab- Read/write Windows cabinet (CAB) files.cpio-archive- cpio archive reading and writing.delharc- a library for parsing and extracting files from LHA/LZH archives.ouch- a command-line utility for easily compressing and decompressing files and directories.sevenz-rust2- a 7z decompressor/compressor written in pure Rust.tar- a Rust implementation of a TAR file reader and writer.unrar- list and extract RAR archives.zip- library to support the reading and writing of zip files.