cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kemp <drk...@google.com>
Subject Re: [jira] [Commented] (CB-4492) Ensure download counts from plugman-registry are being tracked
Date Wed, 04 Sep 2013 12:10:55 GMT
id = pkgId + '_' + now.toISOString() will contain milliseconds




On Tue, Sep 3, 2013 at 11:33 PM, Andrew Grieve (JIRA) <jira@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/CB-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757432#comment-13757432]
>
> Andrew Grieve commented on CB-4492:
> -----------------------------------
>
> Original Commit:
> https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=commit;h=cfa431bc0eca19398a3ca5e3ba79029e42d85104
>
> One question about the code:
> {quote}
>   75                 // Update the download count for this plugin.
>   76                 // Fingers crossed that the timestamps are unique,
> and that no plugin is downloaded
>   77                 // twice in a single millisecond.
> {quote}
>
> Where do the milliseconds come into play? I just see day-month-year being
> inserting into the JSON. Does couch not handle Date objects? is there no
> syntax to have couch use the server timestamp?
>
> Also wondering if we can have the plugin version included in the download
> record. That way we can see how many people are upgrading vs. not for a
> plugin.
>
> > Ensure download counts from plugman-registry are being tracked
> > --------------------------------------------------------------
> >
> >                 Key: CB-4492
> >                 URL: https://issues.apache.org/jira/browse/CB-4492
> >             Project: Apache Cordova
> >          Issue Type: Improvement
> >          Components: Plugman
> >            Reporter: Andrew Grieve
> >            Assignee: Braden Shepherdson
> >
> > Don't need to have a dashboard or anything fancy at the start, but we
> should be able to manually query download counts of plugin fetches.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message