import devel/cvs2svn:

cvs2svn is a tool to migrate as much information as possible from
an existing CVS repository on a local filesystem to a new Subversion
or GIT repository.

It is able to infer information about changesets by looking at
which files were committed together and attempts to reconstruct as
much of your CVS repository's history as possible.

Intermediate data is stored to on-disk databases so that cvs2svn
can convert very large CVS repositories using a reasonable amount
of RAM. Conversions are organized as multiple passes and can be
restarted at an arbitrary pass in the case of problems.
This commit is contained in:
sthen 2009-08-22 11:46:24 +00:00
parent 8a23ddb57c
commit fbbfcbff65
4 changed files with 220 additions and 0 deletions

42
devel/cvs2svn/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/22 11:46:24 sthen Exp $
COMMENT= migrate repositories from CVS to Subversion/GIT
# Beware! Upgrades need a new directory in MASTER_SITES,
# otherwise you probably get the old files, not 404.
MODPY_EGG_VERSION= 2.2.0
DISTNAME= cvs2svn-${MODPY_EGG_VERSION}
MASTER_SITES= ${HOMEPAGE}files/documents/1462/44372/
CATEGORIES= devel
HOMEPAGE= http://cvs2svn.tigris.org/
# BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
RUN_DEPENDS= :py-subversion-*:devel/subversion,-python \
${MODPY_RUN_DEPENDS:S/python/python-bsddb/},-bsddb
REGRESS_DEPENDS=${RUN_DEPENDS}
REGRESS_FLAGS= PYTHON=${MODPY_BIN}
REGRESS_TARGET= check
DOCFILES= BUGS CHANGES COPYING HACKING README doc/design-notes.txt
DOCDIR= ${PREFIX}/share/doc/cvs2svn
post-install:
${INSTALL_DATA_DIR} ${DOCDIR} ${DOCDIR}/www
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}/
.endfor
${INSTALL_DATA} ${WRKSRC}/www/*html ${DOCDIR}/www/
.include <bsd.port.mk>

5
devel/cvs2svn/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (cvs2svn-2.2.0.tar.gz) = Rmt1f971N4pGu6TO79BHpA==
RMD160 (cvs2svn-2.2.0.tar.gz) = JaZxNRbva9E8ftL39SQn+6JXKGY=
SHA1 (cvs2svn-2.2.0.tar.gz) = iL4lpNLyt1vguJ+UNX/VKn3R++k=
SHA256 (cvs2svn-2.2.0.tar.gz) = NyxXz+o2ljfNSf2daF0euqLoSpz0rTAfzGP5y0IWG+o=
SIZE (cvs2svn-2.2.0.tar.gz) = 411531

12
devel/cvs2svn/pkg/DESCR Normal file
View File

@ -0,0 +1,12 @@
cvs2svn is a tool to migrate as much information as possible from
an existing CVS repository on a local filesystem to a new Subversion
or GIT repository.
It is able to infer information about changesets by looking at
which files were committed together and attempts to reconstruct as
much of your CVS repository's history as possible.
Intermediate data is stored to on-disk databases so that cvs2svn
can convert very large CVS repositories using a reasonable amount
of RAM. Conversions are organized as multiple passes and can be
restarted at an arbitrary pass in the case of problems.

161
devel/cvs2svn/pkg/PLIST Normal file
View File

@ -0,0 +1,161 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/08/22 11:46:24 sthen Exp $
bin/cvs2svn
lib/python${MODPY_VERSION}/site-packages/cvs2svn-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/__init__.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/apple_single_filter.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/apple_single_filter.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/artifact.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/artifact.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/artifact_manager.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/artifact_manager.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_database.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_database.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_graph.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_graph.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_graph_link.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_graph_link.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_graph_node.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/changeset_graph_node.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/check_dependencies_pass.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/check_dependencies_pass.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/checkout_internal.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/checkout_internal.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/collect_data.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/collect_data.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/common.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/common.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/config.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/config.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/context.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/context.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_file.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_file.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_file_database.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_file_database.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_file_items.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_file_items.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_item.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_item.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_item_database.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_item_database.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_revision_manager.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/cvs_revision_manager.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/database.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/database.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/dumpfile_delegate.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/dumpfile_delegate.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/fill_source.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/fill_source.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/fulltext_revision_recorder.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/fulltext_revision_recorder.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/git_output_option.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/git_output_option.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/git_revision_recorder.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/git_revision_recorder.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/key_generator.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/key_generator.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/log.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/log.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/main.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/main.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/metadata.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/metadata.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/metadata_database.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/metadata_database.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/openings_closings.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/openings_closings.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/output_option.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/output_option.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/pass_manager.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/pass_manager.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/passes.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/passes.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/persistence_manager.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/persistence_manager.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/process.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/process.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/project.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/project.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/property_setters.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/property_setters.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/rcs_revision_manager.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/rcs_revision_manager.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/rcs_stream.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/rcs_stream.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/record_table.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/record_table.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/repository_delegate.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/repository_delegate.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/repository_mirror.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/repository_mirror.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/revision_manager.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/revision_manager.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/run_options.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/run_options.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/serializer.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/serializer.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/stats_keeper.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/stats_keeper.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/stdout_delegate.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/stdout_delegate.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_commit.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_commit.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_commit_creator.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_commit_creator.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_commit_item.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_commit_item.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_output_option.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_output_option.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_repository_delegate.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_repository_delegate.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_revision_range.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/svn_revision_range.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_database.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_database.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_statistics.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_statistics.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_strategy.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_strategy.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_transform.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/symbol_transform.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/time_range.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/time_range.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/version.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_lib/version.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/__init__.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/common.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/common.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/debug.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/debug.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/default.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/default.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/parse_rcs_file.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/parse_rcs_file.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/run-tests.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/run-tests.pyc
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/texttools.py
lib/python${MODPY_VERSION}/site-packages/cvs2svn_rcsparse/texttools.pyc
share/doc/cvs2svn/
share/doc/cvs2svn/BUGS
share/doc/cvs2svn/CHANGES
share/doc/cvs2svn/COPYING
share/doc/cvs2svn/HACKING
share/doc/cvs2svn/README
share/doc/cvs2svn/design-notes.txt
share/doc/cvs2svn/www/
share/doc/cvs2svn/www/cvs2git.html
share/doc/cvs2svn/www/cvs2svn.html
share/doc/cvs2svn/www/faq.html
share/doc/cvs2svn/www/features.html
share/doc/cvs2svn/www/index.html
share/doc/cvs2svn/www/issue_tracker.html
share/doc/cvs2svn/www/project_license.html
share/doc/cvs2svn/www/project_tools.html