CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1404 - ports/opt portdbc getup <repo> fails

Attached to Project: CRUX
Opened by xcko (xcko) - Monday, 24 April 2017, 03:26 GMT
Last edited by Fredrik Rinnestam (frinnst) - Saturday, 17 June 2017, 16:37 GMT
Task Type Bug Report
Category ports → core/opt
Status Closed
Assigned To Jose V Beneyto (sepen)
Operating System CRUX
Severity Low
Priority Low
Reported Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Running portdbc getup <repo> (e.g. romster or xen) fails with this warning:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://crux.nu/portdb/?a=getup&amp;q=xen">here</a>.</p>
</body></html>

What should happen is portdbc prints the httpup/rsync file for a repository.
Tested on Crux 3.3 with portdbc version 1.1
Mon Apr 24 03:26:23 UTC 2017
This task depends upon

Closed by  Fredrik Rinnestam (frinnst)
Saturday, 17 June 2017, 16:37 GMT
Reason for closing:  Fixed
Comment by Fun (fun) - Thursday, 04 May 2017, 17:16 GMT
Attached the patches to support 302 redirects.
   follow_redirect_302.patch (0.5 KiB)
   portdbc.patch (0.5 KiB)

Loading...