On 10/03/2014 09:24 AM, Christoph Feck wrote:
On Friday 03 October 2014 02:53:37 Boris Egorov wrote:
> On 10/02/2014 04:45 PM, Ben Cooksley wrote:
> > Okay, can you confirm whether we're allowed to publish this
> > publicly or not?
> >
> > Thanks,
> > Ben
>
> Svyatoslav said yes, we're allowed to do this.
Okey :) The RAW log files can be downloaded here:
http://developer.kde.org/~cfeck/
Would be nice if someone hacks a script to format them to readable pages.
Thanks Svyatoslav and Boris!
--
Christoph Feck
http://kdepepo.wordpress.com/
KDE Quality Team
I've made a simple python script to print logs in format similar to
CppCheck:
error:C-style explicit type casting is utilized. Consider using:
static_cast/const_cast/reinterpret_cast.
In /kdecore/io/kzip.cpp:958:
buffer[ 13 ] = char(cdsize >> 8);
buffer[ 14 ] = char(cdsize >> 16);
I can tweak it to use some html/xml if someone shows me needed format.
Script attached to this message.
--
Best Regards,
Boris Egorov
#!/usr/bin/python3
def parse_logfile(fname):
with open(fname) as f:
data = f.readline().split("<#~>")
while len(data) != 1:
print_data(data)
data = f.readline().split("<#~>")
def print_hdr(lineno, fname, errtype, diag, strdiag):
print("{}:{}".format(errtype, strdiag))
print("In {}:{}:".format(fname, lineno))
def print_data(data):
print_hdr(data[2], data[3].replace("|?|", ""), data[4], data[5], data[6])
nlines_idx = 8
if data[7] == 'full':
print_hdr(data[8], data[9].replace("|?|", ""), data[10], data[11], data[12])
nlines_idx = 14
nlines = int(data[nlines_idx])
for i in range(nlines):
print(data[nlines_idx + i + 1])
print()
def main():
projects = {
"kdelibs" : "kdelibs.log",
"kdevelop" : "kdevelop.log",
"kdepimlibs" : "kdepimlibs.log",
"kde-baseapps" : "kde-baseapps.log",
}
for i in projects:
parse_logfile(projects[i])
if __name__ == "__main__":
main()
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<