Skip to content

Snapshot version details should be in version instead of release #2482

Closed as duplicate

Description

@LecrisUT

What happened? What is the problem?

Got hit by this in fmf because the downstream release is >1 which affects the ordering when packit overrides the version + release from %autorelease to 1.<snapshot_details>, making them lower than downstream.

Instead the versioning guideline should be used and place the snapshot details in the version so that <version>^<snapshot_details> always orders after.

What did you expect to happen?

Packit upstream version is always ordered after downstream.

There is the edgecase where downstream also uses snapshots and can create downstream snapshot after an upstream build, but this is both temporary and highly unlikely since upstream would be working together with downstream when having packit integration.

The other case is if you build PR builds in a single project, but that would also not be supported with the current release overwriting, and it breaks in various other ways.

Other than those, I don't think there are other workflows that would break.

Example URL(s)

teemtee/fmf#265 (comment)

Steps to reproduce

1.
2.
3.

Workaround

  • There is an existing workaround that can be used until this issue is fixed.

Participation

  • I am willing to submit a pull request for this issue. (Packit team is happy to help!)

Activity

  1. added
    kind/bug
    area/general
    complexity/single-task
    gain/high
    impact/low
    on Dec 5, 2024
  2. moved this from new to backlog in Packit Kanban Boardon Dec 5, 2024
  3. added
    workaround-exists
    on Dec 5, 2024
  4. self-assigned this
    on Dec 5, 2024
  5. mfocko commented on Dec 5, 2024

    @mfocko
    Member

    Hi, it should be possible to work around this issue by using the get-current-version action:

    https://packit.dev/docs/configuration/actions

  6. removed their assignment
    on Dec 5, 2024
  7. kontura commented on Apr 10, 2026

    @kontura

    I think this is a duplicate of packit/packit-service#2878 so this should also be resolved.

  8. mfocko commented on Apr 29, 2026

    @mfocko
    Member

    Closing as a duplicate that has been already resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/generalcomplexity/single-taskgain/highimpact/lowkind/bugworkaround-exists

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions