#4263 Getting patch from fedorapeople cgit no longer works
Closed: Fixed None Opened 10 years ago by adelton.

= bug description =

I use URLs like

http://fedorapeople.org/cgit/adelton/public_git/CGI-sessions.git/patch/app.cgi?id=additional-attributes

to get the raw version of patch

http://fedorapeople.org/cgit/adelton/public_git/CGI-sessions.git/diff/app.cgi?id=additional-attributes

Lately (last few hours?) the content of the HTTP response is empty.

= bug analysis =

I get the following

{{{
$ GET -Se 'http://fedorapeople.org/cgit/adelton/public_git/CGI-sessions.git/patch/app.cgi?id=additional-attributes'
GET http://fedorapeople.org/cgit/adelton/public_git/CGI-sessions.git/patch/app.cgi?id=additional-attributes
200 OK
Connection: close
Date: Thu, 20 Mar 2014 11:40:01 GMT
Server: Apache/2.2.15
Vary: Accept-Encoding,User-Agent
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Expires: Sun, 17 Mar 2024 11:10:25 GMT
Last-Modified: Thu, 20 Mar 2014 11:10:25 GMT
Client-Date: Thu, 20 Mar 2014 11:40:01 GMT
Client-Peer: 152.19.134.191:80
Client-Response-Num: 1
Content-Disposition: inline; filename="bd1d3bb21d0d8bf5f32a0609c05f1a39cf950816..e5ea8141d8308d5b2d3ecdbcd4d18aefd3015155.patch"

$
}}}

and the page is empty in Firefox as well.

= fix recommendation =

No idea. Make it work again? ;-)


Fixed.

It looks like it was some old cache files from the previous cgit version. I cleaned them out and the above links now work fine for me.

Please reopen/let us know if you need anything further.

I still get inconsistent and mostly incorrect results.

Sometimes I get empty output. Sometimes I get the whole patch for the commit, not just patch for the app.cgi file.

Reopening for further investigation.

This was finally patched upstream... I've backported the patch.

It now shows me the correct output everytime.

Please reopen if you still see any issues.

Login to comment on this ticket.

Metadata