VCS How To: Mark a Module for Deletion in a Branch

Early Access VCS Articles

1. Enable VCS for an application
2. Version Control Dashboard
3. View App Details Page
4. Create a Branch
5. Branch Details
6. Create a Pull Request
7. Review and Approve a Pull Request
8. Merge a Pull Request
9. Commenting on a VCS Application

 

Overview

To remove a main module from a VCS-controlled application, use the Mark to Delete From App action during the Create Branch process. Main modules marked for deletion in a branch are not removed until the branch is reviewed in a Pull Request. When the branch merges with the Main Branch, the main module marked for deletion is permanently removed.

What You'll Learn

After completing this article, you'll know how to mark a main module for deletion in a VCS branch.

Marking a Main Module for Deletion in a New Branch

In a VCS-controlled application, new modules are created during the Create Branch process. After creating a branch, new modules become available to edit by the Owner and Contributors until it is ready to be submitted to the Main Branch in a Pull Request. After review, approval, and merge, the new module becomes a Main Module.

This example assumes you have access to a VCS-controlled application.

To learn how to enable VCS, view our How to: Enable VCS (Version Control System) article.

From the Workspaces page:

1. Find and open a workspace that contains a VCS-enabled application.
2. Click the application's View App in VCS button. The UDLC Login page displays.
3. Enter your credentials and click Login. The View App Details' Branches page displays.
4. Click + Create Branch. The Create Branch page displays.

5. In the Branch Name* field, enter a name for the branch.
6. From the Main Modules grid, find the module you want to mark for deletion and click Action ▾.
7. Click Mark to Delete From App. The module moves from the Main Modules list to the Modules to Delete from App list.

8. Under Participants, click Show Advanced Settings.
9. Set Owner Can Approve Pull Requests to Checked Box icon (Checked).

This setting allows the Owner to review and approve the branch's Pull Request. Outside of testing, the use of this setting should be determined by your organization.

10. In the Please Document Reason field, enter a reason for creating this branch.

11. Click Create. A modal displays informing you the branch has been successfully created.
12. Click OK. The Branch Details page displays.

When the branch is merged after the Pull Request, the module marked for deletion is removed from the Main Module list.

Resources