summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS6
-rw-r--r--gitignore-pjsip21
-rw-r--r--howto14
-rwxr-xr-xupdate_tags12
4 files changed, 53 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..c7f06a6
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,6 @@
+bennylp = Benny Prijono <bennylp@teluu.com>
+ismangil = Perry Ismangil <perry@teluu.com>
+ming = Liong Sauw Ming <ming@teluu.com>
+nanang = Nanang Izzuddin <nanang@teluu.com>
+riza = Riza Sulistyo <riza@teluu.com>
+fahris = fahris <support@tellu.com>
diff --git a/gitignore-pjsip b/gitignore-pjsip
new file mode 100644
index 0000000..b63157c
--- /dev/null
+++ b/gitignore-pjsip
@@ -0,0 +1,21 @@
+.gitignore
+cc-auto.mak
+os-auto.mak
+bin/
+output/
+build.mak
+config.log
+config.status
+pjlib-util/lib/
+pjlib/include/pj/compat/m_auto.h
+pjlib/include/pj/compat/os_auto.h
+pjlib/include/pj/config_site.h
+pjlib/lib/
+pjmedia/include/pjmedia-codec/config_auto.h
+pjmedia/include/pjmedia/config_auto.h
+pjmedia/lib/
+pjnath/lib/
+pjsip/include/pjsip/sip_autoconf.h
+pjsip/lib/
+third_party/lib/
+
diff --git a/howto b/howto
new file mode 100644
index 0000000..b9322f7
--- /dev/null
+++ b/howto
@@ -0,0 +1,14 @@
+
+# initial clone: trunk and tags
+git svn clone -A AUTHORS -T trunk -t tags http://svn.pjsip.org/repos/pjproject pjproject-git
+# get the .gitignore file from the tools repo:
+ln -s ../git-tools/gitignore-pjsip .gitignore
+# optional: fix location of AUTHORS file:
+sed -ie '/authorsfile = /s| = .*| = ../AUTHORS|' .git/config
+
+# Updating
+git svn rebase --fetch-all
+../git-tools/update_tags
+
+# If you want to push somewhere:
+git push --tags
diff --git a/update_tags b/update_tags
new file mode 100755
index 0000000..31ad8a4
--- /dev/null
+++ b/update_tags
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+git branch -r | egrep 'tags/(|PR)[0-9]' | sed -e 's"tags/\(.*\)"& v\1"' \
+ | while read branch tag; do
+ if ! git show-ref -q "$tag"; then
+ echo "Tagging $tag from $branch"
+ git tag $tag $branch
+ elif [ `git show-ref -s $branch` != `git show-ref -s $tag` ]; then
+ echo "Updating $tag from $branch"
+ git tag -f $tag $branch
+ fi
+ done