New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collect anonymous usage statistics #1154
Conversation
ed5ffcb
to
cb1f3be
Compare
u"and version trees, ... This information is reported anonymously " | ||
u"and will only be used by the VisTrails team, to help guide our " | ||
u"efforts.</p>" | ||
u"<p><a href=\"http://www.vistrails.org/\" target=\"_blank\">We are also conducting " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use actual form URL here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer relevant 😃
ad16585
to
84de46c
Compare
4085826
to
9672a0f
Compare
@@ -170,6 +172,9 @@ def init(self, options_dict=None, args=[]): | |||
self.package_manager = PackageManager(self.registry, | |||
self.startup) | |||
|
|||
if reportusage.update_config(self.temp_configuration): | |||
self.temp_configuration.batch = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shows a message, should I just call sys.exit(0)
instead?
no input vistrails provided
nb_notes=nb_notes, | ||
nb_paramexplorations=nb_paramexplorations, | ||
nb_upgrades=nb_upgrades, | ||
nb_variables=len(vistrail.vistrail_variables))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to count modules in a vistrail. Or should I just count in the latest version?
df46c06
to
6861598
Compare
The certificate and drop point are ReproZip's, but I see no reason we shouldn't reuse that. The program and version are clearly identified in the reports, and using a different certificate would require a second server...
Note that the "reportUsage" setting doesn't actually control reporting, it is just a hack, like "handlerCheck", to show the setting widget in the preferences dialog. We use usagestats's internal mechanism to store the usage reporting state.
This brings in the usagestats package developed for ReproZip (VIDA-NYU/reprozip#75).
Fixes #1148