Bug 49520 - debian/ucslint.overrides does not apply when "ucslint path/" is used
debian/ucslint.overrides does not apply when "ucslint path/" is used
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: ucslint
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-0-errata
Assigned To: Philipp Hahn
Sönke Schwardt-Krummrich
:
Depends on:
Blocks: 42294 49588 51546
  Show dependency treegraph
 
Reported: 2019-05-21 14:38 CEST by Philipp Hahn
Modified: 2020-06-22 12:15 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2019-05-21 14:38:02 CEST
ucslint accepts a path name on the command line - it defaults to $PWD otherwise.
When a path is explicitly given, the .../debian/ucslint.override file no longer applies, as some tests add an issue with the complete path, but ucslint.override uses relative paths.

There were already two attempts to fix it, but it still is broken:
 ec69c4d1c6  release-4.1-1~751 Bug #36456 ucslint: Fix override handling
 7f5c3d3502  grelease-3.0-2~58  Bug #22556: Handle absolute paths
Comment 1 Philipp Hahn univentionstaff 2019-05-21 15:06:25 CEST
[4.4-0] 61c752aef0 Bug #49520 ucslint: Fix ucslint.override application
 packaging/ucslint/bin/ucslint      | 51 +++++++++++---------------------------
 packaging/ucslint/debian/changelog |  1 +
 2 files changed, 15 insertions(+), 37 deletions(-)

[4.4-0] f8f5f7c49c Bug #42480 ucslint: Hide Import warning
 packaging/ucslint/bin/ucslint | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Package: ucslint
Version: 8.0.0-13A~4.4.0.201905211505
Branch: ucs_4.4-0
Scope: errata4.4-0

[4.4-0] fbc68f4d7e Bug #42480: ucslint 8.0.0-13A~4.4.0.201905211505
 doc/errata/staging/ucslint.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2019-05-27 14:13:00 CEST
OK: code change
??: functional change
??: installation
??: update
??: ucs-test
OK: changelog entry
OK: advisory
??: package built and installable
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2019-05-27 14:13:47 CEST
Oops, saved changes too fast:

OK: code change
OK: functional change
OK: installation
OK: update
OK: changelog entry
OK: advisory
OK: package built and installable
Comment 4 Arvid Requate univentionstaff 2019-05-29 13:24:28 CEST
<http://errata.software-univention.de/ucs/4.4/118.html>