Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/console eccube:fixtures:generate --with-image=cats を動作するよう修正 #4950

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

nanasess
Copy link
Contributor

@nanasess nanasess commented Mar 5, 2021

概要(Overview・Refs Issue)

lorempixel.com の廃止に伴い bin/console eccube:fixtures:generate--with-image オプションが動作しなくなっていたので修正。
今のところ、 --with-image=cats のみ対応。外部サイトから画像を取得するため、時間がかかる。
以下のように実行する。

bin/console eccube:fixtures:generate --customers=1 --orders=5 --products=10 --with-image=cats

方針(Policy)

実装に関する補足(Appendix)

画像のライセンスについては以下を参照
https://placekitten.com/attribution.html

テスト(Test)

猫の画像が生成されるのを確認
スクリーンショット 2021-03-05 10 58 05
スクリーンショット 2021-03-05 10 58 23

相談(Discussion)

他に良いサイトがあれば教えてください

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか

@okazy okazy added the improvement 機能改善 label Mar 9, 2021
@okazy okazy added this to the 4.0.x milestone Mar 9, 2021
Copy link
Contributor

@okazy okazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動作確認しました!
これで癒されながら開発ができます。

image

@okazy okazy modified the milestones: 4.0.x, 4.0.6 Mar 9, 2021
@okazy okazy merged commit 6af85e8 into EC-CUBE:4.0 Mar 11, 2021
@okazy
Copy link
Contributor

okazy commented Mar 11, 2021

ありがとうございます!取り込みました。

@tao-s
Copy link
Contributor

tao-s commented Sep 14, 2021

これでアレですね、「何でアイスと鍋なんだよ」から「何で猫なんだよ」になるんですねw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants