|
Hi, I am using the REST interface to deploy a file to Artifactory. I have so far not been able to upload the client checksums when deploying the file. The web interface reports "Uploaded: None". "Remote checksum doesn't exist." The checksums that I provide seems to just be silently ignored. I do not see anything strange in the logs, apart from artifactory.log which says "Checksum info not found...". Artifactory is version 2.3.1, hosted on a RedHat Linux 5.7 server. I am deploying from a RedHat Linux 5.5 node. Curl is 7.15.5. curl command ============ $ curl --upload-file component_r23478.tgz --user user:passw -H"X-Checksum-Md5:d6670c50ffda21199c96868b963a47ad" -H"X-Checksum-Sha1:8df604812cdb0e42d885c29c608c31736f90c3d3" "http://host:8080/artifactory/core.releases-local/com/company/component/r23478/component-r23478.tgz"; request.log ============ 20120207111444|195|REQUEST|xx.yyy.zz.29|user|PUT|/core.releases-local/com/company/component/r23478/component-r23478.tgz|HTTP/1.1|200|1802476 artifactory.log =============== 2012-02-07 11:14:44,948 [http-8080-3] [DEBUG] (o.a.j.f.JcrFile :599) - SHA-1 checksum info not found for 'com/company/component/r23478/component-r23478.tgz. Creating one with empty original checksum. 2012-02-07 11:14:44,949 [http-8080-3] [DEBUG] (o.a.j.f.JcrFile :599) - MD5 checksum info not found for 'com/company/component/r23478/component-r23478.tgz. Creating one with empty original checksum. 2012-02-07 11:14:44,949 [http-8080-3] [DEBUG] (o.a.r.j.StoringRepoMixin:595) - Saved resource 'core.releases-local:com/component/r23478/component-r23478.tgz' with length 1802476 into repository 'core.releases-local'. Any ideas are greatly appreciated thanks. /Anders ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
The checksum headers are supported from version 2.3.2. You are one version behind ; ) You can still upload the checksums with additional PUT requests. For example: curl -i -X PUT -d "8df604812cdb0e42d885c29c608c31736f90c3d3" -uuser:pass "http://host:8080/artifactory/core.releases-local/com/company/component/r23478/component-r23478.tgz.sha1" Yossi Shaul On Tue, Feb 7, 2012 at 15:06, Anders Wallin <[hidden email]> wrote:
------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
Ahhh, so that's the problem!!!
Thanks for providing an answer, and especially for suggesting an alternate solution. Best regards Anders |
| Powered by Nabble | See how NAML generates this page |
