softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
29 stars 21 forks source link

rdopkg reqcheck does not check milestone #56

Open hguemar opened 8 years ago

hguemar commented 8 years ago

reqcheck only checks version from spec file and ignore milestone variable, so for pre-release tags, it will fail.

$ rdopkg pkgenv     
## get_package_env
## show_package_env

Package:   openstack-manila_distro
Version:   2.0.0
Upstream:  2.0.0.0rc1
Tag style: X.Y.Z
OS dist:   RDO

Dist-git branch:        rdo-mitaka
Local patches branch:   rdo-mitaka-patches
Remote patches branch:  patches/rdo-mitaka-patches
Remote upstream branch: openstack/master

RDO release/dist guess: mitaka/el7
$ rdopkg reqcheck                                         
## get_package_env
## reqcheck
command failed: git show 2.0.0:requirements.txt
stderr:
fatal: Invalid object name '2.0.0'.