Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211471 Details for
Bug 294791
repoman should (optionally) check for 301 code for HOMEPAGE
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
both versions of the small bash script from comment #3
find301.sh (text/plain), 811 bytes, created by
Martin Walch
on 2009-11-28 18:41:13 UTC
(
hide
)
Description:
both versions of the small bash script from comment #3
Filename:
MIME Type:
Creator:
Martin Walch
Created:
2009-11-28 18:41:13 UTC
Size:
811 bytes
patch
obsolete
>FORMAT="<category>/<name> <homepage>\n" eix | while read var; do name=`echo $var | cut -d\ -f1 -s`; value=`echo $var | cut -d\ -f2- -s`; for i in $value; do if [ ${i:0:4} = http ] && [ $(host $(echo $i | cut -d: -f2 | cut -d/ -f3)>/dev/null; echo $?) = 0 ] && [ ! "$(httping -g $i -c1 -G -m -o301 -e1)" = "1" -a $? = 0 ]; then echo $name: $i; fi; done; done > >FORMAT="<category>/<name> <homepage>\n" eix | while read var > do name=$(echo $var | cut -d\ -f1 -s) > value=$(echo $var | cut -d\ -f2- -s) > for i in $value > do \ > host=$(echo $i | cut -d: -f2 | cut -d/ -f3) > if [ ${i:0:4} = http ] \ > && [ $(host $host>/dev/null; echo $?) = 0 ] && \ > [ ! "$(httping $i -c1 -G -m -o301 -e1)" = "1" -a $? = 0 ] > then echo $name: $i > fi > done > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 294791
: 211471