Bug 22498 - Automatisch generierte Dateien werden auf Copyright geprüft
Automatisch generierte Dateien werden auf Copyright geprüft
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: ucslint
UNSTABLE
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Philipp Hahn
Lukas Walter
: interim-2
: 24815 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-12 11:28 CEST by Andreas Büsching
Modified: 2012-12-12 21:08 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
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:
buesching: Patch_Available+


Attachments
ignore auto-generated files (692 bytes, patch)
2011-05-12 12:10 CEST, Andreas Büsching
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2011-05-12 11:28:56 CEST
Beispielsweise beim Paket univention-debug wird aclocal && automake verwendet. ucslint prüft auch die automagisch erzeugten Dateien auf den Copyright Eintrag, der dort natürlich nicht vorhanden ist.

E:0010-2: file ./configure contains no copyright text block
E:0010-2: file ./libtool contains no copyright text block
E:0010-2: file ./config.guess contains no copyright text block
E:0010-2: file ./depcomp contains no copyright text block
E:0010-2: file ./install-sh contains no copyright text block
E:0010-2: file ./config.status contains no copyright text block
E:0010-2: file ./config.sub contains no copyright text block
E:0010-2: file ./missing contains no copyright text block

Entweder wird das nur als Warnung angezeigt oder die Prüfung muss diese Dateien ignorieren.

So baut univention-debug jetzt nicht

ucslint 2.0.6-3.22.201105110853
Comment 1 Andreas Büsching univentionstaff 2011-05-12 12:10:49 CEST
Created attachment 3262 [details]
ignore auto-generated files
Comment 2 Philipp Hahn univentionstaff 2011-05-17 15:37:56 CEST
Der Patch alleine reicht noch nicht, den ucslint prüft auch die von libtool generierten Wrapper-Skripte für C-Programme:

E:0010-2: file ./tools/univention_policy_result contains no copyright text block

head tools/univention_policy_result
#! /bin/bash
# univention_policy_result - temporary wrapper script for .libs/univention_policy_result
# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
Comment 3 Philipp Hahn univentionstaff 2012-07-20 14:23:58 CEST
*** Bug 24815 has been marked as a duplicate of this bug. ***
Comment 4 Philipp Hahn univentionstaff 2012-07-20 20:08:01 CEST
Die auto*-tools werden durch die Umstellung an Bug #22482 bereits ignoriert.
Für die libtool-Wrapper wurde eine Sonderbehandlung ergänzt.
svn34335, ucslint_3.0.0-1
Comment 5 Lukas Walter univentionstaff 2012-10-15 12:33:02 CEST
Dateien die auf "~" oder ".bak" enden und von libtool generierte Dateien ('config.guess', 'configure', 'libtool', 'depcomp', 'install-sh', 'config.sub', 'missing', 'config.status' sowie Dateien die sowohl 'temporary wrapper script for' als auch 'Generated by ltmain.sh' enthalten) werden jetzt ignoriert.

Changelogeintrag ist in Ordnung,
Verified.
Comment 6 Stefan Gohmann univentionstaff 2012-12-12 21:08:52 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".