On Thu, Dec 17, 2015 at 12:34:01PM +0100, Marcin Juszkiewicz wrote: > Hi > > As part of my work as AArch64 secondary architecture developer > I keep git trees of all Fedora packages on my development machine. > Tend to update it ~weekly. > > Script for it is easy: > ------------------------------------------------------------------------ > #!/bin/bash > > HTMP=`mktemp -d` > > echo "fetching Fedora packages list" > pkgdb-cli list |cut -d" " -f4 |sort >$HTMP/fedoralist > ls -d1 * |sort >$HTMP/localpackages > diff -u $HTMP/localpackages $HTMP/fedoralist |grep ^+|sed -e "s/^+//g"|grep -v fedoralist >$HTMP/newpackages > echo "new packages are:" > cat $HTMP/newpackages > echo "cloning new packages" > for pkg in `cat $HTMP/newpackages`; > do > fedpkg clone $pkg > done > ------------------------------------------------------------------------ > > But there are entries in pkgdb which can not be fetched that way: > > actdiag > gnome-cpufreq-applet > kf5-textwidgets > nwdiag > python-elementtree > repsurgeon > R-gnomeGUI > seqdiag > tetex-beamer > tetex-pgf > tetex-xcolor > > All those packages were orphaned and removed from git. Time to kill > them from pkgdb as well? After testing a few of them in pkgdb, they seem to be marked as retired there as well: https://admin.fedoraproject.org/pkgdb/package/tetex-pgf/ https://admin.fedoraproject.org/pkgdb/package/R-gnomeGUI/ https://admin.fedoraproject.org/pkgdb/package/tetex-beamer/ A bug in your script or in pkgdb's API ? Pierre -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx