Your message dated Sun, 28 Dec 2008 17:17:12 +0100
with message-id <20081228161712.ga26...@greenwood>
and subject line Re: Bug#508920: openocd: Avoid including subversion stuff when
packaging from a working copy.
has caused the Debian Bug report #508920,
regarding openocd: Avoid including subversion stuff when packaging from a
working copy.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
508920: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508920
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openocd
Version: 0.0+r1248-1.1
Severity: wishlist
If you checkout upstream repository and you package from there, you'll find
that
the package will include ugly .svn files and dirs.
This is becuse the dh_installexamples debhelper script (from debhelper.mk cdbs
rules) will directly copy the whole examples dir. To avoid this, you'll need
to
add -X flag to dh_installexamples.
This can also be accomplished defining DEB_INSTALLEXAMPLES_openocd variable
conveniently. Find attached a patch providing this.
I know this is a wishlist that could be easily be marked as won't fix if you
don't think this change relevant enough to the package. I would understand
this, but at least this bug could remain in case someone else is interested
on this topic.
Regards,
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (80, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages openocd depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libftdi1 0.13-2 Library to control and program
the
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
openocd recommends no packages.
openocd suggests no packages.
-- no debconf informations
diff -r 29e5a1ac003f -r 9f02c0825298 changelog
--- a/changelog Tue Dec 16 17:57:24 2008 +0100
+++ b/changelog Tue Dec 16 17:59:49 2008 +0100
@@ -3,8 +3,9 @@
* Non-maintainer upload.
* Update with upstream trunk.
* Remove patches/10_fix_ep93xx.patcc applied upstream.
+ * Set DEB_INSTALLEXAMPLES_openocd conveniently to avoid installing subversion files.
- -- Raúl Sánchez Siles <[email protected]> Tue, 16 Dec 2008 17:23:36 +0100
+ -- Raúl Sánchez Siles <[email protected]> Tue, 16 Dec 2008 17:58:09 +0100
openocd (0.0+r1147-1) unstable; urgency=low
diff -r 29e5a1ac003f -r 9f02c0825298 rules
--- a/rules Tue Dec 16 17:57:24 2008 +0100
+++ b/rules Tue Dec 16 17:59:49 2008 +0100
@@ -5,6 +5,8 @@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
+
+DEB_INSTALL_EXAMPLES_openocd := -X.svn
DEB_INSTALL_MANPAGES_openocd := doc/openocd.1
DEB_INSTALL_INFO_openocd := doc/openocd.info
--- End Message ---
--- Begin Message ---
close 508920
thanks
Hi,
On Tue, Dec 16, 2008 at 06:31:01PM +0100, Raúl Sánchez Siles wrote:
> Package: openocd
> Version: 0.0+r1248-1.1
> Severity: wishlist
>
> If you checkout upstream repository and you package from there, you'll find
> that
> the package will include ugly .svn files and dirs.
> This is becuse the dh_installexamples debhelper script (from debhelper.mk
> cdbs
> rules) will directly copy the whole examples dir. To avoid this, you'll need
> to
> add -X flag to dh_installexamples.
> This can also be accomplished defining DEB_INSTALLEXAMPLES_openocd variable
> conveniently. Find attached a patch providing this.
>
> I know this is a wishlist that could be easily be marked as won't fix if you
> don't think this change relevant enough to the package. I would understand
> this, but at least this bug could remain in case someone else is interested
> on this topic.
Yeah, I consider this irrelevant for the Debian package. What I
personally do when creating the package is to not _checkout_ but rather
_export_ the repository via
svn export http://svn.berlios.de/svnroot/repos/openocd/trunk
That way there will be no .svn directories.
Uwe.
--
http://www.hermann-uwe.de | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
--- End Message ---