Mailinglist Archive: opensuse-bugs (4069 mails)

< Previous Next >
[Bug 709816] New: source_validator gets confused on locale entries
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 2 Aug 2011 12:18:34 +0000
  • Message-id: <bug-709816-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=709816

https://bugzilla.novell.com/show_bug.cgi?id=709816#c0


Summary: source_validator gets confused on locale entries
Classification: Internal Novell Products
Product: openSUSE Build Service
Version: 2.3
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: osc
AssignedTo: adrian@xxxxxxxxxx
ReportedBy: rschweikert@xxxxxxxx
QAContact: adrian@xxxxxxxxxx
Found By: ---
Blocker: ---


The source validator may fail when dates in the change log are
internationalized.

For example, the following entries lead to an error:

-------------------------------------------------------------------
Wed Oct 27 14:29:00 UTC 2010 - rschweikert@xxxxxxxxxx

- Enable compression, tcp, and cgi
- Move documentation into defaultdocdir

-------------------------------------------------------------------
Wed Feb 10 01:00:58 UTC 2010 - alexandre@xxxxxxxxxxxxxx

- Minor spec file changes.

-------------------------------------------------------------------
Tue Feb 9 19:57:19 UTC 2010 - alexandre@xxxxxxxxxxxxxx

- Install services dir.

-------------------------------------------------------------------
Sex Mar 6 00:00:00 UTC 2009 - sshaw@xxxxxxxxxxxxx

- packaged axis2c version 1.5.0 using the buildservice spec file wizard


Source validation fails as follows:

Sex Mar 6 00:00:00 UTC 2009 - sshaw@xxxxxxxxxxxxx is not in english locale
changelog not in sequence:

* Tue Jan 01 2000 nobody@xxxxxxx
Sex Mar 6 00:00:00 UTC 2009 - sshaw@xxxxxxxxxxxxx
- packaged axis2c version 1.5.0 using the buildservice spec file wizard

Tue Feb 9 19:57:19 UTC 2010 - alexandre@xxxxxxxxxxxxxx
* Tue Feb 09 2010 alexandre@xxxxxxxxxxxxxx
- Install services dir.

Please fix with your own tools or try
/usr/lib/osc/source_validators/helpers/fix_changelog
ERROR: source_validator failed:
None


This is obviously incorrect. The first entry (last entry in the file) of the
changelog is in 2009 which is earlier than the second to last entry (2010).
However, the Portugese locale abbreviation for the day of the week (Sex as in
Sexta-feira – Friday) appears to confuse the validator.

We cannot expect people that work with osc to change their local setting just
to the change log.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >
Follow Ups