Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. andrey-ne_7936
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    andrey-ne_7936

    @andrey-ne_7936

    0
    Reputation
    3
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    andrey-ne_7936 Follow

    Best posts made by andrey-ne_7936

    This user hasn't posted anything yet.

    Latest posts made by andrey-ne_7936

    • [ProGet] [NativeApi] NpmPackages_DeletePackage not working.

      Hello!
      I'm trying to delete a npm package from a feed via native api.

      await fetch(`${host}/api/json/NpmPackages_DeletePackage`, 'post', {
                      'Content-Type': 'application/json'
                  }, JSON.stringify({
                      Feed_Name: 'npm',
                      Package_Name: name.split('/').pop(),  // `pkgname`
                      Scope_Name: name.split('/')[0],  // '@myscope`
                      API_Key: this.token,
                      Version_Text: pkg.Version.toString() // `2.3.4`
                  }));
      

      And it returns 200: OK with simple headers

        'content-length': '0',
          'cache-control': 'private',
          'x-proget-version': '5.3.24.7',
          'strict-transport-security': 'max-age=31536000; includeSubDomains',
          'x-frame-options': 'SAMEORIGIN',
          'x-content-type-options': 'nosniff',
          'x-xss-protection': '1; mode=block',
      

      But a package remains in a feed.

      How can I remove a package from npm feed with api?

      ProGet version 5.3.24 hosted on docker

      posted in Support
      A
      andrey-ne_7936
    • RE: Proget docker delete manifest api request fails

      Ok, thank you!

      posted in Support
      A
      andrey-ne_7936
    • Proget docker delete manifest api request fails

      I'm trying to delete old docker manifests from proget, so i request DELETE /v2/${repo}/manifests/${digest} with header AUTHENTICATION: BASIC ${base64('api:myapikey')}, where digest is taken from 'docker-content-digest' header of manifest request. Like in docs.
      Proget server returns error:
      500: {"errors":[{"code":"UNKNOWN","message":"XX000: failed to find conversion function from unknown to text","detail":[]}]}
      It looks like postgres problem.
      Will it disappear if we move on MSSQL?

      Proget 5.2.22 (Build 4) installed in docker
      Postgres 9.5

      posted in Support
      A
      andrey-ne_7936