When looking for the latest version of the artifacts for a specific
country, we need to fetch all artifacts in the blob storage in order to
figure out what is latest. This fix uses an approximation of latest
version number (actually the one shipping in a month) and trying to
download that (or 2 prior versions)
Additional improvements we are looking at for future optimizations:
- Use OCI artifacts for artifacts storage instead of traditional blob
storage
- Restructure artifacts in more layers to allow for partial download of
what you need in various scenarios
- Create index if artifacts to allow for querying artifacts without
reading tags/annotations
---------
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
Three version number fixes:
- Bump version
- As minimum, always use the generic tag version which was available
when shipping BcContainerHelper
- Add awareness of Windows 11 24H2
- Issue 3697 Running tests fails with 401 when running on a BC25 sandbox
container with AAD authentication
Fixes#3694Fixes#3697
---------
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
Bump version number + use pre-release altool when running AlCops (to be
able to get runtime version of nextmajor)
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
Bump version number
Fixes#3525
Dumps free disk space on container exceptions
Increase download timeout on insider or no CDN
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
Fixes#3467
Issue 3467 Can't create a backup of a container with the
Backup-BCContainerDatabases commandlet
Use PowerShell 5 in places where invoke-sqlcmd or other functions from
the SqlServer PowerShell module are used
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
Fixes#3420
Use process isolation on Windows Server 2022 by default
Fixes#3411 - best explained by the following code
```powershell
$json = '{"time": "2024-03-14T16:49:31.6130000Z"}'
$obj = $json | ConvertFrom-Json
$obj.time | Out-Host
$obj.time.GetType().Name | Out-Host
```
will return
```
2024-03-14T16:49:31.6130000Z
String
```
in PowerShell 5.1, and
```
Thursday, 14 March 2024 16.49.31
DateTime
```
in PowerShell 7
---------
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
Rename appinfo cache from AppInfo.json to cache_AppInfo.json (in order
for it to be picked up by .gitignore)
Proof of concept functionality for NuGet feeds:
- Add trusted feeds to ContainerHelper settings.
- Search all trusted feeds for packages in Get-BcNuGetPackage
- Some refactoring of NuGet code
- Allow searching for Earliest, Latest, Any or Exact version of NuGet
package
- Support NuGet Versioning schema
---------
Co-authored-by: freddydk <freddydk@users.noreply.github.com>