https://www.slicer.org/w/index.php?title=Documentation/Nightly/Developers/Build_system/Sliceri18nBot&feed=atom&action=historyDocumentation/Nightly/Developers/Build system/Sliceri18nBot - Revision history2024-03-29T12:12:48ZRevision history for this page on the wikiMediaWiki 1.33.0https://www.slicer.org/w/index.php?title=Documentation/Nightly/Developers/Build_system/Sliceri18nBot&diff=63940&oldid=prevJChris.FillionR: Created page with "= Overview = Each time a task associated to the Slicer internationalization is automated by the execution of a script on a machine, the ''machine user'' running such script..."2022-01-25T18:31:06Z<p>Created page with "= Overview = Each time a task associated to the Slicer internationalization is automated by the execution of a script on a machine, the ''machine user'' running such script..."</p>
<p><b>New page</b></p><div>= Overview =<br />
<br />
Each time a task associated to the Slicer internationalization is automated by the execution of a script on a machine, the ''machine user'' running such script will be identified as <code>Sliceri18nBot</code>.<br />
<br />
= Type of Sliceri18nBot =<br />
<br />
== Git ==<br />
<br />
This Sliceri18nBot user can commit changes to a defined subset of Slicer repositories. The associated GitHub account is [https://github.com/sliceri18nbot sliceri18nbot] and it can commit changes to [https://github.com/orgs/Slicer/teams/sliceri18nbot/repositories all repositories associated] with the <code>sliceri18nbot</code> team in the [https://github.com/Slicer Slicer] GitHub organization.<br />
<br />
As documented on [https://docs.github.com/en/developers/overview/managing-deploy-keys#machine-users managing deploy keys] Github guide, there are multiple approaches to grant a machine ''access'' to a repository. We chose the ''machine user'' one.<br />
<br />
In a nutshell, the steps to configure a ''git machine user'' are:<br />
<br />
* Generate SSK keys without pass-phrase:<br />
<br />
ssh-keygen -t rsa -C "sliceri18nbot@slicer.org"<br />
<br />
* Add the generated <code>id_rsa.pub</code> key to the list of SSH keys associated with [https://github.com/sliceri18nbot sliceri18nbot] user. Each key '''*SHOULD*''' be named <code>sliceri18nbot-&lt;hostname&gt;</code>. For example <code>sliceri18nbot-metroplex</code><br />
<br />
* Setup git username and email:<br />
<br />
git config --global user.name "Slicer i18n Bot"<br />
git config --global user.email "sliceri18nbot@slicer.org"<br />
<br />
== crowdin.com ==<br />
<br />
This Sliceri18nBot user publishes update in a branch associated with https://github.com/Slicer/SlicerLanguagePacks<br />
<br />
<br />
= Sliceri18nBots =<br />
<br />
As of 2022-01-25, the machines with Sliceri18nBot accounts are:<br />
* None</div>JChris.FillionR