Brian Fraser
|
d3c7a059e7
|
Fixes per Daniel's review
|
2012-11-06 11:35:49 -03:00 |
|
Brian Fraser
|
78da81fea5
|
Fixed a typo and added some regression tests
|
2012-11-01 17:04:00 -03:00 |
|
Brian Fraser
|
7f557759a7
|
Updates per Daniel's review
|
2012-11-01 16:51:58 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
6e3d3e6c96
|
Removed optional_value, made --version-check have default: off, updated the tools and documentation with the changes, and added the auto value to Pingback.pm
|
2012-10-30 12:42:42 -03:00 |
|
Brian Fraser
|
484fcb6a2f
|
Minor update to --version-check: Let the user know if there were no suggestions
|
2012-09-24 16:24:11 -03:00 |
|
Brian Fraser
|
787718121f
|
Updated VersionCheck and Pingback to work on Windows
|
2012-09-20 10:54:55 -03:00 |
|
Brian Fraser
|
ee338f7ceb
|
v-c: Re-enable https by default, make --version-check take an optional protocol argument
|
2012-09-13 10:39:04 -03:00 |
|
Daniel Nichter
|
0e3eac65a0
|
Handle MySQL instance ID for MySQL 5.0.
|
2012-08-31 10:01:12 -06:00 |
|
Daniel Nichter
|
a3950411b9
|
Add back PerconaTest::slurp_file(). Put in scope in pt-index-usage. Sort MySQL instance IDs for testing. Wait for pid file in pt-heartbeat/basics.t.
|
2012-08-28 15:28:34 -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 |
|
Daniel Nichter
|
a08bf4c4fc
|
Add code comments. Make Pingback.t tests more explicity. Don't '1 while unlink file'. Remove get_mysql_status() stub.
|
2012-08-27 15:19:35 -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 |
|
Brian Fraser
|
36a0dff6ee
|
Pingback: Update the file-checking function
|
2012-08-24 13:14:46 -03:00 |
|
Daniel Nichter
|
639f47eb70
|
Add t/pt-archiver/version_check.t, v-c integration tests. Don't exit early if PTDEBUG && PTVCDEBUG (don't know what state the tool may be in).
|
2012-08-22 16:20:00 -06:00 |
|
Daniel Nichter
|
66f1bdf403
|
Change staging.upgrade.percona.com to $ENV{PERCONA_VERSION_CHECK_URL} || http://v.percona.com.
|
2012-08-22 15:10:33 -06:00 |
|
Daniel Nichter
|
a95aa2b3bc
|
Put everything in Pingback::version_check(). Change HTTP::Micro to HTTPMicro in pingback(). Simplify time_to_check() a little and add more debug. Fix Pingback.t now that client response doesn't have TYPE and no response causes die.
|
2012-08-21 15:06:28 -06:00 |
|
Brian Fraser fraserb@gmail.com
|
e5b99fb41c
|
Pingback::_touch should update the [ma]time of the file
|
2012-08-21 17:00:32 -03:00 |
|
Daniel Nichter
|
2d41598ea4
|
Add PTVCDEBUG and die instead of returning in pingback() so PTVCDEBUG can report better info.
|
2012-08-21 13:54:48 -06:00 |
|
Brian Fraser fraserb@gmail.com
|
01937e6d9f
|
Implemented Pingback::time_to_check()
|
2012-08-21 16:50:12 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
615c5ad508
|
Fix several test failures by doing s/HTTP::Micro/HTTPMicro/
|
2012-08-21 14:37:10 -03:00 |
|
Daniel Nichter
|
8db5b77a4e
|
Change HTTPMicro to HTTP::Micro in Pingback to avoid 'subroutine redefined' errors.
|
2012-08-21 08:19:52 -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 |
|
Brian Fraser
|
1370490fb6
|
Reduce the timeout to 5 seconds
|
2012-08-09 17:53:35 -03:00 |
|
Brian Fraser
|
c7060a99a7
|
Add ping_for_updates(), send the X-Percona-Toolkit-Tool header, and fix an error in pingback()
|
2012-08-09 17:38:39 -03:00 |
|
Brian Fraser
|
4a04837378
|
Updated t/lib/Pingback.t to use the new type names
|
2012-08-09 16:45:29 -03: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
|
5281e109e9
|
Updated Pingback.pm
|
2012-08-09 12:15:55 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
58647e8b42
|
Add lib/Pingback.pm and tests
|
2012-08-07 18:08:51 -03:00 |
|