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 12:51:59 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1540227082 11143 195.159.176.226 (22 Oct 2018 16:51:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2018 16:51:22 +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 18:51:18 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 1gEdQE-0002n2-55 for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2018 18:51:18 +0200 Original-Received: from localhost ([::1]:36250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEdSK-0004QU-Gf for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2018 12:53:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEdRX-0003ix-9D for emacs-devel@gnu.org; Mon, 22 Oct 2018 12:52:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEdRV-0000aA-NO for emacs-devel@gnu.org; Mon, 22 Oct 2018 12:52:39 -0400 Original-Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:43152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEdRV-0000XW-EA for emacs-devel@gnu.org; Mon, 22 Oct 2018 12:52:37 -0400 Original-Received: by mail-lf1-x12d.google.com with SMTP id p34-v6so30949484lfg.10 for ; Mon, 22 Oct 2018 09:52:37 -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; bh=es/saVlIQFIzoiRf4jDZdgZeAd2+LImWbyiN9dsL30U=; b=J8BAPb0owTQwlw0P6VNdOqnROymzFM3Vz+zkKrdMGpwA1RLO93bMGUT6rFZs3kYewl BDI3en0rlXx7XeURspPza2+gKAmVlQJxoYnSNKiowtyIqVvX16PQv6B5Ci9wOvQHABjd lrPgBuirsQdBEAukfnA8Dot5UN2ySFvx42YY/JuQgIAuA4ry30HxzSXgem/7ZBcw6q1a lnEE47JQ47Rsw0Re9ctIhUNNhA3dmD5HLbS+CHwei/FlQmadtepPHKc+IYabGNFFJ3mD Ih3gBEMZSaNq6HjIPjTeqeO41UPjc8r8ai+wpuAnbugYaQ4nqD6ytvfCu/powQKt5XRo ZCag== 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; bh=es/saVlIQFIzoiRf4jDZdgZeAd2+LImWbyiN9dsL30U=; b=NDWxPbK3Kj1yMEUWTHVX8il36aZ/Ma1ohj/t+PndwR0Eb+FFl82FYx1CNeaEp4NVL1 8ZsUY4kB5prtKYahDG2kLoB/hG9zCdse+qptuFOk7eJBJilrcOVCF6SL0bFnsDgzhjg+ 0VlVPN5G/SzMxxDY3iakZDvTgjq7ddtfzhPGy5TMTyARbqukeKYRjkEqMIsKo/pU3yOB DRdOWKxtGEpnprqkI2zceKJv8tvGI6fkE6WIkYk8gjNkP7WmXtJ8GJoC5FhgNB9pSlQK inCr+R4taEoTyUTC1I+V9WgJkwj3ZkKXx3OVYcJXikvtOCKR/lPtLZnhdtoMdhsNREbv D4+w== X-Gm-Message-State: ABuFfohWO2zx+RWPTmR8WbQ3lzOOyMW6lo65DWDVqCE1PUP1jN48kVW4 y+xhfQCJOsHvVRPztSTRHPdHL0xcNj7PH3rSNdM= X-Google-Smtp-Source: ACcGV61kB7jegePFzTNgxNhEao3YLPJ+Uc4fzXpBlEd2e/GOvWMuAMxNM59HPi6APm+nU7L2a38pkv+tCIzKPZOuBS4= X-Received: by 2002:a19:2395:: with SMTP id j143mr2513735lfj.107.1540227155808; Mon, 22 Oct 2018 09:52:35 -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::12d 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:230566 Archived-At: On Thu, May 5, 2016 at 12:42 PM Kaushal Modi wrote: > > On Thu, May 5, 2016 at 8:15 AM Yuri Khan wrote: >> >> I have hosted the script on my home server: >> >> http://greasemonkey.centaur.ath.cx/cgit_Add_commit_hash_column.user.js >> >> You can install this in Firefoxoids using the Greasemonkey or >> Tampermonkey extension, and in Chromides using Tampermonkey. >> >> If you need this on other aliases of Savannah cgit, or on other cgit >> instances, just add the corresponding @include patterns. (If you feel >> adventurous, replace the host with a *; this will enable the script on >> all pages whose URL contains /cgit/ and /log/ in that order.) > > > This is awesome! Thank you! Works! ( http://i.imgur.com/WoWMHB4.png ):) Hello Yuri, Sorry for this blast from the past. I recently noticed that this Greasemonkey script has stopped working (the Hash commit doesn't get auto-inserted). I made a failed attempt at understanding the script and fixing it. Probably something changed in the cgit web format and hopefully this is an easy fix for you.