Profiles Tutorials - Additional Concepts

Additional concepts related to Profiles.

Best schema version (tags)

It is recommended to use git-tags instead of the latest commit on main branch of your library projects. For example,{{best_schema_version}}. The selection of compatible git tags is done by PB, that is it will figure out the best compatible version for the lib package.

A sample project file:

  - name: shopify_features
      rsCartUpdate: inputs/rsCartUpdate
      rsIdentifies: inputs/rsIdentifies

Using this will make Profiles use the best compatible version of the library project in case of any schema updates.

You don’t have to replace the placeholder {{best_schema_version}}. For instance, if has a tag for schema_44, then will be automatically used. In any case, if you replace the placeholder with actual tag name, the project will work without any issues.

Using private Git repos via CLI

To use private Git repos using CLI, follow these steps:

  1. Generate the SSH Key. To do so, refer this page.
  2. Associate the SSH Key to your Git Project. Check the section on Profile Builder CLI
  3. Add private keys as credentials, in the siteconfig.yaml file:
  - reporegex: git@<provider-host>:<org-name>/*
    key: |
    -----END OPENSSH PRIVATE KEY-----    

Questions? Contact us by email or on Slack