mirror of
https://github.com/Icinga/L10n.git
synced 2025-07-30 09:14:14 +02:00
CONTRIBUTING.md: Update bot instructions and mention /resolve
This commit is contained in:
parent
f135d8de19
commit
0034aea3db
@ -54,29 +54,20 @@ Our source catalogs however are huge. A few conflicts may be fixable by hand, bu
|
|||||||
them can be a pain. We don't recommend fixing conflicts by hand, but provide a bot which
|
them can be a pain. We don't recommend fixing conflicts by hand, but provide a bot which
|
||||||
will take care of them automatically.
|
will take care of them automatically.
|
||||||
|
|
||||||
|
> **Note:**
|
||||||
|
>
|
||||||
|
> To utilize the bot, it is required to enable maintainer edits.
|
||||||
|
|
||||||
If you want the bot to resolve source catalog conflicts and update your pull request,
|
If you want the bot to resolve source catalog conflicts and update your pull request,
|
||||||
just add a label of the following to it:
|
add a comment with `/resolve` in the first line.
|
||||||
|
|
||||||
* -1808a8)
|

|
||||||
* -1808a8)
|
|
||||||
* -1808a8)
|
|
||||||
* -1808a8)
|
|
||||||
* -1808a8)
|
|
||||||
|
|
||||||
Each label has a timezone designation which defines when the bot will be active on your
|
The bot will then immediately attempt to fix your source catalog conflicts. Once the bot
|
||||||
pull request. Choose the label which fits your own timezone best, and the bot will then
|
finished its work, it will leave a comment. Pull its changes then and continue with the
|
||||||
update your pull request at/around midnight.
|
translation.
|
||||||
|
|
||||||
Choosing a proper label is important. Once you enable the bot, it's not only you anymore
|
Pulling the bot's changes is important. Once you trigger the bot, it's not only you
|
||||||
who's working on the pull request. It's then also the bot which is adding commits. To
|
anymore who's working on the pull request. It's then also the bot which is adding
|
||||||
avoid conflicts in your working tree, it is recommended to pull the remote branch first
|
commits. To avoid conflicts in your working tree, it is recommended to pull the remote
|
||||||
before continuing with the translation. The labels let you control when the bot will add
|
branch first before continuing with the translation.
|
||||||
commits, which should be a time when *you* won't add commits. (That's why the bot runs
|
|
||||||
at/around midnight)
|
|
||||||
|
|
||||||
If the bot is active, your general workflow should be the following:
|
|
||||||
|
|
||||||
* Pull your own fork/branch
|
|
||||||
* Do some translations
|
|
||||||
* Commit **and push** your changes
|
|
||||||
* Repeat above on the next day
|
|
||||||
|
BIN
doc/screenshot/resolve-command.png
Normal file
BIN
doc/screenshot/resolve-command.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
x
Reference in New Issue
Block a user