Skip to content

RepositorySpecDescription

Dale Henrichs edited this page Mar 28, 2012 · 2 revisions

The RepositorySpec description is a URL that is used to resolve the location of Metacello repositories.

The general form of the description:

  scheme://location

Where the scheme may be any one of the following:

  • client
  • dictionary
  • file
  • filetree
  • ftp
  • github
  • http
  • server

The layout of the location is dependent upon the scheme being used.

##client:// ##dictionary:// ##file:// ##filetree:// ##ftp:// ##github://

  github:// <github user> / <github project>  [ : <version identifier> ] [ / <repository path> ]

gitthub:// is the scheme identifier for the GitHub repository description.

github user is the user name or organization name of the owner of the GitHub proejct.

github project is the name of the GitHub project.

version identifier is the name of a branch, the name of a tag or the SHA of a commit. The tag name and SHA
identifies a specific commit. The branch name resolves to the current HEAD of the branch. The version identifier is optional.

repository path is the path to a subdirectory in the project where the repository is rooted. If absent the repository is rooted in the projects HOME directory.

##http:// ##server://

Clone this wiki locally