-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'open-sauced:beta' into pull-org
- Loading branch information
Showing
8 changed files
with
144 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@open-sauced/engineering | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Compliance | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
compliance: | ||
uses: open-sauced/hot/.github/workflows/compliance.yml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 📦 open-sauced/pizza changelog | ||
|
||
[](https://conventionalcommits.org) | ||
[](https://semver.org) | ||
|
||
> All notable changes to this project will be documented in this file | ||
## [1.1.0-beta.2](https://github.com/open-sauced/pizza/compare/v1.1.0-beta.1...v1.1.0-beta.2) (2023-10-09) | ||
|
||
|
||
### 🍕 Features | ||
|
||
* Ability to turn off sslmode ([#58](https://github.com/open-sauced/pizza/issues/58)) ([b026289](https://github.com/open-sauced/pizza/commit/b0262890b6d74ef85e2d5f57daa73e9ac7f81879)) | ||
|
||
## [1.1.0-beta.1](https://github.com/open-sauced/pizza/compare/v1.0.1-beta.1...v1.1.0-beta.1) (2023-10-07) | ||
|
||
|
||
### 🍕 Features | ||
|
||
* Add our compliance GitHub workflow ([#59](https://github.com/open-sauced/pizza/issues/59)) ([8196306](https://github.com/open-sauced/pizza/commit/819630638474591340c4b5cbb973cca172b30791)) | ||
|
||
## [1.0.1-beta.1](https://github.com/open-sauced/pizza/compare/v1.0.0...v1.0.1-beta.1) (2023-09-28) | ||
|
||
|
||
### 🐛 Bug Fixes | ||
|
||
* Add missing "pizza.sql" file ([#57](https://github.com/open-sauced/pizza/issues/57)) ([66dc680](https://github.com/open-sauced/pizza/commit/66dc6800925da3cf9c8d9c0329b50a05e3f360fe)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
-- This file is sourced from https://github.com/open-sauced/api/tree/beta/migrations | ||
-- and is used only for local development convenience | ||
|
||
------------------------------------ | ||
-- Pizza oven "baked" repos table -- | ||
------------------------------------- | ||
create table if not exists public.baked_repos | ||
( | ||
id bigint not null generated by default as identity ( increment 1 start 1 minvalue 1 maxvalue 9223372036854775807 cache 1 ), | ||
clone_url character varying(255) collate pg_catalog."default" not null, | ||
|
||
-- elastic columns | ||
|
||
-- the repo_id field is used to loosely reference an id from the repos table | ||
-- but since git repos may have their commits indexed that have not yet been | ||
-- indexed into the repos table, there is not direct correlation. | ||
-- Joins can happen across the "clone_url" to find repos that have not yet | ||
-- synced to baked_repos. | ||
repo_id bigint default null, | ||
|
||
-- dynamic columns | ||
constraint baked_repos_pkey primary key (id) | ||
) | ||
|
||
tablespace pg_default; | ||
|
||
-- indexes for baked repos | ||
create index if not exists baked_repos_idx_clone_url on baked_repos (clone_url); | ||
|
||
------------------------------------- | ||
-- Pizza oven commit authors table -- | ||
------------------------------------- | ||
create table if not exists public.commit_authors | ||
( | ||
id bigint not null generated by default as identity ( increment 1 start 1 minvalue 1 maxvalue 9223372036854775807 cache 1 ), | ||
commit_author_email character varying(255) collate pg_catalog."default" not null, | ||
|
||
-- dynamic columns | ||
constraint commit_authors_pkey primary key (id) | ||
) | ||
|
||
tablespace pg_default; | ||
|
||
-- indexes for baked repos | ||
create index if not exists commit_authors_idx_commit_author_email on commit_authors (commit_author_email); | ||
|
||
-------------------------------- | ||
-- Pizza oven indexed commits -- | ||
-------------------------------- | ||
|
||
create table if not exists public.commits ( | ||
id bigint not null generated by default as identity ( increment 1 start 1 minvalue 1 maxvalue 9223372036854775807 cache 1 ), | ||
baked_repo_id bigint not null references public.baked_repos (id) on delete cascade on update cascade, | ||
commit_author_id bigint not null references public.commit_authors(id) on delete cascade on update cascade, | ||
commit_hash character varying(255) collate pg_catalog."default" not null, | ||
commit_date timestamp with time zone not null default now(), | ||
|
||
-- dynamic columns | ||
constraint commits_pkey primary key (id) | ||
) | ||
|
||
tablespace pg_default; | ||
|
||
-- psql indexes for commits | ||
create index if not exists commit_idx_hash on commits (commit_hash); | ||
create index if not exists commit_idx_date on commits (commit_date); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters