-
Notifications
You must be signed in to change notification settings - Fork 11
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
Discussion on upstreaming cpiofile (merge it back) to python3 upstream? #141
Comments
@ydirson I and Ross found that Also the current API of tarfile is still similar: zipfile is similar to tarfile in API, but it has some differences.
I don't think anyone here would like to sponsor that work, and I think upstream Python would just tell us that they do not like to support that old (and IMHO obsolete) On the idea of the That would also include
And the upstream developers would refer to the many In general, when switching to a new API, implementations that are just wrappers for https://pypi.org/project/python-libarchive/ For XenServer / xcp-ng:If the host-upgrade-plugin is the only user of
I'd like to actually close this, as I'm not thinking that anyone would be assigned to do such work. I'd rather migrate away from the |
Yeah, I was right to be careful with what I recalled 😉
My point (from experience writing tests and porting it to python3) was mostly that this is a big piece of code, and maintaining it separately from Maybe it would make sense to use an alternate CPIO implementation, but even if there is no other user for |
Yeah, maybe one just have to give it a try.
I also extended the tests and updated the tests and fixed some other bugs found along the way while reviewing it. The Python3 work was quite a lot of work, but now that's done already.
I just wanted to say that there is no one currently assigned to handle issues reported here and also not to handle ideas for the host-upgrade-plugin. I just try to respond, but to get tasks assigned, it would have to be scheduled by management and I'm no longer in a team that is responsible for these Dom0 components like python-libs and the host-upgrade-plugin. Also, generally no one reads the issues submitted here, I was just the exception because I had a watch this project to review pull requests, but I reduced the watch to mentions now to get fewer notifications. |
At the time I was working on python3 porting, I had done some digging around
cpiofile.py
, to find out it is a fork of one of python's standard modules (zipfile
IIRC), and that the structural differences were not so large. So I came up with the idea that the original modules could be extended into something like anarchive
module, withzipfile
andcpiofile
being just 2 implementations sharing most of the code. Naturally, seeing recent activity aroundcpiofile
brings this back into memory :)The text was updated successfully, but these errors were encountered: