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

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

  • plamo.linet.gr.jp 上に松木さんが作った git リポジトリ上のビルドスクリプトやパッチを修正する手順
  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 で送るメールを確認.後は質問してくるので答える)

  • linux/plamo/ビルドスクリプトの修正手順.txt
  • 最終更新: 2013/08/09 05:09
  • by tenforward