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!

  • Proget api for clear-cache

    2
    0 Votes
    2 Posts
    11 Views
    atrippA
    This isn't supported through an API; you could, however, just set-up a retention policy that automatically deletes the cache as space is needed.
  • Restricting API access to View/Download

    3
    0 Votes
    3 Posts
    17 Views
    vfortinV
    The team in question was already using apt but was looking for an alternative since they had less parsing to do to get the information relevant to them with the native API call rather than using apt show. But since using the native API is not a viable option as you have confirmed me and we'd instead need a third party API they'll keep using apt. Thank you for your input.
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    5 Views
  • Anonymous User access to PyPI feed cannot be revoked

    2
    0 Votes
    2 Posts
    7 Views
    F
    Found a workaround: adding restriction.
  • Proget keeps mangling NuGet package version numbers!

    nuget buildmaster powershell
    9
    0 Votes
    9 Posts
    88 Views
    S
    The root of the issue is the NuGet team's decision to force SemVer: https://github.com/NuGet/Home/issues/3050
  • S3 Store with deny public policy set fails

    6
    0 Votes
    6 Posts
    15 Views
    apxltdA
    Aaand, published :) Appreciate verifying & helping us finding this bug.
  • Data migration from old PostgreSQL to new SQL server database

    2
    0 Votes
    2 Posts
    11 Views
    atrippA
    Hello; Here is a guide on how to migrate packages in feeds: https://inedo.com/support/kb/1168/proget-feed-migration As far as users and API keys, we don't have a supported migration path for those. However, many users have simply "copied" the data from one database table to another. The tables are Users, Groups, UserGroups, and ApiKeys. IF the configured encryption key in both instances is the same, it will still encrypt/decrypt fine. Best. Alana
  • Deletion of certain docker images fail

    3
    0 Votes
    3 Posts
    11 Views
    D
    Thank you, sound good. I will give the patch a go.
  • [Question - ProGet] Are versions amount wrong ?

    4
    0 Votes
    4 Posts
    11 Views
    atrippA
    Another 5.3 screenshot! When you enable "strict" (SemVer2) versioning, you'll see how "virtual" get added -- they get automatically generated when you add/remove tags. The feed also restricts adding anything but semver2 tags. [image: 1585549164356-cc835818-45d1-4e17-8d6d-93f0c6c8faa6-image.png]
  • [BUG - ProGet] Not able to remove container description

    6
    0 Votes
    6 Posts
    9 Views
    atrippA
    I can confirm this works quite well in 5.3; we hope to have a pre-release this week :) Here's a sneak peak; [image: 1585548862114-2c1e5806-8028-44dd-9af4-4fe7f81cff8e-image.png]
  • Cannot pull from another repository

    4
    0 Votes
    4 Posts
    18 Views
    atrippA
    I would try a couple other things, to first eliminate the conditions. First, how about pulling from a specific connector? Navigate to the version of the package you want, like /feeds/feed-name/adobereader/2020.006.20042, and then click "Pull to ProGet". That way you'll get a specific connector and a specific version. If the individual packages work, but the "Add Package" route you took doesn't, then perhaps it's some sort of Mono-related bug. Those are hard to track down, and they come/go as the mono docker image is patched. We will eventually address this by moving to a more stable, .NET core version, once it's released by Microsoft. Try some other packages, to see if they also don't work. If some packages work, but others don't, it's probably related to your gateway/router blocking things that it sees as security risks. If that still doesn't work, then consider to attach ProGet to a Proxy server, like a Fiddler instance, by going to Admin > Proxy. You can then monitor the outbound traffic.
  • How to find out package disk space?

    7
    1 Votes
    7 Posts
    21 Views
    apxltdA
    Just a quick in-progress preview of what we've got coming; feedback welcome! [image: 1585492508427-2aefec08-0033-4d19-8dad-bb75849bbcce-image.png]
  • Duplicate commits result in overwriting the file

    5
    0 Votes
    5 Posts
    10 Views
    rhessingerR
    Hi @huomm23_2930 , I'm glad to hear that worked for you! Thanks for giving me an update. Thanks, Rich
  • RPM upload fails - 42P01: missing FROM-clause entry for table "rpv"

    4
    0 Votes
    4 Posts
    11 Views
    J
    Today, I have installed a clean version 5.2.27 (Build 6) and RPM is working now. I moved to the MS SQL from PostgreSQL. Using: version: '3.7' services: proget: image: inedo/proget container_name: proget environment: - PROGET_DB_TYPE=SqlServer - PROGET_DATABASE=Data Source=proget-sql; Initial Catalog=ProGet; User ID=sa; Password=XXX volumes: - packages:/var/proget/packages - extensions:/var/proget/extensions links: - proget-sql restart: always networks: - webproxy - proget proget-sql: image: mcr.microsoft.com/mssql/server:2017-latest hostname: proget-sql container_name: proget-sql environment: - ACCEPT_EULA=Y - MSSQL_SA_PASSWORD=XXX - MSSQL_PID=Express volumes: - db_data:/var/opt/mssql/data:rw - db_log:/var/opt/mssql/log:rw - db_secrets:/var/opt/mssql/secrets:rw restart: always networks: - proget volumes: packages: extensions: db_data: db_log: db_secrets: networks: webproxy: external: name: webproxy proget: driver: bridge and create manually DB according to the Linux install guide.
  • Credentials_CreateOrUpdateCredential

    2
    0 Votes
    2 Posts
    8 Views
    atrippA
    Unfortunately we don't yet have an API for the credentials, but it's something we'd like to make. In the mean time, the Native API will work. If you look in the database, you'll be able to see how credentials are structured, and how things like Password are stored. The secret fields are encrypted using DPAPI, with the Encryption key stored in the configuration file. Here's the specific code we use to encrypt/decrypt. Please share what you come up with, would definitely help out in the mean time :) private static byte[] Decrypt(byte[] data) { if (protectedAesKey == null || protectedAesKey.Length == 0) throw new InvalidOperationException("Cannot decrypt persistent property; decryption key not configured."); byte[] key; try { key = ProtectedData.Unprotect(protectedAesKey, null, DataProtectionScope.LocalMachine); } catch (CryptographicException ex) { throw new InvalidOperationException( $"An error occurred during decryption (\"{ex.Message}\"). This usually means that the encryption key has changed between" + " encrypting and decrypting the data, which might happen if you accidentally overwrite a configuration setting, perhaps during an upgrade or reinstall." + " Check your configured encryption key, and restart the service and web application(s) as needed."); } try { var nonce = new byte[16]; Array.Copy(data, 0, nonce, 0, 8); Array.Copy(data, data.Length - 8, nonce, 8, 8); using (var buffer = new MemoryStream(data.Length - 16)) { buffer.Write(data, 8, data.Length - 16); buffer.Position = 0; using (var aes = new AesManaged { Key = key, IV = nonce, Padding = PaddingMode.PKCS7 }) using (var cryptoStream = new CryptoStream(buffer, aes.CreateDecryptor(), CryptoStreamMode.Read)) { var output = new byte[SlimBinaryFormatter.ReadLength(cryptoStream)]; cryptoStream.Read(output, 0, output.Length); return output; } } } finally { if (key != null) Array.Clear(key, 0, key.Length); } } private static byte[] Encrypt(byte[] data) { if (protectedAesKey == null || protectedAesKey.Length == 0) return null; var key = ProtectedData.Unprotect(protectedAesKey, null, DataProtectionScope.LocalMachine); try { using (var aes = new AesManaged { Key = key, Padding = PaddingMode.PKCS7 }) { aes.GenerateIV(); using (var outputBuffer = new MemoryStream()) { outputBuffer.Write(aes.IV, 0, 8); using (var cryptoStream = new CryptoStream(new UncloseableStream(outputBuffer), aes.CreateEncryptor(), CryptoStreamMode.Write)) { SlimBinaryFormatter.WriteLength(cryptoStream, data.Length); cryptoStream.Write(data, 0, data.Length); } outputBuffer.Write(aes.IV, 8, 8); return outputBuffer.ToArray(); } } } finally { if (key != null) Array.Clear(key, 0, key.Length); } }
  • BuildMaster Extension updates and Windows Agents

    2
    0 Votes
    2 Posts
    15 Views
    atrippA
    Hello; this is unusual. But in this case, restarting the service should have also resolved the error. That will trigger the Agent Update Checker, which does restart the agents. Most likely, a sort of load error happened on the agent; hard to say what without looking at logs. It's almost always an anti-virus or some sort of program locking files at the wrong time. If it keeps happening, it might be worth investigating further.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    5 Views
  • Maps in vector and PowerShell

    4
    0 Votes
    4 Posts
    20 Views
    rhessingerR
    Hi @Adam, I have pushed an updated extension that includes this fix. The fix is included in the Windows extension 1.0.18+ and 1.7.1+. You should see an update when you check in Administration > Extensions. Please let me know if you have nay issues! Thanks, Rich
  • Proget docker registry - multiple connectors?

    2
    0 Votes
    2 Posts
    18 Views
    rhessingerR
    Hi @aclauss, If you go to the feeds page in ProGet, in the upper left corner you should see a toggle button that has two options: Feeds and Connectors. Please click the Connectors button and you should see a list of your connectors. From there you can click Create Connector to create a new connector. [image: 1584961139969-cfde39c9-4c9d-4212-be2f-bfc6e64776be-image.png] Once you create the connector, you can tie it to your feed by going back to the manage feed page, click connectors, and now that connector dropdown you see before should contain the connector you recently created. Hope that helps! Thanks, Rich
  • SECURITY VULNERABILITY: nuget cli requires anonymous access to feed

    7
    0 Votes
    7 Posts
    8 Views
    atrippA
    I'm sorry that my suggestion offended you. ProGet doesn't "prefer" anything. It's a standard, authenticated feed. If it works in your browser (i.e. the feed endpoint URL), then it should work in NuGet. if it doesn't work in NuGet, then NuGet isn't being configured correctly. "Behind the scenes", NuGet uses "basic authentication" to transmit those credentials to ProGet. It's the same mechanism your browser uses when you navigate to the feed API (i.e. a pop-up). Credentials are stored in the nuget.config; the link I provided shows you how to edit that configuration file. You can either edit it yourself or use the sources command-line argument. https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file#packagesourcecredentials You can attach a tool like Fiddler to NuGet.exe, and see what it's sending in different cases. It might be a NuGet bug.
Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation