[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] read-only git mirror of libvirt CVS repository



Jim Meyering wrote:
> I've set up an automatically-sync'd git mirror of the libvirt.org's
> libvirt CVS repository.  The mirror is updated approximately every
> 30 minutes.  You can view the change-set summary via this URL:
> 
>     http://git.et.redhat.com/?p=libvirt.git
> 
> You can get a copy of the repository with the following command:
> (this uses the efficient "git://" protocol, and is sort of analogous
> to CVS pserver, in that you get anonymous, read-only access)
> 
>     git clone git://et.redhat.com/libvirt

Hi Jim,

Thanks, now I don't have to keep a local mirror anymore :)
It seems that your mirror is missing tags, though, according to
"git tags -l".  My local mirror had tags and was created with
   git-cvsimport -o master -d $CVSROOT -v -k -m -i libvirt

> Note, if you're new to "git", you typically run "git clone" only
> once, initially, and from then on, you "cd" into the directory and
> download/merge the latest sources via "git pull".  But note that
> if you do development or otherwise modify a version-controlled
> file, your next "git pull" won't work if the pull would have
> to merge changes to one of the modified files.

FWIW, I've found this to do the right thing in that case:
  git fetch
  git rebase remotes/origin/HEAD

Also, perhaps some .gitignore files could be added upstream now?
Patch below.

-jim

>From c8e2192c4e209908f37fbd02d8fd5b5437d2152b Mon Sep 17 00:00:00 2001
>From: Jim Paris <jim jtan com>
Date: Mon, 13 Aug 2007 11:23:55 -0400
Subject: [PATCH] Ignore generated files (git)

---
 .gitignore                      |   39 +++++++++++++++++++++++++++++++++++++++
 docs/.gitignore                 |    3 +++
 docs/devhelp/.gitignore         |    3 +++
 docs/examples/.gitignore        |    7 +++++++
 docs/examples/python/.gitignore |    2 ++
 include/.gitignore              |    2 ++
 include/libvirt/.gitignore      |    2 ++
 po/.gitignore                   |   15 +++++++++++++++
 proxy/.gitignore                |    5 +++++
 python/.gitignore               |   13 +++++++++++++
 python/tests/.gitignore         |    2 ++
 qemud/.gitignore                |    9 +++++++++
 scripts/.gitignore              |    2 ++
 src/.gitignore                  |   11 +++++++++++
 tests/.gitignore                |   18 ++++++++++++++++++
 tests/confdata/.gitignore       |    2 ++
 tests/sexpr2xmldata/.gitignore  |    2 ++
 tests/virshdata/.gitignore      |    2 ++
 tests/xencapsdata/.gitignore    |    2 ++
 tests/xmconfigdata/.gitignore   |    2 ++
 tests/xml2sexprdata/.gitignore  |    2 ++
 21 files changed, 145 insertions(+), 0 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 docs/.gitignore
 create mode 100644 docs/devhelp/.gitignore
 create mode 100644 docs/examples/.gitignore
 create mode 100644 docs/examples/python/.gitignore
 create mode 100644 include/.gitignore
 create mode 100644 include/libvirt/.gitignore
 create mode 100644 po/.gitignore
 create mode 100644 proxy/.gitignore
 create mode 100644 python/.gitignore
 create mode 100644 python/tests/.gitignore
 create mode 100644 qemud/.gitignore
 create mode 100644 scripts/.gitignore
 create mode 100644 src/.gitignore
 create mode 100644 tests/.gitignore
 create mode 100644 tests/confdata/.gitignore
 create mode 100644 tests/sexpr2xmldata/.gitignore
 create mode 100644 tests/virshdata/.gitignore
 create mode 100644 tests/xencapsdata/.gitignore
 create mode 100644 tests/xmconfigdata/.gitignore
 create mode 100644 tests/xml2sexprdata/.gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dd2a475
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,39 @@
+*.o
+*.lo
+*~
+.#*
+.git
+Makefile
+aclocal.m4
+autom4te.cache
+stamp-h.in
+Makefile.in
+configure
+config.cache
+config.h
+config.h.in
+config.log
+config.guess
+config.status
+config.sub
+stamp-h
+stamp-h1
+libtool
+ltconfig
+ltmain.sh
+update.log
+libvirt.pc
+libvirt.spec
+COPYING
+m4
+ABOUT-NLS
+config.rpath
+mkinstalldirs
+coverage
+results.log
+libvirt-*.tar.gz
+INSTALL
+compile
+depcomp
+install-sh
+missing
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 0000000..7e717f4
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+.memdump
diff --git a/docs/devhelp/.gitignore b/docs/devhelp/.gitignore
new file mode 100644
index 0000000..cc4abab
--- /dev/null
+++ b/docs/devhelp/.gitignore
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+libvirt.devhelp
diff --git a/docs/examples/.gitignore b/docs/examples/.gitignore
new file mode 100644
index 0000000..aa743cb
--- /dev/null
+++ b/docs/examples/.gitignore
@@ -0,0 +1,7 @@
+.memdump
+Makefile.in
+Makefile
+.deps
+.libs
+suspend
+info1
diff --git a/docs/examples/python/.gitignore b/docs/examples/python/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/docs/examples/python/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/include/.gitignore b/include/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/include/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/include/libvirt/.gitignore b/include/libvirt/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/include/libvirt/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/po/.gitignore b/po/.gitignore
new file mode 100644
index 0000000..a0b63f3
--- /dev/null
+++ b/po/.gitignore
@@ -0,0 +1,15 @@
+stamp-po
+remove-potcdate.sin
+quot.sed
+insert-header.sin
+*.gmo
+en quot header
+en boldquot header
+boldquot.sed
+Rules-quot
+POTFILES
+Makevars.template
+Makefile.in.in
+Makefile.in
+Makefile
+remove-potcdate.sed
diff --git a/proxy/.gitignore b/proxy/.gitignore
new file mode 100644
index 0000000..f3d6ec7
--- /dev/null
+++ b/proxy/.gitignore
@@ -0,0 +1,5 @@
+Makefile
+Makefile.in
+.deps
+.libs
+libvirt_proxy
diff --git a/python/.gitignore b/python/.gitignore
new file mode 100644
index 0000000..7478275
--- /dev/null
+++ b/python/.gitignore
@@ -0,0 +1,13 @@
+Makefile
+Makefile.in
+.deps
+.libs
+*.lo
+*.la
+*.loT
+libvirt.py
+libvirt-export.c
+libvirtclass.txt
+libvirt-py.[ch]
+libvirtclass.py
+gen_prog
diff --git a/python/tests/.gitignore b/python/tests/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/python/tests/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/qemud/.gitignore b/qemud/.gitignore
new file mode 100644
index 0000000..0fbe0ce
--- /dev/null
+++ b/qemud/.gitignore
@@ -0,0 +1,9 @@
+Makefile
+Makefile.in
+.deps
+.libs
+*.lo
+*.la
+libvirt_qemud
+libvirtd
+libvirtd.init
diff --git a/scripts/.gitignore b/scripts/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/scripts/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/src/.gitignore b/src/.gitignore
new file mode 100644
index 0000000..c4aa306
--- /dev/null
+++ b/src/.gitignore
@@ -0,0 +1,11 @@
+Makefile
+Makefile.in
+.deps
+.libs
+*.lo
+*.la
+virsh
+*.gcda
+*.gcno
+*.gcov
+*.cov
diff --git a/tests/.gitignore b/tests/.gitignore
new file mode 100644
index 0000000..4d29888
--- /dev/null
+++ b/tests/.gitignore
@@ -0,0 +1,18 @@
+Makefile
+Makefile.in
+.deps
+.libs
+xmlrpctest
+sexpr2xmltest
+xml2sexprtest
+virshtest
+conftest
+reconnect
+xmconfigtest
+xencapstest
+qemuxml2xmltest
+qemuxml2argvtest
+nodeinfotest
+*.gcda
+*.gcno
+
diff --git a/tests/confdata/.gitignore b/tests/confdata/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/tests/confdata/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/tests/sexpr2xmldata/.gitignore b/tests/sexpr2xmldata/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/tests/sexpr2xmldata/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/tests/virshdata/.gitignore b/tests/virshdata/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/tests/virshdata/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/tests/xencapsdata/.gitignore b/tests/xencapsdata/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/tests/xencapsdata/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/tests/xmconfigdata/.gitignore b/tests/xmconfigdata/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/tests/xmconfigdata/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/tests/xml2sexprdata/.gitignore b/tests/xml2sexprdata/.gitignore
new file mode 100644
index 0000000..282522d
--- /dev/null
+++ b/tests/xml2sexprdata/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
-- 
1.5.3.rc4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]