Package statistic for v.9 plugin

41 views
Skip to first unread message

Dmitry Dolotovskikh

unread,
Jan 7, 2015, 6:03:03 AM1/7/15
to resharpe...@googlegroups.com
Hi

I've found out that statistic for v9 plugin looks strange. Take a look


Versions older 1.0.0.50 were designed for R# 8.2, version 1.0.0.50 - for R# v9. Why all operations are unknown? I updated my test environments at least couple times. It should show at least two updates.

Thank you.

Matt Ellis

unread,
Jan 8, 2015, 11:32:27 AM1/8/15
to resharpe...@googlegroups.com
Hi Dmitry. Not sure what this refers to. What are these statistics?

Regards
Matt

Dmitry Dolotovskikh

unread,
Jan 8, 2015, 11:57:22 AM1/8/15
to resharpe...@googlegroups.com

Matt Ellis

unread,
Jan 9, 2015, 4:28:13 AM1/9/15
to resharpe...@googlegroups.com
Oh yeah, I should really know that :)

This is an oversight in the extension manager rewrite. Annoyingly, reporting the operation is opt-in, rather than just working. I've added a bug to get it fixed in a future version:


Thanks
Matt

Dmitry Dolotovskikh

unread,
Jun 22, 2015, 7:11:52 AM6/22/15
to resharpe...@googlegroups.com
Hi

It seems the problem does not fixed.

Now I see unknown operation for my plugin v 1.0.0.54

Matt Ellis

unread,
Jun 23, 2015, 9:37:17 AM6/23/15
to resharpe...@googlegroups.com, dmitrydo...@gmail.com
Hmm. Looks like ReSharper is doing the right thing (at least in 9.1). I've just verified that installing an extension sends the "NuGet-Operation: Install" header, updating sends "NuGet-Operation: Update". (It doesn't send anything for uninstall, as it doesn't know the original source to tell.) These headers are what's used to update the stats. And we can see that it's working with 1.0.0.53, which has 77 "Install" operations from ReSharper 102.0 (which is 9.1 - no, I've no idea what the 102 means…) But I don't know what's happening with this latest version.

Are you using 9.1 to test with? Can you run it with Fiddler to see what HTTP headers are being sent when you try to download the package? (You'll need to delete it from %LOCALAPPDATA%\NuGet\Cache first)

Slava, do you have any ideas? Any idea why the client is listed as "ReSharper"? That's not what we send as the user agent...

Matt

Slava Trenogin

unread,
Jun 23, 2015, 10:01:59 AM6/23/15
to resharpe...@googlegroups.com, dmitrydo...@gmail.com

--
You received this message because you are subscribed to the Google Groups "resharper-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resharper-plug...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matt Ellis

unread,
Jun 23, 2015, 10:09:09 AM6/23/15
to resharpe...@googlegroups.com, slava.t...@jetbrains.com, dmitrydo...@gmail.com
Oh, a whitelist of known agents. Of course :)

Any ideas why this version of the package is just saying "unknown" operation?

On Tuesday, 23 June 2015 15:01:59 UTC+1, slava.trenogin wrote:

Slava Trenogin

unread,
Jun 23, 2015, 10:31:15 AM6/23/15
to resharpe...@googlegroups.com
Nope, no ideas...

Dmitry Dolotovskikh

unread,
Jun 23, 2015, 12:13:50 PM6/23/15
to resharpe...@googlegroups.com
Hi

Both 53 and 54 versions of my plugin are based on the 9.1 platform. That is a reason why I continue track statistic again. So with Fiddler I've got follow information. See attachments.
saved_sessions.saz

Slava Trenogin

unread,
Jun 23, 2015, 12:19:41 PM6/23/15
to resharpe...@googlegroups.com
Hi Dmitry!

Unfortunately, nothing helpful in logs since all traffic goes through https.
You need to decrypt https traffic as described here http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/DecryptHTTPS

But even you'll get new logs I am afraid there will be nothing helpful since I believe new version of resharper do it all right, it's some obsolete client or tool.

Slava.

Dmitry Dolotovskikh

unread,
Jun 23, 2015, 3:26:10 PM6/23/15
to resharpe...@googlegroups.com
Hi, Slava

It seems I've got what you need. 
saved_sessions2.saz

Slava Trenogin

unread,
Jun 23, 2015, 3:44:53 PM6/23/15
to resharpe...@googlegroups.com
Hi Dmitry!

I see you are using ReSharper 9.1.
Issue was fixed in 9.1.1 - please use that version.

Dmitry Dolotovskikh

unread,
Jun 24, 2015, 2:33:58 AM6/24/15
to resharpe...@googlegroups.com
Hi Slava

Yes, I use R# 9.1 and I can upgrade myself easily.
But I can't manage customer :)
Anyway thank you for support.
Let's see how it goes.

Dmitry Dolotovskikh

unread,
Jan 24, 2016, 11:32:29 AM1/24/16
to resharper-plugins
Hi

It seems the problem still exists. Recently I upgraded my plugin to support R# v.10.0.2. But statistic shows the "unknown" operation vaues.
Reply all
Reply to author
Forward
0 new messages