Yesterday, I was working with another developer to start uploading tar.gz packages to our Octopus 3.3 server. We Googled a bit and eventually found some info on the API endpoint name, etc. Today, when I went back to my (admin) account and looked at the Library page, I was shocked to see exactly the info we needed shown right on top!
This page shows packages stored in the Octopus Server's built-in package repository. The repository accepts NuGet, zip, tar, tar gzip and tar bzip2 packages. Use the Upload package button above to add a package to the library.
Push NuGet packages using a NuGet client to add them here:
NuGet.exe push YourApp.nupkg -ApiKey <Your API Key> -Source <URL>/nuget/packages
Upload packages via the api with PowerShell:
$wc = new-object System.Net.WebClient
$wc.UploadFile("<URL>/api/packages/raw?apiKey=<Your API Key>", "YourApp.1.0.0.zip")
Octopus does not allow NuGet clients to connect to this feed to retrieve packages; the feed only supports deployable packages, and does't allow NuGet packages to be consumed from Visual Studio and other tools.
Even though the other dev wasn’t admin in Octopus, we used his API key to perform the upload, and it worked fine. So the question is, why didn’t he see this extremely helpful information? His account can apparently upload packages - shouldn’t he see the message as well?
That extended package support and upload information was only added in 3.3, you mention that your Octopus Server is 3.2, was that a typo (I assume that it is a typo as you have another support ticket about pushing large tar.gz packages)?
The extended information is shown to users with the BuiltInFeedPush permission. Could you get the dev to do a hard refresh on that page as the browser might have cached the old version.
Yes, as you mention, that was a typo. I actually fixed it just before you replied. Sorry.
The user has done a hard refresh, but still does not see the info. The user is a system administrator, but scoped to individual projects. This probably explains why he doesn’t see the info on the general Library page. Perhaps the page should show the info if they have BuiltInFeedPush on any project?