erikng / Cacher

A python script for extracting macOS Caching Server data
Apache License 2.0
134 stars 40 forks source link

Cacher 2.0 #21

Closed rayzurbock closed 8 years ago

rayzurbock commented 8 years ago
erikng commented 8 years ago

Would you be willing to backadd all the other iOS builds, OS X builds, sierra, Apple configuration and new iPad/iPhone models?

It's a decent amount of work but makes sense if we will officially call this 2.0

rayzurbock commented 8 years ago

I thought about adding newer OS X versions including Sierra but I couldn't find a reliable source/database of identifiers (Darwin versions, etc).

I'll gladly add more if I can find a good resource or database to cross reference device to identifier.


Brian S. Lowrance

On Sat, Sep 24, 2016 at 12:48 AM -0500, "Erik Gomez" notifications@github.com<mailto:notifications@github.com> wrote:

Would you be willing to backadd all the other iOS builds, OS X builds, sierra, Apple configuration and new iPad/iPhone models?

It's a decent amount of work but makes sense if we will officially call this 2.0

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/erikng/Cacher/pull/21#issuecomment-249347213, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIBAqYunL6FyBQSRnomdW0ILY94szYVpks5qtLmugaJpZM4KFMJe.

rayzurbock commented 8 years ago

Updated my 2.0 branch with the following:

erikng commented 8 years ago

I'm confused on the older OS support. Can you explain this?

erikng commented 8 years ago

Also looks like you have some "?" For the iPhone 7 models. Like what I'm seeing though.

rayzurbock commented 8 years ago

You asked for older OS X versions, so I added them, but then afterwards I looked up info on the Apple Caching Server and it's supported clients to find that OS X clients didn't automatically start using a Caching server until 10.8.2, so to prevent giving a bunch of useless data that may likely be all counts of 0, I went back and commented out the versions earlier than 10.8.2 that I had added. I left them in the code for users to uncomment if they wish because I didn't see anything that said that they were not supported, just that they weren't automatically found/used by the client OS. If you want them, I'll remove the comments.

Regarding the iOS 7 question marks. I'll put whatever is needed there, but I don't really know what those detections signify. I went off of your earlier examples for those. Some (iPhone x,2 and x,4) were [GSM], [CDMA], and/or [China Model]. I couldn't find a good reference to tell me that iPhone9,1 = US iPhone7, iPhone9,2 = China,GSM,CDMA iPhone7, iPhone9,3= US iPhone7 Plus, iPhone9,4 = China,GSM,CDMA iPhone7 Plus. Honestly, I guessed that iPhone9,1 and iPhone9,3 were the US versions of iPhone7 and iPhone7 Plus based on your previous examples and didn't really know if iPhone9,2 and iPhone9,4 = China, GSM, CDMA or other iPhone7 versions so I put a ?. If anyone can confirm, I'll gladly replace the ?.

erikng commented 8 years ago

Sorry for it being clear Brian. By older OS's I only meant the sub versions of OS X that hadn't been done and the iOS ones (9.3.5 and lower). We don't need anything prior to versions I supported. It will just result in a ton of 0's.

If you could, just make sure all of iOS 9/10 is handled, remove those Older OS X calls and I'll merge it. I can fix the ? As well.

Sent from my iPhone

On Sep 28, 2016, at 8:41 PM, Brian Lowrance notifications@github.com<mailto:notifications@github.com> wrote:

You asked for older OS X versions, so I added them, but then afterwards I looked up info on the Apple Caching Server and it's supported clients to find that OS X clients didn't automatically start using a Caching server until 10.8.2, so to prevent giving a bunch of useless data that may likely be all counts of 0, I went back and commented out the previous versions I had added. I left them in there because I didn't see anything that said that they were not supported, just that they weren't automatically found/used. If you want them, I'll remove the comments.

Regarding the iOS 7 question marks. I'll put whatever is needed there, but I don't really know what those detections signify. I went off of your earlier examples for those. Some (iPhone x,2 and x,4) were [GSM], [CDMA], and/or [China Model]. I couldn't find a good reference to tell me that iPhone9,1 = US iPhone7, iPhone9,2 = China,GSM,CDMA iPhone7, iPhone9,3= US iPhone7 Plus, iPhone9,4 = China,GSM,CDMA iPhone7 Plus. Honestly, I guessed that iPhone9,1 and iPhone9,3 were the US versions of iPhone7 and iPhone7 Plus based on your previous examples and didn't really know if iPhone9,2 and iPhone9,4 = China, GSM, CDMA or other iPhone7 versions so I put a ?. If anyone can confirm, I'll gladly replace the ?.

You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/erikng/Cacher/pull/21#issuecomment-250363031, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFa_GOwG2tWrlzTRbBg9MaDJQz7-zJHtks5quzNfgaJpZM4KFMJe.

rayzurbock commented 8 years ago

So just to confirm:

erikng commented 8 years ago

If you have clients reporting go ahead and keep it.

And yes that all sounds great. :)

Sent from my iPhone

On Sep 28, 2016, at 8:56 PM, Brian Lowrance notifications@github.com<mailto:notifications@github.com> wrote:

So just to confirm:

You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/erikng/Cacher/pull/21#issuecomment-250364522, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFa_GHMp9qHFyF-L16lCXFx0AecsEL7oks5quzbegaJpZM4KFMJe.

rayzurbock commented 8 years ago

Updated PR.

erikng commented 8 years ago

Sorry I haven't merged this yet. I'll try to do it tomorrow.

erikng commented 8 years ago

It's merged. I also fixed the iPhone labels, added iOS 10.1, Sierra 10.12.1 and a note about AC 2.3.

Thanks again for the PR. Sorry it took so long.

rayzurbock commented 8 years ago

Awesome. Thanks.

rayzurbock commented 8 years ago

I hope that the simplified codebase encourages and helps with future development,

erikng commented 8 years ago

Soon I will have caching servers globally so I will try and spend development time on this. I've been extremely busy writing chef code as of late.

On Oct 13, 2016, at 6:57 PM, Brian Lowrance notifications@github.com<mailto:notifications@github.com> wrote:

I hope that the simplified codebase encourages and helps with future development,

You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/erikng/Cacher/pull/21#issuecomment-253690291, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFa_GK0dx9nX1MQplyGewGQUyOqw8lVqks5qzuF_gaJpZM4KFMJe.