Your message dated Sat, 05 Jan 2008 15:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#445714: fixed in devscripts 2.10.12
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: devscripts
Version: 2.10.9
Severity: wishlist
Tags: patch

Hello,

since Oct 4th [1], Alioth supports darcs repositories in the same way
as the other VCSs.  debchekcout already supports retrieveing a darcs
repository.  The attached patches adds authentication mode support for
darcs repositories, for both group and personal repositories.

About the latters, two different solution can be implemented.

1) the first one is to keep the darcs.d.o status quo, i.e. the
   personal repositories are linked as

     http://darcs.debian.org/~$USER/$REPO

   and debcheckout applies the attached patch, which optionally check
   for write authorization on the remote repository.  This means that
   the local user is the one that owns the remote repository.

--8<---------------cut here---------------start------------->8---
Index: scripts/debcheckout.pl
===================================================================
--- scripts/debcheckout.pl      (revision 811)
+++ scripts/debcheckout.pl      (working copy)
@@ -154,6 +154,19 @@
   $user .= "@" if length $user;
   switch ($repo_type) {
     case "bzr"   { $url =~ 
s|^\w+://(bzr\.debian\.org)/(.*)|sftp://$user$1/bzr/$2|; }
+    case "darcs"  {
+       if ($url =~ m|(~)|) {
+           my $user_local = $user;
+           $user_local =~ s|(.*)(@)|$1|;
+           my $user_url = $url;
+           $user_url =~ s|^\w+://(darcs\.debian\.org)/(~)(.*)/.*|$3|;
+           die "the local user '$user_local' doesn't own the personal 
repository '$url'\n"
+               if $user_local ne $user_url;
+           $url =~ 
s|^\w+://(darcs\.debian\.org)/(~)(.*)/(.*)|$user$1:~/public_darcs/$4|;
+       } else {
+           $url =~ s|^\w+://(darcs\.debian\.org)/(.*)|$user$1:/darcs/$2|;
+        }
+    }
     case "git"    { $url =~ s|^\w+://(git\.debian\.org/.*)|git+ssh://$user$1|; 
}
     case "hg"     { $url =~ s|^\w+://(hg\.debian\.org/.*)|ssh://$user$1|; }
     case "svn"   { $url =~ 
s|^\w+://(svn\.debian\.org)/(.*)|svn+ssh://$user$1/svn/$2|; }
--8<---------------cut here---------------end--------------->8---


2) the second solution implies a change in the way darcs.d.o handles
   personal repositories, moving to something similar to git.d.o, i.e.

     http://darcs.debian.org/users/$USER/$REPO

   In this case, the substitution is very simple, but I think that at
   least the local/remote user check is necessary.

--8<---------------cut here---------------start------------->8---
Index: scripts/debcheckout.pl
===================================================================
--- scripts/debcheckout.pl      (revision 811)
+++ scripts/debcheckout.pl      (working copy)
@@ -154,6 +154,7 @@
   $user .= "@" if length $user;
   switch ($repo_type) {
     case "bzr"   { $url =~ 
s|^\w+://(bzr\.debian\.org)/(.*)|sftp://$user$1/bzr/$2|; }
+    case "darcs"  { $url =~ 
s|^\w+://(darcs\.debian\.org)/(.*)|$user$1:/darcs/$2|; }
     case "git"    { $url =~ s|^\w+://(git\.debian\.org/.*)|git+ssh://$user$1|; 
}
     case "hg"     { $url =~ s|^\w+://(hg\.debian\.org/.*)|ssh://$user$1|; }
     case "svn"   { $url =~ 
s|^\w+://(svn\.debian\.org)/(.*)|svn+ssh://$user$1/svn/$2|; }
--8<---------------cut here---------------end--------------->8---


Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://lists.debian.org/debian-devel-announce/2007/10/msg00002.html

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  debianutils                   2.25.1     Miscellaneous utilities specific t
ii  dpkg-dev                      1.14.6     package building tools for Debian
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries
ii  perl                          5.8.8-11   Larry Wall's Practical Extraction 
ii  sed                           4.1.5-4    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.8        Gives a fake root environment

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.10.12

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive:

devscripts_2.10.12.dsc
  to pool/main/d/devscripts/devscripts_2.10.12.dsc
devscripts_2.10.12.tar.gz
  to pool/main/d/devscripts/devscripts_2.10.12.tar.gz
devscripts_2.10.12_i386.deb
  to pool/main/d/devscripts/devscripts_2.10.12_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luk Claes <[EMAIL PROTECTED]> (supplier of updated devscripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 05 Jan 2008 16:27:11 +0100
Source: devscripts
Binary: devscripts
Architecture: source i386
Version: 2.10.12
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[EMAIL PROTECTED]>
Changed-By: Luk Claes <[EMAIL PROTECTED]>
Description: 
 devscripts - Scripts to make the life of a Debian Package maintainer easier
Closes: 284658 429479 445714 446414 448279 451672 453644 453690 454254 456208 
456209 456223 456626 457841 457842 458296 458496 458603 458840
Changes: 
 devscripts (2.10.12) unstable; urgency=low
 .
   [ Stefano Zacchiroli ]
   * debcheckout: add auth support for *.launchpad.net. Thanks to Colin Watson
     for the patch (Closes: #451672)
 .
   [ Mohammed Adnène Trojette ]
   * debian/control:
      + bump Standards-Version to 3.7.3.
      + build-depend on and suggest libterm-size-perl.
   * debian/dirs: create /etc
   * bts:
      + add a -n/--no-action option printing emails to stdout instead
        of sending them. (Closes: #458603)
      + add a "SEE ALSO" section in manual page. (Closes: #458296)
      + automatically Cc: [EMAIL PROTECTED] when (un)tagging a bug
        security. (Closes: #458840)
   * chdist: generate a manual page from source.
   * dch:
      + add a --bin-nmu option for binNMUs. (Closes: #458496)
      + add a -s/--security option for Security Team uploads inspired by
        Ubuntu's.
      + add a -l/--local option to allow adding suffixes to a Debian version
        number. (Closes: #284658)
   * debc/debi: don't mess up --debs-dir option's argument when
     debian/svn-deblayout is present. (Closes: #446414)
   * debcheckout: add support for authentication mode with darcs.
     Thanks Luca Capello for the patch. (Closes: #445714)
   * debdiff: make diff output p1-compatible (for native packages or when
     interdiff is not available). Thanks dAniel hAhler for the patch.
     (Closes: #456223)
   * diff2patches: new patch written by Raphael Geissert <[EMAIL PROTECTED]>.
     Extracts patches from a .diff.gz file placing them under debian/ or,
     if present, debian/patches. (Closes: #456626)
   * grep-excuses: permit requests to http://bjorn.haxx.se/debian/
     with --wipnity, -w option. Idea and implementation courtesy from
     Julian Mehnle <[EMAIL PROTECTED]>. (Closes: #448279)
   * mass-bug: add --user and --usertags options to avoid their wrapping.
     (Closes: #429479)
   * Changes pulled from Ubuntu's diff:
      + debian/control:
         - suggest wget|curl instead of wget
         - suggest lsb-release
      + debuild: preserve DEBEMAIL environment variable.
 .
   [ Adam D. Barratt ]
   * who-uploads: Actually check debian-keyring.pgp by default rather
     than .gpg twice. Thanks to Philipp Kern for pointing the issue out
     (Closes: #456209)
   * who-uploads: Check debian-maintainers.gpg by default. Thanks to
     Philipp Kern for the suggestion (Closes: #456208)
   * debian/control, README: Add debian-maintainers to the suggested
     package list
   * debchange: Add a configuration file option to allow overriding the
     default setting of -t / --mainttrailer (Closes: #454254, #453644)
   * debchange: Correctly handle using an empty changelog entry to switch
     the distribution to UNRELEASED when using the changelog heuristic
     (Closes: #453690)
 .
   [ Luk Claes ]
   * chdist: Add bash_completion script for chdist (Closes: #457842)
   * chdist: Added improvements and fixed bugs. Thanks to Raphaël Pinson
     (Closes: #457841)
   * debdiff: Add support for tar.bz2 tarballs in orig.tar.gz
Files: 
 aaa7c13ee3e888327110bf335b665764 1150 devel optional devscripts_2.10.12.dsc
 bd2f9b716d115de2dd13388bb1aeb0e7 493060 devel optional 
devscripts_2.10.12.tar.gz
 5acde6ec7a8d8a08c1844094b170bd72 430800 devel optional 
devscripts_2.10.12_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHf6H05UTeB5t8Mo0RAlZ0AJwJ9vfWnViFEt2CDByQfCQXXllEXQCgxoUD
JwzR+++OIRuABvDiAZ0gC2s=
=rdzU
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to