Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
ac86c520c3
commit
4c1c0b90b7
|
|
@ -1 +1 @@
|
|||
40ecc22f92575f99feda084924884e2b18c8ff33
|
||||
9bfa8f596beb1e4bc81fa1e0f17e75eb1fc655c5
|
||||
|
|
|
|||
|
|
@ -28,6 +28,11 @@ module Resolvers
|
|||
Incompatible with projectPath.
|
||||
DESC
|
||||
|
||||
argument :include_archived, GraphQL::Types::Boolean,
|
||||
required: false,
|
||||
default_value: false,
|
||||
description: "Merge requests from archived projects."
|
||||
|
||||
attr_reader :project
|
||||
alias_method :user, :object
|
||||
|
||||
|
|
@ -77,6 +82,7 @@ module Resolvers
|
|||
def prepare_args(args)
|
||||
args.delete(:project_id)
|
||||
args.delete(:project_path)
|
||||
args[:non_archived] = args.delete(:include_archived) != true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -17137,6 +17137,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="addonuserassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="addonuserassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="addonuserassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="addonuserassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="addonuserassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="addonuserassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="addonuserassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -17187,6 +17188,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="addonuserauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="addonuserauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="addonuserauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="addonuserauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="addonuserauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="addonuserauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="addonuserauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -17291,6 +17293,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="addonuserreviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="addonuserreviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="addonuserreviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="addonuserreviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="addonuserreviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="addonuserreviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="addonuserreviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -18018,6 +18021,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="autocompleteduserassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="autocompleteduserassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="autocompleteduserassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="autocompleteduserassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="autocompleteduserassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="autocompleteduserassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="autocompleteduserassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -18068,6 +18072,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="autocompleteduserauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="autocompleteduserauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="autocompleteduserauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="autocompleteduserauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="autocompleteduserauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="autocompleteduserauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="autocompleteduserauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -18184,6 +18189,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="autocompleteduserreviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="autocompleteduserreviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="autocompleteduserreviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="autocompleteduserreviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="autocompleteduserreviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="autocompleteduserreviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="autocompleteduserreviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -20349,6 +20355,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="currentuserassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="currentuserassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="currentuserassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="currentuserassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="currentuserassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="currentuserassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="currentuserassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -20402,6 +20409,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="currentuserassigneeorreviewermergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="currentuserassigneeorreviewermergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="currentuserassigneeorreviewermergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="currentuserassigneeorreviewermergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="currentuserassigneeorreviewermergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="currentuserassigneeorreviewermergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="currentuserassigneeorreviewermergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -20451,6 +20459,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="currentuserauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="currentuserauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="currentuserauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="currentuserauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="currentuserauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="currentuserauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="currentuserauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -20555,6 +20564,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="currentuserreviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="currentuserreviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="currentuserreviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="currentuserreviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="currentuserreviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="currentuserreviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="currentuserreviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -25955,6 +25965,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestassigneeassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestassigneeassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestassigneeassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestassigneeassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestassigneeassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestassigneeassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestassigneeassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26005,6 +26016,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestassigneeauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestassigneeauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestassigneeauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestassigneeauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestassigneeauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestassigneeauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestassigneeauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26109,6 +26121,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestassigneereviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestassigneereviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestassigneereviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestassigneereviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestassigneereviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestassigneereviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestassigneereviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26338,6 +26351,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestauthorassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestauthorassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestauthorassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestauthorassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestauthorassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestauthorassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestauthorassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26388,6 +26402,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestauthorauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestauthorauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestauthorauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestauthorauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestauthorauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestauthorauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestauthorauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26492,6 +26507,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestauthorreviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestauthorreviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestauthorreviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestauthorreviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestauthorreviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestauthorreviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestauthorreviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26767,6 +26783,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestparticipantassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestparticipantassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestparticipantassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestparticipantassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestparticipantassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestparticipantassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestparticipantassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26817,6 +26834,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestparticipantauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestparticipantauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestparticipantauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestparticipantauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestparticipantauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestparticipantauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestparticipantauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -26921,6 +26939,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestparticipantreviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestparticipantreviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestparticipantreviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestparticipantreviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestparticipantreviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestparticipantreviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestparticipantreviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -27169,6 +27188,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestreviewerassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestreviewerassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestreviewerassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestreviewerassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestreviewerassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestreviewerassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestreviewerassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -27219,6 +27239,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestreviewerauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestreviewerauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestreviewerauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestreviewerauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestreviewerauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestreviewerauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestreviewerauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -27323,6 +27344,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="mergerequestreviewerreviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="mergerequestreviewerreviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="mergerequestreviewerreviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="mergerequestreviewerreviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="mergerequestreviewerreviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="mergerequestreviewerreviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="mergerequestreviewerreviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -33631,6 +33653,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="usercoreassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="usercoreassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="usercoreassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="usercoreassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="usercoreassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="usercoreassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="usercoreassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -33681,6 +33704,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="usercoreauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="usercoreauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="usercoreauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="usercoreauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="usercoreauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="usercoreauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="usercoreauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -33785,6 +33809,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="usercorereviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="usercorereviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="usercorereviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="usercorereviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="usercorereviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="usercorereviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="usercorereviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -40747,6 +40772,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="userassignedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="userassignedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="userassignedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="userassignedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="userassignedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="userassignedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="userassignedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -40797,6 +40823,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="userauthoredmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="userauthoredmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="userauthoredmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="userauthoredmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="userauthoredmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="userauthoredmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="userauthoredmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
@ -40901,6 +40928,7 @@ four standard [pagination arguments](#pagination-arguments):
|
|||
| <a id="userreviewrequestedmergerequestsdraft"></a>`draft` | [`Boolean`](#boolean) | Limit result to draft merge requests. |
|
||||
| <a id="userreviewrequestedmergerequestsgroupid"></a>`groupId` | [`GroupID`](#groupid) | The global ID of the group the authored merge requests should be in. Merge requests in subgroups are included. |
|
||||
| <a id="userreviewrequestedmergerequestsiids"></a>`iids` | [`[String!]`](#string) | Array of IIDs of merge requests, for example `[1, 2]`. |
|
||||
| <a id="userreviewrequestedmergerequestsincludearchived"></a>`includeArchived` | [`Boolean`](#boolean) | Merge requests from archived projects. |
|
||||
| <a id="userreviewrequestedmergerequestslabelname"></a>`labelName` | [`[String]`](#string) | Labels applied to the merge request. |
|
||||
| <a id="userreviewrequestedmergerequestslabels"></a>`labels` **{warning-solid}** | [`[String!]`](#string) | **Deprecated** in GitLab 17.1. Use `labelName`. |
|
||||
| <a id="userreviewrequestedmergerequestsmergedafter"></a>`mergedAfter` | [`Time`](#time) | Merge requests merged after the date. |
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ You can also configure specific aspects of your pipelines through the GitLab UI.
|
|||
|
||||
The recommended tool for editing CI/CD configuration is the [pipeline editor](../pipeline_editor/index.md).
|
||||
|
||||
If you use VS Code to edit your GitLab CI/CD configuration, the [GitLab Workflow VS Code extension](../../editor_extensions/visual_studio_code/index.md)
|
||||
If you use VS Code to edit your GitLab CI/CD configuration, the [GitLab Workflow extension for VS Code](../../editor_extensions/visual_studio_code/index.md)
|
||||
helps you [validate your configuration](https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#validate-gitlab-ci-configuration)
|
||||
and [view your pipeline status](https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow#information-about-your-branch-pipelines-mr-closing-issue).
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ If you use the [pipeline editor](../pipeline_editor/index.md), it verifies confi
|
|||
syntax automatically.
|
||||
|
||||
If you use VS Code, you can validate your CI/CD configuration with the
|
||||
[GitLab Workflow VS Code extension](../../editor_extensions/visual_studio_code/index.md).
|
||||
[GitLab Workflow extension for VS Code](../../editor_extensions/visual_studio_code/index.md).
|
||||
|
||||
## Check CI/CD syntax
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ description: "Code Suggestions documentation for developers interested in contri
|
|||
|
||||
The recommended setup for locally developing and debugging Code Suggestions is to have all 3 different components running:
|
||||
|
||||
- IDE Extension (e.g. VS Code Extension).
|
||||
- IDE Extension (e.g. GitLab Workflow extension for VS Code).
|
||||
- Main application configured correctly (e.g. GDK).
|
||||
- [AI Gateway](https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist).
|
||||
|
||||
|
|
@ -19,12 +19,12 @@ This should enable everyone to see locally any change in an IDE being sent to th
|
|||
|
||||
### Setup instructions
|
||||
|
||||
1. Install and run locally the [VS Code Extension](https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/CONTRIBUTING.md#configuring-development-environment):
|
||||
1. Install and run locally the [GitLab Workflow extension for VS Code](https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/CONTRIBUTING.md#configuring-development-environment):
|
||||
1. Add the `"gitlab.debug": true` info to the Code Suggestions development config:
|
||||
1. In VS Code, go to the Extensions page and find "GitLab Workflow" in the list.
|
||||
1. Open the extension settings by clicking a small cog icon and select "Extension Settings" option.
|
||||
1. Check a "GitLab: Debug" checkbox.
|
||||
1. If you'd like to test that Code Suggestions is working from inside the VS Code Extension, then follow the [steps to set up a personal access token](https://gitlab.com/gitlab-org/gitlab-vscode-extension/#setup) with your GDK inside the new window of VS Code that pops up when you run the "Run and Debug" command.
|
||||
1. If you'd like to test that Code Suggestions is working from inside the GitLab Workflow extension for VS Code, then follow the [steps to set up a personal access token](https://gitlab.com/gitlab-org/gitlab-vscode-extension/#setup) with your GDK inside the new window of VS Code that pops up when you run the "Run and Debug" command.
|
||||
- Once you complete the steps below, to test you are hitting your local `/code_suggestions/completions` endpoint and not production, follow these steps:
|
||||
1. Inside the new window, in the built in terminal select the "Output" tab then "GitLab Language Server" from the drop down menu on the right.
|
||||
1. Open a new file inside of this VS Code window and begin typing to see Code Suggestions in action.
|
||||
|
|
|
|||
|
|
@ -966,6 +966,22 @@ You can use **GA** to indicate general availability if you spell it out on first
|
|||
|
||||
Do not make **GitLab** possessive (GitLab's). This guidance follows [GitLab Trademark Guidelines](https://handbook.gitlab.com/handbook/marketing/brand-and-product-marketing/brand/brand-activation/trademark-guidelines/).
|
||||
|
||||
Do not put **GitLab** next to the name of another third-party tool or brand.
|
||||
For example, do not use:
|
||||
|
||||
- GitLab Chrome extension
|
||||
- GitLab Kubernetes agent
|
||||
|
||||
Instead, use:
|
||||
|
||||
- GitLab extension for Chrome
|
||||
- GitLab agent for Kubernetes
|
||||
|
||||
Putting the brand names next to each other can imply ownership or partnership, which we don't want to do,
|
||||
unless we've gone through a legal review and have been told to promote the partnership.
|
||||
|
||||
This guidance follows the [Use of Third-party Trademarks](https://handbook.gitlab.com/handbook/legal/policies/product-third-party-trademarks-guidelines/#dos--donts-for-use-of-third-party-trademarks-in-gitlab).
|
||||
|
||||
## GitLab Dedicated
|
||||
|
||||
Use **GitLab Dedicated** to refer to the product offering. It refers to a GitLab instance that's hosted and managed by GitLab for customers.
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ We also run some documentation tests in the:
|
|||
<https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/.gitlab/ci/test.gitlab-ci.yml>.
|
||||
- Gitaly project: <https://gitlab.com/gitlab-org/gitaly/-/blob/master/.gitlab-ci.yml>.
|
||||
- GitLab Duo Plugin for JetBrains: <https://gitlab.com/gitlab-org/editor-extensions/gitlab-jetbrains-plugin/-/blob/main/.gitlab-ci.yml>
|
||||
- GitLab VS Code Extension project: <https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/.gitlab-ci.yml>.
|
||||
- GitLab Workflow extension for VS Code project: <https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/.gitlab-ci.yml>.
|
||||
- GitLab Plugin for Neovim project: <https://gitlab.com/gitlab-org/editor-extensions/gitlab.vim/-/blob/main/.gitlab-ci.yml>.
|
||||
- GitLab Language Server project: <https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/blob/main/.gitlab-ci.yml>.
|
||||
- GitLab Extension for Visual Studio project: <https://gitlab.com/gitlab-org/editor-extensions/gitlab-visual-studio-extension/-/blob/main/.gitlab-ci.yml>.
|
||||
|
|
|
|||
|
|
@ -144,12 +144,12 @@ info: Any user with at least the Maintainer role can merge updates to this conte
|
|||
$GDK_GITLAB_URL/api/v4/ai/duo_workflows/workflows/$WORKFLOW_ID/checkpoints
|
||||
```
|
||||
|
||||
## Configure the GitLab VS Code Extension
|
||||
## Configure the GitLab Duo Workflow extension for VS Code
|
||||
|
||||
The above steps show how to start a workflow directly from the Duo Workflow
|
||||
Executor.
|
||||
|
||||
If you would like to start Duo Workflow with the VS Code Extension instead,
|
||||
If you would like to start Duo Workflow with the VS Code extension instead,
|
||||
follow [these steps](../../user/duo_workflow/index.md#prerequisites).
|
||||
|
||||
If you are debugging or making changes to the VSCode extension and need to run the extension in development mode, you can do that following [these instructions](https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/CONTRIBUTING.md#configuring-development-environment).
|
||||
|
|
|
|||
|
|
@ -86,12 +86,15 @@ You can reference the instructions for running the demo app [here](https://opent
|
|||
|
||||
1. Create a project in your local GDK instance. Take note of the project ID.
|
||||
1. In the newly created project, create a project access token with **Developer** role and **API** scope. Save the token for use in the next step.
|
||||
1. With an editor, edit the configuration in `src/otelcollector/otelcol-config-extras.yml`. Add the following YAML, replacing `gdk.test:3443` with the host of your GitLab instance, and replace `$PROJECT_ID` and `$TOKEN` with the respective project ID and token created in the previous steps:
|
||||
1. With an editor, edit the configuration in `src/otelcollector/otelcol-config-extras.yml`. Add the following YAML, replacing:
|
||||
|
||||
- `$GDK_HOST` with the host and `$GDK_PORT` with the port number of your GitLab instance.
|
||||
- `$PROJECT_ID` with the project ID and `$TOKEN` with the token created in the previous steps.
|
||||
|
||||
```yaml
|
||||
exporters:
|
||||
otlphttp/gitlab:
|
||||
endpoint: http://gdk.test:3443/api/v4/projects/$PROJECT_ID/observability/
|
||||
endpoint: http://$GDK_HOST:$GDK_PORT/api/v4/projects/$PROJECT_ID/observability/
|
||||
headers:
|
||||
"private-token": "$TOKEN"
|
||||
|
||||
|
|
@ -105,7 +108,10 @@ You can reference the instructions for running the demo app [here](https://opent
|
|||
exporters: [otlphttp/gitlab]
|
||||
```
|
||||
|
||||
1. Save the config and start the demo app:
|
||||
NOTE:
|
||||
For GDK and Docker to communicate you may need to set up a [loopback interface](https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/local_network.md#create-loopback-interface).
|
||||
|
||||
1. Save the configuration and start the demo app:
|
||||
|
||||
```shell
|
||||
docker compose up --force-recreate --remove-orphans --detach
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ between your coding environment and GitLab.
|
|||
|
||||
GitLab offers extensions for the following development environments:
|
||||
|
||||
- [GitLab Workflow for VS Code](visual_studio_code/index.md): Bring GitLab Duo,
|
||||
- [GitLab Workflow extension for VS Code](visual_studio_code/index.md): Bring GitLab Duo,
|
||||
and other GitLab features, into Visual Studio Code.
|
||||
- [GitLab Duo for JetBrains IDEs](jetbrains_ide/index.md): Bring GitLab Duo AI capabilities
|
||||
to IntelliJ IDEA, PyCharm, WebStorm, and other JetBrains IDEs.
|
||||
|
|
|
|||
|
|
@ -24,6 +24,17 @@ With distributed tracing, you can troubleshoot application performance issues by
|
|||
|
||||
This feature is in [beta](../policy/experiment-beta-support.md). For more information, see the [group direction page](https://about.gitlab.com/direction/monitor/observability/). To leave feedback about tracing bugs or functionality, comment in the [feedback issue](https://gitlab.com/gitlab-org/opstrace/opstrace/-/issues/2590) or open a [new issue](https://gitlab.com/gitlab-org/opstrace/opstrace/-/issues/new).
|
||||
|
||||
## Tracing ingestion limits
|
||||
|
||||
Tracing ingests a maximum of 102,400 bytes per minute.
|
||||
When the limit is exceeded, a `429 Too Many Requests` response is returned.
|
||||
|
||||
To request a limit increase to 1,048,576 bytes per minute, contact [GitLab support](https://about.gitlab.com/support/).
|
||||
|
||||
## Data retention
|
||||
|
||||
GitLab retains all traces for 30 days.
|
||||
|
||||
## Configure distributed tracing for a project
|
||||
|
||||
Configure distributed tracing to enable it for a project.
|
||||
|
|
@ -62,29 +73,17 @@ To view the list of traces:
|
|||
|
||||
1. On the left sidebar, select **Search or go to** and find your project.
|
||||
1. Select **Monitor > Traces**.
|
||||
1. Optional. To view the details of a trace, select it from the list.
|
||||
|
||||
To see the details of a trace, select it from the list.
|
||||

|
||||
|
||||

|
||||
The trace details page and a list of spans are displayed.
|
||||
|
||||
The trace details page and a list of spans are displayed.
|
||||

|
||||
|
||||

|
||||
1. Optional. To view the attributes for a single span, select it from the list.
|
||||
|
||||
To view the attributes for a single span, select it from the list.
|
||||
|
||||

|
||||
|
||||
## Tracing ingestion limits
|
||||
|
||||
Tracing ingests a maximum of 102,400 bytes per minute.
|
||||
After the limit is exceeded, a `429 Too Many Requests` response is returned.
|
||||
|
||||
To request a limit increase to 1,048,576 bytes per minute, contact GitLab support.
|
||||
|
||||
## Data retention
|
||||
|
||||
GitLab has a retention limit of 30 days for all traces.
|
||||

|
||||
|
||||
## Create an issue for a trace
|
||||
|
||||
|
|
|
|||
|
|
@ -293,13 +293,13 @@ For example, let's say we have 5 users in Group A, and they are assigned the fol
|
|||
|
||||
Group B invites Group A. The following table shows the maximum role that each the users in Group A will have in Group B:
|
||||
|
||||
| Scenario | User A | User B | User C | User D | User E |
|
||||
|----------------------------------------------------------------|--------|---------------------|------------------------------|-----------|-----------------------------------|
|
||||
| Group B invites Group A with Guest | Guest | Guest | Guest | Guest | Guest |
|
||||
| Group B invites Group A with Guest + `read_code` | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Guest | Guest |
|
||||
| Group B invites Group A with Guest + `read_vulnerability` | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Guest | Guest |
|
||||
| Group B invites Group A with Developer | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Developer | Developer |
|
||||
| Group B invites Group A with Developer + `admin_vulnerability` | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Developer | Developer + `admin_vulnerability` |
|
||||
| Scenario | User A | User B | User C | User D | User E |
|
||||
|----------------------------------------------------------------|--------|---------------------|------------------------------|------------------------------|-----------------------------------|
|
||||
| Group B invites Group A with Guest | Guest | Guest | Guest | Guest | Guest |
|
||||
| Group B invites Group A with Guest + `read_code` | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Guest + `read_vulnerability` | Guest + `read_vulnerability` |
|
||||
| Group B invites Group A with Guest + `read_vulnerability` | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Guest + `read_vulnerability` | Guest + `read_vulnerability` |
|
||||
| Group B invites Group A with Developer | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Developer | Developer |
|
||||
| Group B invites Group A with Developer + `admin_vulnerability` | Guest | Guest + `read_code` | Guest + `read_vulnerability` | Developer | Developer + `admin_vulnerability` |
|
||||
|
||||
When User C is invited to Group B with the same default role (Guest), but different custom permissions with the same base access level (`read_code` and `read_vulnerability`), User C retains the custom permission from Group A (`read_vulnerability`).
|
||||
|
||||
|
|
|
|||
|
|
@ -76,5 +76,5 @@ To limit the data that Duo Chat has access to, follow the instructions for
|
|||
|
||||
To disable GitLab Duo Chat in VS Code:
|
||||
|
||||
1. Go to **Settings > Extensions > GitLab Workflow (GitLab VS Code Extension)**.
|
||||
1. Go to **Settings > Extensions > GitLab Workflow**.
|
||||
1. Clear the **Enable GitLab Duo Chat assistant** checkbox.
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ To invite a group to a project:
|
|||
1. Select **Manage > Members**.
|
||||
1. Select **Invite a group**.
|
||||
1. In the **Select a group to invite** list, select the group you want to invite.
|
||||
1. Select the highest [role](../../permissions.md) or [custom role](../../custom_roles.md#assign-a-custom-role-to-an-invited-group) for users in the group.
|
||||
1. Select the highest [role](../../permissions.md) for users in the group.
|
||||
1. Optional. Select an **Access expiration date**.
|
||||
From that date onward, the invited group can no longer access the project.
|
||||
1. Select **Invite**.
|
||||
|
|
@ -228,7 +228,7 @@ To invite a group to your group:
|
|||
1. Select **Manage > Members**.
|
||||
1. Select **Invite a group**.
|
||||
1. In the **Select a group to invite** list, select the group you want to invite.
|
||||
1. Select the highest [role](../../permissions.md) for users in the group.
|
||||
1. Select the highest [role](../../permissions.md) or [custom role](../../custom_roles.md#assign-a-custom-role-to-an-invited-group) for users in the group.
|
||||
1. Optional. Select an **Access expiration date**.
|
||||
From that date onward, the invited group can no longer access the group.
|
||||
1. Select **Invite**.
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ For use cases and best practices, follow the [GitLab Duo examples documentation]
|
|||
|
||||
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/464767) in GitLab 17.2 [with a flag](../../../../administration/feature_flags.md) named `advanced_context_resolver`. Disabled by default.
|
||||
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/462750) in GitLab 17.2 [with a flag](../../../../administration/feature_flags.md) named `code_suggestions_context`. Disabled by default.
|
||||
> - [Introduced](https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/issues/276) in GitLab VS Code Extension 4.20.0.
|
||||
> - [Introduced](https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/issues/276) in GitLab Workflow for VS Code 4.20.0.
|
||||
> - [Introduced](https://gitlab.com/gitlab-org/editor-extensions/gitlab-jetbrains-plugin/-/issues/462) in GitLab Duo for JetBrains 2.7.0.
|
||||
> - [Added](https://gitlab.com/gitlab-org/editor-extensions/gitlab.vim/-/merge_requests/152) to the GitLab Neovim plugin on July 16, 2024.
|
||||
> - Feature flags `advanced_context_resolver` and `code_suggestions_context` [enabled on self-managed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/161538) in GitLab 17.4.
|
||||
|
|
|
|||
|
|
@ -39,10 +39,12 @@ The Repository X-Ray searches a maximum of two directory levels from the reposit
|
|||
|
||||
| Language | Package manager | Configuration file | GitLab version |
|
||||
| ---------- |-----------------| -------------------- | -------------- |
|
||||
| C++ | Conan | `conanfile.py` | 17.5 or later |
|
||||
| C++ | Conan | `conanfile.txt` | 17.4 or later |
|
||||
| Go | Go Modules | `go.mod` | 17.4 or later |
|
||||
| Java | Gradle | `build.gradle` | 17.4 or later |
|
||||
| Java | Maven | `pom.xml` | 17.4 or later |
|
||||
| Kotlin | Gradle | `build.gradle.kts` | 17.5 or later |
|
||||
| Ruby | RubyGems | `Gemfile.lock` | 17.4 or later |
|
||||
|
||||
## Enable Repository X-Ray in your CI pipeline (deprecated)
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ To set up `gitlab-workspaces-proxy`, you're going to:
|
|||
1. [Generate an SSH host key](#generate-an-ssh-host-key).
|
||||
1. [Export the GitLab URL](#export-the-gitlab-url).
|
||||
1. [Create a configuration secret](#create-a-configuration-secret).
|
||||
1. [Install the GitLab Helm chart](#install-the-gitlab-helm-chart).
|
||||
1. [Verify the Kubernetes resources](#verify-the-kubernetes-resources).
|
||||
1. [Update your DNS records](#update-your-dns-records).
|
||||
|
||||
|
|
@ -140,6 +141,10 @@ To create a configuration secret for the proxy:
|
|||
export SIGNING_KEY="make_up_a_random_key_consisting_of_letters_numbers_and_special_chars"
|
||||
```
|
||||
|
||||
## Install the GitLab Helm chart
|
||||
|
||||
To install the GitLab Helm chart:
|
||||
|
||||
1. Add the `helm` repository:
|
||||
|
||||
```shell
|
||||
|
|
@ -154,7 +159,7 @@ To create a configuration secret for the proxy:
|
|||
|
||||
helm upgrade --install gitlab-workspaces-proxy \
|
||||
gitlab-workspaces-proxy/gitlab-workspaces-proxy \
|
||||
--version 0.1.14 \
|
||||
--version 0.1.15 \
|
||||
--namespace=gitlab-workspaces \
|
||||
--create-namespace \
|
||||
--set="auth.client_id=${CLIENT_ID}" \
|
||||
|
|
|
|||
|
|
@ -14110,10 +14110,10 @@ msgstr ""
|
|||
msgid "ComplianceFrameworks|Policy name"
|
||||
msgstr ""
|
||||
|
||||
msgid "ComplianceFrameworks|Project description"
|
||||
msgid "ComplianceFrameworks|Project name"
|
||||
msgstr ""
|
||||
|
||||
msgid "ComplianceFrameworks|Project name"
|
||||
msgid "ComplianceFrameworks|Project path"
|
||||
msgstr ""
|
||||
|
||||
msgid "ComplianceFrameworks|Projects"
|
||||
|
|
@ -59993,9 +59993,6 @@ msgstr ""
|
|||
msgid "Versions"
|
||||
msgstr ""
|
||||
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
msgid "View File Metadata"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,124 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
# frozen_string_literal: true
|
||||
|
||||
ENV['RAILS_ENV'] = 'test'
|
||||
|
||||
require 'optparse'
|
||||
require 'open3'
|
||||
require 'fileutils'
|
||||
require 'uri'
|
||||
require 'gitlab-chronic'
|
||||
|
||||
class MigrationsTimestampRefresher
|
||||
##
|
||||
# Directories where migrations are stored
|
||||
MIGRATION_DIRS = %w[db/migrate db/post_migrate].join(' ').freeze
|
||||
|
||||
def initialize(options)
|
||||
@options = options
|
||||
end
|
||||
|
||||
def execute
|
||||
Dir.chdir(File.expand_path('..', __dir__)) do
|
||||
refresh_migrations
|
||||
regenerate_schema
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :options
|
||||
|
||||
def refresh_migrations
|
||||
migrations = untracked_schema_migrations + committed_schema_migrations
|
||||
migrations = migrations.sort_by { |file| file.slice(/\d{14}/) }
|
||||
migrations.each do |file|
|
||||
new_file = file.gsub(/\d{14}/, next_migration_number)
|
||||
puts "\e[32m$ mv #{file} #{new_file}\e[37m"
|
||||
|
||||
FileUtils.mv(file, new_file)
|
||||
end
|
||||
end
|
||||
|
||||
def regenerate_schema
|
||||
run('./scripts/regenerate-schema')
|
||||
end
|
||||
|
||||
def next_migration_number
|
||||
@next_migration_number ||= seed_migration_number.to_i
|
||||
@next_migration_number += rand(2..5)
|
||||
@next_migration_number.to_s
|
||||
end
|
||||
|
||||
def seed_migration_number
|
||||
Chronic
|
||||
.parse(options.fetch(:after, 'now'))
|
||||
.utc.strftime("%Y%m%d%H%M%S")
|
||||
end
|
||||
|
||||
def untracked_schema_migrations
|
||||
git_command = "git ls-files --others --exclude-standard -- #{MIGRATION_DIRS}"
|
||||
run(git_command).chomp.split("\n")
|
||||
end
|
||||
|
||||
def committed_schema_migrations
|
||||
git_command = "git diff --name-only --diff-filter=A #{merge_base} -- #{MIGRATION_DIRS}"
|
||||
run(git_command).chomp.split("\n")
|
||||
end
|
||||
|
||||
##
|
||||
# Run the given +cmd+.
|
||||
#
|
||||
# The command is colored green, and the output of the command is
|
||||
# colored gray.
|
||||
# When the command failed an exception is raised.
|
||||
def run(cmd)
|
||||
puts "\e[32m$ #{cmd}\e[37m"
|
||||
stdout_str, stderr_str, status = Open3.capture3(cmd)
|
||||
puts "#{stdout_str}#{stderr_str}\e[0m"
|
||||
raise("Command failed: #{stderr_str}") unless status.success?
|
||||
|
||||
stdout_str
|
||||
end
|
||||
|
||||
##
|
||||
# Return the base commit between source and target branch.
|
||||
def merge_base
|
||||
@merge_base ||= run("git merge-base #{target_branch} #{source_ref}").chomp
|
||||
end
|
||||
|
||||
##
|
||||
# Return the name of the target branch
|
||||
#
|
||||
# Get source ref from CI environment variable, or read the +TARGET+
|
||||
# environment+ variable, or default to +HEAD+.
|
||||
def target_branch
|
||||
ENV['CI_MERGE_REQUEST_TARGET_BRANCH_NAME'] || ENV['TARGET'] || ENV['CI_DEFAULT_BRANCH'] || 'master'
|
||||
end
|
||||
|
||||
##
|
||||
# Return the source ref
|
||||
#
|
||||
# Get source ref from CI environment variable, or default to +HEAD+.
|
||||
def source_ref
|
||||
ENV['CI_COMMIT_SHA'] || 'HEAD'
|
||||
end
|
||||
end
|
||||
|
||||
if $PROGRAM_NAME == __FILE__
|
||||
options = {}
|
||||
|
||||
OptionParser.new do |opts|
|
||||
opts.on("-a", "--after VALUE", String, "Start value for the timestamp") do |value|
|
||||
options[:after] = value
|
||||
end
|
||||
|
||||
opts.on("-h", "--help", "Prints this help") do
|
||||
puts opts
|
||||
exit
|
||||
end
|
||||
end.parse!
|
||||
|
||||
MigrationsTimestampRefresher.new(options).execute
|
||||
end
|
||||
|
|
@ -47,11 +47,12 @@ FactoryBot.define do
|
|||
factory :project_snippet, parent: :snippet, class: :ProjectSnippet do
|
||||
project
|
||||
author { project.creator }
|
||||
organization { project.organization }
|
||||
end
|
||||
|
||||
factory :personal_snippet, parent: :snippet, class: :PersonalSnippet do
|
||||
author { association(:author, :with_namespace) }
|
||||
organization { association :organization, :default }
|
||||
organization { author&.namespace&.organization || association(:organization) }
|
||||
project { nil }
|
||||
|
||||
trait :secret do
|
||||
|
|
|
|||
|
|
@ -0,0 +1,44 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
|
||||
RSpec.describe 'getting current users merge requests from an archived project', feature_category: :code_review_workflow do
|
||||
include GraphqlHelpers
|
||||
|
||||
let_it_be(:project) { create(:project, :repository, :archived, :public) }
|
||||
let_it_be(:current_user) { create(:user) }
|
||||
|
||||
let_it_be(:merge_request) do
|
||||
create(:merge_request, :unique_branches, source_project: project, assignees: [current_user])
|
||||
end
|
||||
|
||||
let(:merge_requests) { graphql_data.dig('currentUser', 'assignedMergeRequests', 'nodes') }
|
||||
|
||||
let(:fields) do
|
||||
<<~GRAPHQL
|
||||
nodes { id }
|
||||
GRAPHQL
|
||||
end
|
||||
|
||||
def query(params = {})
|
||||
graphql_query_for('currentUser', {}, query_graphql_field('assignedMergeRequests', params, fields))
|
||||
end
|
||||
|
||||
before_all do
|
||||
project.add_developer(current_user)
|
||||
end
|
||||
|
||||
it 'filters out merge requests from archived projects' do
|
||||
post_graphql(query({ include_archived: false }), current_user: current_user)
|
||||
|
||||
expect(merge_requests).to be_empty
|
||||
end
|
||||
|
||||
it 'includes merge requests from archived projects' do
|
||||
post_graphql(query({ include_archived: true }), current_user: current_user)
|
||||
|
||||
expect(merge_requests).to contain_exactly(
|
||||
a_hash_including('id' => merge_request.to_global_id.to_s)
|
||||
)
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue