Hi @andreas.unverdorben_1551 ,
Just as an FYI, I submitted two pull requests for this:
- https://github.com/github/advisory-database/pull/8689
- https://github.com/github/advisory-database/pull/8690
Thanks,
Alana
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!
C# developer by trade, but writing less and less code and more and more specs.
Hi @andreas.unverdorben_1551 ,
Just as an FYI, I submitted two pull requests for this:
Thanks,
Alana
@joshuagilman_1054 I don't really know PowerShell myself (today I learned you can do classes
)... but behind-the-scenes it's .NET, and that means we can use nullable value types.
I tried [int?] (nullable shortcut syntax) and [Nullable<int>] (generics shortcut syntax) but PowerShell isn't so happy with either. So the long way it is...
[System.Nullable``1[[System.Int32]]] $myInt = 0
echo "myInt is $myInt "
$myInt = $null
echo "myInt is $myInt "
$myInt = 1000
echo "myInt is $myInt "
That should do the trick for you, and is close to our JSON Model anyways.
You can reset the Admin user account password by stopping the ProGet Windows service, then running ProGet.Service.exe and selecting the "ResetAdminPassword" option. Make sure to restart the Windows service when finished.
@Stephen-Schaff said in API to apply an Alternate Tag to Docker Container Image:
Here is the PowerShell function that does both the promotion and the tagging (incase anyone ever needs something like this). Kind of a "do it yourself" repackaging. (Might be nice to have the Repackaging API support Docker container images someday).
Thanks for sharing this, I've added it to our Semantic Versioning for Containers docs page, I hope that's okay :)
And yes I agree, it woudl be nice to make this an easier API call
Hi @m-lee_3921 ,
Thanks for the heads-up; we'll get this fixed via PG-3059 in the next maintenance release (scheduled for later today).
And you're right -- its basically the same issue. SQL Server silently truncates string values whereas PostgreSQL does not, hence these errors.
We decided to not auto-truncate, since it's better to know about these cases than not. In this case, it's a IPv6 address that was longer than the 20-character limit. We plan to refactor API key logging at some point, so we'll just continue to truncate v6 IPs.
Thanks,
Alana
Hi @carl-westman_8110 ,
The error message means that the database wasn't updated as per normal during the start-up process. It's hard to guess why, as we have special handling for that.
It's likely that restarting the service would have fixed it, but downgrading and then upgrading would also force an upgrade as well. Unfortunately it's hard to say at this point.
Upgrading to 2025.10 should be fine.
Thanks,
Alana
Hello; I've updated the documentation to clarify this, but it's available starting in ProGet 5.2.9. So, you'll need to upgrade to enable it :)
Hello; you'll need to change the BaseUrl in advanced settings so that ProGet can construct an absolute URL when needed (certain NuGet fields, etc). I've updated the docs to reflect this.
We've got some major container improvements coming in ProGet 5.3, and will revamp our product; hopefully we'll be able to present this pretty soon!
I think, once you see what we have planned, you'll want to change/improve your workflows to simplify things, and this may not even be necessary... anyways, stay tuned.
Hi @dimas ,
These are both false positives.
[1] Even with Windows Integrated Authentication enabled, ProGet does not rely on ASP.NET Core's LDAP claim resolution so this vulnerability is nonexploitable
[2] The go runtime is not used and thus the vulnerability is nonexploitable
As a general practice, we don't upgrade dependencies in maintenance releases unless required to fix a bug or security issue.
Thanks,
Alana
Hi @si.peham_2672 ,
Based on how you've described the issue, Considering how ProGet works, it's unlikely it has anything to do with "being logged in with docker login", but more of a timing/coincidence thing.
If a blob (layer) is not cached, then it must be downloaded through a connector. Dockerhub may be rate limiting you, or an endpoint protection you have configured might be blocking it. It's really hard to say -- you'd really need to troubleshoot the connection between ProGet and DockerHub.
What version/edition of ProGet are you using? Did start happening all of a sudden, or is it a recurring issue? Is it consistently the same blob, or is it always something different?
I would try to consistently reproduce it by pulling, deleting cached images, etc.
Thanks,
Alana
Thanks for clarifying; so basically, you stop treating master as the "current release branch" once all the tickets in the sprint are closed. At that point, master becomes the "next release branch".
If further work is needed later (e.g. fixing a regression discovered by QA), then you create a "current release branch" from the build's commit and use that branch.
So, in that case, we recommend to mirror the real-world status in BuildMaster by setting the current release's branch to (nothing). Just do that when you create the "next release". That way, it won't match the new commit branch.
As for creating a script... honestly I'm not really sure. It's just not a use case we've considered and would probably iterating releases with @ReleasesInApplication and doing a $CompareReleaseSequence to find the latest one. Maybe you'd have to psexec to get powershell to write it more naturally.
This is indeed by design. You've got two active releases that are associated with a single branch. So, a commit to that branch will trigger builds in both releases.
From a best practices standpoint, you should not start new development work on a branch that is being validated for production. If there's an issue detected during testing, fixing that would involve undoing the new work and/or incorporating even more changes in the pipeline.
Your best bet is to not have multiple releases targeting the same branch. If you want to start on a "new release to start new work" while a current release is in the pipeline, I would just create a branch in Git and work off that.
Otherwise, I can't think of a work-around here without using some complex/convoluted scripting. There's just no way to programmatically "know" which release the commit was intended for.
Hope that helps,
Alana
Hi @cyril ,
We weren't able to get this in the Nov 13 release as you may have noticed; it ended up being a bit more involved. That said, I think that's a good idea, and we will try to incorporate all the "feed-specific" property types as part of this.
Thanks,
Alana
Thanks for the heads-up @felfert !
It looks like this has to do with some kind of change in the base image, though it didn't get spotted in our regression testing; we're aware of the issue now and have already "pulled" the tag.
We believe we have a fix and hope to address first thing Monday morning.
Hi @wechselberg.nisboerge_3629 ,
It looks like the query is timing out after about thirty seconds. Does that line up with what you've seen? It starts deleting, and then fails?
Are there a lot of assets in the directory? It could just be a bug/issue with the deletion code for large asset repositories.
Thanks,
Alana
Hi @bobmaurer ,
There are a couple ways to handle this:
But if it's temporary, then it doesn't really matter. They will both work.
Thanks,
Alana
Hi @clsa ,
Thanks for clarifying that -- I was looking to update the documentation and wanted to share my understanding to see if you had more insight here.
It seems like this limitation applies to .pfx files but not .pem files. If we convert the pfx to a pem, it seems to work.
Have you tried using --store pemfiles with WinACME instead?
I'm thinking we can just note this and recommend using pem files instead.
Thanks,
Alana
Thanks @cyril! We'll definitely take a look and see what we can do to resolve this. Pleae stay tuned :)