[Jamwiki-devel] git migration
Brought to you by:
wrh2
From: Thomas K. <th...@ko...> - 2013-03-20 18:11:03
|
Hi, I ran an svn-git conversion yesterday and need your feedback for two decisions. First I've attached the authors file used to map svn ids to git names and emails. Please (Ryan) review this file and add or remove information as you like. Second: When trying to push the git repo to a server I killed the process somewhere at 30MB. That is too large. I've then filtered out the largest files in the history: git log --all --format=format:%T | xargs -n 1 -d "\\n" git ls-tree -r --long --full-name | cut -d " " -f4- | grep "^ *[[:digit:]]\{6,\}" | sort -u -n -r The .jar files alone make up more than 40MB. I propose to remove all .jar files from the history. I don't think that anybody plans to build the versions from the pre-maven era. It's nice and important to have the history of the java files from this time, but it's a burden to carry old .jar cruft around. Additionally I found more files that I propose to delete. They might not even be in the trunk branch: Size Path 6607408 jamwiki-crawler/tests/over5ktopics.txt 4805907 doc/categories.txt 2564118 jamwiki-crawler/tests/over10ktopics.txt 1219322 webtests/lib/webtest/resources/build/WebTestReport.reference.xml 656932 rainers/lib-src/acegi-security-1.0.3-src.zip 495194 doc/AllExtensions.pdf 403283 jamwiki-analyzer/test-content/Anarchism.orig.pdf 379304 jamwiki-mysql/logs/single-topic-parse.log 334704 webtests/results/002_SearchSomeJamwik/WebTestReport.xml 313772 jamwiki-analyzer/test-content/Anarchism.orig.html 309257 jamwiki-war/src/main/webapp/FCKeditor/_whatsnew_history.html 306051 webtests/results/005_SearchSomeJamwik/WebTestReport.xml 264148 jamwiki-war/src/main/webapp/FCKeditor/editor/js/fckeditorcode_ie.js 261229 jamwiki-war/src/main/webapp/FCKeditor/editor/js/fckeditorcode_gecko.js 161434 jamwiki-mysql/logs/single-topic-load.log 132893 doc/templates.txt 127503 work/org/apache/jsp/WEB_002dINF/jsp/recent_002dchanges_jsp.java 100665 ehcache/Ehcache - Web Caching_files/Main.js I've pushed a git clone with those files removed to: https://github.com/thkoch2001/jamwiki-wiki-conversion-wip The current tree has a size of 7.5 MB while the Git repo is 10 MB large. Having the whole history locally thus adds an overhead of 2.5 MB. I've lost the branches during the conversion. But I could do the conversion again with the branches, if you want. However the only not yet merged from the last year is "wrh2" with some cleanup commits. Is this branch still needed? Regards, Thomas Koch, http://www.koch.ro |