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

Bug#394000: marked as done (darcs-buildpackage: All repos must be in one directory?)



Your message dated Fri, 11 Feb 2011 21:15:09 +0100
with message-id <4D5598CD.5040200@debian.org>
and subject line Bug#612068: Removed package(s) from unstable
has caused the Debian Bug report #394000,
regarding darcs-buildpackage: All repos must be in one directory?
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 owner@bugs.debian.org
immediately.)


-- 
394000: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394000
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: darcs-buildpackage
Version: 0.5.8
Severity: normal

My directory layout for packaging is 
Packages/
    Io/
        io/
	io.upstream/
	io_0+20061017-1.diff.gz
	io_0+20061017-1.dsc
	...
    Darcs-buildpackages/
        darcs-buildpackages/
        ....
    Remind/
        ...
    ...

It would be a big mess if I had to keep all my packages in one directory, with
all the resulting .debs and .diffs.  However, the docs don't explain how to
avoid the absolute path.  I tried a relative path in ~/.darcs-buildpackage:

=================================================================
#upstreamrepo = /home/kbk/Packages/Io/%(package)s.upstream
#debianrepo = /home/kbk/Packages/Io/%(package)s
upstreamrepo= ./%(package)s.upstream
debianrepo= ./%(package)s
=================================================================

However, it seems that dbp-importorig creates the new repo in the temporary
directory, and then neatly deletes all that on exit!  See below.

The docs say "More sophisticated configurations are possible. (FIXME: write
about them)"

================================================================= 

After going through all this, it occurred to me that the following would work,
and it did.  But it's somewhat surprising in effect, since the repo will be
created in the cwd, not one level above.

==================================================================
trader:IoFE$ cat ~/.darcs-buildpackage
#upstreamrepo = /home/kbk/Packages/Io/%(package)s.upstream
#debianrepo = /home/kbk/Packages/Io/%(package)s
upstreamrepo= ../%(package)s.upstream
debianrepo= ../%(package)s
=================================================================

However, I find that darcs-buildpackage won't work correctly with this (or with
one dot), though it works fine with the absolute paths commented out above.

How does one use the darcs-buildpackage system with the directory structure
outlined above?  Right now, it seems that I have to modify .darcs-buildpackage
every time I switch packages, or at least set an environment variable to
call out the 'Io' etc. directory.

=================================================================
(I added a line to darcs_load_dirs to print the cwd.  It would be nice if
dbp-importorig passed the verbose switch on to darcs_load_dirs, I hacked it on
again.)

trader:IoFE$ ls
IoFE-2006-10-05.tgz
trader:IoFE$ dbp-importorig -v IoFE-2006-10-05.tgz iofe 20061005
Running: tar ["-zxSpf","/home/kbk/Packages/IoFE/IoFE-2006-10-05.tgz"]
Running: darcs ["initialize"]
darcs ["changes","--patches=^TAG"]
Running: darcs_load_dirs ["--wc=./iofe.upstream","--summary=Import upstream iofe version 20061005","/home/kbk/Packages/IoFE/,,dbp-importorigtargz-175VCt/IoFE-2006-10-05"]
 TLACMD:  darcs
*** cwd:  /home/kbk/Packages/IoFE/,,dbp-importorigtargz-175VCt
Scanning upstream tree...
Scanning working copy tree...
Calculating changes...
 *** Processing changes.
Deleting 0 files
Copying upstream directory to working copy...
Running:  tar ['-cSpf', '-', '.']
Running:  tar ['-xSpf', '-']
Adding 14 files
Adding LICENSE
Adding Makefile
Adding README
Adding bin/
Running:  darcs ['add', '--case-ok', 'bin']
Adding contrib/
Running:  darcs ['add', '--case-ok', 'contrib']
Adding contrib/Completion.io
Adding include/
Running:  darcs ['add', '--case-ok', 'include']
Adding include/IoEditLine.h
Adding include/IofeCompletion.h
Adding src/
Running:  darcs ['add', '--case-ok', 'src']
Adding src/IoCompletionInit.c
Adding src/IoEditLine.c
Adding src/IofeCompletion.c
Adding src/iofe.c
LOGTEXT Imported IoFE-2006-10-05
into Darcs repository



Committing changes
Running:  darcs ['record', '-l', '-a', '-m', 'Import upstream iofe version 20061005', '--logfile', ',,darcslog', '--delete-logfile']
Finished recording patch 'Import upstream iofe version 20061005'
Running: darcs ["tag","-m","UPSTREAM_iofe_20061005"]
Finished tagging patch 'TAG UPSTREAM_iofe_20061005'
trader:IoFE$ ls
IoFE-2006-10-05.tgz


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.21-kbk
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages darcs-buildpackage depends on:
ii  darcs                     1.0.8-1        an advanced revision control syste
ii  darcs-load-dirs           1.0.31b        Import upstream archives into darc
ii  devscripts                2.9.21         Scripts to make the life of a Debi
ii  dpkg-dev                  1.13.22        package building tools for Debian
ii  libc6                     2.3.6.ds1-5    GNU C Library: Shared libraries
ii  libgmp3c2                 2:4.2.1+dfsg-4 Multiprecision arithmetic library

darcs-buildpackage recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.5.12.2+rm


Dear submitter,

as the package darcs-buildpackage has just been removed from the Debian
archive unstable we hereby close the assiciated bug reports.  We are
sorry that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/612068

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)


--- End Message ---

Reply to: