Carlos Salguero
cdec55dc84
PMM-1479 Switched to UUID for version check
...
In order to be able to count individual users for the usage stats, we
need to implement UUID instead of just using MD5(hostname) since most
servers are just 'localhost' or 'db1'.
Using UUID we would be able to count unique users.
2018-02-14 12:54:02 -03:00
Carlos Salguero
a6c55737f5
Updated tests & 5.7 sandbox files
2017-04-27 12:06:43 -03:00
Carlos Salguero
2ebf456ecd
PT-96 Fixed VersionCheck tests
2017-03-10 09:57:10 -03:00
Daniel Nichter
433e5db1f6
Remove bin test from VersionCheck.t.
2014-02-20 04:45:29 +00:00
Daniel Nichter
9e4b54b834
Fix t/lib/VersionCheck.t.
2013-08-08 12:36:07 -07:00
Brian Fraser
4534981913
VersionCheck: Skip running if called from our bzr repo
2013-02-21 04:41:57 -03:00
Daniel Nichter
4545926556
Fix get_perl_module_version(). Add 'hours until next check' to debug output.
2013-02-14 08:28:18 -07:00
Daniel Nichter
6c79f4a5c1
Update, clean up VersionCheck. Update it all tools.
2013-02-13 20:57:39 -07:00
Daniel Nichter
d023c90e8e
Merge Pingback.t into VersionCheck.t and remove the former.
2013-02-12 19:47:14 -07:00
Daniel Nichter
b6bd78d205
Rename Pingback.pm to VersionCheck.pm.
2013-02-11 19:02:59 -07:00
Brian Fraser
d2308be64c
Merged VersionCheck into Pingback
2013-01-31 21:11:14 -03:00
Brian Fraser
472d850be2
t/lib/VersionCheck.t: Add ourselves first to the PATH, not last, to avoid conflicts with installed versions of the toolkit
2012-12-21 12:30:54 -03:00
Daniel Nichter
e69f1f24d0
Remove $Sandbox::Percona::Toolkit::VERSION and use $Percona::Toolkit::VERSION instead since it's the authoritative version.
2012-10-24 13:52:10 -06:00
Daniel Nichter
98338b6508
Simplify how Pingback handles MySQL instances. Remove Percona::Toolkit::slurp_file() because it was causing 'sub redefined' errors, probably due to PerconaTest::slurp_file(). Add more PTVCDEBUG statements.
2012-08-27 17:10:42 -06:00
Brian Fraser
9f79d4b7ba
v-c: Updated to identify and report every instance, and to skip instances already version-checked that day
2012-08-24 19:09:59 -03:00
Daniel Nichter
cdc51df9e6
Fix HTTPMicro POST: attach content to request. Validate type.
2012-08-10 11:00:26 -06:00
Daniel Nichter
70c295bc0a
Make Pingback::pingback() do all the work, return list of advices (suggestions). More Pingback tests. Rename --check-for-updates to --version-check and document. Make VersionCheck::parse_server_response() optionally not split vars, so the same proto can be used for server advice lines.
2012-08-09 16:44:47 -06:00
Daniel Nichter
d8bb594059
Clean up Pingback.pm, make it encode the client response correctly, and abstract and rewrite the tests.
2012-08-09 12:47:30 -06:00
Brian Fraser
357fff7153
VersionCheck: Update to newest spec and add get_bin_version()
2012-08-09 15:33:42 -03:00
Daniel Nichter
a1633092d7
Fix test to handled borked Perl 5.8 version.
2012-08-08 15:30:24 -06:00
Daniel Nichter
ff7aebaa0e
Coerce PERL_VERSION with %vd to fix 5.8.
2012-08-08 15:23:52 -06:00
Daniel Nichter
c755700068
Don't check sandbox if it's not up.
2012-08-08 14:12:24 -06:00
Daniel Nichter
b4dce00639
Stringify Perl vars so $PERL_VERSION isn't an object. Diag the versions so I can see the real results.
2012-08-08 12:57:47 -06:00
Daniel Nichter
5b5c75ba3b
Test get_os().
2012-08-08 12:53:14 -06:00
Daniel Nichter
07237162f7
First VersionCheck.pm prototype.
2012-08-08 11:36:49 -06:00