Contributing Code to uClinux-dist repository

http://www.alterawiki.com/wiki/Contributing_Code_to_uClinux-dist_repository

Here will be explained who to publish your changes and stuff into uClinux-dist repository in 10 steps.
This could be done with creating a patch and mailing it to nios2-dev mailinglist.

For Debian/Ubuntu-User package git-email is needed: (apt-get install git-email)


Mailinglist URL: nios2-dev
Git repository web view: uClinux-dist

Step 1
Change the files you want to commit

Step 2
Look at the differences with:
git-diff

Step 3
Mark the files for commit with:
git-add path/to/file

Step 4
Now git-diff gives no output but you could see the diff with:
git-diff --cached

Step 5
Commit your changes with:
git commit -m 'Put your Update Message here'

Step 6
Create mail-able patch file with:
git format-patch -n -1

Step 7
Have a look at the patch file, add your message and save it:
nano 0001-xxx.patch

Step 8

Mail the patch to the nios2-dev mailinglist:
git send-email --smtp-server your.smtp.server --to nios2-dev@sopc.et.ntust.edu.tw 0001-xxx.patch

Maybe you have to add this if your server needs smtp-auth (for Debian/Ubuntu packages: libauthen-sasl-perl libnet-smtp-ssl-perl are needed!): 

--smtp-user YourMailUserName --smtp-pass YourMailUserPasswort

Now 2 questions popUp:

FIRST:
Who should the emails appear to be from? [Some Name]
---> You can type your Name and email-address here if it's not the right one in format: "Your name" xyz@yourMail.Adress

SECOND:
Message-ID to be used as In-Reply-To for the first email?
---> Enter a Message-ID or continue with "Enter" this is for threading the messages to have the overview

Step 9
Now you could hopefully read something like:
"Result: 250 93502886 message accepted for delivery"

Step 10
Congratulation your first patch for nios2-uClinux-dist is complete!!


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值