Skip to content

Commit d980fe6

Browse files
committed
build-contrib.sh: Add the b2b_logic rename sequence
1 parent 1502764 commit d980fe6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/build-contrib.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,8 @@ mod_renames=(
615615
[mi_http]=mi_json:1540473075: # old_module:new_module_since:old_module_until
616616
[mi_html]=mi_http::1540473075
617617
[event_stream]=event_jsonrpc
618+
[b2b_logic]=b2b_logic:1605638778
619+
[b2b_logic_xml]=b2b_logic::1605638778
618620
)
619621

620622
mk_git_handle() {
@@ -715,8 +717,10 @@ _count_module_changes() {
715717
local old_mod="${arr[0]}"; local since="${arr[1]}"; local until="${arr[2]}"
716718
unset IFS
717719

718-
# this trick helps deal with the mi_html->mi_http, mi_http->mi_json rename
719-
[ -z "$3" -o -z "$since" ] && \
720+
# deal with renames, e.g.:
721+
# * mi_html->mi_http, mi_http->mi_json
722+
# * b2b_logic->b2b_logic_xml, NEW_MOD->b2b_logic
723+
[[ $1 != $old_mod ]] && [ -z "$3" -o -z "$since" ] && \
720724
_count_module_changes "$old_mod" "$2" "recurse" "$until"
721725
fi
722726

0 commit comments

Comments
 (0)