son of DocHowto
to avoid garbage now I only commit ''pages/'' to github
pet@girl:~/moin-1.8.5/wiki/data$ ls -l pages lrwxrwxrwx 1 pet pet 16 2009-10-28 15:12 pages -> /home/pet/pages/ pet@girl:~/moin-1.8.5/wiki/data$
and I have such script in ''pages/''
rm -rf -/cache rm -/edit-lock git add . git commit -a -m "default commit message" git push
of course I am expecting to lose some tmp data currently the only problem I find it '''RecentChanges''' info is lost if you
rm -rf moin-1.8.5/and use a fresh one form web
REASON: we lost this file
pet@girl:~/moin-1.8.5/wiki/data$ edit-log
I modified pages/ at home, and when I am in office, I do a git push and updates some wiki pages, but in brower, I still have only the old pages, even I clicked the refresh button
'' action->delete cache '' is required actually FrontPage
Now the problem is when I run ''git add .'' and ''git commit'', lots of run-time tmp files is added ,such as
cache/ xxx.pyc edit-lockSo below I did a test to see what is the part I really need to backup
pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ ls BadContent pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ cp -rf /home/pet/github/moin-1.8.5/wiki/data/pages/- . pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ ls AddAuth AxtuWeb DocHowto GetMethod HwaniiPpt MoinTips OnYum PowerfulTemplete WhatIsGood AuthMysql BadContent DownLoad HaniiPpt KernelRelatedIssue MoniPrombles OpenAuthMysqlArea SuccessLog WorkNotes AxtuDebug BlackList EnglishStudy HowAxtuUseAktk MakeInstall NoteTip PackageKit UbuntuJoke WtecImplementation AxtuSteps CreatRepo FrontPage HwaniiAuth MoinHacking ObsoleteTag PlugIn UnclassifiedTips YumHacking pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ ls HwaniiPpt/ cache current edit-lock edit-log revisions pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ rm -rf -/cache pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ rm -rf -/edit-lock pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ ls HwaniiPpt/ current edit-log revisions pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$what I have done above is actually trying to use what is really necessary
pet@pet-desktop:~/Desktop/moin-1.8.5/wiki/data/pages$ ls HwaniiPpt/ current edit-log revisionsin a new moni-tree, to see if all my pages still works or not. The answer is yes, which means I only need to back up the '''necessary''' part.
so I can
when you click ''action->delete this page'', what is done is actually