[Kde-games-devel] git
Wolfgang Rohdewald
wolfgang at rohdewald.de
Wed Aug 1 10:58:36 UTC 2012
I resumed working on the migration to git.
First, I want to reduce duplicate code. So I defined common-rule files for kdegames
which now let me reduce to e.g. kdiamond-rules to just
# first revision 772506
declare REPO=kdiamond
include common-kdegames-init-rules
match /branches/work/kdiamond-4.2/
repository kdiamond
branch refs/workbranch/kdiamond-4.2
end match
include common-kdegames-end-rules
where the first revision is used by a script for the optimal call of
svn2git
This should be doable for all games. The longest file now is palapeli-rules
with 35 lines including 10 lines of comment
I want to do a bit more testing before I start committing those changes.
Frederik added renaming the module into the rules file,
e.g. kbattleship becomes knavalbattle, ktron becomes ksnakeduel
I want to separate that - make the git repo name always equivalent
to current svn directory name. I prefer simpler rules, and it is just
too easy to do
mv ktron ksnakeduel
after conversion and before uploading to git server.
Any comments?
--
Wolfgang
More information about the kde-games-devel
mailing list