目次

ビルドスクリプトの修正手順

準備

  1. git を使う準備 (User/Email設定)
    git config --global user.email "your_email@example.com"
    git config --global user.name "KATOH Yasufumi"

    (もちろん自分の情報で)

  2. git clone する
    git clone karma(_at_)plamo.linet.gr.jp:/home/matsuki/work/Plamo-src.git

    (karma のところは自分のアカウントで (_at_) は @ に)

  3. git send-email の設定
    [sendemail]
            from = KATOH Yasufumi <karma@jazz.email.ne.jp>
            smtpserver = localhost
            smtpserverport = 25

    (Gmail を使った方法は http://d.hatena.ne.jp/unpush/20110216/1297869753 辺りに載ってる)

修正

  1. 修正用ブランチを作成
    cd path_to_repository
    git checkout -b Apache_2_4_6_Work
    git branch
    * Apache_2_4_6_Work
      master
  2. 修正
    (修正)
    git add (変更ファイル)
    git commit

パッチの作成

  1. パッチファイルの作成
    git format-patch -n -M origin/master -s -o ~/outgoing

    (origin の master ブランチとの差分を outgoing ディレクトリに出力せよ)

  2. 確認
    ls ~/outgoing/
    0001-Update-to-httpd-2.4.6.patch
  3. メール送信
    git send-email --annotate outgoing/0001-Update-to-httpd-2.4.6.patch

    (–annotate で送るメールを確認.後は質問してくるので答える)