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.
Summary: | Improve logging of JS libraries | ||
---|---|---|---|
Product: | javascript | Reporter: | Tomas Mysik <tmysik> |
Component: | Libraries | Assignee: | Tomas Mysik <tmysik> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, jstola, phejl, vriha |
Priority: | P1 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: |
Description
Tomas Mysik
2015-09-09 05:38:19 UTC
One idea - we could log libraries whenever the file (package.json etc.) changes. This would be even more relevant (we can listen only on libraries changes so change in e.g. name would be ignored) and would not require any API changes. Of course, if such a file is changed when the IDE is not running, we will not get the data (but we will get them the next time, this is the same for all the usage logging). Any objections? Thanks. Wouldn't it be biased by e.g. project rename or when start file has changed? These changes are being synced with package/bower.json right? OTOH it is not very often action so the numbers from project rename will be imho low. (In reply to Vladimir Riha from comment #2) > Wouldn't it be biased by e.g. project rename or when start file has changed? > These changes are being synced with package/bower.json right? OTOH it is not > very often action so the numbers from project rename will be imho low. No, the change to be logged must happen in libraries. Should be done now, Honzo please review the patches if possible. Láďo, please verify, thanks. I have updated the wiki page as well. http://hg.netbeans.org/web-main/rev/223c6aae0a46 http://hg.netbeans.org/web-main/rev/da36130bb9f1 http://hg.netbeans.org/web-main/rev/7347f508a882 Integrated into 'main-silver', will be available in build *201509110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/223c6aae0a46 User: Tomas Mysik <tmysik@netbeans.org> Log: #255112 - Improve logging of JS libraries Bower part. |