Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49520 - [fr] Corrections for : rsync.xml
Summary: [fr] Corrections for : rsync.xml
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Translated Documentation (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-30 10:05 UTC by Olivier Fisette (RETIRED)
Modified: 2004-05-01 00:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rsync.xml.patch (rsync.xml.patch,5.52 KB, patch)
2004-04-30 10:05 UTC, Olivier Fisette (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Fisette (RETIRED) gentoo-dev 2004-04-30 10:05:12 UTC
Minor corrections
Comment 1 Olivier Fisette (RETIRED) gentoo-dev 2004-04-30 10:05:42 UTC
Created attachment 30398 [details, diff]
rsync.xml.patch
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2004-04-30 15:44:06 UTC
$ patch <rsync.xml.patch
patching file rsync.xml
Hunk #3 FAILED at 81.
Hunk #4 FAILED at 106.
2 out of 12 hunks FAILED -- saving rejects to file rsync.xml.rej

I applied your patch and did those hunks manually, then made a patch against the original version and compared the two patches.
$ diff your_patch my_patch
27,28c32,33
< +        <li>Emplacement du serveur (ville et pays)</li>
< +        <li>Un nom de contact et une adresse courrier 
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2004-04-30 15:44:06 UTC
$ patch <rsync.xml.patch
patching file rsync.xml
Hunk #3 FAILED at 81.
Hunk #4 FAILED at 106.
2 out of 12 hunks FAILED -- saving rejects to file rsync.xml.rej

I applied your patch and did those hunks manually, then made a patch against the original version and compared the two patches.
$ diff your_patch my_patch
27,28c32,33
< +        <li>Emplacement du serveur (ville et pays)</li>
< +        <li>Un nom de contact et une adresse courrier électronique</li>
---
> +  <li>Emplacement du serveur (ville et pays)</li>
> +  <li>Un nom de contact et une adresse courrier électronique</li>

Just a hunch: left-over tabs converted to 8 spaces ?

No big deal anyway.
Patch committed.

Thanks.
Comment 4 Olivier Fisette (RETIRED) gentoo-dev 2004-04-30 18:02:14 UTC
Explanation for failed hunks :

I usually use diff -u for patches. However, I always use diff -Nut for patches  meant for you, since you asked for diff -Nut patches when we translated the handbook (http://bugs.gentoo.org/show_bug.cgi?id=36917). I did not bother to check the meaning of these options (shame on me), but simply assumed you would rather work with diff -Nut patches. I also blindly continued with diff -Nut once the handbook translation was finished (though you never requested so).

Coding style for Gentoo documentation forbids the use of tabs for indentation, but not all documents follow this guideline (rsync.xml does not). Using -t, in this case, was problematic (original and corrected documents had tabs, but these were expanded to spaces in the patch).

This accounts for failed hunks in rsync.xml. Failed hunks in openafs and nano-basics were due to different versions being compared.

Back to diff -u, it is...
Comment 5 Xavier Neys (RETIRED) gentoo-dev 2004-05-01 00:26:23 UTC
Shame on me as well. I did read the doc and failed to notice. I was being a parrot (not a Norwegian Blue) and repeated what I had been asked by the doc-team since day #1. Silly tabs, we'll eradicate them all, eventually.

Thanks for your explanation.