(More precise SFTP URL.) |
|||
Line 35: | Line 35: | ||
* Create a <code>public_git</code> directory in your home directory | * Create a <code>public_git</code> directory in your home directory | ||
* Put your git repository under this 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 <code>git-daemon-export-ok</code> file in the repository. This makes it so that others have access to the repository | * Touch the <code>git-daemon-export-ok</code> file in the repository. This makes it so that others have access to the repository | ||
* You can also set a description for the project by editing the <code>description</code> file in the repository | * You can also set a description for the project by editing the <code>description</code> file in the repository |
Revision as of 17:04, 22 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
- You need an active Fedora account
- You must be sponsored in a group (other than the CLA groups)
- 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.
- 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 - 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