Skip to content
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

Merged
merged 18 commits into from May 25, 2016
Merged

Collect anonymous usage statistics #1154

merged 18 commits into from May 25, 2016

Conversation

remram44
Copy link
Member

@remram44 remram44 commented Feb 22, 2016

This brings in the usagestats package developed for ReproZip (VIDA-NYU/reprozip#75).

Fixes #1148

  • Add usagestats machinery
  • Enable/disable from GUI
  • Enable/disable from command-line
  • Add calls everywhere to report feature usage
    • Size of vistrail (number of versions, tags, modules)
    • Package usage
    • Environment (Anaconda? Binary? Python version, dependencies available and versions)
    • Execution time
    • Using groups, subworkflows
    • Using parameter explorations, queries, diffs
    • Used in batch mode, LaTeX extension?
  • Link to survey form in popup

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 "
Copy link
Member Author

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!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer relevant 😃

@remram44 remram44 force-pushed the usagestats branch 2 times, most recently from ad16585 to 84de46c Compare February 23, 2016 19:24
@remram44 remram44 force-pushed the usagestats branch 6 times, most recently from 4085826 to 9672a0f Compare March 4, 2016 23:48
@@ -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
Copy link
Member Author

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)))
Copy link
Member Author

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?

@remram44 remram44 force-pushed the usagestats branch 4 times, most recently from df46c06 to 6861598 Compare March 23, 2016 15:03
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...
@remram44 remram44 merged commit 2ca12ba into master May 25, 2016
@remram44 remram44 deleted the usagestats branch August 24, 2016 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants