We’re thrilled to announce the release of the new pull request features with the Oracle Cloud Infrastructure (OCI) DevOps Code Repository! This significant update introduces several critical developer collaboration features, including pull requests, repository forks, and repository insights. Whether you’re developing new application code, enhancing an existing application, or managing infrastructure-as-code (IaC) repositories, having a workflow that allows teams to review new code changes and enforce code quality controls through mandatory approvals is critical for all enterprise customers.
With this set of feature-rich enhancements, customers can now centrally manage their repository configurations, perform efficient code reviews from the Console workflow, enforce compliance best practices through merge checks and code approval criteria, and automate continuous integration (CI) pipelines to trigger builds on new pull requests to help ensure a successful pipeline run before allowing a code merge. These capabilities are mission-critical for Oracle, with thousands of our developers using them to enable a better code development and collaboration experience. We’re excited to extend these benefits to all OCI customers, enabling a more integrated DevOps platform experience to store, develop, build, and deploy software applications using OCI-native developer tooling.
We’ve designed the pull request feature as an integral part of the DevOps service’s Code Repository, incorporating all major features expected in a modern developer collaboration platform. Recognizing that developers often face email overload, we’ve introduced personalized notifications, allowing each developer to customize their notification preferences. Unlike some other systems, DevOps admins can configure fine-grained access control measures that determine which user groups have access to specific DevOps resources and the actions these users can perform on them. For example, admins can configure granular policies that determine which user sub-group is allowed to merge pull requests in a project or repository. Admins can also protect critical code branches using the Branch Protection configuration that helps maintain code integrity and enforces compliance measures that require a pull request review before merging new code changes, promoting code quality and collaborative software development. Repository owners and managers can also gain detailed insights on pull request metrics to better analyze and plan their development activities.
This update enables customers with the following key use cases:
Let’s take a deeper look at some use cases.
You can configure Approval rules to help ensure that pull requests are reviewed by designated users defined by the repository admins. This process enables better code quality by having peers review and approve new code changes, thereby catching potential issues early in the development cycle. You can configure approval rules at the project or repository level. These rules are additive, and the system will help ensure that approvals rules defined at both the project and repository levels are enforced. For each level, you can configure one or more approval groups and define a minimum approval count for each group. Once these groups are defined, the system helps ensure that no new pull requests can be merged until the required number of approvals is received, as specified by the approval rules.
You can define branch protection rules to enforce restrictions on your critical code branches. By combining branch protection rules and DevOps Identity and Access Management (IAM) policies, you can protect code repositories from several risks, such as unwanted branch deletion, accidental commits to read-only branches, and direct push-commits to branches requiring pull request review and approval. This feature enables teams to collaborate on software development more securely, helping ensure that the code base’s quality and integrity are preserved throughout the development lifecycle.
You can gain valuable insights into your code development activities using the repository insights feature in DevOps. This feature enables you to visualize your repository activity, code commit frequencies, pull request throughput and review times, and summaries of team member contributions. By capturing and evaluating this data, you can effectively analyze your code activity, identify process bottlenecks, and measure developer contributions across repositories within a project.
These enhancements elevate your software development experience, helping ensure robust collaboration, stringent code quality, and streamlined workflows within the OCI DevOps platform.
For more information on these enhancements, see the following resources:
Next Post