Skip to content

docs(tests): say how the Hancom-saved fixtures were saved and cleaned - #365

Merged
airmang merged 1 commit into
mainfrom
docs/hancom-saved-fixtures-readme
Oct 6, 2026
Merged

airmang merged 1 commit into
mainfrom
docs/hancom-saved-fixtures-readme

Conversation

@airmang

@airmang airmang commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

바뀐 점

tests/fixtures/hancom_saved/README.md를 더한다. 이 폴더의 한/글 저장본을 어떻게 저장했고, 저장소에 넣기 전에 무엇을 지웠는지 적는다. #165·#172·#182·#183·#184 리뷰에서 요청한 저장 프로그램·절차 기록이다.

  • 저장한 프로그램
  • 넣기 전에 지운 것: 작성자, 프로그램 버전, 날짜뿐이다. 나머지는 한/글이 쓴 바이트 그대로다.
    • .hwpx
      • version.xml의 appVersion과 content.hpf의 작성자·날짜 항목을 비웠다.
      • 차트 OLE 개체는 복합 파일 루트 항목의 시각을 0으로 했다.
      • zip은 항목 순서와 압축 방식을 그대로 두고 다시 묶었다.
    • .hwp
      • 요약 정보의 작성자·마지막 저장자·프로그램 버전·만든 날짜·저장한 날짜·날짜 글을 비웠다.
      • 복합 파일을 다시 묶었다.
  • 한/글 저장본을 더할 때는 같은 정보를 지우고, 그 파일이 보여 주는 한/글 동작을 테스트에 적으면 된다고 적는다.

코드와 테스트는 바뀌지 않는다.

테스트

  • 공개 저장소 검사(scripts/check_public_hygiene.py)를 포함한 게이트 7개가 통과한다.
  • 문서 파일 하나만 더하므로 동작은 바뀌지 않는다.

🤖 Generated with Claude Code

tests/fixtures/hancom_saved/README.md says which program saved the files (Hangul's engine for Windows, the equation files Hangul for macOS), what was removed before they were committed (author, program version and dates in version.xml, content.hpf and the .hwp summary information; the zip or compound file repacked) and that everything else is as Hangul wrote it, so a file saved from the desktop program can be added the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@airmang
airmang merged commit cddf286 into main Oct 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant