Repository navigation
Expand file tree
/
Copy pathsources.yaml
More file actions
110 lines (104 loc) · 4.25 KB
/
Copy pathsources.yaml
File metadata and controls
110 lines (104 loc) · 4.25 KB
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
# Declarative description of every mirror this repository publishes.
#
# This file is the single source of truth. tools/mirror.py derives the
# git-filter-repo invocation, the commit-message rewriting, the per-source
# mirror branches and the combined branches from it; nothing about the mapping
# is hard-coded in the workflow.
#
# The paths below reproduce what the previous mirror-*.yaml workflows filtered,
# so this change makes the pipeline configuration-driven without moving any
# package between repositories.
#
# Determinism contract
# --------------------
# Per-source mirrors are pure functions of (upstream commit, this file):
#
# git-filter-repo rewrites each upstream history. Same input plus same
# arguments always yields the same commit ids, so those branches publish as
# fast-forwards. A failed push means reproducibility was lost.
#
# The combined branch is the pure function f(published tip, member tips):
#
# Member commits not yet reflected in the published tip are replayed on top
# of it. Resume position is recovered from the tip tree (renamed subtree
# oids). Same tip plus same members always yield the same commit ids, so the
# push is a fast-forward (or a no-op). --verify checks both the tip tree
# against the member tips and that a second build reproduces the commit id.
version: 1
sources:
autoware_universe:
upstream: https://github.com/autowarefoundation/autoware_universe.git
ref: main
# Flat name kept: awf-latest/universe cannot coexist with the existing
# awf-latest branch, and deleting it is refused by the organisation rulesets.
mirror_branch: awf-latest
paths:
- path: common/
- path: .github/
- path: docs/
- regex: ^[^/]*$ # root-level files (LICENSE, NOTICE, ...)
message_rules:
- pattern: '#(\d+)'
replacement: autowarefoundation/autoware_universe#\1
autoware_core:
upstream: https://github.com/autowarefoundation/autoware_core.git
ref: main
mirror_branch: awf-core-latest
paths:
- path: common/
- path: testing/
message_rules:
- pattern: '#(\d+)'
replacement: autowarefoundation/autoware_core#\1
tier4_universe_e2e:
upstream: https://github.com/tier4/autoware_universe.git
ref: feat/v0.64/e2e_scenario_pass
mirror_branch: feat/v0.64/e2e_scenario_pass
paths:
- path: common/
- path: .github/
- path: docs/
- regex: ^[^/]*$ # root-level files (LICENSE, NOTICE, ...)
# Commits authored before the fork point still refer to upstream pull
# requests; later ones refer to the TIER IV fork.
message_rules:
- until: 2026-02-21T00:00:00Z
pattern: '#(\d+)'
replacement: autowarefoundation/autoware_universe#\1
- since: 2026-02-21T00:00:00Z
pattern: (?<!autowarefoundation)(?<!autowarefoundation/autoware_universe)#(\d+)
replacement: tier4/autoware_universe#\1
tier4_core_e2e:
upstream: https://github.com/tier4/autoware_core.git
ref: feat/v0.64/e2e_scenario_pass
# Sibling of feat/v0.64/e2e_scenario_pass: git cannot nest
# feat/v0.64/e2e_scenario_pass/core under that branch.
mirror_branch: feat/v0.64/e2e_scenario_pass-core
paths:
- path: common/
- path: testing/
message_rules:
- until: 2026-02-21T00:00:00Z
pattern: '#(\d+)'
replacement: autowarefoundation/autoware_core#\1
- since: 2026-02-21T00:00:00Z
pattern: (?<!autowarefoundation)(?<!autowarefoundation/autoware_core)#(\d+)
replacement: tier4/autoware_core#\1
combined:
# Same members as e2e-combined-latest; new name for consistency with planning
# / control (universe+core only). First publish builds from scratch.
tier4-e2e-combined-latest:
# Pending member commits are appended onto the published tip, ordered by
# committer date among themselves. Ties break on member order then original
# commit id. The result is a deterministic function of (published tip,
# member tips) and always fast-forwards.
order_by: committer_date
# Trusted e2e_scenario_pass histories from the tier4 forks only.
members:
- source: tier4_universe_e2e
rename:
common: universe/common
- source: tier4_core_e2e
rename:
common: core/common
testing: core/testing