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

v3.10.0 is loaded instead of v3.1.0 with v3.1.* #10

Open
oliviermaridat opened this issue Feb 13, 2024 · 1 comment
Open

v3.10.0 is loaded instead of v3.1.0 with v3.1.* #10

oliviermaridat opened this issue Feb 13, 2024 · 1 comment
Labels

Comments

@oliviermaridat
Copy link
Collaborator

A qompoter.json trying to load "v3.1.*" on a package with "v3.1.0" and "v3.10.0" will load v3.1.0

* trialog-qt/qhttpp v3.1.*
  Downloading sources from Git...
  Selected version: v3.10.0
  done

@mohammad-zain-trialog
Copy link

mohammad-zain-trialog commented Feb 13, 2024

* trialog-qt/qhttpp v3.1.*
  Downloading sources from Git...
  Found in repository (git@dummy.com:/trialog-qt/qhttpp.git)
    cd vendor/qhttpp
    git remote -v
      origin git@dummy.com:/trialog-qt/qhttpp.git (fetch) origin git@dummy.com:/trialog-qt/qhttpp.git (push)
    git status -s
    git fetch
  Search matching version
    git tag --list
      2.5.9 v1.4 v2.0.0 v2.0.1 v2.0.1.11 v2.0.2 v2.1.0 v2.1.1 v2.1.2 v2.1.3 v2.1.4 v2.1.5 v2.1.6 v2.1.7 v2.1.8 v2.1.9 v2.1.10 v2.1.11 v2.2.0 v2.2.1 v2.2.2 v2.2.3 v2.2.4 v2.2.5 v2.2.6 v2.2.7 v2.2.8 v2.2.9 v2.2.10 v2.2.11 v2.2.12 v2.2.13 v2.3.0 v2.3.1 v2.3.2 v2.3.3 v2.3.4 v2.3.5 v2.3.6 v2.3.7 v2.3.8 v2.3.9 v2.3.10 v2.3.11 v2.3.12 v2.4.0 v2.4.1 v2.4.2 v2.4.3 v2.5.0 v2.5.1 v2.5.2 v2.5.3 v2.5.4 v2.5.5 v2.5.6 v2.5.7 v2.5.8 v2.5.10 v2.5.11 v2.5.12 v2.5.13 v2.5.14 v2.5.15 v2.5.16 v3.0.0 v3.0.1 v3.0.2 v3.1.0 v3.1.1 v3.1.2 v3.2.0 v3.3.0 v3.3.1 v3.4.0 v3.5.0 v3.6.0 v3.7.0 v3.8.0 v3.8.1 v3.8.2 v3.9.0 v3.9.1 v3.9.2 v3.9.3 v3.9.4 v3.9.5 v3.9.6 v3.10.0
  Selected version: v3.10.0
    git checkout -f v3.10.0
    git pull origin v3.10.0
  Reset any local modification just to be sure
    git reset --hard v3.10.0
      HEAD est maintenant à b34a829 Merge branch 'add-soft-reboot' into 'master'
  Check if an higher version is existing and log it
    git tag --list | sed '/-/!{s/$/.0_/}' | LC_ALL=C sort -V | sed 's/.0_$//'
      2.5.9 v1.4 v2.0.0 v2.0.1 v2.0.1.11 v2.0.2 v2.1.0 v2.1.1 v2.1.2 v2.1.3 v2.1.4 v2.1.5 v2.1.6 v2.1.7 v2.1.8 v2.1.9 v2.1.10 v2.1.11 v2.2.0 v2.2.1 v2.2.2 v2.2.3 v2.2.4 v2.2.5 v2.2.6 v2.2.7 v2.2.8 v2.2.9 v2.2.10 v2.2.11 v2.2.12 v2.2.13 v2.3.0 v2.3.1 v2.3.2 v2.3.3 v2.3.4 v2.3.5 v2.3.6 v2.3.7 v2.3.8 v2.3.9 v2.3.10 v2.3.11 v2.3.12 v2.4.0 v2.4.1 v2.4.2 v2.4.3 v2.5.0 v2.5.1 v2.5.2 v2.5.3 v2.5.4 v2.5.5 v2.5.6 v2.5.7 v2.5.8 v2.5.10 v2.5.11 v2.5.12 v2.5.13 v2.5.14 v2.5.15 v2.5.16 v3.0.0 v3.0.1 v3.0.2 v3.1.0 v3.1.1 v3.1.2 v3.2.0 v3.3.0 v3.3.1 v3.4.0 v3.5.0 v3.6.0 v3.7.0 v3.8.0 v3.8.1 v3.8.2 v3.9.0 v3.9.1 v3.9.2 v3.9.3 v3.9.4 v3.9.5 v3.9.6 v3.10.0
   Check highest version
    git tag --list | sed '/-/!{s/$/.0_/}' | LC_ALL=C sort -V | sed 's/.0_$//' | getBestVersionNumber "v*"
   Check highest version in the same major branch
    git tag --list | sed '/-/!{s/$/.0_/}' | LC_ALL=C sort -V | sed 's/.0_$//' | getBestVersionNumber "v3.*"
  done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants