From: Johan Herland <johan@herland.net>
To: git@vger.kernel.org
Cc: Johan Herland <johan@herland.net>,
barkalow@iabervon.org, gitster@pobox.com
Subject: [RFCv2 00/12] Foreign VCS helper program for CVS repositories
Date: Fri, 31 Jul 2009 12:00:20 +0200 [thread overview]
Message-ID: <1249034432-31437-1-git-send-email-johan@herland.net> (raw)
Hi,
Here is a resend of the jh/vcs-cvs topic in 'pu'. This series is based on
the jh/notes topic in current 'pu', but is NOT based on the db/transport-shim
topic. As a consequence of this, the series now contains 3 more patches that
were part of the original db/foreign-scm topic.
Also, I expect that Barkalow will at some point send an updated
db/foreign-scm topic, which will invalidate parts of - or the whole of -
this patch series. I expect to rebase and resend this topic when the
updated db/foreign-scm appears, but since I am away for the next week,
I still send this series now, to reflect the current (unfinished) state.
The 7 first patches are a resend of Barkalow's original foreign-scm topic,
or at least enough of it to support the rest of this series.
Next, there are 3 patches tweaking and expanding the foreign-vcs API (with
corresponding implementations in the foreign transport code) to adjust for
the CVS helper's needs.
The final 2 patches add the git-vcs-cvs helper program that implements the
fetch/import of objects from a local or remote CVS repository, along with
selftests for verifying its correctness in some simple cases.
Changes since the last iteration:
- Added 3 more patches from the db/foreign-scm topic, caused by rebase.
- The patch with preliminary refactoring in fast-import.c is gone.
- The patch teaching fast-import to import notes has been moved to jh/notes.
- The CVS helper is updated to use the new 'notemodify' fast-import command.
Daniel Barkalow (7):
Allow late reporting of fetched hashes
Document details of transport function APIs
Add option for using a foreign VCS
Add specification of git-vcs-* helper programs
Use a function to determine whether a remote is valid
Allow programs to not depend on remotes having urls
Add a transport implementation using git-vcs-* helpers
Johan Herland (5):
Preliminary clarifications to git-vcs documentation
Teach foreign transport code to perform the "capabilities" command
Introduce a 'marks <filename>' feature to the foreign transport code
First draft of CVS importer using the foreign-scm machinery
Add simple test cases of git-vcs-cvs functionality
Documentation/config.txt | 4 +
Documentation/git-vcs-cvs.txt | 85 ++++
Documentation/git-vcs.txt | 88 ++++
Makefile | 47 ++
builtin-clone.c | 6 +-
builtin-fetch.c | 19 +-
builtin-ls-remote.c | 6 +-
builtin-push.c | 54 ++-
configure.ac | 3 +
git-vcs-cvs.py | 697 ++++++++++++++++++++++++++++++
git_vcs_cvs/.gitignore | 2 +
git_vcs_cvs/Makefile | 27 ++
git_vcs_cvs/changeset.py | 114 +++++
git_vcs_cvs/commit_states.py | 52 +++
git_vcs_cvs/cvs.py | 884 ++++++++++++++++++++++++++++++++++++++
git_vcs_cvs/cvs_revision_map.py | 367 ++++++++++++++++
git_vcs_cvs/cvs_symbol_cache.py | 283 ++++++++++++
git_vcs_cvs/git.py | 591 +++++++++++++++++++++++++
git_vcs_cvs/setup.py | 12 +
git_vcs_cvs/util.py | 147 +++++++
remote.c | 15 +-
remote.h | 2 +
t/t9800-foreign-vcs-cvs-basic.sh | 518 ++++++++++++++++++++++
t/t9801-foreign-vcs-cvs-fetch.sh | 291 +++++++++++++
t/test-lib.sh | 1 +
transport-foreign.c | 271 ++++++++++++
transport.c | 24 +-
transport.h | 45 ++-
28 files changed, 4609 insertions(+), 46 deletions(-)
create mode 100644 Documentation/git-vcs-cvs.txt
create mode 100644 Documentation/git-vcs.txt
create mode 100755 git-vcs-cvs.py
create mode 100644 git_vcs_cvs/.gitignore
create mode 100644 git_vcs_cvs/Makefile
create mode 100644 git_vcs_cvs/__init__.py
create mode 100644 git_vcs_cvs/changeset.py
create mode 100644 git_vcs_cvs/commit_states.py
create mode 100644 git_vcs_cvs/cvs.py
create mode 100644 git_vcs_cvs/cvs_revision_map.py
create mode 100644 git_vcs_cvs/cvs_symbol_cache.py
create mode 100644 git_vcs_cvs/git.py
create mode 100644 git_vcs_cvs/setup.py
create mode 100644 git_vcs_cvs/util.py
create mode 100755 t/t9800-foreign-vcs-cvs-basic.sh
create mode 100755 t/t9801-foreign-vcs-cvs-fetch.sh
create mode 100644 transport-foreign.c
Have fun! :)
...Johan
next reply other threads:[~2009-07-31 10:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-31 10:00 Johan Herland [this message]
2009-07-31 10:00 ` [RFCv2 01/12] Allow late reporting of fetched hashes Johan Herland
2009-07-31 10:00 ` [RFCv2 02/12] Document details of transport function APIs Johan Herland
2009-07-31 10:00 ` [RFCv2 03/12] Add option for using a foreign VCS Johan Herland
2009-07-31 10:00 ` [RFCv2 04/12] Add specification of git-vcs-* helper programs Johan Herland
2009-07-31 10:00 ` [RFCv2 05/12] Use a function to determine whether a remote is valid Johan Herland
2009-07-31 10:00 ` [RFCv2 06/12] Allow programs to not depend on remotes having urls Johan Herland
2009-07-31 10:00 ` [RFCv2 07/12] Add a transport implementation using git-vcs-* helpers Johan Herland
2009-07-31 10:00 ` [RFCv2 08/12] Preliminary clarifications to git-vcs documentation Johan Herland
2009-07-31 10:00 ` [RFCv2 09/12] Teach foreign transport code to perform the "capabilities" command Johan Herland
2009-07-31 10:00 ` [RFCv2 10/12] Introduce a 'marks <filename>' feature to the foreign transport code Johan Herland
2009-07-31 10:00 ` [RFCv2 12/12] Add simple test cases of git-vcs-cvs functionality Johan Herland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1249034432-31437-1-git-send-email-johan@herland.net \
--to=johan@herland.net \
--cc=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).