Giter VIP home page Giter VIP logo

asterisk-svn-to-git's Introduction

asterisk-svn-to-git

This repository contains tools that can be used in the Asterisk migration from subversion to git.

Tools

log-check

log-check and log-check.py are two implementations of the same program. The python version was used for a quick reference and the C++ version was written in order to allow this functionality to be moved into a C++ converter that will speak the git fast-import protocol from a dump of the Asterisk repository.

log-check are intended to be used to process the asterisk log file and pull out any potential authors. This will be used to look for git-style "John Doe <[email protected]>" identity information from contributors who did not have Subversion commit access but would now like to be listed as the author on the git commit.

An example of running the cpp and python version of log-check on a sample forms.txt file.

$ ./log-check.py < forms.txt 
A A
B B
C C
dd
EE
ee
F F
f f
George George
hal
$ make log-check
g++ -Wall -Os --std=c++11 -o log-check log-check.cpp -lboost_regex
$ ./log-check < forms.txt 
A A
B B
C C
dd
EE
ee
F F
f f
George George
hal

Or on the last 250 commits of the trunk of Asterisk:

$ svn log --limit 250 http://svn.asterisk.org/svn/asterisk/trunk | ./log-check
Alexander Traud
coreyfarrell
Dennis Guse
dennis.guse
dtryba
Elazar Broad
elguero
file
Gergely Domodi
gtjoseph
igorg
jkister
jrose
Kevin McCoy
kharwell
kmoore
Matt Jordan
Matthis Schmieder
may
Michael K
Michael L. Young
mjordan
mmichelson
newtonr
one47
opticron
Pavel Troller
qwell
rmudgett
rmudgetti
seanbright
sgalarneau
sgriepentrog
Steve Davies
Torrey Searle
tzafrir
wdoekes
wedhorn

asterisk-svn-to-git's People

Contributors

sruffell avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.