first_steps.rst 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. First Steps on pagure
  2. =====================
  3. When coming to pagure for the first time there are a few things one should
  4. do or check to ensure all works as desired.
  5. Login to pagure or create your account
  6. --------------------------------------
  7. Pagure has its own user account system.
  8. For instances of pagure such as the one at `pagure.io <https://pagure.io>`_
  9. where the authentication is delegated to a third party (in the case of
  10. pagure.io, the Fedora Account System) via OpenID, the local user account
  11. is created upon login.
  12. This means, you cannot be added to a group or a project before you login for
  13. the first time as the system will simply not know you.
  14. If you run your own pagure instance which uses the local authentication
  15. system, then you will find on the login page an option to create a new
  16. account.
  17. Upload your SSH key
  18. -------------------
  19. Pagure uses gitolite to manage who has read/write access to which git
  20. repository via `ssh <https://en.wikipedia.org/wiki/Secure_Shell>`_.
  21. An ssh key is composed of two parts:
  22. * a private key, which you must keep to yourself and never share with anyone.
  23. * a public key, which is public and therefore can be shared with anyone.
  24. If you have never generated a ssh key, you can do so by running:
  25. ::
  26. ssh-keygen
  27. or alternatively on GNOME using the application ``seahorse``.
  28. This will create two files in ``~/.ssh/`` (``~`` is the symbol for your home
  29. folder).
  30. These two files will be named (for example) ``id_rsa`` and ``id_rsa.pub``.
  31. The first one is the private key that must never be shared. The second is
  32. the public key that can be uploaded on pagure to give you ssh access.
  33. To upload your public key onto pagure, login and click on the user icon on
  34. the top right corner, there, select ``My settings``.
  35. .. image:: _static/pagure_my_settings.png
  36. :target: _static/pagure_my_settings.png
  37. Configure the default email address
  38. -----------------------------------
  39. If the pagure instance you use is using local user authentication, then when
  40. you created your account you could choose whichever email address you prefer
  41. to use, but in the case (like pagure.io) where the pagure instance relies
  42. on an external authentication service, the email address provided by this
  43. service may be different from the one you prefer.
  44. Your settings' page (cf the image above for how to access to the page) allow
  45. you to add multiple email address and set one as default.
  46. Your default email address is the address that will be used to send you
  47. notifications and also as the email address in the git commit if you merge
  48. a pull-request with a merge commit.
  49. For online editing, when doing the commit, you will be presented with the
  50. list of valid email addresses associated with your account and you will be
  51. able to choose which one you wish to use.
  52. .. note:: All email address will need to be confirmed to be activated, this
  53. is done via a link sent by email to the address. If you do not
  54. receive this link, don't forget to check your spam folder!