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

Bug#506284: marked as done (tg export -b should look at branch dependencies)



Your message dated Tue, 16 Sep 2025 11:35:40 +0000
with message-id <[🔎] E1uyTyG-00HNYV-04@fasolo.debian.org>
and subject line Bug#1115196: Removed package(s) from unstable
has caused the Debian Bug report #506284,
regarding tg export -b should look at branch dependencies
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.)


-- 
506284: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506284
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: topgit
Version: 0.5-1
Severity: normal
Tags: patch

The new 'tg-export' debian/rules target can create a misordered quilt
series file because the branch dependencies aren't taken into account.

The attached patch fixes this for me, please have a look.

Thanks for your work on topgit,
-- 
Niko Tyni   ntyni@debian.org
>From 508a5ebf43bf01810e514856f90051b520855d23 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Thu, 20 Nov 2008 10:12:13 +0200
Subject: [PATCH] Use the topological order when exporting explicitly listed branches.

When exporting explicitly listed branches (tg export -b), the branch
dependencies were not taken into account.
---
 tg-export.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tg-export.sh b/tg-export.sh
index 52af88d..037b991 100644
--- a/tg-export.sh
+++ b/tg-export.sh
@@ -181,9 +181,9 @@ if [ -z "$branches" ]; then
 	recurse_deps driver "$name"
 	(_ret=0; _dep="$name"; _name=""; _dep_is_tgish=1; driver)
 else
-	echo "$branches" | tr ',' '\n' | while read _dep; do
-		_dep_is_tgish=1
-		$driver
+	echo "$branches" | tr ',' '\n' | while read name; do
+		recurse_deps driver "$name"
+		(_ret=0; _dep="$name"; _name=""; _dep_is_tgish=1; driver)
 	done
 	name="$(echo "$branches" | sed 's/.*,//')"
 fi
-- 
1.5.6.5


--- End Message ---
--- Begin Message ---
Version: 0.8-3+rm

Dear submitter,

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

For details on the removal, please see https://bugs.debian.org/1115196

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply to: