ai/at
1
0

fix(patch): curl URL delimiter bug, add DM grapheme limit patch

This commit is contained in:
2026-03-24 18:03:53 +09:00
parent fde5046b22
commit 3852e783aa
4 changed files with 19 additions and 6 deletions

View File

@@ -65,8 +65,8 @@ typeset -a FAILED_PATCHES
# Patch file lists
typeset -a PATCH_FILES_CURL
PATCH_FILES_CURL=(
"4367-atproto-services-bsky-api.diff:https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/bsky/api.js:services/bsky/api.js"
"4367-atproto-services-pds-index.diff:https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/pds/index.js:services/pds/index.js"
"4367-atproto-services-bsky-api.diff|https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/bsky/api.js|services/bsky/api.js"
"4367-atproto-services-pds-index.diff|https://raw.githubusercontent.com/bluesky-social/atproto/refs/heads/main/services/pds/index.js|services/pds/index.js"
)
typeset -a PATCH_FILES
@@ -258,10 +258,10 @@ function patch-apply-with-curl() {
function at-repos-patch-apply-all() {
# Apply curl patches
for patch_info in "${PATCH_FILES_CURL[@]}"; do
local filename="${patch_info%%:*}"
local rest="${patch_info#*:}"
local download_url="${rest%%:*}"
local download_target="${rest#*:}"
local filename="${patch_info%%|*}"
local rest="${patch_info#*|}"
local download_url="${rest%%|*}"
local download_target="${rest#*|}"
local title="${filename%.*}"
local repo=""