Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Paint.NET has a new json file to parse for a new version #783

Open
2 tasks
farag2 opened this issue Dec 12, 2024 · 2 comments
Open
2 tasks

[Feature]: Paint.NET has a new json file to parse for a new version #783

farag2 opened this issue Dec 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@farag2
Copy link

farag2 commented Dec 12, 2024

What is your feature request?

Paint.NET has a new json file to parse for a new version https://getpaint.net/updates/v9/manifest.os1000.x64.json instead of https://www.getpaint.net/updates/versions.8.1000.0.x64.en.txt

https://github.com/aaronparker/evergreen/blob/main/Evergreen/Manifests/PaintDotNet.json

Have you tested against the current version?

  • Yes, I've updated Evergreen and tested against the current version.

Have you reviewed the documentation?

@farag2 farag2 added the enhancement New feature or request label Dec 12, 2024
@aaronparker aaronparker mentioned this issue Dec 12, 2024
@AScott-WWF
Copy link

I see that this has been released into version 2412.1770 of Evergreen, unfortunately it is finding two versions (one of which is a beta version)

get-evergreenApp -Name PaintDotNet -Verbose | ft
VERBOSE: Function path: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2412.1770\Apps\Get-PaintDotNet.ps1
VERBOSE: Function exists: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2412.1770\Apps\Get-PaintDotNet.ps1.
VERBOSE: Dot sourcing: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2412.1770\Apps\Get-PaintDotNet.ps1.
VERBOSE: Get-FunctionResource: read application resource strings from [C:\Program Files\WindowsPowerShell\Modules\Evergreen\2412.1770\Manifests\PaintDotNet.json]
VERBOSE: Calling: Get-PaintDotNet.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Method: Default.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/127.0.2651.105.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UseBasicParsing: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: MaximumRedirection: 2.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: DisableKeepAlive: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Uri: https://getpaint.net/updates/v9/manifest.os1000.x64.json.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: ContentType: application/json; charset=utf-8.
VERBOSE: Requested HTTP/1.1 GET with 0-byte payload
VERBOSE: Received HTTP/1.1 2119-byte response of content type application/json
VERBOSE: Content encoding: utf-8
VERBOSE: Get-Architecture: Architecture not found in anycpu, defaulting to x86.
VERBOSE: Get-Architecture: Architecture not found in anycpu, defaulting to x86.

Version                          Architecture URI
-------                          ------------ ---
{5.101.9105.2940, 5.102.918.148} x86          https://github.com/paintdotnet/release/releases/download/v5.1.1/paint.net.5.1.1.install.anycpu.web.zip
{5.101.9105.2940, 5.102.918.148} x64          https://github.com/paintdotnet/release/releases/download/v5.1.1/paint.net.5.1.1.install.x64.zip
{5.101.9105.2940, 5.102.918.148} ARM64        https://github.com/paintdotnet/release/releases/download/v5.1.1/paint.net.5.1.1.install.arm64.zip
{5.101.9105.2940, 5.102.918.148} x86          https://github.com/paintdotnet/release/releases/download/v5.1.2-beta.5.102.9118.148/paint.net.5.102.9118.148.install.anycpu.web.zip
{5.101.9105.2940, 5.102.918.148} x64          https://github.com/paintdotnet/release/releases/download/v5.1.2-beta.5.102.9118.148/paint.net.5.102.9118.148.install.x64.zip
{5.101.9105.2940, 5.102.918.148} ARM64        https://github.com/paintdotnet/release/releases/download/v5.1.2-beta.5.102.9118.148/paint.net.5.102.9118.148.install.arm64.zip

I suspect that the 'milestone' attribute in the .json file (https://getpaint.net/updates/v9/manifest.os1000.x64.json) could be used to define the Channel (Stable or Beta)

@aaronparker
Copy link
Owner

Thanks - the other day it was only showing a single milestone, so an update shouldn't be too hard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants