Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Could not add record on deployments table for npm feed
-
Hi,
I'm creating a custom npm client to add headers that are needed to record deployments.
GET http://swdafrwnetv84.cib.net:80/npm/NPM-Int/angular/-/angular-1.6.10.tgz HTTP/1.1 connection: keep-alive User-Agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch) X-ProGet-Deployment-Application: TestApplication X-ProGet-Deployment-Description: A description X-ProGet-Deployment-Target: target.dtc.com npm-in-ci: false npm-scope: npm-session: d0cacdb74913b43b referer: install pacote-req-type: tarball pacote-pkg-id: registry:angular@http://swdafrwnetv84.dtc.net/npm/NPM-Int/angular/-/angular-1.6.10.tgz Accept: */* Accept-Encoding: gzip,deflate Host: swdafrwnetv84.cib.net:80
Unfortunately it doesn't work. Could you help me please ?
Regards,
Fabrice
Product: ProGet
Version: 5.0.9
-
Hello Fabrice,
I looked at the code and it seems that only NuGet and UPack feeds look at those headers. I've filed PG-1271 to make npm feeds also record deployments.
-
Thanks for your answer. If you could extand that to all feed type it could be great because other Package hasn't this feature. And it was the best argument to chose your product instead of Artifactory.
Best reagards.
Fabrice
-
No problem, I've filed PG-1277 so we can make sure it's done everywhere!
-
Hi,
I have tested with npm and all is working now. Thanks very much.
Regards
Fabrice