From: chris at chrisdown.name (Chris Down)
Subject: Snapshots not working
Date: Thu, 7 Feb 2013 13:06:20 +0800 [thread overview]
Message-ID: <CAL4mb5bFBy4AaYnPNyhGpJ3U7-jiSGv-qiJ15Mp9DG2jS-9Dng@mail.gmail.com> (raw)
In-Reply-To: <CAHmME9ovsXndQZLTh2U6kbi4RO1S-XMSTA+5xuT8-O9GmgwwVQ@mail.gmail.com>
Hi Jason,
AFAIK I don't have any caching (at least, I have no caching set up in
nginx or fastcgi). This issue even occurred before I had any branches
other than "master", too, so I don't think it can be a cache issue
since those have since appeared in cgit (although I'm more than
willing to be proved wrong about that).
Here's how my /etc/cgitrc looks:
--
virtual-root=/
scan-path=/home/git
snapshots=tar tar.gz tar.bz2 zip
root-title=illCODE
root-desc=
--
And here's my nginx config for cgit:
--
server {
listen 80;
server_name git.illco.de;
location ~* ^.+\.(css|png|ico)$ {
root /var/www/cgit;
expires 30d;
}
location / {
rewrite ^/([^?/]+/[^?]*)?(?:\?(.*))?$ /cgit?url=$1&$2 last;
include "fastcgi_params";
fastcgi_param DOCUMENT_ROOT /var/www/cgit;
fastcgi_param SCRIPT_FILENAME /var/www/cgit/cgit.cgi;
}
access_log /var/log/nginx/cgit.access.log combined;
error_log /var/log/nginx/cgit.error.log warn;
}
--
Chris
On 7 February 2013 12:29, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> Hi Chris,
>
> On Thu, Feb 7, 2013 at 5:18 AM, Chris Down <chris at chrisdown.name> wrote:
>>
>>
>> I'm using v0.9.1-4-g05da. Is there something else that I'm supposed to
>> do to get snapshots working?
>>
>
> http://git.illco.de/clarity/snapshot/clarity-master.zip appears to
> work fine. But I don't see the links in the HTML. Do you have cache
> settings that are really aggressive that are caching the old HTML?
> (Try deleting that cache directory, if so.) Or do you have a per-repo
> setting that's disabling it?
>
> Jason
next prev parent reply other threads:[~2013-02-07 5:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-07 4:18 chris
2013-02-07 4:29 ` Jason
2013-02-07 5:06 ` chris [this message]
2013-02-07 7:01 ` hjemli
2013-02-07 7:08 ` chris
2013-02-07 7:08 ` chris
2013-02-07 8:18 ` mailings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAL4mb5bFBy4AaYnPNyhGpJ3U7-jiSGv-qiJ15Mp9DG2jS-9Dng@mail.gmail.com \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).