Table of contents

 




i
This is not the latest version of this document; to access the latest version, click here.
Unofficial Content

The Commit to Server operation is executed to update a Knowledge base hosted in a GeneXus Server instance.

Once a set of changes is completed, a developer must publish them. Publishing changes is called "Commit" and requires the GeneXus Server to be active and accesible to the developer.

To commit, follow the steps below:

             XEv3CommitDialog

  • Go to the Commit tab.
     
  • Press the Refresh button to load the set of objects that have been changed locally since the last commit operation.
     
  • You can select / deselect the objects to commit.
     
  • You must type a Comment detailing what these changes mean. Spend a minute or two with each commit you make, and summarize the changes as you would if you were explaining them to another developer sitting next to you. As a rule of thumb write a simple, one-line sentence that briefly explains the commit and then write a few more sentences providing greater detail. The message should contain all the metadata explaining the "why" of the commit.
     
  • Click the Commit button to finish. All the changes will be packaged and sent to the GeneXus Server and the Knowledge base will be updated.
     
  • Use the Team Development output section (Output window) to verify that the commit operation was successful.
     
  • You can include KB, Environment and Version properties (but only those that have changed since the last Commit/Update). Use the Add Knowledge Base/Version/Environment properties to list checkbox to indicate this. Each of these three groups of properties are included in the list of objects (Pending Commits tab), so you can deselect the ones that you do not want to send.

Add to ignored objects option

Using the Add to ignored objects option from the contextual menu you can ignore objects so that they are not sent. These will be included in the list in the Ignored Objects tab and left there until they are (explicitly) recovered in a future Commit operation.

XEv3AddToIgnoredObjects

Using the Pattern cell, you can filter the objects to be sent by name.

You can filter objects by category through the Category combo box as well as through the Folder combo box. This allows you, for example, to do a commit only for those objects that belong to the "Test" category or the "Security" folder.

Pending Commits and Ignored Objects columns

Column Description
Selection Checkbox Used to select whether the object is included in the Commit operation.
Action Icon Diplays an icon showing the action performed to the object.
Object Icon Displays the icon of the object.
Name Displays the Name property of the object.
Type Displays the Type property of the object.
Description displays the Description property of the object.
Modified On Last date when the object was modified—causing to be included in the pending commit list. This property column does not behave as the "Modified On" of the History dialog.
Module Module to which the object belongs to.
Action the action performed to the object, the possible values are: Inserted, Modified or Deleted.
Last Synchronized Displays the date of the last synchronization, in other words, the date where the object was Updated or created by the Create Knowledge Base from GeneXus Server operation.
User User who performed the last modification.a

Remind me to move changes to...

Please see Bring Changes Reminder to understand fully how to use this feature.

GeneXus Xev2 Specific

Commit Number

When a commit operation is successful,  a commit number is detailed in the Team Development output section. 

========== Commit started ==========
Contacting GeneXus Server at 'http://localhost/gxserver/'...  
done!  
Exporting Procedure 'myProcedureSample'...  
GeneXus Server: Commit to version Sandbox of KB 'Sandbox' sent by DOMAIN\user  
GeneXus Server: Comments:myProcedure was fixed
GeneXus Server: Processing file...  
GeneXus Server: Checking Import References...  
GeneXus Server: Finished  
GeneXus Server: Reading import file objects...... Finished  
GeneXus Server: Commit Procedure 'myProcedureSample'...  
GeneXus Server: Successful  
GeneXus Server: Commit number: 198  
GeneXus Server: Commit Succeeded  
Updating objects version...  
done!  
Commit Success

The Commit Number can be used to Bring Changes/Bring All Changes from another Development Version

See also

Update From GeneXus Server
Revert Object Operation
Warn When Adding Or Removing Objects From Selection Property





Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant