From Fedora Project Wiki
< CI
(Warning) |
(Move some stuff from the main Tests page) |
||
Line 3: | Line 3: | ||
Unless you are a Fedora packager follow instructions for creating a public git repo on | Unless you are a Fedora packager follow instructions for creating a public git repo on | ||
[https://fedoraproject.org/wiki/Infrastructure/fedorapeople.org#fedora_people_git_hosting_support fedorapeople] | [https://fedoraproject.org/wiki/Infrastructure/fedorapeople.org#fedora_people_git_hosting_support fedorapeople] | ||
and upload package folder there: | and upload package folder there into the <code>public_git</code> folder: | ||
scp -r <package> @fedorapeople.org:public_git/ | scp -r <package> <username>@fedorapeople.org:public_git/ | ||
To check that everything works and ready for pull request by cloning created repository to your local machine. For example, for docker repository: | |||
git clone git://fedorapeople.org/~username/docker.git | |||
Navigate to the [https://src.fedoraproject.org/rpms/pam/pull-requests fedoraproject.org] (select appropriate package). | Navigate to the [https://src.fedoraproject.org/rpms/pam/pull-requests fedoraproject.org] (select appropriate package). | ||
Line 17: | Line 21: | ||
* '''Git branch:''' new_tests | * '''Git branch:''' new_tests | ||
* '''To branch:''' master | * '''To branch:''' master | ||
{{admon/tip|Working with Pull Requests|You may encounter a situation where you want to include changes from the master branch that were made after you created your pull request. Follow the article [https://docs.pagure.org/pagure/usage/pull_requests.html#working-with-pull-requests/ Working with Pull Requests]}} |
Revision as of 11:30, 27 February 2018
Unless you are a Fedora packager follow instructions for creating a public git repo on
fedorapeople
and upload package folder there into the public_git
folder:
scp -r <package> <username>@fedorapeople.org:public_git/
To check that everything works and ready for pull request by cloning created repository to your local machine. For example, for docker repository:
git clone git://fedorapeople.org/~username/docker.git
Navigate to the fedoraproject.org (select appropriate package).
- Press File Pull Request button
- Then press Remote pull request
Fill the required fields:
- Title: Add CI tests using the standard test interface
- Git repo address: git://fedorapeople.org/~<username>/<package folder>
- Git branch: new_tests
- To branch: master