|
Bugzilla – Full Text Bug Listing |
| Summary: | source_validator can not parse Release: lines | ||
|---|---|---|---|
| Product: | [Internal Novell Products] openSUSE Build Service | Reporter: | Olaf Hering <ohering> |
| Component: | osc | Assignee: | Ruediger Oertel <ro> |
| Status: | RESOLVED FIXED | QA Contact: | Adrian Schröter <adrian.schroeter> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | master | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Outsourced Testing | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
still a problem with new service based validator ? this appears to be fixed, osc-source_validator 0.1-88.1 is installed and a commit succeeded. also the warning is gone since some time, I think. good |
olaf@bax:~/work/obs/home:olh:xen-unstable/xen-unstable $ LANG= obs commit bash: /usr/src/packages/SOURCES/get_release_number.sh: No such file or directory error: line 37: Empty tag: Release: ERROR: source_validator failed: None olaf@bax:~/work/obs/home:olh:xen-unstable/xen-unstable $ cat get_release_number.sh #! /bin/sh if test "$PWD" = "/" || test "$PWD" = "$HOME" then cd /usr/src/packages/SOURCES fi exec env -i TZ=UTC date --reference="`ls -td * | head -n 1`" +%Y%m%d.%H%M%S exec env -i TZ=UTC date +%Y%m%d.%H%M%S olaf@bax:~/work/obs/home:olh:xen-unstable/xen-unstable $ grep Release xen.spec Release: %(bash %_sourcedir/get_release_number.sh) The only way to fix it was rpm -e osc-source_validator-0.1-37.1 osc still complains: olaf@bax:~/work/obs/home:olh:xen-unstable/xen-unstable $ LANG= obs commit -m ' ' WARNING: source_validator_directory configured but it does not exist: /usr/lib/osc/source_validators Install osc-source_validator to fix. Deleting xen-unstable.hg-4.2.23243.tar.bz2 Sending xen.spec Sending xen-unstable.hg-4.2.23282.tar.bz2 Transmitting file data .. Committed revision 462.