confluence-mdx: Phase L3 lost_info 수집 및 mapping.yaml v2 구현#801
Merged
Conversation
정순변환 시 손실되는 4가지 비가역 정보(emoticon, link, filename, adf_extension)를 mapping.yaml에 기록하는 설계를 수립합니다. LostInfoCollector 수집 메커니즘과 mapping.yaml 스키마 v2를 정의합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Attachment, SingleLineParser, MultiLineParser, AdfExtensionToCallout, ConfluenceToMarkdown 클래스에 collector 파라미터를 추가하고, emoticon/link/filename/adf_extension 정보를 수집합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…veMarkdown에 collector 전파합니다 세 파서 클래스의 __init__에 collector 파라미터를 추가하고, 내부에서 생성하는 SingleLineParser/MultiLineParser 인스턴스에 collector를 전달합니다. MultiLineParser.convert_recursively에서 이 클래스들을 생성할 때도 self.collector를 전파합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mapping.yaml에lost_info로 기록합니다LostInfoCollector클래스를 도입하여 변환 중 손실 정보를 수집합니다mapping.yaml스키마를 version 1 → 2로 업그레이드합니다변경 내역
신규 파일
bin/converter/lost_info.py—LostInfoCollector클래스 (emoticon, link, filename, adf_extension 4개 카테고리 수집)tests/test_lost_info_collector.py— 14개 유닛 테스트수정 파일
bin/converter/core.py— 모든 파서 클래스(SingleLineParser,MultiLineParser,TableToNativeMarkdown,TableToHtmlTable,StructuredMacroToCallout,AdfExtensionToCallout,Attachment,ConfluenceToMarkdown)에collector파라미터 추가 및 전파bin/reverse_sync/sidecar.py—generate_sidecar_mapping()에lost_infos파라미터 추가, version 2 출력bin/converter/cli.py—converter.lost_infos를generate_sidecar_mapping()에 전달수집 지점
SingleLineParser.convert_recursivelyac:emoticon노드 변환 시 항상SingleLineParser.convert_ac_linkhref == '#link-error'Attachment.__init__original != normalizedAdfExtensionToCallout.convert_recursivelyac:adf-node type="panel"설계 대비 차이점
LostInfoCollector를 별도converter/lost_info.py모듈로 분리lost_info를 mapping entry별이 아닌 mapping.yaml 최상위 필드로 기록Test plan
🤖 Generated with Claude Code