Hi List, ...how do I install a Zope patch under Windows. I'm concerned about wearing Google out, although to be honest my patience will be exhausted first... TIA! -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 “The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.” Philip K. Dick
From: "Philip Kilner" <phil@xfr.co.uk>
...how do I install a Zope patch under Windows.
That depends on what's being patched. Most are only patching python code, and then you install it jsut like you do on Unix. The patch in question should tell you how.
Hi Lennart, Lennart Regebro wrote:
...how do I install a Zope patch under Windows.
That depends on what's being patched. Most are only patching python code, and then you install it jsut like you do on Unix. The patch in question should tell you how.
There are no instructions with the patch. I've googled extensively to find instructions for other patches, and keep finding a form of words along the lines of "under linux, use the standard OS patch utility, under Windows you'll have to find an equivalent". Since I'm not so sure there really /is/ an equivalent, I'm stuck for now... -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 “The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.” Philip K. Dick
From: "Philip Kilner" <phil@xfr.co.uk>
There are no instructions with the patch.
Well, though cookies. What patch is it?
I've googled extensively to find instructions for other patches, and keep finding a form of words along the lines of "under linux, use the standard OS patch utility, under Windows you'll have to find an equivalent".
Since I'm not so sure there really /is/ an equivalent, I'm stuck for now...
The patch utility is for diff files. This is quite unusual in the Zope world.
There are no instructions with the patch.
I've googled extensively to find instructions for other patches, and keep finding a form of words along the lines of "under linux, use the standard OS patch utility, under Windows you'll have to find an equivalent".
Since I'm not so sure there really /is/ an equivalent, I'm stuck for now...
I am not sure if there is an equivalent either. Isn't this "patch" file just a text difference file? -- with some effort you could probably apply it by hand with a text editor. Or have some friendly Unix system owner send you the already patched file.
Install Cygwin, and you should get the patch utility.
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Brian Sullivan Sent: Monday, January 26, 2004 3:05 PM To: zope@zope.org Subject: RE: [Zope] Patching under windows...
There are no instructions with the patch.
I've googled extensively to find instructions for other patches, and keep finding a form of words along the lines of "under linux, use the standard OS patch utility, under Windows you'll have to find an equivalent".
Since I'm not so sure there really /is/ an equivalent, I'm stuck for now...
I am not sure if there is an equivalent either.
Isn't this "patch" file just a text difference file? -- with some effort you could probably apply it by hand with a text editor.
Or have some friendly Unix system owner send you the already patched file.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Philip Kilner wrote:
Hi Lennart,
Lennart Regebro wrote:
...how do I install a Zope patch under Windows.
That depends on what's being patched. Most are only patching python code, and then you install it jsut like you do on Unix. The patch in question should tell you how.
There are no instructions with the patch.
I've googled extensively to find instructions for other patches, and keep finding a form of words along the lines of "under linux, use the standard OS patch utility, under Windows you'll have to find an equivalent".
Since I'm not so sure there really /is/ an equivalent, I'm stuck for now...
Possibly not a native one, but I would guess that if you install Cygwin and the GNU utils it'll come with 'patch'. And isn't there some sort of GNU tools package for Windows? I may be just hallucinating on that one. If it's not a very big patch, you can always do it by hand: the diff format is readable once you figure it out. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
On Monday 26 January 2004 17:30, Philip Kilner wrote:
Hi Lennart,
Lennart Regebro wrote:
...how do I install a Zope patch under Windows.
That depends on what's being patched. Most are only patching python code, and then you install it jsut like you do on Unix. The patch in question should tell you how.
There are no instructions with the patch.
I've googled extensively to find instructions for other patches, and keep finding a form of words along the lines of "under linux, use the standard OS patch utility, under Windows you'll have to find an equivalent".
Since I'm not so sure there really /is/ an equivalent, I'm stuck for now...
http://www.cygwin.com/ -- Toby Dickenson
...how do I install a Zope patch under Windows.
I'm concerned about wearing Google out, although to be honest my patience will be exhausted first...
What "patch" are you installing? Generally I am guessing you would have to have console access ( as you would in any other O/S) either physically or virtually.
Hi Brian, Brian Sullivan wrote:
What "patch" are you installing?
It's Dieter's ZTUtils/make_query patch.
Generally I am guessing you would have to have console access ( as you would in any other O/S) either physically or virtually.
Got the console access - just need to figure out what to type at it... ;-) -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 “The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.” Philip K. Dick
From: "Philip Kilner" <phil@xfr.co.uk>
It's Dieter's ZTUtils/make_query patch.
Dieter will probably pop up and answer this, then. :-) A common way for Zope patches is to install then as Zope products in the Products directory. That assumes they come as a tgz that expands to a directory.
Hi Lennart, Lennart Regebro wrote:
Dieter will probably pop up and answer this, then. :-)
He'll tell me to Google again - my ears are burning already! ;-) (Seriously, I've googled myself silly over this one...)
A common way for Zope patches is to install then as Zope products in the Products directory. That assumes they come as a tgz that expands to a directory.
Not a product - has a "bin" extension, but contains the code to be patched and identifiers. Looks like something that would work automatically if I had a suitable patch utility... -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 “The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.” Philip K. Dick
Philip Kilner wrote at 2004-1-26 16:41 +0000:
...how do I install a Zope patch under Windows.
You use the "patch" utility. It is part of "cygwin" but a post reported that it is available as stand alone programm, too. Google for "patch Windows". -- Dieter
Hi Dieter, Dieter Maurer wrote:
...how do I install a Zope patch under Windows.
You use the "patch" utility.
It is part of "cygwin" but a post reported that it is available as stand alone programm, too. Google for "patch Windows".
;-) Actually, googling for that brought up an unimaginable amount of junk - mostly to do with Windows Update. However, "patch windows gnu tool" was most helpful - ta! It looks like the stuff I need is at: - http://unxutils.sourceforge.net/ (Now I know that I'm looking for a Windows cut of a standard Un*x tool, I feel as though I know how to fumble my way around - at the outset this was not clear to me!) -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 “The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.” Philip K. Dick
Dieter Maurer wrote:
Philip Kilner wrote at 2004-1-26 16:41 +0000:
...how do I install a Zope patch under Windows.
You use the "patch" utility.
It is part of "cygwin" but a post reported that it is available as stand alone programm, too. Google for "patch Windows".
If you google for "diff patch win32" you may find some non-cygwin equivalenbts too ;-) cheers, Chris
participants (8)
-
Brian Sullivan -
Chris Withers -
Dieter Maurer -
J. Cameron Cooper -
Lennart Regebro -
Mauricio Souza Lima -
Philip Kilner -
Toby Dickenson