diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..cf53f667 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[LICENSE] +trim_trailing_whitespace = false +insert_final_newline = false diff --git a/.licenserc.yaml b/.licenserc.yaml index 11872ee8..17c97b73 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -13,4 +13,4 @@ header: - '**/generated/*.rs' - 'parse-rfd/parser/dist/index.js' - comment: on-failure \ No newline at end of file + comment: on-failure diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 559c027b..3ec9a38d 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -16,7 +16,7 @@ * `POST /api-user` (create_api_user) * `POST /api-user/{user_id}` (update_api_user) * `POST /api-user/{user_id}/group` (add_api_user_to_group) -* `DELETE /api-user/{user_id}/group/{group_id}` (remove_api_user_from_group) +* `DELETE /api-user/{user_id}/group/{group_id}` (remove_api_user_from_group) *Change Details:* diff --git a/README.md b/README.md index d34868a8..012ef5a8 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Objects reference: └─────────┘ ``` Note: Scanner and Webhook operations that occur on the default branch do not use the branch name for -determining the RFD number to update. Instead they use the numeric portion of the +determining the RFD number to update. Instead they use the numeric portion of the `rfd/{number}/README.adoc` path. ### Revisions diff --git a/parse-rfd/.gitignore b/parse-rfd/.gitignore index 058fa7ac..db814183 100644 --- a/parse-rfd/.gitignore +++ b/parse-rfd/.gitignore @@ -1,3 +1,3 @@ parser/dist/css !parser/package.json -!parser/package-lock.json \ No newline at end of file +!parser/package-lock.json diff --git a/parse-rfd/Cargo.toml b/parse-rfd/Cargo.toml index c2be882e..1264e615 100644 --- a/parse-rfd/Cargo.toml +++ b/parse-rfd/Cargo.toml @@ -8,4 +8,4 @@ edition = "2021" [dependencies] serde = { workspace = true } serde_json = { workspace = true } -uuid = { workspace = true } \ No newline at end of file +uuid = { workspace = true } diff --git a/rfd-cli/.gitignore b/rfd-cli/.gitignore index 0af23b5e..7f1788bc 100644 --- a/rfd-cli/.gitignore +++ b/rfd-cli/.gitignore @@ -1,3 +1,3 @@ /target -config.toml \ No newline at end of file +config.toml diff --git a/rfd-github/Cargo.toml b/rfd-github/Cargo.toml index 3fbf66a9..505cf32f 100644 --- a/rfd-github/Cargo.toml +++ b/rfd-github/Cargo.toml @@ -15,4 +15,4 @@ regex = { workspace = true } rfd-data = { path = "../rfd-data" } rfd-model = { path = "../rfd-model" } thiserror = { workspace = true } -tracing = { workspace = true } \ No newline at end of file +tracing = { workspace = true } diff --git a/rfd-model/Cargo.toml b/rfd-model/Cargo.toml index cec6f43a..ecb82a38 100644 --- a/rfd-model/Cargo.toml +++ b/rfd-model/Cargo.toml @@ -28,4 +28,4 @@ v-model = { workspace = true } [dev-dependencies] diesel_migrations = { version = "2.3.1", features = ["postgres"] } -tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } \ No newline at end of file +tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } diff --git a/rfd-model/migrations/2023-01-20-202736_rfd/down.sql b/rfd-model/migrations/2023-01-20-202736_rfd/down.sql index 1b4e2108..fd6a39b2 100644 --- a/rfd-model/migrations/2023-01-20-202736_rfd/down.sql +++ b/rfd-model/migrations/2023-01-20-202736_rfd/down.sql @@ -1 +1 @@ -DROP TABLE rfd \ No newline at end of file +DROP TABLE rfd diff --git a/rfd-model/migrations/2023-01-20-202736_rfd/up.sql b/rfd-model/migrations/2023-01-20-202736_rfd/up.sql index 37e5178d..d600b2e2 100644 --- a/rfd-model/migrations/2023-01-20-202736_rfd/up.sql +++ b/rfd-model/migrations/2023-01-20-202736_rfd/up.sql @@ -5,4 +5,4 @@ CREATE TABLE rfd ( created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), deleted_at TIMESTAMPTZ -) \ No newline at end of file +) diff --git a/rfd-model/migrations/2023-01-20-204405_rfd_pdf/down.sql b/rfd-model/migrations/2023-01-20-204405_rfd_pdf/down.sql index ba5d1fea..86b60f45 100644 --- a/rfd-model/migrations/2023-01-20-204405_rfd_pdf/down.sql +++ b/rfd-model/migrations/2023-01-20-204405_rfd_pdf/down.sql @@ -1,2 +1,2 @@ DROP TABLE rfd_pdf; -DROP TYPE RFD_PDF_SOURCE; \ No newline at end of file +DROP TYPE RFD_PDF_SOURCE; diff --git a/rfd-model/migrations/2023-01-20-204405_rfd_pdf/up.sql b/rfd-model/migrations/2023-01-20-204405_rfd_pdf/up.sql index b94f9c5e..eceede4b 100644 --- a/rfd-model/migrations/2023-01-20-204405_rfd_pdf/up.sql +++ b/rfd-model/migrations/2023-01-20-204405_rfd_pdf/up.sql @@ -11,4 +11,4 @@ CREATE TABLE rfd_pdf ( deleted_at TIMESTAMPTZ, CONSTRAINT revision_links_unique UNIQUE (rfd_revision_id, source, link) -); \ No newline at end of file +); diff --git a/rfd-model/migrations/2023-07-23-145951_job/down.sql b/rfd-model/migrations/2023-07-23-145951_job/down.sql index 77eb29cd..834eddc7 100644 --- a/rfd-model/migrations/2023-07-23-145951_job/down.sql +++ b/rfd-model/migrations/2023-07-23-145951_job/down.sql @@ -1 +1 @@ -DROP TABLE IF EXISTS job; \ No newline at end of file +DROP TABLE IF EXISTS job; diff --git a/rfd-model/migrations/2023-07-23-145951_job/up.sql b/rfd-model/migrations/2023-07-23-145951_job/up.sql index de5be6f3..07d34695 100644 --- a/rfd-model/migrations/2023-07-23-145951_job/up.sql +++ b/rfd-model/migrations/2023-07-23-145951_job/up.sql @@ -13,4 +13,4 @@ CREATE TABLE job ( UNIQUE (sha, rfd) ); -CREATE INDEX jobs ON job (id, processed ASC, committed_at ASC, created_at ASC); \ No newline at end of file +CREATE INDEX jobs ON job (id, processed ASC, committed_at ASC, created_at ASC); diff --git a/rfd-model/migrations/2023-10-06-001455_add_rfd_visibility/down.sql b/rfd-model/migrations/2023-10-06-001455_add_rfd_visibility/down.sql index 2ef10da7..8d928e96 100644 --- a/rfd-model/migrations/2023-10-06-001455_add_rfd_visibility/down.sql +++ b/rfd-model/migrations/2023-10-06-001455_add_rfd_visibility/down.sql @@ -1,3 +1,3 @@ ALTER TABLE rfd DROP COLUMN visibility; -DROP TYPE RFD_VISIBILITY; \ No newline at end of file +DROP TYPE RFD_VISIBILITY; diff --git a/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/down.sql b/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/down.sql index e1a2a95b..ce09a269 100644 --- a/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/down.sql +++ b/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/down.sql @@ -1 +1 @@ -ALTER TABLE rfd_revision DROP COLUMN labels; \ No newline at end of file +ALTER TABLE rfd_revision DROP COLUMN labels; diff --git a/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/up.sql b/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/up.sql index 84f346d9..11d82232 100644 --- a/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/up.sql +++ b/rfd-model/migrations/2024-02-28_add_labels_to_rfd_revision/up.sql @@ -1 +1 @@ -ALTER TABLE rfd_revision ADD COLUMN labels VARCHAR; \ No newline at end of file +ALTER TABLE rfd_revision ADD COLUMN labels VARCHAR; diff --git a/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/down.sql b/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/down.sql index cd074b67..6752c762 100644 --- a/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/down.sql +++ b/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/down.sql @@ -1 +1 @@ -DROP INDEX jobs_started; \ No newline at end of file +DROP INDEX jobs_started; diff --git a/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/up.sql b/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/up.sql index 93658ac7..da068151 100644 --- a/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/up.sql +++ b/rfd-model/migrations/2024-04-19-173349_add_jobs_started_index/up.sql @@ -1 +1 @@ -CREATE INDEX jobs_started ON job (id, started_at, processed ASC, committed_at ASC, created_at ASC); \ No newline at end of file +CREATE INDEX jobs_started ON job (id, started_at, processed ASC, committed_at ASC, created_at ASC); diff --git a/rfd-ts/package.json b/rfd-ts/package.json index 34ae1d87..c1b48189 100644 --- a/rfd-ts/package.json +++ b/rfd-ts/package.json @@ -70,4 +70,4 @@ } }, "version": "0.14.1" -} \ No newline at end of file +} diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 74eb8c29..cdc3ca6a 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -15,4 +15,4 @@ serde_json = { workspace = true } similar = { workspace = true } [package.metadata.dist] -dist = false \ No newline at end of file +dist = false