Projects
Create a project
Create a project in your workspace, pick a name that Patchbay accepts, and prepare it for its first release.
On this page
Create a project to group the components that you release together. Each project belongs to one workspace, and any member of that workspace can create one. The person who creates a project becomes its project administrator.
Create the project
You can open the New project dialog from three places:
- The New project button (the plus sign) at the top of the sidebar.
- The New project button in the toolbar of the projects list.
- The Create project button on the welcome page of a new workspace.
In the dialog, do these steps:
- Make sure that the dialog shows the workspace that will own the project.
- Type the name in the Project name field. Patchbay shows the URL form of the name next to the field, and a check mark when the name is available.
- If you want a description, type it in the Add description... field.
- To add components now, click Components or press
C. You can also add them later, as Add components explains. - Click Create project.
Name rules
Patchbay checks the name while you type, and again when you click Create project.
| Rule | Detail |
|---|---|
| Length | 1 to 35 characters. |
| Characters | Letters, digits, spaces, hyphens and underscores. |
| Uniqueness | No other project in the workspace has the same URL form. |
| Reserved names | new, create, settings, admin, api, system, internal, public and private. |
Patchbay stores the name in its URL form, which changes letters to lowercase and replaces each group of spaces with one hyphen. For example, Payments API becomes payments-api. Because Patchbay compares names in this form, Payments API and payments-api are the same name.
The description is optional and can have up to 500 characters.
Visibility of a new project
A new project is Private, so only people with a project grant and workspace owners and administrators can see it. A project administrator can change it to Public so that every member of the workspace can see it, as Project access and roles explains.
What happens next
A new project has no releases. Its first release is called Genesis, and it records the starting commit of each component.
- If you added components in the dialog, Patchbay creates the project, starts Genesis and opens the Genesis page.
- If you did not add components, Patchbay opens the project overview, where you can add components and set up Genesis.
When Genesis is complete, you can create versions and candidates. To continue, see Set up Genesis.
Let a repository propose the project
A repository can declare its project in a patchbay.yaml catalog file. If that project does not exist, workspace owners and administrators get a project proposal in their inbox. See Describe a repository with patchbay.yaml.