每轮只推进合理适量的上下文、禁止顺手扩功能 smoke:源码链接构建约束
This commit is contained in:
@@ -23,7 +23,8 @@ checks_duplicate_group() {
|
||||
[[ "$groups" == "all" ]] || contains_group "$groups" "$group"
|
||||
}
|
||||
|
||||
LINUXCNC_ROOT="$linuxcnc_root" ./check-linuxcnc-inputs.sh "$manifest"
|
||||
LINUXCNC_ROOT="$linuxcnc_root" ./check-linuxcnc-inputs-cached.sh "$manifest"
|
||||
linuxcnc_root=$(cd "$linuxcnc_root" && pwd)
|
||||
|
||||
if [[ "$filter_group" != "all" ]] && ! contains_group "$allowed_groups" "$filter_group"; then
|
||||
echo "unknown manifest source filter: $filter_group" >&2
|
||||
@@ -52,9 +53,11 @@ while IFS=: read -r group path note; do
|
||||
exit 1
|
||||
fi
|
||||
|
||||
full_path=$(LINUXCNC_ROOT="$linuxcnc_root" ./list-linuxcnc-source-files.sh \
|
||||
--missing-message "$missing_source_message" \
|
||||
"$path")
|
||||
full_path="$linuxcnc_root/$path"
|
||||
if [[ ! -f "$full_path" ]]; then
|
||||
echo "$missing_source_message: $path" >&2
|
||||
exit 1
|
||||
fi
|
||||
if checks_duplicate_group "$duplicate_groups" "$group"; then
|
||||
if printf '%s\n' "${seen_sources[@]}" | grep -Fx -- "$path" >/dev/null; then
|
||||
echo "duplicate manifest source: $path" >&2
|
||||
|
||||
Reference in New Issue
Block a user