Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8580

AW: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for log checking, log analysis

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Fiedler Roman <Roman.Fiedler@ait.ac.at>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject AW: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for log checking, log analysis
Date Thu, 09 Jun 2016 13:30:02 +0200
Message-ID <rI6jU-5Fr-13@gated-at.bofh.it> (permalink)
References <rI2Jk-3h2-21@gated-at.bofh.it> <rI3Fn-3T1-1@gated-at.bofh.it>
X-Original-To Piotr Ożarowski <piotr@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jun 9 11:23:18 2016
Old-Return-Path <Roman.Fiedler@ait.ac.at>
X-Amavis-Spam-Status No, score=1.274 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, MDO_CABLE_TV4=0.5, NEXTPART=2.5, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426, THREADTOPIC=2, XMSATT=2] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Thread-Topic Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for log checking, log analysis
Thread-Index AdHCIR616MtzY/d2TNyXumqyA6TO7P//7w6A///JrnA=
Accept-Language en-US, de-AT
Content-Language de-DE
X-Ms-Has-Attach yes
X-Originating-IP [172.30.249.121]
Content-Type multipart/signed; micalg=SHA1; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_009D_01D1C251.F7ECDD10"
MIME-Version 1.0
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2016-06-09_04:,, signatures=0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13911
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/2ECE9D9EEF1F524185270138AE23265954F8DF59@S0MSMAIL112.arc.local
Approved robomod@news.nic.it
Lines 179
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Gianfranco Costamagna <locutusofborg@debian.org>, "debian-python@lists.debian.org" <debian-python@lists.debian.org>, "813096@bugs.debian.org" <813096@bugs.debian.org>
X-Original-Date Thu, 9 Jun 2016 11:22:28 +0000
X-Original-Message-ID <2ECE9D9EEF1F524185270138AE23265954F8DF59@S0MSMAIL112.arc.local>
X-Original-References <2ECE9D9EEF1F524185270138AE23265954F8CB97@S0MSMAIL112.arc.local> <20160609083209.GT23182@sar0.p1otr.com>
Xref csiph.com linux.debian.maint.python:8580 linux.debian.bugs.dist:744788

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

> Von: Piotr Ożarowski [mailto:piotr@debian.org]
> 
> just a quick reply:
> 
> * private dir is the right call, do not install into dist-packages
>   (only "python-*" binary packages should install there)

OK, done.

> * install into /usr/lib/logdata-anomaly-miner/ and dh_python2 will pick
>   it up without any overrides, additional options, etc.

So I guess, before that (where dh_python2 refused to operate at all), using /usr/lib/aminer as a shorthand - as the package name is quite long - was a bad idea.

As import names cannot contain a dash, is use of "usr/lib/logdata-anomaly-miner/aminer" as module storage directory and "aminer" as shorthand module name in imports OK?

> * use dh --with python2 or dh_python2 (/usr/bin/dh_python2) but never
>   ever depend on internal implementation detail. I will change
>   /usr/share/dh-python/dh_python2 file name just to mess with you ;-P

OK. Understood. Using the "usr/lib/logdata-anomaly-miner" layout for python stuff as recommended above, dh_python2 is more happy with the situation: It would complain about "python:Versions" substitution in

./debian/control:XB-Python-Version: ${python:Versions}

but XB-.. should be deprecated anyway. I dropped also " XS-Python-Version" (which was hardcoded to >=2.6), as substitution would not work here also.

Still when building, lintian is unhappy with the output package:

E: logdata-anomaly-miner: python-script-but-no-python-dep usr/lib/logdata-anomaly-miner/AMiner
E: logdata-anomaly-miner: python-script-but-no-python-dep usr/lib/logdata-anomaly-miner/AMinerRemoteControl


Since the situation became a lot of clearer using your suggestions, I will again try to tackle the lintian issue.

Roman

> --
> Piotr Ożarowski                         Debian GNU/Linux Developer
> www.ozarowski.pl          www.griffith.cc           www.debian.org
> GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Fiedler Roman <Roman.Fiedler@ait.ac.at> - 2016-06-09 09:50 +0200
  Re: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Gianfranco Costamagna <locutusofborg@debian.org> - 2016-06-09 10:40 +0200
    AW: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Fiedler Roman <Roman.Fiedler@ait.ac.at> - 2016-06-09 11:50 +0200
  Re: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Piotr Ożarowski <piotr@debian.org> - 2016-06-09 10:40 +0200
    AW: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Fiedler Roman <Roman.Fiedler@ait.ac.at> - 2016-06-09 13:30 +0200
      Re: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Piotr Ożarowski <piotr@debian.org> - 2016-06-09 14:40 +0200

csiph-web