1
0

first_steps.rst 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .. _first-steps:
  2. First Steps on pagure
  3. =====================
  4. When coming to pagure for the first time there are a few things one should
  5. do or check to ensure all works as desired.
  6. Log in to pagure or create your account
  7. ---------------------------------------
  8. Pagure has its own user account system.
  9. For instances of pagure such as the one at `pagure.io <https://pagure.io>`_
  10. where the authentication is delegated to a third party (in the case of
  11. pagure.io, the Fedora Account System) via OpenID, the local user account
  12. is created upon login.
  13. This means, you cannot be added to a group or a project before you log in for
  14. the first time as the system will simply not know you.
  15. If you run your own pagure instance which uses the local authentication
  16. system, then you will find on the login page an option to create a new
  17. account.
  18. .. _upload-your-ssh-key:
  19. Upload your SSH key
  20. -------------------
  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:
  34. 1. Log in to pagure and click on the user icon on
  35. the top right corner, there, select ``My settings``.
  36. .. image:: _static/pagure_my_settings.png
  37. :target: ../_images/pagure_my_settings.png
  38. 2. In the authentication section of your user settings copy the content of your
  39. ``id_rsa.pub`` file in the Public SSH key text box and save your ssh key settings.
  40. .. image:: _static/pagure_add_ssh_key.png
  41. :target: ../_images/pagure_add_ssh_key.png
  42. .. note:: Pagure supports multiple ssh keys per user. To add more than one ssh key
  43. to your user account just add your new ssh key in your authentication
  44. settings (one key per row), this way you will be able to push commits
  45. to your repository from a different computer.
  46. Configure the default email address
  47. -----------------------------------
  48. If the pagure instance you use is using local user authentication, you can
  49. choose whichever email address you prefer to use during account creation.
  50. But in the case (like pagure.io) where the pagure instance relies
  51. on an external authentication service, the email address provided by this
  52. service may be different from the one you prefer.
  53. The settings page of your account (see above for how to access the page)
  54. allows you to add multiple email addresses and set one as default.
  55. Your default email address is the address that will be used to send you
  56. notifications and also as the email address in the git commit if you merge
  57. a pull-request with a merge commit.
  58. For online editing, when doing the commit, you will be presented with the
  59. list of valid email addresses associated with your account and you will be
  60. able to choose which one you wish to use.
  61. .. note:: All email addresses will need to be confirmed to be activated, this
  62. is done via a link sent by email to the address. If you do not
  63. receive this link, don't forget to check your spam folder!