Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
First Steps with Gitea
(view source)
Revision as of 13:49, 8 February 2023
816 bytes added
,
13:49, 8 February 2023
→Bringing across all the CVS history as well...
Line 134:
Line 134:
It includes a "cvsconvert" script which runs cvs-fast-convert and writes to a git repo.
It includes a "cvsconvert" script which runs cvs-fast-convert and writes to a git repo.
−
HOWEVER it needs access to the CVS files, not just the cvs client!
+
HOWEVER it needs access to the CVS files, not just the cvs client!
<syntaxhighlight>
+
[brianr@rockysmebuild cvs-fast-export]$ more cvsconvert
+
#!/usr/bin/env python3
+
"""
+
cvsconvert - convert a CVS repo and check against the original
+
+
Convert, and check the tree content of a gitspace conversion against
+
the CVS. The tip state of every branch, and every tag, is checked.
+
+
Will produce spurious errors if any CVS branch name had to be sanitized.
+
</syntaxhighlight>cvssync (part of the cvs package) is the way to go.
+
+
See here: https://stackoverflow.com/questions/28693868/migration-from-cvs-to-git
+
+
+
This worked:
+
+
cvssync brianr@shell.koozali.org:/cvs/smecontribs/rpms smeserver-ddclient
+
+
it creates a directory "smeserver-ddclient" of the CVS files.
+
+
and "find . | cvs-fast-export | git fast-import" also did something, although I am not sure it was quite what I expected!!
+
+
TBC (WIP)
Brianr
Administrators (Semantic MediaWiki)
,
Administrators
681
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version