2008-12-24T00:02:46  <dreimark> merry christmas
2008-12-24T00:02:51  <dreimark> and good night
2008-12-24T11:10:54  <ThomasWaldmann> moin
2008-12-24T11:20:16  <ThomasWaldmann> dreimark: that patch won't work for all cases
2008-12-24T11:21:38  <ThomasWaldmann> so why don't you simply do print "Note: please make sure your wiki is not running when using this"?
2008-12-24T11:41:36  <dreimark> moin
2008-12-24T11:41:47  <dreimark> ThomasWaldmann: for which case does it not work?
2008-12-24T11:44:30  <ThomasWaldmann> https? non-std port? outside url not reachable / not working from server, urllib failing somehow although the wiki runs?
2008-12-24T11:45:08  <dreimark> one has to enter the right wiki-url it is not our fault if he didn't
2008-12-24T11:45:39  <ThomasWaldmann> that can happen with the right url
2008-12-24T11:46:48  <ThomasWaldmann> (and it is also not our fault if someone does not stop the wiki manually, if we document that this is necessary for cache clean, btw)
2008-12-24T11:46:50  <dreimark> haven't had that problem yet
2008-12-24T11:47:17  <ThomasWaldmann> that doesn't mean it does not exist
2008-12-24T11:47:46  <dreimark> noone has reported it on the wiki yet
2008-12-24T11:48:07  * ThomasWaldmann is talking about your brand new patch
2008-12-24T11:48:22  * dreimark too
2008-12-24T11:49:04  <ThomasWaldmann> so what does it prove if noone reported a problem for a 2h old patch?
2008-12-24T11:49:06  <dreimark> I m reffering to your case
2008-12-24T11:50:13  <dreimark> how can it happen with the right url?
2008-12-24T11:51:32  <ThomasWaldmann> it can simply go wrong if the wiki is not reachable on that url from the server
2008-12-24T11:51:40  <dreimark> I do agree that we have to tell stop the wiki before doing this and that
2008-12-24T11:51:54  <dreimark> but I also want to have a hint in the mig tool
2008-12-24T11:52:15  <ThomasWaldmann> also, does urllib do https?
2008-12-24T11:54:31  <ThomasWaldmann> in general I don't like some foobar code for cases that can be just documented / solved with a print
2008-12-24T11:54:52  <dreimark> it does
2008-12-24T11:56:18  <dreimark> I don't like to answer always the same questions on #moin because one was not able to stop the wiki he likes to migrate or clean
2008-12-24T11:56:28  <ThomasWaldmann> for example, if you run a wiki on some "outside" ip of your internet connection,
2008-12-24T11:56:47  <ThomasWaldmann> it is sometimes not possible to reach THAT url from your intranet
2008-12-24T11:57:04  <ThomasWaldmann> so your urllib call will fail although the wiki is running
2008-12-24T11:57:43  <dreimark> is that example compatible to migrate on a box without internet?
2008-12-24T11:57:58  <ThomasWaldmann> ?
2008-12-24T11:58:00  <dreimark> my code is based on to migrate if the site can't be reached
2008-12-24T11:58:52  <dreimark> so if urllib files site is None it migrates
2008-12-24T11:59:23  <ThomasWaldmann> the problem is that the urllib call can't prove it is not running
2008-12-24T12:00:02  <dreimark> hmm, if it is running  on a differnt system than the one where one did the migration it does not matter
2008-12-24T12:00:21  <dreimark> then he will hopefully replace the whole data dir
2008-12-24T12:01:29  <ThomasWaldmann> yeah, if something runs on a different system, that code would show even worse behaviour
2008-12-24T12:04:06  <ThomasWaldmann> the only sane way to do that is to have a lock in the filesystem
2008-12-24T12:05:00  <ThomasWaldmann> but even that doesn't help against in-memory stuff
2008-12-24T12:14:48  <dreimark> ok
2008-12-24T15:13:24  * ThomasWaldmann prepares 1.8.1
2008-12-24T16:43:29  <ThomasWaldmann> if someone has time to do a quick test on the 1.8.1 release archive: at the usual url
2008-12-24T17:12:12  <CIA-38> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4221:4d90376119ee 1.8/wiki/underlay.tar: updated underlay
2008-12-24T17:12:14  <CIA-38> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4222:79bc5d904946 1.8/docs/CHANGES: updated CHANGES
2008-12-24T17:12:16  <CIA-38> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4223:b420bba28d62 1.8/docs/ (INSTALL.html UPDATE.html): make install-docs interwiki
2008-12-24T17:12:16  <CIA-38> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4224:fad2936d33a7 1.8/ (12 files in 9 dirs): added dummy mig script for 1.8.1, bumped version number
2008-12-24T17:12:17  <CIA-38> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4225:eda228a638cf 1.8/.hgtags: tagged release 1.8.1

MoinMoin: MoinMoinChat/Logs/moin-dev/2008-12-24 (last edited 2008-12-23 23:15:02 by IrcLogImporter)