IP Library Granted Patent US 10,963,444
Granted Patent B2
US 10,963,444 · App. 15/453,645 · Granted Mar 30, 2021

Techniques and architectures for providing functionality to undo a metadata change

Inventor: James Bock Wunderlich (Burlingame, CA)
Assignee: salesforce.com, inc.
G06F16/23G06F8/71
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,963,444
App. No.
15/453,645
Granted
Mar 30, 2021
Kind
B2
Abstract

Techniques and mechanisms for providing a functionality which is selectable to undo one or more changes to metadata in a computing environment. In an embodiment, one or more source objects, stored by a version control system (VCS), represent one or more previous metadata changes. In response to a detection of the one or more metadata changes, an element of a user interface is configured to be selectable for undoing the one or more metadata changes. In another embodiment, a subsequent selection of the element invokes a retrieval of the one or more source objects from the VCS. Based on the retrieval of the one or more source objects from the VCS, a compilation is performed to generate a program which is executed to undo the one or more metadata changes.

Claims (47)

1. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, are configurable to cause the one or more processors to:

detect a performance of a first one or more metadata changes within a computing environment, wherein the performance results in a storage of a first one or more source objects to a version control system (VCS), wherein the source objects are stored in a format compatible with the VCS and are decompiled by converting metadata within the computing environment to the source objects and the decompiled source object indicates the change to the metadata;

configure, based on the performance, a functionality of an undo element of a user interface, the functionality to perform one or more operations which undo the first one or more metadata changes, wherein configuring the functionality includes, with one or more hardware computing components coupled with at least one physical memory device, configuring a first selectability of the undo element to invoke a retrieval of the first one or more source objects from the VCS; and

deploy the first one or more source objects to an environment to restore metadata in the environment to a version prior to the previous change by at least compiling the first one or more source objects to metadata corresponding to the undo of the first one or more metadata changes.

2. The computer-readable medium of claim 1 , further comprising instructions that, when executed by the one or more processors, are configurable to cause the one or more processors to:

retrieve, in response to a selection of the undo element, the first one or more source objects from the version control system;

perform a compilation based on the first one or more source objects retrieved from the version control system, the compilation to generate a first program; and

execute the program to undo the first one or more metadata changes.

3. The computer-readable medium of claim 2 , wherein the first one or more source objects represent one or more instructions to perform the first one or more metadata changes, wherein performing the compilation includes:

determining, based on the first one or more source objects, a second one or more source objects representing one or more instructions to undo the first one or more metadata changes; and

compiling the second one or more source objects.

4. The computer-readable medium of claim 2 , wherein retrieving the first one or more source objects is based on relationship information stored by the VCS, the relationship information indicating a relationship of one source object of the first one or more source objects to another source object of the first one or more source objects.

5. The computer-readable medium of claim 1 , wherein, of all source objects stored by the VCS, the first selectability of the undo element is to invoke a retrieval of only the first one or more source objects, wherein the first one or more source objects represent one or more changes to at least one metadata item of a set of metadata describing computer code to be compiled together, wherein the first one or more source objects are agnostic as to whether any change might have been made to another metadata item of the set of metadata.

6. The computer-readable medium of claim 1 , wherein the first one or more source objects comprise one or more of a text file, a XML-compatible file, a programming language file and an APEX code compatible file.

7. The computer-readable medium of claim 1 , wherein configuring the functionality includes discontinuing a selectability of the undo element to invoke a retrieval of one or more other source objects from the VCS.

8. A method comprising:

detecting, with at least one hardware processor, a performance of a first one or more metadata changes within a computing environment, wherein the performance results in a storage of a first one or more source objects to a version control system (VCS), wherein the source objects are stored in a format compatible with the VCS and are decompiled by converting metadata within the computing environment to the source objects and the decompiled source object indicates the change to the metadata;

based on the detecting, configuring, with the at least one hardware processor, a functionality of an undo element of a user interface, the functionality to perform one or more operations which undo the first one or more metadata changes, wherein configuring the functionality includes, with one or more hardware computing components coupled with at least one physical memory device, configuring a first selectability of the undo element to invoke a retrieval of the first one or more source objects from the VCS; and

deploying, with the at least one hardware processor, the first one or more source objects to an environment to restore metadata in the environment to a version prior to the previous change by at least compiling the first one or more source objects to metadata corresponding to the undo of the first one or more metadata changes.

9. The method of claim 8 , further comprising:

in response to a selection of the undo element, retrieving the first one or more source objects from the version control system;

performing a compilation based on the first one or more source objects retrieved from the version control system, the compilation to generate a first program; and

executing the program to undo the first one or more metadata changes.

10. The method of claim 9 , wherein the first one or more source objects represent one or more instructions to perform the first one or more metadata changes, wherein performing the compilation includes:

determining, based on the first one or more source objects, a second one or more source objects representing one or more instructions to undo the first one or more metadata changes; and

compiling the second one or more source objects.

11. The method of claim 9 , wherein the retrieving the first one or more source objects is based on relationship information stored by the VCS, the relationship information indicating a relationship of one source object of the first one or more source objects to another source object of the first one or more source objects.

12. The method of claim 8 , wherein, of all source objects stored by the VCS, the first selectability of the undo element is to invoke a retrieval of only the first one or more source objects, wherein the first one or more source objects represent one or more changes to at least one metadata item of a set of metadata describing computer code to be compiled together, wherein the first one or more source objects are agnostic as to whether any change might have been made to another metadata item of the set of metadata.

13. The method of claim 8 , wherein the first one or more source objects comprise one or more of a text file, a XML-compatible file, a programming language file and an APEX code compatible file.

14. The method of claim 8 , wherein configuring the functionality includes discontinuing a selectability of the undo element to invoke a retrieval of one or more other source objects from the VCS.

15. A system comprising:

a memory device;

one or more processors coupled with the memory device, the one or more processors configurable to:

detect a performance of a first one or more metadata changes within a computing environment, wherein the performance results in a storage of a first one or more source objects to a version control system (VCS), wherein the source objects are stored in a format compatible with the VCS and are decompiled by converting metadata within the computing environment to the source objects and the decompiled source object indicates the change to the metadata;

configure, based on the performance, a functionality of an undo element of a user interface, the functionality to perform one or more operations which undo the first one or more metadata changes, wherein configuring the functionality includes configuring a first selectability of the undo element to invoke a retrieval of the first one or more source objects from the VCS; and

deploy the first one or more source objects to an environment to restore metadata in the environment to a version prior to the previous change by at least compiling the first one or more source objects to metadata corresponding to the undo of the first one or more metadata changes.

16. The system of claim 15 , wherein the one or more processors are further configurable to:

retrieve, in response to a selection of the undo element, the first one or more source objects from the version control system;

perform a compilation based on the first one or more source objects retrieved from the version control system, the compilation to generate a first program; and

execute the program to undo the first one or more metadata changes.

17. The system of claim 16 , wherein the first one or more source objects represent one or more instructions to perform the first one or more metadata changes, wherein performing the compilation includes:

determining, based on the first one or more source objects, a second one or more source objects representing one or more instructions to undo the first one or more metadata changes; and

compiling the second one or more source objects.

18. The system of claim 16 , wherein retrieving the first one or more source objects is based on relationship information stored by the VCS, the relationship information indicating a relationship of one source object of the first one or more source objects to another source object of the first one or more source objects.

19. The system of claim 15 , wherein, of all source objects stored by the VCS, the first selectability of the undo element is to invoke a retrieval of only the first one or more source objects, wherein the first one or more source objects represent one or more changes to at least one metadata item of a set of metadata describing computer code to be compiled together, wherein the first one or more source objects are agnostic as to whether any change might have been made to another metadata item of the set of metadata.

20. The system of claim 15 , wherein the first one or more source objects comprise one or more of a text file, a XML-compatible file, a programming language file and an APEX code compatible file.

21. The system of claim 15 , wherein configuring the functionality includes discontinuing a selectability of the undo element to invoke a retrieval of one or more other source objects from the VCS.

Assignments (2)
CHANGE OF NAME Recorded Nov 21, 2024
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 069431/0179 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 24, 2017
From: WUNDERLICH, JAMES BOCK
To: SALESFORCE.COM, INC.
Reel/Frame 042125/0196 →
Continuity (1)
Related Publication 20180260462A1 · Sep 13, 2018