Skip to content
代码片段 群组 项目
未验证 提交 487f4a87 编辑于 作者: Max Woolf's avatar Max Woolf 提交者: GitLab
浏览文件

Merge branch 'add-forked-from-project-to-graphql' into 'master'

Add Project.forkedFrom to graphql api

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/183115



Merged-by: default avatarMax Woolf <mwoolf@gitlab.com>
Approved-by: default avatarAndrew Jung <ajung@gitlab.com>
Approved-by: default avatarMax Woolf <mwoolf@gitlab.com>
Approved-by: default avatarAshraf Khamis <akhamis@gitlab.com>
Co-authored-by: default avatarNiklas <mc.taucher2003@gmail.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
...@@ -680,6 +680,11 @@ class ProjectType < BaseObject ...@@ -680,6 +680,11 @@ class ProjectType < BaseObject
resolver: Resolvers::Projects::ForkDetailsResolver, resolver: Resolvers::Projects::ForkDetailsResolver,
description: 'Details of the fork project compared to its upstream project.' description: 'Details of the fork project compared to its upstream project.'
field :forked_from, Types::ProjectType,
null: true,
description: 'Project this project was forked from.',
method: :forked_from_project
field :branch_rules, Types::Projects::BranchRuleType.connection_type, field :branch_rules, Types::Projects::BranchRuleType.connection_type,
null: true, null: true,
description: "Branch rules configured for the project.", description: "Branch rules configured for the project.",
......
...@@ -33540,6 +33540,7 @@ Project-level settings for product analytics provider. ...@@ -33540,6 +33540,7 @@ Project-level settings for product analytics provider.
| <a id="projectduoworkflowstatuscheck"></a>`duoWorkflowStatusCheck` {{< icon name="warning-solid" >}} | [`DuoWorkflowEnablement`](#duoworkflowenablement) | **Introduced** in GitLab 17.7. **Status**: Experiment. Indicates whether GitLab Duo Workflow is enabled for the project. | | <a id="projectduoworkflowstatuscheck"></a>`duoWorkflowStatusCheck` {{< icon name="warning-solid" >}} | [`DuoWorkflowEnablement`](#duoworkflowenablement) | **Introduced** in GitLab 17.7. **Status**: Experiment. Indicates whether GitLab Duo Workflow is enabled for the project. |
| <a id="projectexplorecatalogpath"></a>`exploreCatalogPath` {{< icon name="warning-solid" >}} | [`String`](#string) | **Introduced** in GitLab 17.6. **Status**: Experiment. Path to the project catalog resource. | | <a id="projectexplorecatalogpath"></a>`exploreCatalogPath` {{< icon name="warning-solid" >}} | [`String`](#string) | **Introduced** in GitLab 17.6. **Status**: Experiment. Path to the project catalog resource. |
| <a id="projectflowmetrics"></a>`flowMetrics` {{< icon name="warning-solid" >}} | [`ProjectValueStreamAnalyticsFlowMetrics`](#projectvaluestreamanalyticsflowmetrics) | **Introduced** in GitLab 15.10. **Status**: Experiment. Flow metrics for value stream analytics. | | <a id="projectflowmetrics"></a>`flowMetrics` {{< icon name="warning-solid" >}} | [`ProjectValueStreamAnalyticsFlowMetrics`](#projectvaluestreamanalyticsflowmetrics) | **Introduced** in GitLab 15.10. **Status**: Experiment. Flow metrics for value stream analytics. |
| <a id="projectforkedfrom"></a>`forkedFrom` | [`Project`](#project) | Project this project was forked from. |
| <a id="projectforkingaccesslevel"></a>`forkingAccessLevel` | [`ProjectFeatureAccess`](#projectfeatureaccess) | Access level required for forking access. | | <a id="projectforkingaccesslevel"></a>`forkingAccessLevel` | [`ProjectFeatureAccess`](#projectfeatureaccess) | Access level required for forking access. |
| <a id="projectforkscount"></a>`forksCount` | [`Int!`](#int) | Number of times the project has been forked. | | <a id="projectforkscount"></a>`forksCount` | [`Int!`](#int) | Number of times the project has been forked. |
| <a id="projectfullpath"></a>`fullPath` | [`ID!`](#id) | Full path of the project. | | <a id="projectfullpath"></a>`fullPath` | [`ID!`](#id) | Full path of the project. |
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
cluster_agent cluster_agents agent_configurations ci_access_authorized_agents user_access_authorized_agents cluster_agent cluster_agents agent_configurations ci_access_authorized_agents user_access_authorized_agents
ci_template timelogs merge_commit_template squash_commit_template work_item_types ci_template timelogs merge_commit_template squash_commit_template work_item_types
recent_issue_boards ci_config_path_or_default packages_cleanup_policy ci_variables recent_issue_boards ci_config_path_or_default packages_cleanup_policy ci_variables
timelog_categories fork_targets branch_rules ci_config_variables pipeline_schedules languages timelog_categories fork_targets forked_from branch_rules ci_config_variables pipeline_schedules languages
incident_management_timeline_event_tags visible_forks inherited_ci_variables autocomplete_users incident_management_timeline_event_tags visible_forks inherited_ci_variables autocomplete_users
ci_cd_settings detailed_import_status value_streams ml_models ci_cd_settings detailed_import_status value_streams ml_models
allows_multiple_merge_request_assignees allows_multiple_merge_request_reviewers is_forked allows_multiple_merge_request_assignees allows_multiple_merge_request_reviewers is_forked
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册