When CiviCRM moved from SVN to Git, the full history of code changes was not imported into Git. By that time, CiviCRM had existed for more than 5 years and had accumulated a lot of changes, but given the fast pace of the project, it was not particularly relevant to import everything.
The SVN service was kept alive since then, but has had near 0 activity for the past 2-3 years. However, it still occupies resources on our main hosting server (
svn.civicrm.osuosl.org, 2 GB ram VPS server), is monitored and requires regular maintenance as any server.
Very occasionally, developers might go back to the SVN archive to check when a feature was introduced (usually by spot-checking branches or tags). The history, while not used often, still provides useful information about the history of the project.
Around 2017, @xurizaemon, who did want to consult the SVN history, but not bother with using SVN, tested a full SVN to Git migration only for archival purposes. Since it seemed like a viable option to get rid of the SVN service, we then did a few test runs and eventually managed to produce a Git repository for historical purposes that had the full history and all the branches (but not tags).
The new repository is available on Github: https://github.com/civicrm/civicrm-svn
The progress was tracked in Gitlab: #768 (closed)
The SVN history only had usernames, but did not have their emails (which Git requires). We tried mapping most of the contributors we could find, usually by looking them up in JIRA. There are a few exceptions where we could not find their email, so we used
- 2013: SVN to Github migration, SVN was set to read-only
- 2017-xx: SVN history of the trunk branch available on https://github.com/fuzionnz/civicrm-svn
- 2017-10: The web server is turned off, but the SVN server is still available on request.
2017-11: Some ways to remove our SVN obligations while keeping data around:
- Re-do the git mirror, with branches+tags. https://git-scm.com/docs/git-svn
- Full shutdown of the SVN vm (but not deletion)
- Post tar.gz of the SVN repo available by request (svnadmin dump followed by gzip or bzip2)
Mirror the SVN somewhere on a no-cost/low-cost service?
svn.civicrm.org hosts these repos:
# du -sm civicrm extdir hrd php quest sfschool tools 1763 civicrm 1 extdir 2 hrd 3 php 94 quest 11 sfschool 168 tools
civicrm was archived on github.