chiark / gitweb /
make it experimental debian/0.1
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 15 Aug 2013 11:54:49 +0000 (12:54 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 15 Aug 2013 11:54:49 +0000 (12:54 +0100)
.gitignore
Makefile [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
dgit

index b25c15b81fae06e1c55946ac6270bfdb293870e8..1632e2a607ef7128ef143db1dae13ab442e040cd 100644 (file)
@@ -1 +1,5 @@
 *~
+debian/dgit
+debian/files
+debian/*.substvars
+debian/*.log
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..ed51774
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,36 @@
+# dgit
+# Integration between git and Debian-style archives
+#
+# Copyright (C)2013 Ian Jackson
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+INSTALL=install
+INSTALL_DIR=$(INSTALL) -d
+INSTALL_PROGRAM=$(INSTALL) -m 755
+prefix?=/usr/local
+
+PROGRAMS=dgit
+
+all:
+
+install:       installdirs
+       $(INSTALL_PROGRAM) $(PROGRAMS) $(DESTDIR)$(prefix)/bin
+
+installdirs:
+       $(INSTALL_DIR) $(DESTDIR)$(prefix)/bin
+
+check installcheck:
+
+clean distclean mostlyclean maintainer-clean:
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..cc596f3
--- /dev/null
@@ -0,0 +1,6 @@
+dgit (0.1) experimental; urgency=low
+
+  * Initial experimental (partial) version.
+
+ -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 15 Aug 2013 12:09:01 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..ebda31c
--- /dev/null
@@ -0,0 +1,22 @@
+Source: dgit
+Section: devel
+Priority: optional
+Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
+Standards-Version: 3.9.4.0
+Build-Depends: debhelper (>= 9)
+
+Package: dgit
+Depends: perl, libwww-perl, libdpkg-perl, git-core, devscripts, dpkg-dev,
+         ${misc:Depends}
+Recommends: ssh-client
+Architecture: all
+Description: git interoperability with the Debian archive
+ dgit (with the associated infrastructure) makes it possible to
+ treat the Debian archive as a git repository.
+ .
+ dgit push constructs uploads from git commits
+ .
+ dgit clone and dgit fetch construct git commits from uploads.
+ .
+ WARNING: This program is INCOMPLETE and WRONG and should not yet
+ be used.  It is being uploaded to facilitate development.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..461cbfd
--- /dev/null
@@ -0,0 +1,17 @@
+dgit
+Integration between git and Debian-style archives
+
+Copyright (C)2013 Ian Jackson
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+A copy of the GNU General Public License v3 can be found in
+/usr/share/common-licenses/GPL-3.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..e4a2460
--- /dev/null
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+# dgit
+# Integration between git and Debian-style archives
+#
+# Copyright (C)2013 Ian Jackson
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+export prefix=/usr
+
+%:
+       dh $@
diff --git a/dgit b/dgit
index dc2275da493fbd53315b80b501ca961720f60750..a18f45cad6cf2235c2d8e7befc8fc523d40bf400 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1,4 +1,22 @@
 #!/usr/bin/perl -w
+# dgit
+# Integration between git and Debian-style archives
+#
+# Copyright (C)2013 Ian Jackson
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
 use strict;
 
 use IO::Handle;