= Git Migration = This page describes the SVN -> git migration. It should be considered as not yet complete so stay tuned for more... == Conversion == During conversion the different projects previously hosted in SVN git separated into dedicated repositories: * [http://boinc.berkeley.edu/git/?p=boinc.git;a=summary BOINC] [[http://boinc.berkeley.edu/git/?p=boinccleaned.git;a=summary cleaned], see below] * [http://boinc.berkeley.edu/git/?p=build-depends-vs2005.git;a=summary BOINC build dependencies VS 2005] * [http://boinc.berkeley.edu/git/?p=build-depends-vs2008.git;a=summary BOINC build dependencies VS 2008] * [http://boinc.berkeley.edu/git/?p=build-depends-vs2010.git;a=summary BOINC build dependencies VS 2010] * [http://boinc.berkeley.edu/git/?p=boinc-alpha.git;a=summary BOINC Alpha] * [http://boinc.berkeley.edu/git/?p=boinc-combined-stats.git;a=summary BOINC Combined Stats] * [http://boinc.berkeley.edu/git/?p=boinc-lite.git;a=summary BOINC Lite] * [http://boinc.berkeley.edu/git/?p=boinc-scenarios.git;a=summary BOINC Scenarios] * [http://boinc.berkeley.edu/git/?p=bolt-examples.git;a=summary BOLT Examples] === BOINC === Command: {{{ git --bare svn init --trunk=trunk/boinc --tags=tags --branches=branches --ignore-refs="(SCHEDULER|boinc_app_release|boinc_release|boinc_server|checkin_notes|seti_boinc|start|vendor|unlabeled|setiathome|boinc_server|unlimited_stderr_out|staging|Pegasus|boinc_depends)" http://boinc.berkeley.edu/svn }}} === Build dependencies VS 2005 === Command: {{{ git --bare svn init --trunk=trunk/boinc_depends_win_vs2005 --branches=branches --ignore-refs="(vendor|unlabeled|setiathome|boinc_server|unlimited_stderr_out|staging|Pegasus|boinc_core_release|boinc_depends_win_vs2008|boinc_depends_win_vs2010|server_stable)" http://boinc.berkeley.edu/svn }}} === Build dependencies VS 2008 === Command: {{{ git --bare svn init --trunk=trunk/boinc_depends_win_vs2008 --branches=branches --ignore-refs="(vendor|unlabeled|setiathome|boinc_server|unlimited_stderr_out|staging|Pegasus|boinc_core_release|boinc_depends_win_vs2005|boinc_depends_win_vs2010|server_stable)" http://boinc.berkeley.edu/svn }}} === Build dependencies VS 2010 === Command: {{{ git --bare svn init --trunk=trunk/boinc_depends_win_vs2010 --branches=branches --ignore-refs="(vendor|unlabeled|setiathome|boinc_server|unlimited_stderr_out|staging|Pegasus|boinc_core_release|boinc_depends_win_vs2005|boinc_depends_win_vs2008|server_stable)" http://boinc.berkeley.edu/svn }}} == Cleaning / rewriting history == === Binary removal === Binaries removed, path starting with: * curl * icu * openssl * zlib Command: {{{ git filter-branch --index-filter 'git rm -rf --cached --ignore-unmatch curl; git rm -rf --cached --ignore-unmatch icu; git rm -rf --cached --ignore-unmatch openssl; git rm -rf --cached --ignore-unmatch zlib' --tag-name-filter cat -- --all }}} === Rewriting author details === SVN_USER - REAL_NAME/EMAIL mapping to be provided later (upon David's consent). Command: {{{ git filter-branch --env-filter 'if [ $GIT_AUTHOR_NAME="" ]; then GIT_AUTHOR_NAME=""; GIT_AUTHOR_EMAIL=""; fi; export GIT_AUTHOR_NAME; export GIT_AUTHOR_EMAIL' }}} === Removing SVN UUID from commit messages === Command: {{{ git filter-branch --msg-filter 'sed "s/677681c0-c3c0-48b4-bd46-92119ef6d97a//g"' --tag-name-filter cat -- --all }}}