Page MenuHomeDevCentral

New-repo
Updated 2,363 Days AgoPublic

Version 6 of 15: You are viewing an older version of this document, as it appeared on Sep 28 2017, 15:24.

New repositories should be created in Phabricator and mirrored to GitHub.

Procedure depends if you can or not create a repository in Nasqueron orgz on GitHub. To do so, you must be a member of the Nasqueron orgz on GitHub, something you can ask to @dereckson

You have don't have access to GitHub

  1. Create the repository here
  2. Create a task against DevCentral project to require to mirror it to GitHub, with a link to this document

You have access to GitHub

DevCentral

  1. Generate a deployment SSH key to allow GitHub interaction
    1. Name: Deployment key for GitHub nasqueron/foo
    2. Lock permanently: check
  2. Create the repository
  3. Add a new remote URI
    1. URI: git@github.com:nasqueron/foo.git
    2. I/O type: Mirror
    3. Display type: Default (= hidden)
  4. Activate the repository (manage > basics)
  5. Tag it with a project (Notifications center will use it to know where announc related events)

GitHub

  1. Create a new repository with hub create nasqueron/foo or visiting https://github.com/new
  2. Go to https://github.com/nasqueron/foo
  3. Add the deploy key to https://github.com/nasqueron/foo/settings/keys
    1. Use something like DevCentral (K00) where K00 is the Passphrase object as title
    2. Allow write access
  4. Consider to add the repo to a relevant team: https://github.com/orgs/nasqueron/teams

What to do afterwards?

You may create and commit the following files:

.arcconfigThe callsign and the DevCentral URL
.arclintLinters configuration
LICENSEWhen in doubt, use BSD-2-Clause
README or README.mdRelevant pointers to get started with the repository code
Last Author
dereckson
Last Edited
Sep 28 2017, 15:24

Event Timeline

dereckson edited the content of this document. (Show Details)
dereckson edited the content of this document. (Show Details)
dereckson added a subscriber: dereckson.
dereckson published a new version of this document.
dereckson published a new version of this document.
dereckson edited the content of this document. (Show Details)