From Fedora Project Wiki
No edit summary |
|||
Line 36: | Line 36: | ||
#Apply patch | #Apply patch | ||
#:$ patch -p1 < some_direcotory/patch_name.patch or patch --dry-run --verbose -p1 < some_direcotory/patch_name.patch | #:$ patch -p1 < some_direcotory/patch_name.patch or patch --dry-run --verbose -p1 < some_direcotory/patch_name.patch | ||
==Run auto install tests== | |||
'''install the libs of auto install''' | |||
# pwd | |||
#:/home/username/autoqa | |||
# make install | |||
'''run the tests''' | |||
#DVD install example: | |||
#:[http://fpaste.org/F4Y3/ DVD install example] | |||
#CD install example: | |||
#:[CD install example] |
Revision as of 07:54, 12 August 2010
Update Auto Install
Upload the authentication key
- $ pwd
- /home/username
- $ ssh-keygen -t rsa
- Get an account and upload the /home/username/.ssh/id_rsa.pub to https://admin.fedoraproject.org/accounts/login
Clone the source code
Configure name and email
- $ git config -f $HOME/.gitconfig user.name "username"
- $ git config -f $HOME/.gitconfig user.email "username@youremail.com"
Add files
- $ pwd
- /home/username/autoqa
- $ git add tests/anaconda/*
- $ git commit -a
- $ git pull
- $ git push origin username
- $ git push ssh://git.fedorahosted.org/git/autoqa.git master
- Enter passphrase for key '/home/username/.ssh/id_rsa':
Create named branch
More git reference
Apply patch
- Install the package
- yum install patch.x86_64
- Save the patch to some_directory
- $ pwd
- /home/username/autoqa
- Apply patch
- $ patch -p1 < some_direcotory/patch_name.patch or patch --dry-run --verbose -p1 < some_direcotory/patch_name.patch
Run auto install tests
install the libs of auto install
- pwd
- /home/username/autoqa
- make install
run the tests
- DVD install example:
- CD install example:
- [CD install example]