Re: custom-tools plugin: adding support for 7z-files

2016-07-01 Thread Martin Hjelmqvist
Been some time since last post, but here's an update. A .7z extractor is no longer to be developed, instead it will be a .rar extractor using the JUnrar library. A pull request* on Github to the extra-tool-installers-plugin repo has been made and the progress can be seen here

Re: custom-tools plugin: adding support for 7z-files

2016-05-07 Thread Oleg Nenashev
> Aha, so making a standalone ToolInstaller should work then? Yes > What needs to be done in a standalone in order for this to work? Should I copy the behavior of FilePath's installIfNecessary(...) into my performInstallation(...) regarding connections and so on? Will this ultimately end up like

Re: custom-tools plugin: adding support for 7z-files

2016-05-07 Thread Martin Hjelmqvist
Bump :) Den tisdag 3 maj 2016 kl. 15:30:09 UTC+2 skrev Martin Hjelmqvist: > > Most likely you do not need it, because you can implement a standalone >> ToolInstaller. But such switch is a good option for generic installers as >> well. >> > > Aha, so making a standalone ToolInstaller should work

Re: custom-tools plugin: adding support for 7z-files

2016-05-02 Thread Oleg Nenashev
Aha, interesting. How does that work? Is there a way to select some sort of > long name option before compressing files? Not familiar with it. Good to > hear that the work won't be in vain at least. See http://commons.apache.org/proper/commons-compress/tar.html . The library supports

Re: custom-tools plugin: adding support for 7z-files

2016-05-01 Thread Martin Hjelmqvist
Thanks for the reply. Figured you were busy with something. :) > You are right, the extraction happens in FilePath. In the Jenkins project > we rely on the implementation in org.apache.commons.compress.archivers. It > supports endian bits at least for unarchive operations. > Yes and no, we

Re: custom-tools plugin: adding support for 7z-files

2016-04-29 Thread Oleg Nenashev
Hi Martin, Let me apologize for the response delay. And thanks for pinging me via a direct message. I was snowed under GSoC activities and missed the notice. If there is no response within 2 days, please do not hesitate to ping me again. Please find my feedback below... How does the current

Re: custom-tools plugin: adding support for 7z-files

2016-04-12 Thread Martin Hjelmqvist
Hello again. Been away for a while, but I'm back at it again. Got a couple of questions also. So, using the format 7z *might* cause a problem due to the endianness of the format. *1.* How does the current extraction of tar.gz/zip files handle this issue? As far as I know the extraction is

Re: custom-tools plugin: adding support for 7z-files

2016-03-24 Thread Oleg Nenashev
> > If this 7zip-installer is added to ExtraToolInstallers, where in custom > tools plugin do you think I should call the 7zip-installer? > In the case of ToolInstaller you don't need to modify Custom Tools at all. When Custom Tool plugin requests a tool home directory, all the installation

Re: custom-tools plugin: adding support for 7z-files

2016-03-24 Thread Vincent Daburon
Hi, In the javadoc, you could see : https://commons.apache.org/proper/commons-compress/apidocs/index.html?org/apache/commons/compress/archivers/sevenz/package-tree.html "The format is very Windows/Intel specific, so it uses little-endian byte order, doesn't store user/group or permission bits,

Re: custom-tools plugin: adding support for 7z-files

2016-03-24 Thread Martin Hjelmqvist
I have code for a simple 7z-extractor using Apache's SevenZ classes, but 7-Zip-JBinding might be better to use instead. I'll have a closer look at it later. Thanks for the tip. :) Den torsdag 24 mars 2016 kl. 13:12:12 UTC+1 skrev Boris Brodski: > > Sorry for interfering. Can 7-Zip-JBinding be

Re: custom-tools plugin: adding support for 7z-files

2016-03-24 Thread Boris Brodski
Sorry for interfering. Can 7-Zip-JBinding be helpful in some way here? http://sevenzipjbind.sourceforge.net/ -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: custom-tools plugin: adding support for 7z-files

2016-03-24 Thread Martin Hjelmqvist
Hello again, Oleg I could use some more advice about how to integrate this feature. If this 7zip-installer is added to ExtraToolInstallers, where in custom tools plugin do you think I should call the 7zip-installer? So far the tracks lead me to hudson.tools.FilePath where an if statement

Re: custom-tools plugin: adding support for 7z-files

2016-03-22 Thread Oleg Nenashev
Hi Martin, Yes, GSoC is definitely not an option for this year bachelor thesis. Are you proposing that I add this feature in the Extra Tool Installers > Plugin that extends AbstractExtraToolInstaller (which in turn extends > ToolInstaller)? By extension points, you mean like

Re: custom-tools plugin: adding support for 7z-files

2016-03-22 Thread Martin Hjelmqvist
Hi Oleg! Good to hear! This project is planned to be finished by the end of May this year though. Aha, I need to approach this in another way then. Are you proposing that I add this feature in the Extra Tool Installers Plugin that extends AbstractExtraToolInstaller (which in turn extends

Re: custom-tools plugin: adding support for 7z-files

2016-03-22 Thread Oleg Nenashev
Hi Martin, Great to hear that you're working on this plugin. I'm it's maintainer, so I will try to help where I can. If you consider a long-term project ("if you graduate on the next year"), maybe you would be interested to make a proposal for Google Summer Of Code

custom-tools plugin: adding support for 7z-files

2016-03-22 Thread Martin Hjelmqvist
Hello, I'm currently working on my bachelor thesis; Improve the Jenkins custom tools installer. There is a need for a file format able to contain up to 100GB of installation files, since tar.gz and zip has a size limit of ~8GB and ~4GB size limit respectively. The idea is to add support for