Repositories Dialog |
Description |
![]() |
The Repositories dialog is used to create a code repository. |
Name field | Specifies the name for the repository. Input rules require that only lowercase letters (a-z) and numbers (0-9) are allowed, with no spaces permitted. |
{ANYNODE} field | Specifies the {ANYNODE} on which the repository will be created. |
Send Events to Event Hub field | Specifies whether merge events are sent to an Event Hub. |
Hub Name field | Lists the available Event Hubs that can receive merge notifications. |
Create button | Saves the repository configuration and provisions it. |
Cancel button | Abort and close the dialog. |
Repositories Actions Menu |
Description |
![]() |
On the right-hand side of the Repositories list view, you will find the "Actions" menu that displays shortcut icons and the dropdown menu icon. Below, we have listed the actions for the Repositories module. |
Copy ID item | Stores the repository ID in the clipboard. |
Copy Git Address item | Stores the Git address in the clipboard. |
Copy Git External Address item | Stores the Git external address in the clipboard. |
Open Repository item | Opens the Repository Window, allowing you to view and edit files, as well as manage merge requests. |
Delete Repository item | Opens a confirmation dialog that, if confirmed, deletes the repository. |
Repositories Window |
Description |
![]() |
The Repositories Window provides an interface for interacting with the repository, allowing you to create, modify, and view files, as well as manage branches and merge requests. |
Branch View field | Lists available branches and allows you to switch between them. |
Plus button | Allows you to create a new file or folder. |
Save button | Saves the currently active file. |
Delete button | Deletes the currently active file or folder. Note that you must double-click a file or folder to activate it before deletion. |
Files tree | Displays files and folders of the current branch in a tree view. Note that a single click on a folder expands or collapses it. |
Editor tab | The code editor area displays a file and allows for its modification. |
Branches tab | The Branches tab manages branches, allowing you to create or delete them. |
Compare tab | The Compare tab is used to compare two branches. |
Merge & Commits tab | The Merge & Commits tab allows you to view the commit history of a branch (from the right-side branch list) and merge branches. |
Log View tab | The Log View tab is used to view the Git logs for a branch. |
Merge Requests tab | The Merge Requests tab is used to manage pull requests, allowing users to create, approve, merge, and close them. |
Pupulate from Repository Dialog |
Description |
![]() |
The Populate from Repository dialog is used to populate the main branch from a GitHub repository. |
Git Address field | Specifies the GitHub repository address. For example: https://github.com/digitalocean/sample-dockerfile.git. |
Git User field | Specifies the GitHub user name for private repositories. |
Git Password field | Specifies the GitHub password/token for private repositories. |
Fork button | Copies a fresh version from the GitHub repository into the main branch and resets the main branch to match it. |
Cancel button | Abort the operation and close the dialog. |
The repositories PolicyThe following is a list of policy grants that define and regulate access permissions for both users and the API. To manage these policies, please use the Roles dialog. |
||
Grants |
Description |
API Command |
full | Grants full access | ALL |
approve-pull | Permits the approval of a merge request. | approve-pull |
close-pull | Permits the closing of a merge request. | close-pull |
compare | Permits the comparison of branches. | compare |
create-branch | Permits the creation of new branches. | create-branch |
create-pull | Permits the creation of merge requests. | create-pull |
delete | Permits the deletion of the item. | delete |
delete-branch | Permits the removal of branches. | delete-branch |
delete-closedpulls | Permits the removal of closed merge requeests. | delete-closedpulls |
delete-file | Permits the removal of a file. | delete-file |
delete-folder | Permits the removal of a folder. | delete-folder |
do-populate | Permits the population of the main branch from GitHub. | guthub-populate |
edit | Permits access to the "Repositories" dialog. | |
get-folder | Permits the retrieval of a folder. | |
gitlog | Permits the retrieval of the Git logs. | gitlog |
list | Permits listing in the List View area or as JSON objects. | list |
list-pull | Permits the retrieval of the merge requests. | list-pull |
load-files | Permits the retrieval of files and folders. | list-files |
merge | Permits the merging of two branches. | merge |
merge-history | Permits the retrieval of the merge histrory. | merge-history |
merge-main | Permits the merging into the main branch. | |
merge-pull | Permits the merging of merge request. | merge-pull |
new | Permits access to the new "Provisioning" dialog. | |
new-file | Permits the creation of a new file. | |
new-folder | Permits the creation of a new folder. | new-folder |
populate | Permits access to the new "Populate" dialog. | |
read-file | Permits the reading of a file. | read-file |
rollback | Permits the rollback of a merge. | rollback |
save | Permits execution of the provisioning process. | create |
save-file | Permits the saving of a file. | write-file |