[Ktechlab-devel] Initial import to KDE Git looks good to me; please review

Zoltan Padrah zoltan.padrah at gmail.com
Mon Oct 10 15:20:54 UTC 2016


I've just found a typo on the fix-up script, so I will force-push the
KDE branches, probably tomorrow.
See the expression "s/transistors.lib/transitors_lib.txt/g" in the
script. An 's' is missing and because of the renamed file, the file is
not found and the install fails.



2016-10-10 15:31 GMT+03:00 Zoltan Padrah <zoltan.padrah at gmail.com>:
>  Hi,
>
> please have a look at the imported KTechLab source code on the KDE
> infrastructure. The web-based repository browser is here:
>
> https://quickgit.kde.org/?p=scratch%2Fpadrah%2Fktechlab.git
>
> The git URLs for the repository are the following:
>
>  git://anongit.kde.org/scratch/padrah/ktechlab (fetch)
>  git at git.kde.org:scratch/padrah/ktechlab (push)
>
> Some branches should be actually tags (ktechlab-*, v-*), but it was
> easier for me to have them as branches. Adding tags should be trivial.
>
> For the reference, I'm pasting below the script I've used for
> fixing-up the repository.
>
>
> Have fun,
>
>  Zoltan
>
>
> -----8<----
> #!/bin/sh
>
> set -e
> set -x
>
> ( cd ktechlab
>
> git filter-branch -f \
> --env-filter '
>
> n=$GIT_AUTHOR_NAME
> m=$GIT_AUTHOR_EMAIL
>
> case ${GIT_AUTHOR_NAME} in
>   "AlonzoTG") n="Alan Grimes" ; m="AlonzoTG at users.sf.net" ;;
>   "jason_lucas") n="Jason Lucas" ; m="jason_lucas at users.sf.net" ;;
>   "jb-good") n="Julian Bäume" ; m="julian at svg4all.de" ;;
>   "johnyb") n="Julian Bäume" ; m="julian at svg4all.de" ;;
>   "Julian Baeume") n="Julian Bäume" ; m="julian at svg4all.de" ;;
>   "zoltan_padrah") n="Zoltan Padrah" ; m="zoltan_padrah at users.sf.net" ;;
>   "Zoltan Padrah") n="Zoltan Padrah" ; m="zoltan_padrah at users.sf.net" ;;
>   "Zoltan P") n="Zoltan Padrah" ; m="zoltan_padrah at users.sf.net" ;;
>   "zoltanp") n="Zoltan Padrah" ; m="zoltan_padrah at users.sf.net" ;;
>
> esac
>
> export GIT_AUTHOR_NAME="$n"
> export GIT_AUTHOR_EMAIL="$m"
> export GIT_COMMITTER_NAME="$n"
> export GIT_COMMITTER_EMAIL="$m"
>
> ' \
> --tree-filter '
>
> if [ -f src/electronics/models/transistors.lib ] ; then
>   mv src/electronics/models/transistors.lib
> src/electronics/models/transistors_lib.txt
> fi
> rm -f matrixtest/*.o
> rm -f matrixtest/*.pro~
> rm -f matrixtest/*.cpp~
> rm -f matrixtest/*.moc
> rm -f matrixtest/*.h~
> rm -f matrixtest/tested/*.*~
>
> rm -f po/*.gmo
> if [ -f po/sk.po ] ; then
>   dos2unix po/sk.po
> fi
>
> find . -type f -not -path "*/\.*" -exec sed -i
> "s/transistors.lib/transitors_lib.txt/g" {} +
>
> '
>
> #'
>
> )
>
> --->8----




More information about the Ktechlab-devel mailing list