Git connector allows the downloading of source files and uploading of target files directly from/to the Git repository. Memsource clones the remote repository locally and uses git commands to communicate with the remote repo.
There are a number of use cases for the connector:
Project Managers can add files directly to projects from an online repository. View changes submitted since the last commit by clicking the show link in the middle of the screen.
Set up the Automation Widget allowing Submitters to add files to requests directly from the online repository. View changes submitted since the last commit by clicking the show link in the middle of the screen.
-
Use Automated Project Creation to have Memsource automatically create new projects when a new commit is detected in monitored files, folder, or an entire subdirectory.
Selected files are imported the very first time APC runs. No files are imported when a folder is monitored.
This connector supports absolute path setting. Target translation files can be stored in a different branch than the source files.
When Automated Project Creation is set to monitor subfolders, the target folder will have the same subfolder structure as the source folder.
Set up Continuous Jobs to have Memsource monitor selected files for changes.
The Connector API can be used to automate steps otherwise performed manually through the UI. Webhooks can be used to have Memsource notify 3rd party systems about certain events (for example, a job status change).
Git Settings
No changes are required.
From the Setup
page, scroll down to the section.
-
Click on Connectors.
The
page opens. -
Click New.
The
page opens. Provide a name for the connection and change the Type to Git .
-
Enter the repository address into the Repository URI field.
The repository address is the connection string used to clone the repository (e.g. git@gitlab.com:joe.doe/my-repo.git)
In order for Memsource Cloud to access the repository, it has to be reachable from the Internet.
-
For https access enter the Username and Password.
For SSH access load the SSH key and optionally enter the SSH passphrase.
If using SSH key, the git@.
starts withOnly legacy PEM private key format is supported when using the SSH key for authentication. Use the -m PEM option when generating the SSH key with ssh-keygen.
-
Click Test connection.
A checkmark will appear if the connection was successful. A red exclamation point will appear if it wasn't. Mouse over the icon to see additional details.
Contentstack workflows can be selected.
-
Click Save.
The connector is added to the list on the Connectors page.
If a default project, branch, and folder is required when connecting, open the connector configuration and click the Select Remote Folder button to set it.
Comments
Article is closed for comments.