正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

Test plan for libpng component upgrade

一貫した開発プロセスとドキュメントを確保するため、GitLabへのすべての貢献は英語で提出する必要があります。そのため、GitLabへの貢献に関するドキュメント(https://docs.gitlab.com/development/に掲載)も英語でのみ提供されています。

以下を希望される場合:

  • コードの貢献を提出する
  • バグの報告または修正
  • 機能や改善の提案
  • ドキュメントへの貢献

これらのページの英語版のガイドラインに従ってください。

このページの英語版にアクセスしてください。

Copy the following test plan to a comment of the merge request that upgrades the component.

## Test plan

- [ ] Checked [libpng changelog](https://github.com/pnggroup/libpng) for potential breaking changes.
- [ ] Start a new pipeline and trigger `Trigger::ee-package`.
- [ ] Checked the library version:
  - [ ] Install `binutils`.
  - [ ] Check output and ensure the updated version is installed.
    ```shell
    strings /opt/gitlab/embedded/lib/libpng16.so.16|grep "libpng version"
    ```
- [ ] Check that graphicsMagick can use `libpng` with a PNG:
  ```shell
  # get a suitable PNG to manipulate
  cp \
    /opt/gitlab/embedded/lib/ruby/3.2.0/rdoc/generator/template/darkfish/images/date.png \
    /tmp/date.png

  /opt/gitlab/embedded/bin/gm mogrify \
    -rotate 180 \
    -fill white \
    /tmp/date.png
  
  ; echo $?
  ```

  result should be `0`

  retrieve modified "upside-down" PNG and confirm that indeed it has been modified.