Welcome to mirror list, hosted at ThFree Co, Russian Federation.

legacy_import_export.yml « group « import_export « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6507def7d0108c6ae3536ba5ccef459b3e909465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Model relationships to be included in the group import/export
#
# This list _must_ only contain relationships that are available to both FOSS and
# Enterprise editions. EE specific relationships must be defined in the `ee` section further
# down below.
tree:
  group:
    - :milestones
    - :badges
    - labels:
      - :priorities
    - boards:
      - lists:
        - label:
          - :priorities
        - :board
    - members:
      - :user

included_attributes:
  user:
    - :id
    - :public_email
    - :username
  author:
    - :name
  iterations_cadence: &iterations_cadence_definition
    - :group_id
    - :created_at
    - :updated_at
    - :start_date
    - :next_run_date
    - :duration_in_weeks
    - :iterations_in_advance
    - :active
    - :automatic
    - :roll_over
    - :title
    - :description
  iterations_cadences: *iterations_cadence_definition
  iteration: &iteration_definition
    - :iid
    - :created_at
    - :updated_at
    - :start_date
    - :due_date
    - :group_id
    - :description
  iterations: *iteration_definition

excluded_attributes:
  group:
    - :id
    - :owner_id
    - :parent_id
    - :created_at
    - :updated_at
    - :runners_token
    - :runners_token_encrypted
    - :saml_discovery_token
    - :visibility_level
    - :trial_ends_on
    - :shared_runners_minute_limit
    - :extra_shared_runners_minutes_limit
  epics:
    - :state_id
  iterations_cadence: &iterations_cadence_definition
    - :id
  iterations_cadences: *iterations_cadence_definition
  iteration: &iteration_excluded_definition
    - :id
    - :title
    - :title_html
    - :project_id
    - :description_html
    - :cached_markdown_version
    - :iterations_cadence_id
  iterations: *iteration_excluded_definition

methods:
  labels:
    - :type
  label:
    - :type
  badges:
    - :type
  notes:
    - :type
  events:
    - :action
  lists:
    - :list_type
  epics:
    - :state

preloads:

export_reorders:

# EE specific relationships and settings to include. All of this will be merged
# into the previous structures if EE is used.
ee:
  tree:
    group:
      - epics:
        - :parent
        - :award_emoji
        - events:
          - :push_event_payload
        - label_links:
          - :label
        - notes:
          - :author
          - :award_emoji
          - events:
            - :push_event_payload
        - :resource_state_events
      - boards:
        - :board_assignee
        - :milestone
        - labels:
          - :priorities
        - lists:
          - milestone:
            - events:
              - :push_event_payload
      - iterations_cadences:
          - :iterations