public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Marius Mauch <genone@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] circular moves
Date: Mon, 18 Apr 2005 17:09:50 +0200	[thread overview]
Message-ID: <20050418170950.1fbb4168@andy.genone.homeip.net> (raw)

Hi,

just noticed that there are a number of circular moves in the global
update files (PORTDIR/profiles/update/*). This is a bad thing as they
cause some issues with etc-update and package.* files, see
http://forums.gentoo.org/viewtopic-t-325721.html for an example.

Currently the following entries cause problems:

2Q-2003:move sys-apps/lm_sensors sys-apps/lm-sensors
3Q-2003:move dev-lang/mono dev-dotnet/mono
3Q-2004:move app-laptop/wmbatppc x11-plugins/wmbatppc
3Q-2004:move app-xemacs/eterm app-xemacs/xemacs-eterm
4Q-2002:move net-misc/atftp net-ftp/atftp
4Q-2002:move x11-plugins/gkrellmwireless net-wireless/gkrellmwireless
4Q-2004:move dev-java/wsdl4j-bin dev-java/wsdl4j

Their conterparts being:

1Q-2003:move net-wireless/gkrellmwireless x11-plugins/gkrellmwireless
1Q-2004:move x11-plugins/wmbatppc app-laptop/wmbatppc
1Q-2005:move dev-dotnet/mono dev-lang/mono
1Q-2005:move sys-apps/lm-sensors sys-apps/lm_sensors
2Q-2003:move app-xemacs/xemacs-eterm app-xemacs/eterm
3Q-2003:move net-ftp/atftp net-misc/atftp
3Q-2004:move dev-java/wsdl4j dev-java/wsdl4j-bin

If you maintain one of the mentioned packages please remove the older
entry from the update files.
The following (horrible) bash command was used to find these:

cd profiles/updates; grep ^move * > /tmp/updatelist; for x in $(cut -d\ 
-f 2 < /tmp/updatelist) ; do cat /tmp/updatelist | cut -d\  -f 3 | grep
$x; done > /tmp/indirectlist; l=""; for x in $(< /tmp/indirectlist); do
l="$l\n$(grep $x /tmp/updatelist | cut -d\  -f 2-3)"; done; while read
x; do y=$(echo $x | grep -E '.+/.+ .+/.+ .+/.+ .+/.+'); a=$(echo $y |
cut -d\   -f 1); b=$(echo $y | cut -d\  -f 2); c=$(echo $y | cut -d\  -f
3); d=$(echo $y | cut -d\  -f 4); [ "$a" == "$d" -a "$b" == "$c" ] &&
echo $a $b; done <<< "$(echo -e $l)"|grep -v '^$'|sort -u | while read
x; do grep "$x" *; done

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.
-- 
gentoo-dev@gentoo.org mailing list


             reply	other threads:[~2005-04-18 15:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18 15:09 Marius Mauch [this message]
2005-04-18 18:30 ` [gentoo-dev] circular moves Mike Frysinger
2005-04-19  1:17   ` Olivier Crête
2005-04-19  1:24     ` Mike Frysinger
2005-04-19  1:32     ` Stuart Longland
2005-04-19 12:17 ` Henrik Brix Andersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050418170950.1fbb4168@andy.genone.homeip.net \
    --to=genone@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox