From Fedora Project Wiki
m (add category)
Line 42: Line 42:
* You can push to this repository via ssh now.  Also, you can give other users access via acls as described above, but for more use of this, it is preferred to use the [http://fedorahosted.org Fedora Hosted] site
* You can push to this repository via ssh now.  Also, you can give other users access via acls as described above, but for more use of this, it is preferred to use the [http://fedorahosted.org Fedora Hosted] site
* You can see your project listed in [http://fedorapeople.org/gitweb gitweb] once the project list updates (hourly).  ''Note that this URL may change''
* You can see your project listed in [http://fedorapeople.org/gitweb gitweb] once the project list updates (hourly).  ''Note that this URL may change''
[[Category:Infrastructure]]

Revision as of 09:45, 28 July 2008

fedorapeople.org

This page covers the details on how to obtain and use your personal space on fedorapeople.org , which is a site where Fedora contributors can upload files for sharing out with the world. It is perfect for uploading specfiles, srpms, patches, personal repository etc, etc.

Accessing Your fedorapeople.org Space

  1. You need an active Fedora account
  2. You must be sponsored in a group (other than the CLA groups)
  3. To connect, use the ssh key you uploaded into your Fedora account:
ssh your_fedora_username@fedorapeople.org

Common Answers

  • Each Fedora contributor has 150 MiB of quota-controlled space.
  • To make a publicly viewable space, create a public_html directory.
  • Upload files using scp, sftp, or rsync.
Using Nautilus
If you use GNOME, visit this page for an easy way to connect to your fedorapeople.org space.
Using Dolphin or Konqueror
If you use KDE, type sftp://your_username@fedorapeople.org in your file manager address bar for an easy way to connect to your fedorapeople.org space.
  • Once uploaded into the users public_html directory the files are available via http at: http://your_username.fedorapeople.org/.
  • Give other users access to read/write/etc files by using extended acls. Read man pages for setfacl and getfacl for adding them to your dirs/files. This gives the user jkeating read and write access to file:
setfacl -m u:jkeating:rw file

BETA git hosting support

fedorapeople now has support for hosting git repositories including accessing them via the git protocol for anonymous downloads as well as providing gitweb. This should be considered beta.

  • Create a public_git directory in your home directory
  • Put your git repository under this directory. The repository directory name must end with .git or gitweb will not acknowledge it. Common methods for initially doing this would be rsync or scp of a repository you already have.
  • Touch the git-daemon-export-ok file in the repository. This makes it so that others have access to the repository
    • if this is a non-bare repo, git-daemon-export-ok should live here: ~/public_git/your_repo.git/.git/git-daemon-export-ok
  • You can also set a description for the project by editing the description file in the repository
  • Users can clone your repository via something like git clone git://fedorapeople.org/~katzj/isomd5sum.git
  • You can push to this repository via ssh now. Also, you can give other users access via acls as described above, but for more use of this, it is preferred to use the Fedora Hosted site
  • You can see your project listed in gitweb once the project list updates (hourly). Note that this URL may change