https://bugzilla.wikimedia.org/show_bug.cgi?id=17724
Summary: add patch instructions to a comment at the top of each
patch file
Product: MediaWiki
Version: 1.14.0
Platform: All
URL: http://lists.wikimedia.org/pipermail/wikitech-l/2009-
February/041731.html
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Installation
AssignedTo: [email protected]
ReportedBy: [email protected]
>> How does one apply mediawiki-1.14.0.patch.gz and
>> mediawiki-i18n-1.14.0.patch.gz to mediawiki-1.14.0rc1 to produce
>> mediawiki-1.14.0?
>>
>> # ls mediawiki-1.14.0rc1
>> # zcat mediawiki-1.14.0.patch.gz | patch
>> can't find file to patch at input line 4
>> Perhaps you should have used the -p or --strip option?
RK> I think you have to use -p1 here.
Doesn't work.
Without proper instructions commented into the tops of mediawiki patch
files, they are next to worthless.
The instructions should say
# 1) cd to the directory where you have the directory tree to be
# patched, and put the patch files there.
# 2) ls should now show you
# $ ls -dl mediawiki-*
# -rw-r--r-- 1 fuz fuz 5310 2009-02-26 07:10 mediawiki-1.14.0.patch.gz
# drwxr-xr-x 15 fuz fuz 2048 2009-02-26 20:22 mediawiki-1.14.0rc1
# -rw-r--r-- 1 fuz fuz 1952692 2009-02-26 07:10 mediawiki-i18n-1.14.0.patch.gz
# 3) proceed with the patching as follows
# $ zcat mediawiki-1.14.0.patch.gz | patch -......
# $ zcat mediawiki-i18n-1.14.0 | patch -......
# 4) ls should now show
# $ ls -dl mediawiki-*
# ....
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l