From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Add a commit hash (first 6 chars) column to cgit webpage? Date: Mon, 22 Oct 2018 14:00:52 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540231626 30554 195.159.176.226 (22 Oct 2018 18:07:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2018 18:07:06 +0000 (UTC) Cc: Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 22 20:07:02 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEebQ-0007iR-T6 for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2018 20:06:57 +0200 Original-Received: from localhost ([::1]:36474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEedX-0000uF-Ej for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2018 14:09:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEecQ-0000nR-MV for emacs-devel@gnu.org; Mon, 22 Oct 2018 14:07:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEeWK-0003gD-0w for emacs-devel@gnu.org; Mon, 22 Oct 2018 14:01:40 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:37304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEeWJ-0003V4-Oi for emacs-devel@gnu.org; Mon, 22 Oct 2018 14:01:39 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id c4-v6so982956lja.4 for ; Mon, 22 Oct 2018 11:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=V8JtPG1pOmz0Qv8NSVvelI3zlxHtdZXI8ht8cb2a8E8=; b=KUjU9C/YFRGQnviYX1PJh179OtscvxFjzctKWeH0VQLNSNld5g4HKQELNHnK/598DE 9jypkiU7ykTxCPKISS+E9gPdGxK20PM33JrdYAhRF77j9ejxThWm2aiXuydEB9Bwh269 r7LhU0gc2JfHCqQr2Uh6EMGUUCtzSzns/ribKoeJsCMl2GbtUL+loQ3WmKJblOmltftT RY+g9DyybtFREFDU+u9H0Hdnuv8IYnYE9F0jUS8BTdTdUJ6VDyDZPisKtppdPysDHO98 9iTk3MFSdQONb7OMwWxHhP9UChlGCzKoXjw35UAqPGUVT0vxSZzLaQlTvr9SSPQ13VNa bWvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=V8JtPG1pOmz0Qv8NSVvelI3zlxHtdZXI8ht8cb2a8E8=; b=UXJySW5U0vFHY6NmMPba3NuVR4OaM9xzOrJ3U46BUmjBaAvFH7uit143MT+GKg72CM aYMVCFixXl16ZNCXdqzSzAQYUqcUI+H6+Ekk3oERw7ox9Me6wz6iHikmB6rzf0JWXRwC wfh423YJ/sg2YQ6sq8f/wOpvXri63L6ZC9v33LG290NEzWDep04tYK2wiseLYIP28pBC k5Ix6TbI4JffJ2yP/p9gkTaUNK5PHJNzxcSAG303xxMn9b5z0K6Dq4Sr5k/9FwxWN72w b6dIsrb6Xn2i5zF0tO6err70Z0EQ4+f/lHWsw7eK6itO6SgOqGtXaEXHeIdMWiElkiBp gMxA== X-Gm-Message-State: ABuFfogQ2jUEzI5YhOTv0KezKW/DgwxT3rR58pSASFH/VhNUS55GYhoX bs+n27AA87y4yeaeccFyQCGH/nKLH0JZ7jcUV7qPrzLf X-Google-Smtp-Source: ACcGV60+BhfgzGPVbPhrSWnUJ3XhyPsbKp82GuR8r06tuZdnRyYbjj6YISARD8FktJ+82hKZTy5yXHiybqMNro0sci8= X-Received: by 2002:a2e:96cd:: with SMTP id d13-v6mr32042754ljj.35.1540231289034; Mon, 22 Oct 2018 11:01:29 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230569 Archived-At: On Mon, Oct 22, 2018 at 1:49 PM Yuri Khan wrote: > > Still works for me with Firefox 62 and Violentmonkey 2.9.7. (I > migrated to Violentmonkey during the Firefox 57 Time of Troubles, when > Greasemonkey was not yet ported to the WebExtension API.) Thanks for confirming! You suggestions helped me fix this on my end; the @include URL was the issu= e. I confirm this working once again on Firefox 62.0.3 with Greasemonkey. > * See if the script runs. To do that, add a =E2=80=9Cconsole.log('foo')= =E2=80=9D at > the top and save the script. Switch to the cgit tab, open the web > developer toolbox with C-S-i or F12, and switch to the Console tab. > Reload the page. You should see the =E2=80=9Cfoo=E2=80=9D line appear in = the log. This helped! Earlier the script wasn't running at all. > * If the script does not run, see if the URL you are visiting matches > the @include directive in the script. You might have started accessing > Savannah cgit over HTTPS; if that=E2=80=99s the case, add another @includ= e > line with an https URL pattern. This was the problem. At some point, I switched from using http://git.savannah.gnu.org/cgit/emacs.git/log/ to https://git.savannah.gnu.org/cgit/emacs.git/log/ (http -> https). So changing the @include header to below now works! // @include http*://git.savannah.gnu.org/cgit/*/log/*