|
|
(16 intermediate revisions by 9 users not shown) |
Line 1: |
Line 1: |
| = Hosted Projects - SOP =
| | {{header|infra}} |
| | {{shortcut|ISOP:HOSTED}} |
|
| |
|
| == Contact Information ==
| |
| Owner: Fedora Infrastructure Team
| |
|
| |
|
| Contact: #fedora-admin
| | This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/fedorahosted.rst |
|
| |
|
| Location: <not sure what to put here>
| | For changes, questions or comments, please contact anyone in the Fedora Infrastructure team. |
|
| |
|
| Servers: hosted1
| |
|
| |
|
| Purpose: Provide hosting place for open source projects
| | [[Category:Infrastructure SOPs]] |
| | |
| == Description ==
| |
| fedorahosted.org can be used to host open source projects. It provides the following facilities:
| |
| | |
| 1. An scm for maintaining the code. The currently supported scm's include Mercurial, Git, Bazaar, Monotone or SVN. Note: There is no cvs
| |
| | |
| 2. A trac instance, which provides a mini-wiki for hosting information and also provides a ticketing system.
| |
| | |
| == How to setup a new hosted project ==
| |
| | |
| | |
| {{Admon/important | This page is for administrators only. People wishing to request a hosted project should use the [https://fedorahosted.org/fedora-infrastructure/ Ticketing System] ; see [[Infrastructure/ProjectHosting/RequestingNewProject| RequestingNewProject]] (Requires Fedora Account)}}
| |
| | |
| 1 Create source group in [[Infrastructure/AccountSystem| Fedora Account System]] (<scm>project should be the group name)
| |
| | |
| 2 [[Infrastructure/ProjectHosting/RepositorySetup| Create source repo]]
| |
| | |
| 3 Log into hosted1
| |
| | |
| 4 Create new project space via hosted-setup.sh: <pre>$ /usr/local/bin/hosted-setup.sh <project name> <project admin></pre>
| |
| | |
| 5 Answer most questions with defaults except source control. /srv/<scm>/<project> is where the source is
| |
| | |
| == How to import data from a cvs repo into git repo ==
| |
| | |
| Often users request their git repos to be imported from an existing cvs repo. This is a two step process as follows:
| |
| | |
| <pre>
| |
| git-cvsimport -v -d :pserver:anonymous@cvs.fedoraproject.org/cvs/docs -C <dir> <cvs_module>
| |
| </pre>
| |
| | |
| <pre>
| |
| sudo git clone --bare --no-hardlinks </pathto/cvsimported/repo> /git/<git_dir>.git/
| |
| </pre>
| |
| | |
| Example:
| |
| <pre>
| |
| git-cvsimport -v -d :pserver:anonymous@cvs.fedoraproject.org/cvs/docs -C translation-quick-start-guide translation-quick-start-guide
| |
| sudo git clone --bare --no-hardlinks translation-quick-start-guide/ /git/translation-quick-start-guide.git/
| |
| </pre>
| |