This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256135 - Fix mailing stats for NetCAT
Summary: Fix mailing stats for NetCAT
Status: VERIFIED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Test Tools (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vladimir Riha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-23 12:24 UTC by Vladimir Riha
Modified: 2015-11-10 17:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-10-23 12:24:21 UTC
Parsing of mailing archive of NetCAT is not working because the site is hidden behind login. The script need to be fixed for this.
Comment 1 Vladimir Riha 2015-10-23 13:41:04 UTC
Main problem is solved now :) I'm able to login before parsing email data. Now I need to transform the Ant based project to Maven (it uses HttpClient as dependency) and the push it to repo.
Comment 2 Vladimir Riha 2015-10-26 07:46:11 UTC
Fixed in 

https://hg.netbeans.org/nb-quality/rev/4cc5b4761559


I'll run the script locally for now and then modify the job setup.
Comment 3 Vladimir Riha 2015-10-27 11:06:02 UTC
The NetCAT data in dashboard are no correct

http://services.netbeans.org/dashboard/web/netcat_stats.php?noCache&version=8.1&start=03/01/2015&stop=10/27/2015

I'll try to reconfigure the jenkins job if it will ever load... Otherwise the script would have to be run manually:

$ cd nb-quality/dashboards/tools/ArchiveParserMvn
$ mvn install -Dusername=NBORGUSERNAME -Dpassword=PASSWORD -DyearFrom=2015 -DmonthFrom=10 -DyearTo=2015 -DmonthTo=10 -Dpool=5 -DpostUrl=http://services.netbeans.org/dashboard/web/a_emails.php


It can be executed multiple times for the same date, dashboard will replace old value with the imported ones
Comment 4 Jiri Kovalsky 2015-10-27 13:38:52 UTC
Thanks a lot Lado! Is there a chance to calculate also e-mails like this one [1]?
Benno Markiewicz seems to have zero e-mails although he has actually sent 12 during NetCAT 8.1.

[1] https://netbeans.org/projects/www/lists/netcat/archive/2015-10/message/54
Comment 5 Vladimir Riha 2015-10-27 14:07:13 UTC
uf, this could be tricky. Based on [1], following addresses should be the same:

test@netbeans.org
test+nb@netbeans.org
test-nb@netbeans.org
test--nb@netbeans.org
test#nb@netbeans.org

Problem is the spec does not say which character is allowed to be used as the separator. Based on NetCAT participants list, it I've found 3 cases and all are using + as a separator.

So I will consider only + as a separator


[1] https://tools.ietf.org/html/rfc5233
Comment 6 Vladimir Riha 2015-10-29 09:11:06 UTC
The fix had to be made in dashboard. Should be fine now
Comment 7 Jiri Kovalsky 2015-11-10 17:07:10 UTC
Thanks Lado!