Bug 49520

Summary: debian/ucslint.overrides does not apply when "ucslint path/" is used
Product: UCS Reporter: Philipp Hahn <hahn>
Component: ucslintAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Sönke Schwardt-Krummrich <schwardt>
Severity: normal    
Priority: P5 CC: schwardt
Version: UCS 4.4   
Target Milestone: UCS 4.4-0-errata   
Hardware: Other   
OS: Linux   
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:
Bug Depends on:    
Bug Blocks: 42294, 49588, 51546    

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>