Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    npmprogetdeployments
    5 Posts 3 Posters 18 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brice2parisB Offline
      brice2paris
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • brice2parisB Offline
          brice2paris
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer
            last edited by

            No problem, I've filed PG-1277 so we can make sure it's done everywhere!

            1 Reply Last reply Reply Quote 0
            • brice2parisB Offline
              brice2paris
              last edited by

              Hi,

              I have tested with npm and all is working now. Thanks very much.

              Regards

              Fabrice

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation