Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

S3gw rebase 09 2023 #211

Closed
wants to merge 4,520 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4520 commits
Select commit Hold shift + click to select a range
16cd8dc
rgw/sfs: have multipart id include nanosecs
jecluis Sep 20, 2022
10c88f4
rgw/sfs: list multipart uploads
jecluis Sep 19, 2022
f63bce5
rgw/sfs: code cleanup
jecluis Sep 21, 2022
36941e5
rgw/sfs: abort multipart uploads
jecluis Sep 22, 2022
3e7826e
rgw/sfs: fix changelog formatting
jecluis Sep 22, 2022
0fbfe85
rgw/sfs: Store objects by bucket id.
0xavi0 Sep 21, 2022
e557c10
rgw/sfs: updated CHANGELOG.md with 0.6.0 release label
Sep 29, 2022
ef63205
rgw/sfs: Fix versioned object tests.
0xavi0 Sep 29, 2022
a604acb
ci: run s3gw-test image on pull requests
Sep 28, 2022
4217c84
rgw/sfs: Lists only the buckets owned by the user.
0xavi0 Sep 30, 2022
cfe3b3a
rgw/sfs: Get user by access_key when user has multiple keys
0xavi0 Oct 3, 2022
f3a51bb
rgw/sfs: fix circular lock dependency
jecluis Oct 6, 2022
9082e87
rgw/sfs: ensure sqlite user ops hold required locks
jecluis Oct 12, 2022
8d2f99e
Updated CHANGELOG.md with 0.7.0 release label
0xavi0 Oct 13, 2022
540cae4
Revert "Merge pull request #52 from 0xavi0/changelog-0.7.0"
0xavi0 Oct 14, 2022
045619c
Update release date for 0.7.0
0xavi0 Oct 20, 2022
3278c00
rgw/sfs: Fix s3tests_boto3.functional.test_s3.test_post_object_* bug
0xavi0 Oct 28, 2022
625ae4b
rgw/sfs: make SFSBucket::update_container_stats return 0
Oct 24, 2022
8bfd724
rgw/sfs: Detect metadata compatibility issues.
0xavi0 Oct 28, 2022
3022118
rgw/sfs: Generate delete markers for non existing objects
0xavi0 Oct 31, 2022
0fb8341
rgw/sfs: Initial Garbage collector thread.
0xavi0 Oct 17, 2022
d84f743
Update changelog for v0.8.0.
votdev Nov 10, 2022
a541154
ci: add new sfs unit tests and fixes GC test
0xavi0 Nov 17, 2022
8f5183b
rgw/sfs: bump version 0.9.0
Dec 1, 2022
e8b146a
rgw: Add Status Server Frontend
Oct 12, 2022
55cf4d7
rgw/status: Add rudimentary SFS status page
Oct 13, 2022
207382c
common/perf_counters: Add index to data struct
Nov 10, 2022
2ec9a22
rgw: op_type enum: Add string conversion, last element
Nov 10, 2022
b92f115
rgw/perf_counters: Add per operation counter
Nov 10, 2022
b4e27d6
rgw/perf_counters: Add per operation histogram + sum
Nov 10, 2022
c53f467
rgw/status: Support histograms, run avgs; Add Prometheus exporter
Nov 10, 2022
6fcd684
ci: move tests and build script to ceph repo
0xavi0 Nov 21, 2022
e73a306
rgw/sfs: simplify SFSGC initialization/lifetime
m-ildefons Dec 12, 2022
a6c1745
tests/sfs: delete buckets during multipart tests
jecluis Dec 16, 2022
5779929
tests/sfs: disable REST API bucket smoke test
jecluis Dec 16, 2022
894178e
Add s3gw specfile, systemd service and sysconfig file
tserong Nov 2, 2022
70aefa0
ci: Don't run sfs unit tests in the background
0xavi0 Dec 19, 2022
0b42f86
rgw/sfs: Added prefix support when listing objects
0xavi0 Jan 3, 2023
4fcf63a
build: fix git version parsing in cmake
m-ildefons Jan 5, 2023
ca3f98a
rgw: fix order of initialization and use in SFSGC
m-ildefons Jan 16, 2023
3c4fc42
rgw/sfs: Add delimiter support when listing objects
0xavi0 Jan 24, 2023
7aaba2c
rgw/sfs: ignore 'qa' tests venv directory
jecluis Jan 24, 2023
9533be2
ci: enable -frecord-gcc-switches on debug builds
m-ildefons Jan 24, 2023
8c7fceb
ci/fix: Keep the `.note.ABI-tag` section
m-ildefons Feb 7, 2023
3546579
rgw/sfs: drop upstream-specific github actions
jecluis Jan 24, 2023
fbe8314
rgw/sfs: Remove rw lock around sqlite operations
Dec 21, 2022
6c17bde
rgw/sfs: Add sqlite_busy_timeout to handle concurrent writes
Dec 21, 2022
3f1d657
rgw/sfs: Enable extended error codes
Dec 21, 2022
81a7aeb
rgw/sfs: Tune SQLite Performance
Dec 21, 2022
ef8800c
rgw/process: Wrap op execution with exception handler
Nov 17, 2022
a11244f
ci: fix pr-triage
m-ildefons Feb 10, 2023
4f6c331
tests/sfs: separate data file count and db file exists check
Feb 13, 2023
168514e
sfs: copy sqlite wal file during metadata compat check
Feb 14, 2023
a1ee613
tests/sfs: set up TestDB with sqlite WAL mode
Feb 14, 2023
97f609b
sfs: Add filesystem stats updater service thread
Dec 8, 2022
c4c1398
sfs: Add filesystem stats updater service thread
Mar 17, 2023
48728d2
sfs: Add min_space_left_for_data_write_ops_bytes
Dec 8, 2022
31cf9fb
sfs/writer: Check filesystem avail space before attempting writes
Dec 8, 2022
5093e2f
ci: use self-hosted runners for PR verification
m-ildefons Feb 14, 2023
6caa4c3
ci: rework smoke tests
m-ildefons Feb 15, 2023
ef393b7
rgw/sfs: Add SFSObject set_object_ref
Mar 15, 2023
227a56f
rgw/sfs: set the attributes on SFSMultipartUpload::get_meta_obj()
Feb 10, 2023
36ac37a
rgw/sfs: Object Lock - metadata changes
Feb 10, 2023
d272da7
ci: rework build script
m-ildefons Jan 24, 2023
6b7fc95
ci: add codespell
Mar 16, 2023
7631cb2
sfs: fix typos
Feb 17, 2023
c4a72d9
github: add pre-commit workflow
Feb 17, 2023
5060504
ci: run s3tests
m-ildefons Jan 16, 2023
2152989
ci: build/test workflow remove libradosgw
m-ildefons Feb 9, 2023
eada8df
ci: s3tests migrate workflow to use s3tests runner
m-ildefons Feb 10, 2023
356dccd
rgw/sfs: fix db schema typo
jecluis Feb 15, 2023
e49b0b0
ci: s3tests fail on regression
m-ildefons Feb 24, 2023
603dee0
rgw/sfs: Add combined target for sfs unit tests
Feb 17, 2023
9fa1a84
rgw/sfs: Object Lock - Object Retention Modes
Jan 26, 2023
3f1aa3c
ci: build script respect CC and CXX
m-ildefons Mar 2, 2023
1a2a0f8
ci: avoid OOMing the worker node
m-ildefons Mar 2, 2023
14dbc53
rgw/sfs: fix uneffective edit of attributes in object.cc
Mar 7, 2023
c16daa3
rgw/sfs: Object Lock - Legal holds
Mar 7, 2023
bd066c8
ci: Make buildable out of git tree
m-ildefons Mar 21, 2023
47925e4
rgw/sfs: Lifecycle initial implementation
0xavi0 Jan 24, 2023
4e47eb4
[fixup-on-rebase] rgw/sfs: drop upstream-specific github actions
jecluis Mar 23, 2023
2c95a34
rgw/sfs: Refactor types.h Object and Bucket classes
Feb 23, 2023
56448ae
rgw/sfs: Remove Bucket objects, obj_map_lock
Feb 24, 2023
8469e3f
rgw/sfs: Improve types.{h,cc} comments
Mar 7, 2023
0f0fffb
rgw/sfs: Remove unused Bucket::get_unmutexed
Mar 7, 2023
dbcb754
rgw/sfs: Rename Object::try_create... methods
Mar 7, 2023
b094dab
rgw/sfs: Pull want_specific_version into get_or_create
Mar 7, 2023
34ce604
rgw/sfs: Remove object state WRITING
Mar 1, 2023
c784f12
rgw/sfs: Remove state changes to WRITING
Mar 1, 2023
0a38053
rgw/sfs: Add unique indices on versioned_objects
Mar 1, 2023
718f08c
rgw/sfs: Add indices to frequent queried columns
Mar 2, 2023
593c58f
rgw/sfs: Use version_id for versioned objects unit tests
Mar 2, 2023
e94f730
rgw/sfs: Delete non used sqlite files
0xavi0 Mar 24, 2023
7692798
ci: Add lifecycle s3tests
0xavi0 Apr 6, 2023
11b0b78
rgw/sfs: Fix LastModified when getting obj header
0xavi0 Apr 4, 2023
6562be6
ci: add new files to pre-commit files list
Apr 13, 2023
7bd3596
rgw/s3gw: Add telemetry / upgrade responder service
Mar 22, 2023
225875c
rgw/s3gw: Add telemetry / upgrade responder service
Apr 17, 2023
9574835
rgw/s3gw: Add s3gw telemetry unit test
Mar 22, 2023
d175d93
ci: Include s3gw matching unittests to sfs/build-radosgw.sh
Mar 22, 2023
7d681a2
rgw/sfs: atomic writer error handling and recovery
Nov 17, 2022
55f3ba9
rgw/sfs: Log atomic writer errors with level -1
Mar 22, 2023
bc4499c
rgw/sfs: Use fmt in longer atomic reader log msg
Mar 22, 2023
3809289
rgw/sfs: clean up in flight version on atomic writer failure
Mar 22, 2023
cf85184
ci: force docker for s3tests
m-ildefons Apr 21, 2023
5eaeae4
rgw/test: Fix Lifecycle unit tests
0xavi0 Apr 19, 2023
4da53b1
s3tests: disable failing test
m-ildefons Apr 24, 2023
629f8bf
ci: unified build/test container
m-ildefons Mar 22, 2023
6c6846b
rgw/sfs: fix build-radosgw.sh not compiling sfs unittests
Apr 18, 2023
de602ab
rgw/sfs: change db schema as described in ADR.
0xavi0 May 16, 2023
18f818b
rgw/sfs: Throw std::system_error in type bindings
0xavi0 May 17, 2023
fe304c1
rgw/sfs: change column names to match ADR names
0xavi0 May 17, 2023
832a28f
rgw/sfs: Implement new versioning design
0xavi0 May 19, 2023
5d3884e
rgw/testing: Add a few more passing s3tests
0xavi0 Jun 12, 2023
3b89788
ci: Build crypto plugins openssl and isal
Jun 13, 2023
ed2251a
rgw/s3gw: telemetry: Record upgrade responder request interval
Jun 9, 2023
1865aba
rgw/s3gw: telemetry: Use received update interval
Jun 9, 2023
48f161d
rgw/sfs: use user_version for metadata compatibily
jecluis Jun 18, 2023
ac86da9
rgw/sfs: scaffolding for db upgrade
jecluis Jun 18, 2023
9a5bfcd
rgw/sfs: Remove redundant template code and make more flexible
0xavi0 Jun 23, 2023
8ef2459
ci: add labels to sfs/s3gw unit tests
m-ildefons Apr 27, 2023
8f4076d
rgw/sfs: Fix error message wrong variable for cpp_strerror
Jul 5, 2023
96070fd
rgw/s3gw: Fix Invalid argument exception on exit with telemetry off
Jul 7, 2023
b4efd6f
rgw/sfs: fix delete bucket when not empty
0xavi0 Jun 13, 2023
5fd30c6
rgw/sfs: Change versioned object getter from non delete to committed
Jun 22, 2023
1cffd30
rgw/sfs: createDBBucketBasic: create with deleted false
Jun 23, 2023
d290aca
rgw/sfs: Adapt unit test to only committed objects visible
Jul 5, 2023
b87af5d
rgw/sfs: conditional store object methods; basic error handling
Jul 4, 2023
c1f3067
rgw/sfs: Only delete committed other versions
Jul 5, 2023
13a52aa
rgw/sfs: Add object state machine unit tests
Jun 23, 2023
0fb6390
rgw/sfs: Allow adding delete marker if latest version is open
Jul 5, 2023
53c1375
ci: Activate atomic write s3-tests
Jul 5, 2023
6f97931
rgw/sfs: conditional store: use update_all instead of select+update
Jul 7, 2023
fcaf876
rgw: Enable Admin Ops REST API to set user admin flag
Jul 3, 2023
f5f3ff9
rgw/sfs: Disable Versioning Suspended Buckets
Jul 14, 2023
efcb80a
rgw/sfs: Add integration test suite for unsupported features
Jul 14, 2023
165be34
ci: Disable s3tests failing because of disabled versioning suspended
Jul 20, 2023
74fdd93
rgw/sfs: drop unused variable
jecluis Jul 23, 2023
413b5f8
rgw/sfs: Improve sqlite pragma formatting
Jul 20, 2023
563525c
rgw/sfs: Register SQLite Error Logging Callback
Jul 20, 2023
125ec64
rgw/sfs: SQLite Query Profiling
Jul 20, 2023
a04a303
rgw/sfs: Add retry utility
Jul 21, 2023
c7f802a
rgw/sfs: Add concurrent execution unit test
Jul 13, 2023
19337d2
rgw/sfs: Retry new version transaction
Jul 21, 2023
4198c27
rgw/sfs: atomicwriter: Print filename if fd still open on destructor
Jul 25, 2023
fd0e124
rgw: fix unused variable warning
jecluis May 26, 2023
944bf23
gitignore: don't track dependencies and tmp files
jecluis May 31, 2023
4dcb448
include/types.h: include fmt header
jecluis May 22, 2023
027a2d0
rgw/sfs: fix functions not marked override
jecluis May 26, 2023
803a968
rgw/sfs: multipart v2
jecluis Mar 25, 2023
7be49bd
upgrade metadata v1 -> v2
jecluis Jun 18, 2023
9749c51
qa/sfs: fix multipart test
jecluis May 26, 2023
a656041
qa/sfs: fix s3tests.conf
jecluis May 31, 2023
eefb29d
rgw/sfs: validate part size is >= 5MB
jecluis Jun 1, 2023
fa6ec34
rgw/sfs: validate client part exists on complete
jecluis Jun 2, 2023
09048c1
rgw/sfs: abort on-going multiparts on bucket removal
jecluis Jun 2, 2023
959d348
rgw/sfs: make multipart complete idempotent-ish
jecluis Jun 2, 2023
5ce0739
rgw/sfs: deduplicate multipart sqlite queries
jecluis Jun 2, 2023
bf107aa
rgw/sfs: take subset of parts on complete
jecluis Jun 4, 2023
51a5e49
rgw/sfs: populate object state on metadata refresh
jecluis Jun 15, 2023
2e2a1ec
rgw/sfs: rename some multipart fields
jecluis Jun 17, 2023
c3c1b1f
rgw/sfs: make GC play well with multipart
jecluis Jul 22, 2023
112f9cb
ci: Build with GCC 12
Jul 31, 2023
e1f37af
rgw/sfs: Add ostream operators to obj, verobj and obj state
Jul 26, 2023
7e6cbf6
rgw/sfs: sqlite: Switch on case_sensitive_like
Jul 25, 2023
b29e590
rgw/sfs: Add test instance utils
Jul 26, 2023
dae259f
rgw/sfs: Query-based regular object listings
Jul 25, 2023
0028f83
rgw/sfs: Add roll up common prefixes
Jul 27, 2023
760ce38
rgw/sfs: Add roll up common prefixes
Jul 31, 2023
f6695c8
rgw/sfs: Integrate new bucket list implementation
Apr 13, 2023
700141f
ci: Enable bucket_list s3tests
Jul 27, 2023
5be5451
rgw/sfs: test sfs bucket: Request > 0 objects
Jul 31, 2023
324ab3a
rgw/sfs: Remove checks for bucket list owner
Jul 31, 2023
5ad6da6
rgw/sfs: Do not list delete marked objects
Jul 31, 2023
7a3a9c5
ci: build with system gtest
m-ildefons Aug 1, 2023
bbc5b70
rgw/sfs: avoid deleting temp db file while it's still open
tserong Aug 4, 2023
378fc16
rgw/s3gw: Default disable unsupported APIs
Aug 1, 2023
7459f0f
rgw/sfs: Query-based list versions
Aug 4, 2023
96f9a12
rgw/sfs: Integrate new version listing into SFS bucket
Aug 4, 2023
a3e9ecb
rgw/sfs: Integrate new version listing into SFS bucket
Aug 10, 2023
a93c08c
rgw/sfs: Add bucket get_owner
Aug 4, 2023
ea728e1
rgw/sfs: Set ownership info in bucket listings
Aug 4, 2023
38b54c6
ci: Enable more s3 tests
Aug 8, 2023
edd9786
rgw/sfs: testing: Refactor fn arguments; Add unversioned test
Jul 25, 2023
5ce513e
rgw/sfs: testing: Add micro benchmarks to perf suite
Jul 25, 2023
5c2132a
rgw/sfs: Add unique index to object (bucket_id, name)
Aug 4, 2023
7f0ac30
rgw/sfs: create_new_versioned: Find uuid even with deleted versions
Aug 8, 2023
7ec7127
rgw/sfs: db version 4 - min compat version 4
Aug 11, 2023
4133c06
rgw/sfs: retry: move m_failed_error above
Jul 25, 2023
ce3d4ac
rgw/sfs: Remove unused store_versioned_object_delete_rest_transact
Jul 25, 2023
f1b6af6
rgw/sfs: store_versioned_object_if_state: Use commit_on_destroy
Jul 25, 2023
e886e3f
rgw/sfs: Retry store_..._delete_committed_transact_if_state
Jul 25, 2023
bc6a73a
rgw/sfs: const types.h interfaces
Jul 25, 2023
f24d5c0
rgw/sfs: -Werror, -Wextra+friends, Fix Warnings
Jul 28, 2023
56eb211
rgw/sfs: get_db_multipart: Add .attrs
Aug 1, 2023
63b65b3
rgw/sfs: get_rgw_multipart: Fix missing-field-initializers
Aug 1, 2023
1facc4e
rgw/sfs: Remove unused 'set_mtime' Object::Meta field
Aug 1, 2023
e535d0a
rgw/sfs: Mark parameters we are unlikely to support unused
Aug 1, 2023
e8974bf
rgw/sfs: LCSFSSerializer: Mark unused
Aug 1, 2023
272d251
rgw/sfs: Fix Wshadow instances
Aug 1, 2023
a4a2df6
rgw/sfs: multipart: Fix incomplete struct init
Aug 1, 2023
00f74a0
rgw/sfs: Drop useless comments
Aug 11, 2023
131f62c
rgw/sfs: list versions: DMs first
Aug 14, 2023
f5e65f9
rgw/sfs: list objects: group by primary key
Aug 14, 2023
ca21632
rgw/sfs: Add prefix to SQL LIKE ESCAPE utility
Aug 17, 2023
c3b890e
rgw/sfs: Sanitize LIKE expressions
Aug 17, 2023
3252131
rgw/gc: New GC implementation after versioning redesign
0xavi0 Jun 23, 2023
f90cf4e
rgw/sfs: Fix unused parameter warnings.
0xavi0 Aug 18, 2023
1ac6485
rgw/sfs: add file extension: '.v' == object version
Aug 14, 2023
83cb88e
rgw/sfs: add file extension: '.p' == multipart part
Aug 14, 2023
1bb2ae3
rgw/sfs: MP part files: Use global part id not local part_num
Aug 14, 2023
ba3deef
rgw/sfs: MP create_or_reset_part: Return part.id
Aug 14, 2023
4ba6c50
rgw/sfs: add file extension: '.m' == multipart assemble tmp + random fn
Aug 14, 2023
3bec977
rgw/sfs: Use MP id rather than part num in GC
Aug 18, 2023
fc9964d
rgw/sfs: Support conditional GETs
Aug 17, 2023
2ccb083
ci: Enable conditional GET s3 tests
Aug 17, 2023
88da5ae
rgw/sfs: Rename MP object_uuid -> path_uuid
Aug 15, 2023
e6e85fe
rgw/sfs: bucket list: factor out param verify
Aug 15, 2023
af4b447
rgw/sfs: bucket list: support multipart namespace for LC
Aug 15, 2023
b083970
rgw/sfs: Add get_multipart(by_id)
Aug 15, 2023
da32c94
rgw/sfs: Support LC getting MPs without upload id
Aug 15, 2023
3834727
ci: Add test_lifecycle_multipart_expiration s3 test
Aug 15, 2023
ac5c1e5
rgw/sfs: Add GC for done and aborted multiparts
0xavi0 Aug 21, 2023
4301763
rgw/sfs: Delete multipart db conversions layer
0xavi0 Aug 22, 2023
68da3e3
utilize s3tr
m-ildefons Aug 1, 2023
f89e7f2
ci: Tag images with unique run identifier instead of implicit latest
Aug 23, 2023
141bb3c
ci: Use /run/docker.sock instead of /var/run/docker.sock
Aug 23, 2023
2ab62bb
ci: Run only 10 s3tr containers at a time
Aug 24, 2023
8c6ae3a
ci: Fix s3tr result archive
Aug 24, 2023
6a658ae
rgw/sfs: Delete markers on top
0xavi0 Aug 25, 2023
f998640
rgw/sfs: Add pedantic and other warnings
0xavi0 Aug 29, 2023
1916d8d
rgw/sfs: Improve SQLite Profiling (+Prometheus-style histograms)
Aug 23, 2023
435022e
rgw/sfs: output new prometheus-style histograms nicely
Aug 25, 2023
95fbf70
rgw/sfs: Conditional Copy Object
0xavi0 Aug 31, 2023
4f8a6c3
rgw/sfs: atomic writer: Create manifests for SSE
Jun 13, 2023
abe1921
rgw/sfs: multipart: Add SSE object manifest
Aug 23, 2023
e6d3e14
ci: S3 Tests: Enable SSE-C, SSE-KMS
Jun 13, 2023
55bda8b
rgw/status: Add custom metric function support
Aug 24, 2023
1be6b10
rgw/sfs: dbconn: Keep pointer to first sqlite db conn
Aug 24, 2023
c45052e
rgw/sfs: Add custom metrics functions
Aug 24, 2023
0540e26
rgw/sfs: Tie in custom SFS metrics functions to metric status pages
Aug 24, 2023
ceea5a5
rgw/sfs: Add sqlite connection count metric
Sep 1, 2023
d2393ec
rgw/sfs: Add GC perf counters
Aug 25, 2023
178dcaa
rgw/sfs: sfs gc test: Have only one Ceph context
Sep 5, 2023
d6427e2
ci: Add image build and push action
Sep 5, 2023
2e35f63
rgw/tests: Enable passing multipart s3tests
0xavi0 Sep 7, 2023
8ebb126
ci: Run build and push image in target repo
Sep 8, 2023
1cc944e
rgw/s3gw: ensure s3gw_telemetry is non-null before stop
tserong Sep 8, 2023
e302d17
rgw/sfs: use sqlite3 backup API to create temp db
tserong Sep 12, 2023
2f59f09
rgw/sfs: Send etag and correct mtime in copy object response
0xavi0 Sep 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
255 changes: 255 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
# s3gw preference
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
# s3gw preference
AllowShortFunctionsOnASingleLine: Inline
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
# don't guess
DeriveLineEnding: false
# don't guess
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: NextLine
BasedOnStyle: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*\.h>'
Priority: 1
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 3
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '([-_](test|unittest))?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequiresClause: true
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertBraces: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PenaltyIndentedWhitespace: 0
PointerAlignment: Left
PPIndentWidth: -1
RawStringFormats:
- Language: Cpp
Delimiters:
- cc
- CC
- cpp
- Cpp
- CPP
- 'c++'
- 'C++'
CanonicalDelimiter: ''
BasedOnStyle: google
- Language: TextProto
Delimiters:
- pb
- PB
- proto
- PROTO
EnclosingFunctions:
- EqualsProto
- EquivToProto
- PARSE_PARTIAL_TEXT_PROTO
- PARSE_TEST_PROTO
- PARSE_TEXT_PROTO
- ParseTextOrDie
- ParseTextProtoOrDie
- ParseTestProto
- ParsePartialTestProto
CanonicalDelimiter: pb
BasedOnStyle: google
ReferenceAlignment: Pointer
# don't touch comments
ReflowComments: false
RemoveBracesLLVM: false
RequiresClausePosition: OwnLine
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
# s3gw no smarttabs
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...
1 change: 1 addition & 0 deletions .codespell-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dout
132 changes: 0 additions & 132 deletions .github/CODEOWNERS

This file was deleted.

Loading
Loading