├── .dockerignore ├── .github ├── actions │ └── spelling │ │ ├── README.md │ │ ├── advice.md │ │ ├── allow.txt │ │ ├── block-delimiters.list │ │ ├── candidate.patterns │ │ ├── excludes.txt │ │ ├── expect.txt │ │ ├── line_forbidden.patterns │ │ ├── patterns.txt │ │ └── reject.txt └── workflows │ ├── go.yml │ ├── linters.yaml │ ├── regress.yaml │ ├── release.yaml │ ├── spelling.yaml │ └── tests.yaml ├── .gitignore ├── .golangci.yaml ├── Makefile ├── README.md ├── build.Dockerfile ├── cmd ├── client │ └── main.go └── yproxy │ └── main.go ├── config ├── instance.go ├── proxy.go ├── storage.go └── vacuum.go ├── debian ├── changelog ├── compat ├── control ├── install ├── rules └── source │ └── format ├── examples └── yproxy.yaml ├── go.mod ├── go.sum ├── pkg ├── backups │ ├── backups.go │ └── s3.go ├── client │ └── client.go ├── clientpool │ └── clientpool.go ├── core │ ├── core.go │ ├── parser │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── ast.go │ │ ├── gram.go │ │ ├── gram.y │ │ ├── lex.go │ │ ├── lex.rl │ │ ├── utils.go │ │ └── y_test.go │ ├── pg │ │ └── pg.go │ └── pprof.go ├── crypt │ └── crypt.go ├── database │ └── database.go ├── message │ ├── cat_message.go │ ├── cat_message_v2.go │ ├── common.go │ ├── copy_complete.go │ ├── copy_data.go │ ├── copy_done.go │ ├── copy_message.go │ ├── copy_message_v2.go │ ├── delete_message.go │ ├── error_message.go │ ├── gool_message.go │ ├── list_message.go │ ├── list_message_v2.go │ ├── message.go │ ├── message_test.go │ ├── object_meta_message.go │ ├── obsolete_message.go │ ├── patch_message.go │ ├── put_complete.go │ ├── put_message.go │ ├── put_message_v2.go │ ├── put_message_v3.go │ ├── ready_for_query.go │ ├── untrashify_message.go │ └── utils.go ├── mock │ ├── backups.go │ ├── client │ │ └── client.go │ ├── database.go │ ├── proc │ │ └── yio │ │ │ └── yrreader.go │ └── storage.go ├── object │ └── objectInfo.go ├── proc │ ├── delete_handler.go │ ├── delete_handler_test.go │ ├── interaction.go │ ├── proto.go │ └── yio │ │ ├── yrreader.go │ │ ├── yrreader_test.go │ │ ├── ywriter.go │ │ └── ywriter_test.go ├── sdnotifier │ └── notifier.go ├── settings │ └── settings.go ├── storage │ ├── filestorage.go │ ├── s3storage.go │ ├── s3storage_test.go │ ├── sessionpool.go │ ├── sessionpool_test.go │ ├── storage.go │ ├── utils.go │ └── utils_test.go ├── tablespace │ └── tablespace.go ├── testutils │ └── testmode.go ├── vacuum │ └── vacuum.go ├── version.go └── ylogger │ └── logger.go ├── script └── gofmtcheck.sh ├── test └── regress │ ├── .dockerignore │ ├── Dockerfile │ ├── conf │ ├── yproxy.yaml │ ├── yproxy_old.yaml │ ├── yproxy_prefix.yaml │ └── yproxy_second_bucket.yaml │ ├── docker-compose.yaml │ ├── expected │ ├── 01_simple_put.txt │ ├── 02_encrypted_put.txt │ ├── 03_copy_separate_keys.txt │ ├── 04_copy_separate_keys_multiple.txt │ ├── 05_copy_identical_keys.txt │ ├── 06_copy_identical_keys_prefix.txt │ └── 07_copy_identical_keys_multiple.txt │ ├── gpg │ ├── gpg_1.priv │ ├── gpg_1.pub │ ├── gpg_2.priv │ └── gpg_2.pub │ ├── pg-init │ └── create-db.sh │ ├── run_tests.sh │ └── tests │ ├── 01_simple_put.sh │ ├── 02_encrypted_put.sh │ ├── 03_copy_separate_keys.sh │ ├── 04_copy_separate_keys_multiple.sh │ ├── 05_copy_identical_keys.sh │ ├── 06_copy_identical_keys_prefix.sh │ └── 07_copy_identical_keys_multiple.sh └── tests └── graceful_restart.sh /.dockerignore: -------------------------------------------------------------------------------- 1 | Dockerfile 2 | docker-compose.yaml 3 | -------------------------------------------------------------------------------- /.github/actions/spelling/README.md: -------------------------------------------------------------------------------- 1 | # check-spelling/check-spelling configuration 2 | 3 | File | Purpose | Format | Info 4 | -|-|-|- 5 | [dictionary.txt](dictionary.txt) | Replacement dictionary (creating this file will override the default dictionary) | one word per line | [dictionary](https://github.com/check-spelling/check-spelling/wiki/Configuration#dictionary) 6 | [allow.txt](allow.txt) | Add words to the dictionary | one word per line (only letters and `'`s allowed) | [allow](https://github.com/check-spelling/check-spelling/wiki/Configuration#allow) 7 | [reject.txt](reject.txt) | Remove words from the dictionary (after allow) | grep pattern matching whole dictionary words | [reject](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-reject) 8 | [excludes.txt](excludes.txt) | Files to ignore entirely | perl regular expression | [excludes](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-excludes) 9 | [only.txt](only.txt) | Only check matching files (applied after excludes) | perl regular expression | [only](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-only) 10 | [patterns.txt](patterns.txt) | Patterns to ignore from checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns) 11 | [candidate.patterns](candidate.patterns) | Patterns that might be worth adding to [patterns.txt](patterns.txt) | perl regular expression with optional comment block introductions (all matches will be suggested) | [candidates](https://github.com/check-spelling/check-spelling/wiki/Feature:-Suggest-patterns) 12 | [line_forbidden.patterns](line_forbidden.patterns) | Patterns to flag in checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns) 13 | [expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect) 14 | [advice.md](advice.md) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice) 15 | [block-delimiters.list](block-delimiters.list) | Define block begin/end markers to ignore lines of text | line with _literal string_ for **start** followed by line with _literal string_ for **end** | [block ignore](https://github.com/check-spelling/check-spelling/wiki/Feature%3A-Block-Ignore#status) 16 | 17 | Note: you can replace any of these files with a directory by the same name (minus the suffix) 18 | and then include multiple files inside that directory (with that suffix) to merge multiple files together. 19 | -------------------------------------------------------------------------------- /.github/actions/spelling/advice.md: -------------------------------------------------------------------------------- 1 | 2 |
If the flagged items are :exploding_head: false positives 3 | 4 | If items relate to a ... 5 | * binary file (or some other file you wouldn't want to check at all). 6 | 7 | Please add a file path to the `excludes.txt` file matching the containing file. 8 | 9 | File paths are Perl 5 Regular Expressions - you can [test]( 10 | https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files. 11 | 12 | `^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md]( 13 | ../tree/HEAD/README.md) (on whichever branch you're using). 14 | 15 | * well-formed pattern. 16 | 17 | If you can write a [pattern]( 18 | https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns 19 | ) that would match it, 20 | try adding it to the `patterns.txt` file. 21 | 22 | Patterns are Perl 5 Regular Expressions - you can [test]( 23 | https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines. 24 | 25 | Note that patterns can't match multiline strings. 26 | 27 |
28 | 29 | 30 | :steam_locomotive: If you're seeing this message and your PR is from a branch that doesn't have check-spelling, 31 | please merge to your PR's base branch to get the version configured for your repository. 32 | -------------------------------------------------------------------------------- /.github/actions/spelling/allow.txt: -------------------------------------------------------------------------------- 1 | yezzey 2 | extversion 3 | dbname 4 | extname 5 | github 6 | https 7 | ssh 8 | ubuntu 9 | workarounds 10 | -------------------------------------------------------------------------------- /.github/actions/spelling/block-delimiters.list: -------------------------------------------------------------------------------- 1 | # Public Keys 2 | -----BEGIN PUBLIC KEY----- 3 | -----END PUBLIC KEY----- 4 | 5 | # Private Keys 6 | -----BEGIN PRIVATE KEY----- 7 | -----END PRIVATE KEY----- 8 | 9 | # RSA Private Key 10 | -----BEGIN RSA PRIVATE KEY----- 11 | -----END RSA PRIVATE KEY----- 12 | 13 | # GPG Public Key 14 | -----BEGIN PGP PUBLIC KEY BLOCK----- 15 | -----END PGP PUBLIC KEY BLOCK----- 16 | 17 | # GPG Signature 18 | -----BEGIN PGP SIGNATURE----- 19 | -----END PGP SIGNATURE----- 20 | 21 | # Certificates 22 | -----BEGIN CERTIFICATE----- 23 | -----END CERTIFICATE----- 24 | 25 | # All Contributors 26 |