Critpath auto-generation

Josh Boyer jwboyer at gmail.com
Wed Oct 28 16:50:07 UTC 2009


On Wed, Oct 28, 2009 at 09:08:24AM -0700, Jesse Keating wrote:
>> Since it seemed like we didn't want to put the critpath.txt file into the
>> mirrored content of rawhide, we could either not worry about the static
>> location and still put it under the logs dir.  Or we could create a new
>> /mnt/koji/mash/critpath.txt symlink that points to
>> /mnt/koji/mash/rawhide-<date>/logs/critpath.txt or $other_idea.
>> 
>> Let me know where you want the file to go.  I'll post a patch with the changes
>> before pushing it to the repo.
>
>The "rawhide" symlink is relatively new, not sure how many places it is
>in use.  I wouldn't be opposed to adjusting that symlink so that it
>points to rawhide-<date>  instead of rawhide-<date>/development/.  I
>think we'd have to change a few, but not many, other scripts to account
>for this, but I'd rather that then a growing set of symlinks being
>fiddled with.

I'm fine with that too.  As of right now, the critpath.py script and change are
in the releng git repo.  If I commit and push the change below, we should
get a critpath.txt file in the logs dir after depcheck is done.

Let me know if the change looks fine, and I'll commit it.  Then we can go
about mucking around with the rawhide symlink and associated changes.

josh

---

diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index 73fa900..8aac2c7 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -38,6 +38,8 @@ mock -r $MOCKCONFIG --uniqueext=$DATE --unpriv --chroot "/usr/bin/repodiff -q --
 
 mock -r $MOCKCONFIG --uniqueext=$DATE --unpriv --chroot "/usr/share/mash/spam-o-matic /mnt/koji/mash/rawhide-$DATE/development >/mnt/koji/mash/rawhide-$DATE/logs/depcheck" &
 
+./scripts/critpath.py --url file:///mnt/koji/mash/rawhide-$DATE/ -o /mnt/koji/mash/rawhide-$DATE/logs/critpath.txt rawhide > /mnt/koji/mash/rawhide-$DATE/logs/critpath.log
+
 for arch in i386 x86_64 ppc ; do
     HOST=$(koji list-hosts --quiet --enabled --ready --arch=$arch | sed 's|/| |g' | sort -gn -k4 -k5r | awk -F '.' '{ print $1 ; exit }')
     ./scripts/pungify $DATE $arch $HOST > /mnt/koji/mash/rawhide-$DATE/logs/pungify-$arch.log 2>&1 &
>
>
>-- 
>Jesse Keating
>Fedora -- Freedom² is a feature!
>identi.ca: http://identi.ca/jkeating



>_______________________________________________
>rel-eng mailing list
>rel-eng at lists.fedoraproject.org
>https://admin.fedoraproject.org/mailman/listinfo/rel-eng



More information about the rel-eng mailing list