Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D devscripts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • DebianDebian
  • devscripts
  • Merge requests
  • !281

uscan: add v prefix in @ANY_VERSION@

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andrea Pappacoda requested to merge tachi/devscripts:uscan-any-version-optional-v into master Sep 10, 2022
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 6

This allows uscan to automatically look for upstream version tags like "v1.0.2". Before this patch, one had to manually prefix @ANY_VERSION@ with the letter 'v'.

I often find myself adding a v before @ANY_VERSION@ whenever needed, and I thought that editing the regex in uscan itself might make things easier for everybody.

I did not touch d/changelog, but I added the Gbp-Dch: Full tag in the commit message just in case you use gbp dch. Feel free to edit the changelog as you wish :)

I also tried to update the .po files, hoping that I didn't mess anything up.

Lastly, I'm not really a regex wizard, so please check that this didn't break anything - I tested locally on a few packages, but you can never know.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: uscan-any-version-optional-v