Skip to content

Commit ccf7631

Browse files
Merge pull request #33 from r-devel/rerun-fetch
Spell out the steps for a re-run too
2 parents 346b7f2 + 5341c43 commit ccf7631

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

web/Weblate-server.qmd

+9-1
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,22 @@ _NB: Weblate links below assume you're logged in there, otherwise you'll be redi
142142
The basic idea is to compare the Weblate repo (which copies the R subversion repo, but also adds translations provided _via_ Weblate) to the "official" R sources; any difference in .po files should be submitted as a patch.
143143

144144
1. Make sure the Weblate repo is fully up-to-date. Check status at https://translate.rx.studio/projects/r-project/#repository -- be sure there are no `Update` or `Commit` actions needed.
145-
1. Get the two repos cloned on any machine:
145+
1. Get the two repos cloned on any machine. If this is your first time generating a patch on this machine:
146146

147147
```sh
148148
git clone -o weblate https://translate.rx.studio/git/r-project/base-r-gui/ # remote #1: Weblate source
149149
git remote add svn git remote add svn [email protected]:r-devel/r-svn.git # remote #2: SVN source
150150
git fetch svn master # retrieve the latest from SVN
151151
```
152152

153+
If you've got the repo set up locally already, update:
154+
155+
```sh
156+
git fetch svn master
157+
git fetch weblate master
158+
git reset --hard weblate/master # force-reset to match state on Weblate (usual caution with --hard applies)
159+
```
160+
153161
1. Revert unwanted changes to reduce noise, e.g. something like:
154162

155163
```r

0 commit comments

Comments
 (0)