It's not possible to the best of my knowledge. When the artifact is in artifactory it's only a blob, everything we know about it is in the database. So you'll have to pull out the zip, modify it, and put it back in. This will give it a different checksum obviously so it will be stored somewhere else. Also we process zip files to store what's in them and so on, this will have to be done on your modified zip, so you have to resave it anyway.
To do what you want to do I think your best bet would be to write a script that you run on your host running artifactory. Use like curl to check the zip file out, do your modification, and push it back. Running on the machine with artifactory is pretty efficient. Your other option would be to write a plugin which would do pretty much the same thing, except all in artifactory. You probably don't want to do that for a one-shot like this though. Hope this helps, Jay On Thu, Nov 19, 2015 at 10:15 AM ekirmayer <[email protected]> wrote: > Hi, > > I need to add a missing file to quite a lot of published items. This is a > new requirement and this is why I'm trying to find a way that doesn't > involve with downloading the package from artifctory first. > > I also think that this is not possible but thought to ask just in case > someone has an answer. > > Regards > elad > > > > -- > View this message in context: > http://forums.jfrog.org/Add-files-to-a-pablished-zip-tp7580611p7580615.html > Sent from the Artifactory - Users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users > -- Jay Denebeim | Solutions Engineer | JFrog 3945 Freedom Circle | Santa Clara | CA 95054 U.S Toll Free: +1.888.494.2855 | Tel: +1.408.329.1540 This message may contain confidential and/or proprietary information, and is intended only for the person/entity to whom it was originally addressed. The content of this message may contain private views and opinions, which do not constitute a formal disclosure or commitment unless specifically stated.
------------------------------------------------------------------------------
_______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
