Re: import you mother f*!*er

Zachery Hostens
Mon, 15 Aug 2005 23:52:49 -0000

you drop in .9 and and extract your most recent backup, then you fix
the problem in a development environment before f***ing up something
in production.... again!  :)

rule 1: stop putting spaces in file names, this is just wrong on so many levels.

rule 2: production is not a testing environment, stop treating it like one.

rule 3: if you were in a serious hurry a mailing list is the last
place id be looking for a "quick response".

as for your ''migration'' i dont know exactly what your moving
from .9
to whatever.  and id never expect some script you got from god knows
where to rename files for no reason what so ever.


On 8/15/05, John Evans <john-M6MfiH3Ctdn10XsdtD+oqA@public.gmane.org>
wrote:
> OK so its simple. I had a couple of .9x installations, I am moving
> them to the latest stable version and so I follow some tweaks and
> guides here and there and enable file uploads and so crate and empty
> web, go to the new_web/import page, select a zip exported by the same
> instiki version, hit import and wait. Then I get the file import
> success or whatever and now look at the ''all pages''  and
low and
> behold lots of orphaned pages. and lots of missing pages.
>
> The reason? any page with a space for example
>
> I am a page
>
> becomes on export
>
> I+am+a+page.textile
>
> which when reimported becomes
>
> I%26am%26a%26page
>
> which is wrong, oh so so so wrong. So my exports are useless, I cant
> g back to .9 easily because of upgrading rby and a bunch of other stuff.
>
> WHY WHY WHY WHY, I really need a fix now I have hundreds of pages
> which I need to get back online and looking over the code (I am more
> a php guy) I get the jist of whats going on but I dont see a way to
> fix it easily. Anyone who can just give me a quick fix, even if its
> change this line to this I will be eternally grateful....
>
> perhaps a simple url decode of the filename would do?
>
> (now using latest stable trunk version, latest ruby)
>
> john
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Zachery Hostens <zacheryph-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>