<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jayajha on Medium]]></title>
        <description><![CDATA[Stories by Jayajha on Medium]]></description>
        <link>https://medium.com/@jayajha213?source=rss-74f458735a6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7Q6srXOq-iiBd8Lo</url>
            <title>Stories by Jayajha on Medium</title>
            <link>https://medium.com/@jayajha213?source=rss-74f458735a6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:50:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jayajha213/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Version Control System]]></title>
            <link>https://medium.com/@jayajha213/version-control-system-80b8df0d5f73?source=rss-74f458735a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/80b8df0d5f73</guid>
            <category><![CDATA[version-control-system]]></category>
            <dc:creator><![CDATA[Jayajha]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 21:48:02 GMT</pubDate>
            <atom:updated>2024-04-04T21:48:02.975Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is a version control system?</strong></p><p>In simpler words, the version control system helps to record the files of every developer working in the organization.</p><p><strong>Importance of version control systems</strong></p><p>A version control system is a kind of software that helps the developer team to efficiently communicate and manage(track) all the changes that have been made to the source code along with information like who made and what changes have been made.</p><p>A separate branch is created for every contributor who made the changes, and the changes aren’t merged into the source code unless all are analyzed as soon as the changes are green signalled, they are merged into the main source code. It not only keeps source code organized but also improves productivity by making the development process smooth.</p><p><strong>Types of version control systems</strong></p><p>1. Local Version Control Systems</p><p>2. Centralized Version Control Systems</p><p>3. Distributed Version Control Systems</p><p><strong>Local Version Control Systems: -</strong>It is one of the simplest forms and has a database that keeps all the changes to files under revision control. An example is — RCS, one of the most used local version control systems. It keeps patch sets (differences between files) in a special format on disk. By adding up all the patches it can then re-create what any file looked like at any point in time.</p><p><strong>Centralized version control system</strong> contains just one repository globally and every user needs to commit to reflecting one’s changes in the repository. Others can see your changes by updating the file in the remote repository. Example: Perforce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*Vq-eY8esSE1FwdHJjaTipA.png" /></figure><p><em>Disadvantages of using centralized version control systems</em></p><p>The most obvious is the single-point failure that the centralized repository represents if it goes down during that period collaboration and saving versioned changes are not possible.</p><p><strong>Distributed Version Control Systems</strong></p><p>Each user has their repository and working copy. Just committing to your changes will not give others access to your changes. This is because the commit will reflect those changes in your local repository, and you need to push them to make them visible on the central repository. Similarly, when you update, you do not get others’ changes unless you have first pulled those changes into your repository.</p><p>Examples of distributed version control systems are: — Git and Mercurial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*LsrUAu5f2dUI5OJsUO8sfg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80b8df0d5f73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rollback Functionality in Copado]]></title>
            <link>https://medium.com/@jayajha213/rollback-functionality-in-copado-e1c1b1d44508?source=rss-74f458735a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1c1b1d44508</guid>
            <dc:creator><![CDATA[Jayajha]]></dc:creator>
            <pubDate>Mon, 25 Mar 2024 13:36:59 GMT</pubDate>
            <atom:updated>2024-04-04T14:29:29.834Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is rollback?</strong></p><p>In simple terms, the process of restoring a database or program to a previously defined state, typically to recover from an error is called rollback.</p><p>Copado has two different processes of rollback :-</p><p>1. Rollback based on snapshot differences,</p><p>2. Rollback functionality in Copado</p><p><strong>Need for Rollback :-</strong></p><p>1. A deployment to operate environment may give an error,</p><p>2. Defect identified immediately after a major release or minor release,</p><p>3. Critical post /pre-deployment steps missed during deployment,</p><p>4. Change management requires that rollback instructions be provided.</p><p><strong>Copado Rollback</strong></p><p>You can quickly compare and select only those components that you want to roll back.</p><p><strong>Scope and supported capabilities</strong></p><p><strong>IN Scope</strong></p><p>· Get promotion and delete metadata steps</p><p>· Revert selective metadata changes</p><p>· Rollback updates, addition, and deletion in a single step</p><p>· Rollback nested metadata items such as Custom fields or Record Types</p><p>(This allows for an independent rollback of nested metadata items such as a custom field or record type without having to roll back the metadata item it is nested under (e.g., the object the custom field or the record type is nested under)</p><p>· Rollback velocity components</p><p>· Commit metadata in the destination branch to reconcile changes with the git</p><p>· Continued apex test level for the rollback deployment</p><p>· Perform validation deployments</p><p>· Add pre/post-deployment steps</p><p><strong>OUT of Scope</strong></p><p>· Deployments with multiple destination org</p><p>· Metadata dependency and notification warnings</p><p>· DX source format</p><p>· Comparisons of velocity items</p><p>· Deletion of velocity components</p><p>· Other deployment step types like to get metadata and metadata</p><p>· Flows are out of scope, records cannot be deleted</p><p><strong>How to enable rollback</strong></p><p>Copado Rollback feature should be enabled only for Business -critical environments to minimize the storage consumed and the time deployments may take when taking the backup</p><p>Error: Rollback is not enabled</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*k7BQ0g13ADrI35XMNPGxTQ.png" /></figure><p>Error: Rollback Cannot start</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*k7BQ0g13ADrI35XMNPGxTQ.png" /></figure><p>Error: TyPe Filtered Metadata Grid is Enabled</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*k7BQ0g13ADrI35XMNPGxTQ.png" /></figure><p>Error: Index files Are Not Created</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*eK3zKnhVLEvJOXLmUVjhaA.png" /></figure><p><strong>How to initiate Rollback</strong></p><p>Once a deployment takes place in an environment, two types of files are created for each of the two steps — Git promotion and Delete Metadata:</p><p>a. Rollback index. json: This file contains the Metadata in this deployment step which will be used during the rollback process.</p><p>b.Rollback_metadata.zip: This is a metadata backup before the deployment takes place. This backup will be used as the source of truth for the Rollback.</p><p><strong>Limitations: -</strong></p><p><strong><em>You cannot delete a record type and it is not a Copado limitation but a metadata API limitation.</em></strong></p><p><strong><em>Flows can’t be deleted due to metadata API limitations.</em></strong></p><p><strong>Limitations of Rollback Functionality:-</strong></p><p>1. Rollback cannot be performed if the “Type Filtered Metadata Grid” custom setting is Enabled. To perform rollback first disable the setting Deployments with multi — destination Orgs.</p><p>2. Deployments with multi — destination org</p><p>3. Metadata dependency notifications and warnings</p><p>4. It is important to note that when you enable the rollback option, the feature will be available only for the new promotions and deployments created after the Rollback has been enabled and not for the previous ones.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1c1b1d44508" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>