-
Notifications
You must be signed in to change notification settings - Fork 204
Is the library alive? #232
Comments
@Plecra you seem to be the only member of the organization that owns the repo. Are you still willing to maintain this crate ? (Edit: I didn't see you released a new version three days ago) |
I keep an eye on this library. I implemented the ZipCrypto part, if there's an issue with that, I'm happy to help. I'm also available for general help regarding the library. The reason why I don't take a more active role in development of the library is lack of time on my part and interface design disagreements with the current maintainer(s). |
TL;DR With multiple outstanding issues, the crate shouldn't be considered maintained at the moment. I will be working on this in May, and would also be happy to talk to anyone interested in joining as a maintainer. Hi there! I was actually emailed a few days ago about this topic, and here's an update
Personally, I have been busy nearing the end of my GCSE courses. I would be happy to welcome a co-maintainer, and my only concerns there are with trust. I'm aware of a few security sensitive projects using this crate so I wouldn't want to risk a new maintainer potentially being malicious. Any tips on how to do this safely would be great! I'd also like to thank @BenjaminRi for the time you've been able to give the crate 😄 Your input is always very helpful. (If you'd like to talk about interface design, please do reach out~) |
One of the interface disagreements is that if you try to unzip an encrypzed ZIP file, but you supply no password, it returns a I wrote a test for missing password in my original PR ( https://github.com/BenjaminRi/zip-rs/blob/pkzip-cipher/tests/zip_crypto.rs#L50 ) which was indeed changed to match the error string ( https://github.com/zip-rs/zip/blob/master/tests/zip_crypto.rs#L50 ). However, we've discussed such issues at length in #197 and essentially arrived at an "agree to disagree" conclusion. I feel like serious API issues are not taken seriously and that we should think very carefully about such error values in future releases. |
Any updates on the maintenance status? I see quite a lot of waiting-for-review PRs. |
@Plecra seems like you still have no time to maintain the library. Could you please add me as a co-maintainer to the organization? I can try to help with the maintenance of this library. Thanks! |
@mvdnes maybe you can help with providing permissions for the library :) |
Hey :) Yup, that's a fair assessment. My apologies. I can add a maintainer to the project. My main concern with past PRs has been with compromising the crate - I didn't want to make large feature additions without the opportunity to fully review the code, especially since like you said, the crate is used in some fairly prominent projects.. Aiui, mvdnes shares this attitude. Help with making the changes the crate needs (quite desperately now :P) is super appreciated! For now, I will keep publish access for the crate, however if you can setup a release, I'll happily push it through after a quick check. If you'd like to make direct changes, a third party review would be great. I know I'm probably being overly cautious, but I'd rather not add a maintainer to the crate itself without some trust there ❤️ Would you like me to give you merge access on this repo? |
Totally agree with you - my request is not related to the past PRs.
I really like such "overly cautious" behavior regarding such libraries - I have the same mindset :)
Yes, please. I still will try to push as many as possible changes via PRs (since it's a good way to give a chance to review changes and highlight some decisions). But if for some of my PRs or any external PRs I will not be able to get approval from anyone for some time, merge access will be quite helpful. If you or anyone from "trusted" people will be able to review PRs - it will be really great and helpful! Regarding new releases - I think it's quite enough to just ping you when the next release for the library will be ready. I hope you will have enough time to release the new library. But if for some reason you will not be able to release the library - please share your release permission with any trusted and responsible person :) My real wish is just not to let this library die since according to the stats it's quite important for the Rust community. If you have any questions, you can ping me directly. |
@zamazan4ik fantastic! I have sent you an invite (oh, you've accepted :)) Releases won't be a problem. I might ask you to bump the version number if the changes feel significant enough from 0.5, whether they're breaking or not. Contact me if you need anything. I'm probably more responsive on my Discord (Plecra#5251) |
Since I got "maintainer" permissions for the library, I think at least for now users can assume that the library is maintained. I will try at least update dependencies, fix some important issues and work with incoming PRs. |
Thank you @zamazan4ik for pushing things forward :) ( and thank you @Plecra for the trust). We're using this library inside docs.rs and I'm thankful that things are getting alive again here. I wouldn't want to do another rewrite :) |
Hi @Plecra , @zamazan4ik , It's just that https://rustsec.org/advisories/RUSTSEC-2020-0071 Thanks! |
@jqnatividad Hi! I completely understand your worries. Unfortunately, I have no release permissions, so @Plecra is the only one who can do it right now. As far as I know, he wanted to release a new version soon. For now, I can suggest only depending on the master branch with a specific commit. I cannot do any more for now, sorry. |
Hi @zamazan4ik, I see that you've bumped all the dependencies, most especially https://rustsec.org/advisories/RUSTSEC-2020-0071 @Plecra it'd be an awesome time for a new release! 😉 |
@zamazan4ik With today's release of 0.6.0 🎉💯 👍 , I think this issue should be closed. |
Thanks @Plecra for the release! I don't know, do we want to close the issue? At least before the next frozen period) |
it'd be great to get a new release soonish :-) |
The previous version of the `zip` package has an outdated transitive Rust Crypto dependency that conflicts with newer Rust Crytpo crates. The master branch of the `zip` package already contains the new Rust Crytpo dependencies, but it's [waiting]( zip-rs/zip-old#232 (comment)) for a release for three months now so I've specified the latest commit in the master branch as the `zip` version.
Unfortunately, the updates from this repository is quite slow and @zamazan4ik doesn't have permission to publish new crate and they don't have much time/effort to review PRs. We still need @Plecra for PR review, but @Plecra also don't have much time for this. I'd say we need more maintainers and they need to have access to crates.io |
I am having problems with dependency resolution with other major libraries such as actix-web because repos updates are not being published to crates.io. We need to do something about this. Note: Workaround for Rust newbies who reuiqred
|
That'll make your crate unpublishable. Just turn off zstd support. ( It's not as if it's very common, given that, last I checked, it wasn't supported by the standard archive extractors that come with Windows or macOS, or by Info-ZIP (the |
Just note that the fork we used contains an unmerged patch that includes a new API, otherwise it's fine. We don't intend to add any more features to the fork other than having the unreleased code and the patch. |
Hi! I'm not sure I fully understand the problem with resolving dependencies. Correct me if I'm wrong, it seems that there are projects which:
Cargo generally attempts to resolve conflicts like these, so it's difficult for us to guess at what configuration is causing the problem. If you could link to a repo reproducing this issue (and minimise it if possible! removing third party dependencies) so we can throw up an issue for it, that would be fantastic. |
@Plecra zip 0.6 depends on zstd 0.10, which pulls in zstd-sys 1.6.3+zstd.1.5.2. Both versions of zstd-sys pulls in the same version of libzstd, which will produce duplicate symbols and cause linking errors. |
great, so it's an update needed here. can do :) |
r.e. OP: Yup! |
Hi!
I see that the library has no activity from the developers during the last months: many answered issues and open pull requests without a review. And at least for me, the library seems unmaintained. It's a pity since the library seems the most mature zip implementation in the Rust ecosystem.
I completely understand that developing and maintaining open source libraries is too time-consuming and without any profit.
So I have several questions:
Thanks in advance!
The text was updated successfully, but these errors were encountered: