Skip to content

Autoupdater correctly updates manifest version only if checks the 'main' ressource - feature or bug? #29

@oleole39

Description

@oleole39

Hello,

Say you declare following source in the manifest:

[resources.sources.upstream]
# This is not used as we are using git clone. It's only here for autoupdate.
url = "https://github.com/AykutSarac/jsoncrack.com/archive/2925b9d2cf679f461d5c8dc0174d37ee9e6c0e5d.tar.gz"
sha256 = "95f83ce9665278eaa8a96cfc6aad4cce1d187a6b2f6ddbbf2ae52eff78aef963"
prefetch = false
autoupdate.strategy = "latest_github_commit"

At next upstream update found, autoupdate_app_sources.py will provide update manifest version by updating only the YNH package version instead of the main version.
This is due to the fact that the source to which autoupdate property is applied is not named main (but upstream in the given example):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions