Skip to content

Repositories

infinit Support edited this page Feb 23, 2024 · 3 revisions

With repositories, you can connect to any source code repository that uses git, like GitHub, BitBucket, GitLab, etc.

To get started, simply point the remote path to the desired repository. From there, you can perform various Git operations such as clone, checkout, push pull, merge, and more within the application interface.

Repository settings

Committing through the application interface integrates your commits and feature branches with the change, allowing you to move them up the environment chain with ease. Meanwhile, the git workflows are automatically managed by the application in the background.

Repository Source settings

infinit supports three source code formats: Metadata, Source, and Extended Source. The Metadata format refers to the traditional metadata source format, which can be challenging to manage due to the size of source files. The Source format refers to the Salesforce DX Source Format and infinit Extended Source format is an extension of the Salesforce DX Source Format, with additional breakdowns for complex types such as RecordTypes, Profiles, and PermissionSets. This format is designed to make it easier to manage source code and make changes at every stage of the development process.

It's crucial to keep in mind that for both the Source format and Extended Source format, the 'sfdx-project.json' file must be present at the root of the source folder. Both formats adhere to the Salesforce DX Project Configuration guidelines, as described in the Salesforce DX Project Configuration documentation.

The 'packageDirectories' section of the 'sfdx-project.json' feeds into the Package Directory options when performing the commit and promote.

It is recommended to switch to the Extended Source format in infinit, as the Metadata and Source format can be unwieldy due to large file sizes. Additionally, if you work on a team with other developers who update the same metadata, you may have to deal with merging multiple updates to a single file, which can be time-consuming and prone to errors.

To assist with the transition between the Metadata and Extended Source formats, infinit offers a source converter utility.

Source converter