[jitsi-dev] tracking ice4j in git


#1

I've started tracking ice4j in git (using github) so I can access it as
a submodule from other projects like Lumicall:

    https://github.com/opentelecoms-org/ice4j

If an official ice4j git repo is published (either an official mirror or
a conversion of the main repo) then I'm happy to take down my own mirror
and redirect people to the official location.

Here is how I ran the conversion (please find authors.txt attached) - I
will probably script this to update the repo from time to time:

  cd /tmp/ice4j-convert/
  svn checkout http://ice4j.googlecode.com/svn ice4j-svn
  cd ice4j-svn/
  svn log -q | \
   awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" =
"$2" <"$2">"}' | \
      sort -u > ../authors.txt
  cd ..
  vi authors.txt (see attachment to this email)
  git svn clone \
    http://ice4j.googlecode.com/svn \
    --no-metadata -A authors.txt --stdlayout \
            ice4j-phase1
  mkdir ice4j-phase2
  cd ice4j-phase2
  git init --bare .
  git symbolic-ref HEAD refs/heads/trunk
  cd ../ice4j-phase1
  git remote add bare ../ice4j-phase2
  git config remote.bare.push 'refs/remotes/*:refs/heads/*'
  git push bare
  cd ../ice4j-phase2
  git branch -m trunk master
  git for-each-ref --format='%(refname)' \
     refs/heads/tags | cut -d / -f 4 | while read ref; \
   do
     git tag "$ref" "refs/heads/tags/$ref"
     git branch -D "tags/$ref"
   done
  git remote add origin git@github.com:opentelecoms-org/ice4j.git
  git push -u origin master

authors.txt (455 Bytes)