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

lastversion foo.spec #26

Open
3 tasks done
dvershinin opened this issue Nov 8, 2020 · 1 comment
Open
3 tasks done

lastversion foo.spec #26

dvershinin opened this issue Nov 8, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request feature_request

Comments

@dvershinin
Copy link
Owner

dvershinin commented Nov 8, 2020

  • Ability to pass a path to a .spec file instead of repo name/URL.

This will allow for easy updating of the Version: tag in spec files without adding extra tools (spectool2)...

lastversion foo.spec

RPM spec must be prepared.

lastversion does:

  • examines the spec file for a global upstream_github (used as repo instead of Source0:), uses Source0:? when not found...
  • examines the spec file for a global lastversion_major (used as --major), e.g. for building Varnish 6.0.x series only
  • if a newer version is found:
    • update/add %global lastversion_tag ... which is same as spec_tag field from JSON output
    • update/add %global lastversion_dir
    • reset Release: 1%{?dist}
    • update License: with rpmspec_license field from JSON output, if any

Needs the ability to specify semver constraint in the spec file, e.g. lastversion_semver patches should only update 1.2.x

@dvershinin dvershinin added the enhancement New feature or request label Nov 8, 2020
@dvershinin dvershinin self-assigned this Nov 8, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.88. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
dvershinin added a commit that referenced this issue Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature_request
Projects
None yet
Development

No branches or pull requests

1 participant