You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2024/01/05 06:18:48 UTC
(incubator-devlake-website) branch kw-6678-wrong-ref_is_default-def created (now fd449f69f0)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a change to branch kw-6678-wrong-ref_is_default-def
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
at fd449f69f0 fix: wrong definition of the ref.is_default column
This branch includes the following new commits:
new fd449f69f0 fix: wrong definition of the ref.is_default column
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake-website) 01/01: fix: wrong definition of the ref.is_default column
Posted by kl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch kw-6678-wrong-ref_is_default-def
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
commit fd449f69f0b3b299676e306b9103223a5b382e9e
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Fri Jan 5 14:17:02 2024 +0800
fix: wrong definition of the ref.is_default column
---
docs/DataModels/DevLakeDomainLayerSchema.md | 2 +-
versioned_docs/version-v0.15/DataModels/DevLakeDomainLayerSchema.md | 2 +-
versioned_docs/version-v0.16/DataModels/DevLakeDomainLayerSchema.md | 2 +-
versioned_docs/version-v0.17/DataModels/DevLakeDomainLayerSchema.md | 2 +-
versioned_docs/version-v0.18/DataModels/DevLakeDomainLayerSchema.md | 2 +-
versioned_docs/version-v0.19/DataModels/DevLakeDomainLayerSchema.md | 2 +-
versioned_docs/version-v0.20/DataModels/DevLakeDomainLayerSchema.md | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/DataModels/DevLakeDomainLayerSchema.md b/docs/DataModels/DevLakeDomainLayerSchema.md
index 484f431fdc..b8127018fd 100644
--- a/docs/DataModels/DevLakeDomainLayerSchema.md
+++ b/docs/DataModels/DevLakeDomainLayerSchema.md
@@ -310,7 +310,7 @@ A ref is the abstraction of a branch or tag.
| `name` | varchar | 255 | The name of the ref. E.g. '[refs/tags/v0.9.3](https://github.com/apache/incubator-devlake/tree/v0.9.3)' or 'origin/main' | |
| `repo_id` | varchar | 255 | The id of repo this ref belongs to | FK_repos.id |
| `commit_sha` | char | 40 | The commit this ref points to at the time of collection | |
-| `is_default` | tinyint | 1 | <ul><li>0: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li><li>1: not the default branch</li></ul> | |
+| `is_default` | tinyint | 1 | <ul><li>0: not the default branch</li><li>1: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li></ul> | |
| `ref_type` | varchar | 64 | There are 2 typical types:<ul><li>BRANCH</li><li>TAG</li></ul> | |
#### commits_diffs
diff --git a/versioned_docs/version-v0.15/DataModels/DevLakeDomainLayerSchema.md b/versioned_docs/version-v0.15/DataModels/DevLakeDomainLayerSchema.md
index 3239c59b1a..4addd111a5 100644
--- a/versioned_docs/version-v0.15/DataModels/DevLakeDomainLayerSchema.md
+++ b/versioned_docs/version-v0.15/DataModels/DevLakeDomainLayerSchema.md
@@ -258,7 +258,7 @@ A ref is the abstraction of a branch or tag.
| `ref_name` | varchar | 255 | The name of ref. Eg. '[refs/tags/v0.9.3](https://github.com/apache/incubator-devlake/tree/v0.9.3)' | |
| `repo_id` | varchar | 255 | The id of repo this ref belongs to | FK_repos.id |
| `commit_sha` | char | 40 | The commit this ref points to at the time of collection | |
-| `is_default` | int | | <ul><li>0: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li><li>1: not the default branch</li></ul> | |
+| `is_default` | tinyint | 1 | <ul><li>0: not the default branch</li><li>1: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li></ul> | |
| `merge_base` | char | 40 | The merge base commit of the main ref and the current ref | |
| `ref_type` | varchar | 64 | There're 2 typical types:<ul><li>BRANCH</li><li>TAG</li></ul> | |
diff --git a/versioned_docs/version-v0.16/DataModels/DevLakeDomainLayerSchema.md b/versioned_docs/version-v0.16/DataModels/DevLakeDomainLayerSchema.md
index 9cf81ea985..58bc5439a6 100644
--- a/versioned_docs/version-v0.16/DataModels/DevLakeDomainLayerSchema.md
+++ b/versioned_docs/version-v0.16/DataModels/DevLakeDomainLayerSchema.md
@@ -242,7 +242,7 @@ A ref is the abstraction of a branch or tag.
| `name` | varchar | 255 | The name of the ref. E.g. '[refs/tags/v0.9.3](https://github.com/apache/incubator-devlake/tree/v0.9.3)' or 'origin/main' | |
| `repo_id` | varchar | 255 | The id of repo this ref belongs to | FK_repos.id |
| `commit_sha` | char | 40 | The commit this ref points to at the time of collection | |
-| `is_default` | tinyint | 1 | <ul><li>0: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li><li>1: not the default branch</li></ul>| |
+| `is_default` | tinyint | 1 | <ul><li>0: not the default branch</li><li>1: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li></ul> | |
| `ref_type` | varchar | 64 | There are 2 typical types:<ul><li>BRANCH</li><li>TAG</li></ul> | |
#### commits_diffs
diff --git a/versioned_docs/version-v0.17/DataModels/DevLakeDomainLayerSchema.md b/versioned_docs/version-v0.17/DataModels/DevLakeDomainLayerSchema.md
index 4f58663a57..089afedadf 100644
--- a/versioned_docs/version-v0.17/DataModels/DevLakeDomainLayerSchema.md
+++ b/versioned_docs/version-v0.17/DataModels/DevLakeDomainLayerSchema.md
@@ -241,7 +241,7 @@ A ref is the abstraction of a branch or tag.
| `name` | varchar | 255 | The name of the ref. E.g. '[refs/tags/v0.9.3](https://github.com/apache/incubator-devlake/tree/v0.9.3)' or 'origin/main' | |
| `repo_id` | varchar | 255 | The id of repo this ref belongs to | FK_repos.id |
| `commit_sha` | char | 40 | The commit this ref points to at the time of collection | |
-| `is_default` | tinyint | 1 | <ul><li>0: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li><li>1: not the default branch</li></ul> | |
+| `is_default` | tinyint | 1 | <ul><li>0: not the default branch</li><li>1: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li></ul> | |
| `ref_type` | varchar | 64 | There are 2 typical types:<ul><li>BRANCH</li><li>TAG</li></ul> | |
#### commits_diffs
diff --git a/versioned_docs/version-v0.18/DataModels/DevLakeDomainLayerSchema.md b/versioned_docs/version-v0.18/DataModels/DevLakeDomainLayerSchema.md
index f1f877e786..bf29dcc01b 100644
--- a/versioned_docs/version-v0.18/DataModels/DevLakeDomainLayerSchema.md
+++ b/versioned_docs/version-v0.18/DataModels/DevLakeDomainLayerSchema.md
@@ -274,7 +274,7 @@ A ref is the abstraction of a branch or tag.
| `name` | varchar | 255 | The name of the ref. E.g. '[refs/tags/v0.9.3](https://github.com/apache/incubator-devlake/tree/v0.9.3)' or 'origin/main' | |
| `repo_id` | varchar | 255 | The id of repo this ref belongs to | FK_repos.id |
| `commit_sha` | char | 40 | The commit this ref points to at the time of collection | |
-| `is_default` | tinyint | 1 | <ul><li>0: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li><li>1: not the default branch</li></ul> | |
+| `is_default` | tinyint | 1 | <ul><li>0: not the default branch</li><li>1: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li></ul> | |
| `ref_type` | varchar | 64 | There are 2 typical types:<ul><li>BRANCH</li><li>TAG</li></ul> | |
#### commits_diffs
diff --git a/versioned_docs/version-v0.19/DataModels/DevLakeDomainLayerSchema.md b/versioned_docs/version-v0.19/DataModels/DevLakeDomainLayerSchema.md
index e909227d6b..52d75dbf11 100644
--- a/versioned_docs/version-v0.19/DataModels/DevLakeDomainLayerSchema.md
+++ b/versioned_docs/version-v0.19/DataModels/DevLakeDomainLayerSchema.md
@@ -284,7 +284,7 @@ A ref is the abstraction of a branch or tag.
| `name` | varchar | 255 | The name of the ref. E.g. '[refs/tags/v0.9.3](https://github.com/apache/incubator-devlake/tree/v0.9.3)' or 'origin/main' | |
| `repo_id` | varchar | 255 | The id of repo this ref belongs to | FK_repos.id |
| `commit_sha` | char | 40 | The commit this ref points to at the time of collection | |
-| `is_default` | tinyint | 1 | <ul><li>0: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li><li>1: not the default branch</li></ul> | |
+| `is_default` | tinyint | 1 | <ul><li>0: not the default branch</li><li>1: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li></ul> | |
| `ref_type` | varchar | 64 | There are 2 typical types:<ul><li>BRANCH</li><li>TAG</li></ul> | |
#### commits_diffs
diff --git a/versioned_docs/version-v0.20/DataModels/DevLakeDomainLayerSchema.md b/versioned_docs/version-v0.20/DataModels/DevLakeDomainLayerSchema.md
index f04d9615ef..9f31e26b97 100644
--- a/versioned_docs/version-v0.20/DataModels/DevLakeDomainLayerSchema.md
+++ b/versioned_docs/version-v0.20/DataModels/DevLakeDomainLayerSchema.md
@@ -307,7 +307,7 @@ A ref is the abstraction of a branch or tag.
| `name` | varchar | 255 | The name of the ref. E.g. '[refs/tags/v0.9.3](https://github.com/apache/incubator-devlake/tree/v0.9.3)' or 'origin/main' | |
| `repo_id` | varchar | 255 | The id of repo this ref belongs to | FK_repos.id |
| `commit_sha` | char | 40 | The commit this ref points to at the time of collection | |
-| `is_default` | tinyint | 1 | <ul><li>0: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li><li>1: not the default branch</li></ul> | |
+| `is_default` | tinyint | 1 | <ul><li>0: not the default branch</li><li>1: the ref is the default branch. By the definition of [Github](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch), the default branch is the base branch for pull requests and code commits.</li></ul> | |
| `ref_type` | varchar | 64 | There are 2 typical types:<ul><li>BRANCH</li><li>TAG</li></ul> | |
#### commits_diffs