thilojaeggi / WinGetty

An open source REST Backend for creating a private WinGet Repo without having to rely on cloud dependencies.
https://wingetty.dev
GNU Affero General Public License v3.0
168 stars 15 forks source link

Issue with adding package to existing version #37

Closed kdpuvvadi closed 2 months ago

kdpuvvadi commented 7 months ago

Describe the bug

Unable to add installer to existing version of the package

To Reproduce Steps to reproduce the behavior:

  1. Add Any version to the package
  2. Add a Installer to that version
  3. Trying adding another installer of the version
  4. No Error.

Expected behavior Add the installer

Logs

[2023-12-11 15:48:34 +0530] [7] [DEBUG] [WinGetty] Available pages: 1
[2023-12-11 15:48:38 +0530] [10] [DEBUG] GET /package/OpenTofu.Tofu
[2023-12-11 15:49:03 +0530] [9] [DEBUG] POST /api/package/OpenTofu.Tofu/add_installer
[2023-12-11 15:49:03 +0530] [9] [INFO] [WinGetty] File and version found
[2023-12-11 15:49:03 +0530] [9] [INFO] [WinGetty] Getting file hash from external URL
[2023-12-11 15:49:04 +0530] [9] [DEBUG] [WinGetty] Checking for field name Silent
[2023-12-11 15:49:04 +0530] [9] [DEBUG] [WinGetty] Checking for field name SilentWithProgress
[2023-12-11 15:49:04 +0530] [9] [DEBUG] [WinGetty] Checking for field name Interactive
[2023-12-11 15:49:04 +0530] [9] [DEBUG] [WinGetty] Checking for field name InstallLocation
[2023-12-11 15:49:04 +0530] [9] [DEBUG] [WinGetty] Checking for field name Log
[2023-12-11 15:49:04 +0530] [9] [DEBUG] [WinGetty] Checking for field name Upgrade
[2023-12-11 15:49:04 +0530] [9] [DEBUG] [WinGetty] Checking for field name Custom
[2023-12-11 15:49:04 +0530] [9] [DEBUG] GET /package/OpenTofu.Tofu
[2023-12-11 15:49:09 +0530] [10] [DEBUG] GET /package/OpenTofu.Tofu

General Information: