(Updated to match updated hosted tool script) |
(→How to setup a new hosted project: now easier to understand for $THENEWGUY and with improved design) |
||
Line 29: | Line 29: | ||
{{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)}} | {{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)}} | ||
# [[Hosted_group_setup| Create source group]] in [[Infrastructure/AccountSystem| Fedora Account System]] (<scm>project should be the group name) | |||
# [[Hosted_repository_setup| Create source repo]] | |||
# Log into hosted1 | |||
# Create new project space: | |||
#: <pre>$ sudo /usr/local/bin/hosted-setup.sh <project name> <project admin> <scm type></pre> | |||
#:* <project name> must use the same case as the scm repo | |||
#:* You're likely to end up with 'Command failed: columns username, action are not unique' - this can be safely ignored as this only tries to tell you that you are giving admin access to a person already having admin access | |||
# If a mailing list is desired: | |||
#: <pre>$ sudo /usr/lib/mailman/bin/newlist</pre> | |||
#:* Answer the questions | |||
#:* The initial password you choose will be mailed to the list owner | |||
== How to import data from a cvs repo into git repo == | == How to import data from a cvs repo into git repo == |
Revision as of 06:50, 30 June 2009
Provide hosting place for open source projects
Contact Information
Owner: Fedora Infrastructure Team
Contact: #fedora-admin, sysadmin-hosted
Location: Serverbeach
Servers: hosted1
Purpose: Provide hosting place for open source projects
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, 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.
3. A mailing list
How to setup a new hosted project
- Create source group in Fedora Account System (<scm>project should be the group name)
- Create source repo
- Log into hosted1
- Create new project space:
$ sudo /usr/local/bin/hosted-setup.sh <project name> <project admin> <scm type>
- <project name> must use the same case as the scm repo
- You're likely to end up with 'Command failed: columns username, action are not unique' - this can be safely ignored as this only tries to tell you that you are giving admin access to a person already having admin access
- If a mailing list is desired:
$ sudo /usr/lib/mailman/bin/newlist
- Answer the questions
- The initial password you choose will be mailed to the list owner
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:
git-cvsimport -v -d :pserver:anonymous@cvs.fedoraproject.org/cvs/docs -C <dir> <cvs_module>
sudo git clone --bare --no-hardlinks </pathto/cvsimported/repo> /git/<git_dir>.git/
Example:
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/