Skip to content

Commit

Permalink
Fixed year in copyright (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanikolaev authored Jan 15, 2024
1 parent e7dfee5 commit 32d8e8b
Show file tree
Hide file tree
Showing 33 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Manticore Backup

Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion bin/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/ChecksumException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidPathException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/SearchdException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/FileSortingIterator.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/FileStorage.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/LogLevel.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/ManticoreBackup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/ManticoreClient.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/ManticoreConfig.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/OS.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/Searchd.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/TextColor.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion src/func.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
4 changes: 2 additions & 2 deletions src/main.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down Expand Up @@ -33,7 +33,7 @@
set_exception_handler(exception_handler(...));
set_error_handler(error_handler(...)); // @phpstan-ignore-line

echo 'Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)'
echo 'Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)'
. PHP_EOL . PHP_EOL
;

Expand Down
2 changes: 1 addition & 1 deletion test/FileStorageTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/ManticoreBackupRestoreTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/ManticoreBackupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Manticoresearch\Backup\Lib\ManticoreConfig;

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/ManticoreClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Manticoresearch\Backup\Lib\Searchd;

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/ManticoreConfigTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/ScriptTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Manticoresearch\Backup\Lib\FileStorage;

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/SearchdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Manticoresearch\Backup\Lib\Searchd;

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/SearchdTestCase.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion test/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);

/*
Copyright (c) 2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or any later
Expand Down
2 changes: 1 addition & 1 deletion tests/backup-all-ok.rec
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ls: cannot access '/tmp/backup-*': No such file or directory
––– input –––
manticore-backup --backup-dir=/tmp
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf
Tables to backup: all tables
Backup dir: /tmp
Expand Down
6 changes: 3 additions & 3 deletions tests/backup-fails.rec
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ ls: cannot access '/tmp/non-exist': No such file or directory
––– input –––
manticore-backup --backup-dir=/tmp/non-exist
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
%{DATETIME} [Error] Failed to find backup dir to store backup: /tmp/non-exist
––– input –––
manticore-backup --backup-dir=/tmp --tables=none
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf
Tables to backup: none
Backup dir: /tmp
Expand All @@ -82,7 +82,7 @@ pgrep -f searchd | xargs kill
––– input –––
manticore-backup --backup-dir=/tmp
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf
Tables to backup: all tables
Backup dir: /tmp
Expand Down
12 changes: 6 additions & 6 deletions tests/backup-restore-ok.rec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mysql -h0 -P9306 -e 'show tables'
––– input –––
manticore-backup --backup-dir=/tmp
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf
Tables to backup: all tables
Backup dir: /tmp
Expand Down Expand Up @@ -56,15 +56,15 @@ mv /tmp/backup-* /tmp/backup-111
––– input –––
manticore-backup --backup-dir=/tmp --restore
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file:
Backup dir: /tmp
Available backups: 1
backup-111 (?)
––– input –––
manticore-backup --backup-dir=/tmp --restore=backup-111
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file:
Backup dir: /tmp
%{DATETIME} [Info] Stored versions: {"backup":"%{SEMVER}","manticore":"%{SEMVER} %{COMMITDATE} dev","columnar":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","secondary":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","knn":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","buddy":"%{SEMVER}"}
Expand All @@ -77,7 +77,7 @@ pgrep -f searchd | xargs kill -9
––– input –––
manticore-backup --backup-dir=/tmp --restore=backup-111
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file:
Backup dir: /tmp
%{DATETIME} [Info] Stored versions: {"backup":"%{SEMVER}","manticore":"%{SEMVER} %{COMMITDATE} dev","columnar":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","secondary":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","knn":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","buddy":"%{SEMVER}"}
Expand All @@ -92,7 +92,7 @@ rm /etc/manticoresearch/manticore.conf
––– input –––
manticore-backup --backup-dir=/tmp --restore=backup-111
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file:
Backup dir: /tmp
%{DATETIME} [Info] Stored versions: {"backup":"%{SEMVER}","manticore":"%{SEMVER} %{COMMITDATE} dev","columnar":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","secondary":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","knn":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","buddy":"%{SEMVER}"}
Expand All @@ -107,7 +107,7 @@ rm /var/lib/manticore/manticore.json
––– input –––
manticore-backup --backup-dir=/tmp --restore=backup-111
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file:
Backup dir: /tmp
%{DATETIME} [Info] Stored versions: {"backup":"%{SEMVER}","manticore":"%{SEMVER} %{COMMITDATE} dev","columnar":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","secondary":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","knn":"%{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#","buddy":"%{SEMVER}"}
Expand Down
4 changes: 2 additions & 2 deletions tests/backup-shebang-config-ok.rec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ listening on all interfaces for sphinx and http(s), port=9308
––– input –––
manticore-backup --version
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– block: init-database –––
––– input –––
Expand All @@ -27,7 +27,7 @@ ls: cannot access '/tmp/backup-*': No such file or directory
––– input –––
manticore-backup --backup-dir=/tmp
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf
Tables to backup: all tables
Backup dir: /tmp
Expand Down
2 changes: 1 addition & 1 deletion tests/backup-single-table-ok.rec
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ls: cannot access '/tmp/backup-*': No such file or directory
––– input –––
manticore-backup --backup-dir=/tmp --tables=rt_without_columnar
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf
Tables to backup: rt_without_columnar
Backup dir: /tmp
Expand Down
4 changes: 2 additions & 2 deletions tests/backup-works-with-max-connections.rec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ listening on %{IPADDR}:9313 for VIP sphinx and http(s)
––– input –––
manticore-backup --version
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– block: init-database –––
––– input –––
Expand Down Expand Up @@ -82,7 +82,7 @@ ls: cannot access '/tmp/backup-*': No such file or directory
––– input –––
manticore-backup --backup-dir=/tmp
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf
Tables to backup: all tables
Backup dir: /tmp
Expand Down
4 changes: 2 additions & 2 deletions tests/help.rec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
––– input –––
manticore-backup --version
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
manticore-backup --help
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Usage:
manticore-backup --backup-dir=path/to/backup [OPTIONS]
--backup-dir=path/to/backup
Expand Down
2 changes: 1 addition & 1 deletion tests/start-searchd.recb
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
manticore-backup --version
––– output –––
Copyright (c) %{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}

0 comments on commit 32d8e8b

Please sign in to comment.