Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Getting started with fedora infra

475 views

Published on

The presentation from my talk at August Pune Python Meetup

Published in: Software
  • Be the first to comment

  • Be the first to like this

Getting started with fedora infra

  1. 1. Getting started with Fedora-Infra by Dhriti Shikhar FAS username: dhrish20 Twitter handle: DhritiShikhar
  2. 2. Fedora-Infra Channels: #fedora #fedora-apps on FreeNode server Github Repository: https://github.com/fedora-infra
  3. 3. Fedora-Infra The Fedora Infrastructure team develops, deploys, and maintains various services for the Fedora Project.
  4. 4. 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
  5. 5. Fedora-Infra Services (2) Koji Pagure Pkgdb2 FAS
  6. 6. Core members of Fedora-Infra Pingou <pingou> Ralph Bean <ralph> Kevin Fenzi <nirik>
  7. 7. Pagure Link to the site: pagure.io Link to the repository: https://pagure.io/pagure/
  8. 8. Pagure maintained by pingou A light weight git centered forge project based on pygit
  9. 9. Features of Pagure a web-interface for git repositories a ticket system system to create new projects fork existing ones create/merge pull-requests across or within projects
  10. 10. Pre-requisites CLI git Python
  11. 11. 1.Apply for FAS account Link: https://admin.fedoraproject.org/accounts/use r/new
  12. 12. 2. Set your public key Generate your ssh key using: ssh-key gen -t rsa Copy the public key from ~/.ssh/id_rsa.pub to your pagure account
  13. 13. 3. Fork the pagure repository Click on the fork button on the upper right side
  14. 14. 4. Clone the pagure repository SSH Clone: ssh://git@pagure.io/pagure.git Http Clone: https://pagure.io/pagure.git
  15. 15. 5. Pagure: Issues All issues: https://pagure.io/pagure/issues Easyfix: fedoraproject.org/easyfix/
  16. 16. Finding and understanding a bug look for keywords Read the comments
  17. 17. Where to make the changes? Use tools such as: grep pdb
  18. 18. 6. Creating a branch Create a new branch using the command: git checkout -b <branch_name> No special characters in the branch name
  19. 19. Making the changes Check your changes using: git diff
  20. 20. 7. Add the changes to staging area Use the command: git add <filename>
  21. 21. 8. Commit the changes Use the command: git commit -m “<commit message>” To amend the commit message: git commit -a git commit --amend
  22. 22. 9. Adding a remote Use the command: git remote add <remote_name> <url>
  23. 23. 10. Pushing the changes to remote Use the command: git push <remote_name> <branch_name>
  24. 24. 11. Sending a PR Go to your repository Go to the branch
  25. 25. 12. Follow up after sending a PR Keep a track of your PR Reply to the comments Make appropriate changes and send a PR again
  26. 26. End

×