{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1745907655,
"reponame":"cgit",
"desc":"CGI gitweb",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/cgit",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"de65cd16f21f8bd468df8271f9b533b1",
"commit": {"type":"commit",
"time": 1530592973,
"time_ofs": 480,
"oid_tree": { "oid": "aa43067cc68f09e0f6fd5a58c8178a694b62122f", "alias": []},
"oid":{ "oid": "d1bb699526842f656f7afa799431003ab285dac2", "alias": [ "refs/heads/decruft","refs/heads/master"]},
"msg": "remove email-gravatar.py",
"sig_commit": { "git_time": { "time": 1530592973, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1530591697, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "remove email-gravatar.py\n\nThe script itself says it is unusable.\n\nThe new native gravatar support deprecates the need for it.\n\nSigned-off-by: Andy Green \u003candy@warmcat.com\u003e"
,
"diff": "diff --git a/filters/email-gravatar.py b/filters/email-gravatar.py\ndeleted file mode 100755\nindex d70440e..0000000\n--- a/filters/email-gravatar.py\n+++ /dev/null\n@@ -1,39 +0,0 @@\n-#!/usr/bin/env python3\n-\n-# Please prefer the email-gravatar.lua using lua: as a prefix over this script. This\n-# script is very slow, in comparison.\n-#\n-# This script may be used with the email-filter or repo.email-filter settings in cgitrc.\n-#\n-# The following environment variables can be used to retrieve the configuration\n-# of the repository for which this script is called:\n-# CGIT_REPO_URL ( \u003d repo.url setting )\n-# CGIT_REPO_NAME ( \u003d repo.name setting )\n-# CGIT_REPO_PATH ( \u003d repo.path setting )\n-# CGIT_REPO_OWNER ( \u003d repo.owner setting )\n-# CGIT_REPO_DEFBRANCH ( \u003d repo.defbranch setting )\n-# CGIT_REPO_SECTION ( \u003d section setting )\n-# CGIT_REPO_CLONE_URL ( \u003d repo.clone-url setting )\n-#\n-# It receives an email address on argv[1] and text on stdin. It prints\n-# to stdout that text prepended by a gravatar at 10pt.\n-\n-import sys\n-import hashlib\n-import codecs\n-\n-email \u003d sys.argv[1].lower().strip()\n-if email[0] \u003d\u003d '\u003c':\n- email \u003d email[1:]\n-if email[-1] \u003d\u003d '\u003e':\n- email \u003d email[0:-1]\n-\n-page \u003d sys.argv[2]\n-\n-sys.stdin \u003d codecs.getreader(\u0022utf-8\u0022)(sys.stdin.detach())\n-sys.stdout \u003d codecs.getwriter(\u0022utf-8\u0022)(sys.stdout.detach())\n-\n-md5 \u003d hashlib.md5(email.encode()).hexdigest()\n-text \u003d sys.stdin.read().strip()\n-\n-print(\u0022\u003cimg src\u003d'//www.gravatar.com/avatar/\u0022 + md5 + \u0022?s\u003d13\u0026amp;d\u003dretro' width\u003d'13' height\u003d'13' alt\u003d'Gravatar' /\u003e \u0022 + text)\n","s":{"c":1745907655,"u": 1136}}
],"g": 2584,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}