If you use a GIT repository for your installation, you can have the composer.lock automatically committed when the update is successful.

An individual SSH key is generated for each installation and must be set up on GitHub or GitLab at the repository as a «Deploy key». Not to be confused with the SSH key on the profile!

GitHub

In our example, we use a GIT repository at GitHub.

To do this, open the function "Connect to GIT repository" in the "Updates" tab and copy the SSH public key.

Switch to GitHub and open the corresponding repository. Then click on "Settings > Deploy keys > Add deploy key". Now add a title and paste the SSH public key from the clipboard. Then select "Allow write access" and click "Add key".

Change to your GIT repository and make sure that there is at least one composer.lock file in the desired branch.

Enter the repository URL in Set up GIT connection, call up your repository and click on Code > Local and copy the URL and the branch name.

You have successfully set up the GIT connection when the GIT icon is displayed in green.

As soon as you execute the next update, a commit is now automatically written to the repository by trakked.

GitLab

We use an existing GIT repository at GitLab.com for this purpose in our example.

Open the desired installation in trakked and click the icon "Connect to GIT repository" in the "Updates" tab and copy the SSH public key to the clipboard.

Switch to GitLab and open your repository. In the navigation, select the "Deploy keys" section under "Settings > Repository". First, enter a title. Now paste the copied SSH public key from the clipboard into the empty text field "Key". Then select "Grant write permissions to this key" and click "Add key".

Go to your GIT repository and make sure there is at least one composer.lock file in the desired branch.

Now you need the repository URL. To do this, click on "Clone" in the repository and copy the URL from the "Clone with SSH" field. You should also remember the branch, in our example it is "main".

Now switch back to trakked and add the appropriate repository URL and GIT branch and click "Connect"

You have successfully set up the GIT connection when the GIT icon is displayed in green.

As soon as you execute the next update, a commit is now automatically written to the repository by trakked.

Disconnect

With another click on the green Git icon and the button "Disconnect", you can remove the connection again.

Video

As soon as you click, data is downloaded from YouTube and thus your IP address is submitted to their servers. For more information on data protection regarding our newsletter, please visit our privacy policy.