38 Commits

Author SHA1 Message Date
Sveta Smirnova
ef2dbd887f PT-2129 - pt-online-schem-change and other tools fail on non-readable version check file
- Implemented fix in lib/VersionCheck.pm
- Updated modules in all tools
- Added test case to t/pt-query-digest/version_check.t
2025-03-29 23:22:44 +03:00
Viktor Szépe
2bd40d8c39 Remove trailing spaces (#665)
* Remove trailing spaces

* PR-665 -  Remove trailing spaces

- Updated not stable test t/pt-online-schema-change/preserve_triggers.t
- Updated utilities in bin directory

* PR-665 -  Remove trailing spaces

- Fixed typos

* PR-665 -  Remove trailing spaces

- Fixed typos

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
2023-09-06 01:15:12 +03:00
Viktor Szépe
c57441be8c War on typos Act 1 (#655)
* Fix typos in lib/ directory

* Update generated bin/ files

* PR 655 -  War on typos Act 1 #655

- Updated modules in tools that were not updated
- Fixed tests to reflect proposed changes

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
2023-08-22 16:18:38 +03:00
I
a950b223ff Typo: Intsance -> Instance (#546) 2022-08-01 09:35:44 -03:00
Carlos Salguero
7c927b6614 PXB-1615 WIP Updates for Percona XtraBackup
Changes made should be working but to properly test them, I need to set
up a development API with the new items for XtraBackup in the DB.
2018-09-26 14:40:11 -03:00
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
frank-cizmich
f033330b33 fixed VersionCheck testing for git 2015-06-03 17:28:40 -03:00
Frank Cizmich
63c953834c minor tweak of VersionCheck for ease of testing 2015-01-20 16:18:11 -02:00
Frank Cizmich
c3462b6c68 Fixed security issues in VersionCheck and HTTP::Micro 2015-01-16 16:49:30 -02:00
Daniel Nichter
94c806a33f Remove version check bin type. Update all tools. 2014-02-19 19:00:02 -08:00
Daniel Nichter
2a9798eb47 Fix version check in pqd by calling HTTP::Micro, not old HTTPMicro. 2013-08-03 12:43:19 -07:00
Daniel Nichter
24cabaa46a Hot-fix --version-check. 2013-03-20 11:53:36 -06:00
Daniel Nichter
b286da993f Check for ../../.bzr for when a tool is ran as a module in a test. 2013-02-22 08:00:55 -07:00
Daniel Nichter
fc851caec8 Simplify checking for .bzr/ to auto-disable --version-check in dev and test envs. Update t/pt-archiver/version_check.t. Need to update all other tools... 2013-02-21 15:59:49 -07:00
Brian Fraser
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03:00
Daniel Nichter
8ecde260a7 Don't try https and http: use https if possible, else http. Lower timeout from 5 to 3 seconds. Start updating/fixing pt-archiver/version_check.t. 2013-02-14 09:41:52 -07:00
Daniel Nichter
877d1a3b26 Change version_check_file() to prefer global system dirs first. 2013-02-14 08:49:57 -07: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
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
Daniel Nichter
feab2f0925 s/Percona Inc/Percona Ireland Ltd/g 2013-01-02 17:19:16 -07:00
Brian Fraser
787718121f Updated VersionCheck and Pingback to work on Windows 2012-09-20 10:54:55 -03:00
Brian Fraser
e418dad610 VersionCheck: Fixes for Gentoo and the BSDs 2012-09-18 01:19:39 -03:00
Brian Fraser
5eb168b827 Fix for version-check in openSuSe 2012-09-14 09:33:52 -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
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
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
Brian Fraser
357fff7153 VersionCheck: Update to newest spec and add get_bin_version() 2012-08-09 15:33:42 -03:00
Daniel Nichter
ff7aebaa0e Coerce PERL_VERSION with %vd to fix 5.8. 2012-08-08 15:23:52 -06:00
Daniel Nichter
7f0b962489 Fix Debian version parsing in get_os(). 2012-08-08 14:08:26 -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
5abd7f2d97 Fix and clean up get_os(). 2012-08-08 12:38:37 -06:00
Daniel Nichter
07237162f7 First VersionCheck.pm prototype. 2012-08-08 11:36:49 -06:00