26
Getting started with Fedora-Infra by Dhriti Shikhar FAS username: dhrish20 Twitter handle: DhritiShikhar

Getting started with fedora infra

Embed Size (px)

Citation preview

Page 1: Getting started with fedora infra

Getting started with Fedora-Infra

by Dhriti Shikhar

FAS username: dhrish20Twitter handle: DhritiShikhar

Page 2: Getting started with fedora infra

Fedora-InfraChannels:

#fedora#fedora-apps

on FreeNode serverGithub Repository: https://github.com/fedora-infra

Page 3: Getting started with fedora infra

Fedora-InfraThe Fedora Infrastructure team develops,

deploys, and maintains various services for the Fedora Project.

Page 4: Getting started with fedora infra

Fedora-Infra services (1)Bodhi:

a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.

Fedora-tagger:This application allows users to tag and rate packages

in Fedora

Page 5: Getting started with fedora infra

Fedora-Infra Services (2)KojiPagurePkgdb2FAS

Page 6: Getting started with fedora infra

Core members of Fedora-InfraPingou <pingou>Ralph Bean <ralph>Kevin Fenzi <nirik>

Page 7: Getting started with fedora infra

PagureLink to the site:

pagure.ioLink to the repository:

https://pagure.io/pagure/

Page 8: Getting started with fedora infra

Paguremaintained by pingouA light weight git centered forge projectbased on pygit

Page 9: Getting started with fedora infra

Features of Pagurea web-interface for git repositoriesa ticket systemsystem to create new projectsfork existing onescreate/merge pull-requests across or within

projects

Page 10: Getting started with fedora infra

Pre-requisitesCLIgitPython

Page 11: Getting started with fedora infra

1.Apply for FAS accountLink:

https://admin.fedoraproject.org/accounts/user/new

Page 12: Getting started with fedora infra

2. Set your public keyGenerate your ssh key using:

ssh-key gen -t rsaCopy the public key from ~/.ssh/id_rsa.pub to

your pagure account

Page 13: Getting started with fedora infra

3. Fork the pagure repositoryClick on the fork button on the upper right side

Page 14: Getting started with fedora infra

4. Clone the pagure repositorySSH Clone:

ssh://[email protected]/pagure.gitHttp Clone:

https://pagure.io/pagure.git

Page 15: Getting started with fedora infra

5. Pagure: IssuesAll issues:

https://pagure.io/pagure/issuesEasyfix:

fedoraproject.org/easyfix/

Page 16: Getting started with fedora infra

Finding and understanding a buglook for keywordsRead the comments

Page 17: Getting started with fedora infra

Where to make the changes?Use tools such as:

greppdb

Page 18: Getting started with fedora infra

6. Creating a branchCreate a new branch using the command:

git checkout -b <branch_name>

No special characters in the branch name

Page 19: Getting started with fedora infra

Making the changesCheck your changes using:

git diff

Page 20: Getting started with fedora infra

7. Add the changes to staging areaUse the command:

git add <filename>

Page 21: Getting started with fedora infra

8. Commit the changesUse the command:

git commit -m “<commit message>”To amend the commit message:

git commit -agit commit --amend

Page 22: Getting started with fedora infra

9. Adding a remoteUse the command:

git remote add <remote_name> <url>

Page 23: Getting started with fedora infra

10. Pushing the changes to remoteUse the command:

git push <remote_name> <branch_name>

Page 24: Getting started with fedora infra

11. Sending a PRGo to your repositoryGo to the branch

Page 25: Getting started with fedora infra

12. Follow up after sending a PRKeep a track of your PRReply to the commentsMake appropriate changes and send a PR

again

Page 26: Getting started with fedora infra

End