openSUSE / obs-service-tar_scm

An OBS source service: fetches code from any SCM and archives it
GNU General Public License v2.0
31 stars 105 forks source link

Ignore the stderr output when getting the parent tag #492

Open jaimeMF opened 4 months ago

jaimeMF commented 4 months ago

On https://github.com/organicmaps/organicmaps a warning is printed and it produces and invalid tag name

adrianschroeter commented 2 months ago

hm, not being a fan ... it would make debugging way harder in other cases. What is the root cause of that error output?

jaimeMF commented 2 months ago

hm, not being a fan ... it would make debugging way harder in other cases. What is the root cause of that error output?

With the repository from https://github.com/organicmaps/organicmaps if I checkout the tag 2024.05.11-3-android and run the command used by the obs service I get:

>> git describe --tags --abbrev=0
warning: tag '2024.05.11-3-android' is externally known as '2024.05.11-3-android-rc'
2024.05.11-3-android-rc-0-gd8a071a02319e1d724ae6677c148c57fdb159337

So it is just a warning, but since it is included with the tag it produces and error later on.

With the last tag on the OrganicMaps repository it doesn't happen.