Add files to a pablished zip

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Add files to a pablished zip

ekirmayer
Hi,

Is it possible to add additional files to a zip which was already deployed, without downloading and uploading again?

If there is, will the hash be regenerated?

Thanks.
Elad
Reply | Threaded
Open this post in threaded view
|

Re: Add files to a pablished zip

HughG_TMVSE
Hi Elad,

I don't know, but as someone who's been co-ordinating a number of in-house teams using Artifactory for quite a while now, I'd urge you not to do that.  Just publish a new version with the files you need added, and delete the old one if you're sure nobody has downloaded it.  Otherwise you risk making it hard to reproduce builds.

Can you tell us what kind of file you're trying to add -- that is, what you're really trying to achieve?

Regards,

Hugh Greene, Senior Software Developer
Toshiba Medical Visualization Systems Europe, Ltd
Bonnington Bond, 2 Anderson Place, Edinburgh EH6 5NP, UK
Tel + 44 (0)131 472 4792 / Fax + 44 (0) 131 472 4799
http://www.tmvse.com / mailto:[hidden email]

DISCLAIMER
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message.


-----Original Message-----
From: ekirmayer [mailto:[hidden email]]
Sent: 19 November 2015 13:34
To: [hidden email]
Subject: [Artifactory-users] Add files to a pablished zip

Hi,

Is it possible to add additional files to a zip which was already deployed, without downloading and uploading again?

If there is, will the hash be regenerated?

Thanks.
Elad



--
View this message in context: http://forums.jfrog.org/Add-files-to-a-pablished-zip-tp7580611.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Add files to a pablished zip

ekirmayer
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
Reply | Threaded
Open this post in threaded view
|

Re: Add files to a pablished zip

denebeim
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 <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users