From: Ian Jackson Date: Thu, 15 Aug 2013 11:54:49 +0000 (+0100) Subject: make it experimental X-Git-Tag: debian/0.1^0 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=aafc50bea3ab1994044947cbc9dc26e56cd5b978 make it experimental --- diff --git a/.gitignore b/.gitignore index b25c15b8..1632e2a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ *~ +debian/dgit +debian/files +debian/*.substvars +debian/*.log diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..ed517740 --- /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 . + +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 index 00000000..cc596f3f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +dgit (0.1) experimental; urgency=low + + * Initial experimental (partial) version. + + -- Ian Jackson Thu, 15 Aug 2013 12:09:01 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..ebda31c2 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: dgit +Section: devel +Priority: optional +Maintainer: Ian Jackson +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 index 00000000..461cbfdd --- /dev/null +++ b/debian/copyright @@ -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 index 00000000..e4a24605 --- /dev/null +++ b/debian/rules @@ -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 . + +export prefix=/usr + +%: + dh $@ diff --git a/dgit b/dgit index dc2275da..a18f45ca 100755 --- 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 . + use strict; use IO::Handle;