From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11062 invoked from network); 21 Aug 2020 16:25:14 -0000 Received: from krantz.zx2c4.com (192.95.5.69) by inbox.vuxu.org with ESMTPUTF8; 21 Aug 2020 16:25:14 -0000 Received: by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 0d0ff85b; Fri, 21 Aug 2020 15:58:36 +0000 (UTC) Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id 34206921 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 21 Aug 2020 15:58:34 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 870CE5C0214; Fri, 21 Aug 2020 12:25:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 21 Aug 2020 12:25:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxed.net; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=6 0B7+ztly6BzR3R5BUzI9stjsZ328/LxilwPoEmsAEw=; b=f02rJMuTiF5fuquB2 T7j/9b29Q8nQiGkj85581F6CuD6ThsdTW3D9lX2wYkR41gkRriVWCKH/i5dNBSgj QRrqpwIBEJTNAjo1PZK17pEbusS53txBFy4ly9w8t5QzETV0Kh30C+WVJJDly30j OYq5e/I/XEXI3i0yzRRnN+VcRf1EdimHK5oGEGVXI/kS4hEObhYgKtrezk2U6v9W 9Q/CTLcAIdyIoqgei6CM0DuINp38KaR0uQB21hzKgEJfFeDHg2V7+mT7mCI6Jwgz Dg1GMCphd3oKbmoXvuClKoCIS9UpjIVijt9el4Seuco3fzkuWg6gq7WhaJW18Qd8 T2HpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=60B7+ztly6BzR3R5BUzI9stjsZ328/LxilwPoEmsA Ew=; b=bhzc07skkghBELN67ed29nyFWQQF7Dlv4+ZLpqOZZpwOzdsQ2k68E5ebU s7vhxQP0opMmJUgp+fETJSb1Yp9Oa7zdAEeKouw6L4BdpbgV8bFMIX3s/TfJEQUt vYlfyiQu9xRlf87w8WWUi83JsqLZRXWqIu9XMAG7F26ks9cXgv8DaHm2SZWPfZIi pgmSUETuiUKtn8I36zJi4LHz1FqzRFnUApKEhp92XiADhcPIshkM3vUeKDU1bblg Nh/2U8NFMkSvTdktmqlrvaZkzjYH3mPvGXFouc2VW3MJbtl03OowCunM3c0QduwX U1FG+IwbgFMkljgQ26G1xMoWVUKbw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudduvddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhephfhrrghn pohoihhspgfmohhomhgrnhcuoehfkhhoohhmrghnsehtuhigvggurdhnvghtqeenucggtf frrghtthgvrhhnpedufffhfeehieffieehhfduiefhffeuffdvgfelveffleettefgiefg gfetffeiffenucfkphepledurdeigedrieefrdduheeinecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhkohhomhgrnhesthhugigvugdrnhgv th X-ME-Proxy: Received: from [192.168.178.86] (ip5b403f9c.dynamic.kabel-deutschland.de [91.64.63.156]) by mail.messagingengine.com (Postfix) with ESMTPA id C1147328005E; Fri, 21 Aug 2020 12:25:07 -0400 (EDT) Subject: Re: renamed default branch, no "Idle" value on index at all To: John Keeping Cc: cgit@lists.zx2c4.com References: <943afd96-17df-df04-d143-0a2ef934cccc@tuxed.net> <20200821160120.GB11891@john.keeping.me.uk> From: =?UTF-8?Q?Fran=c3=a7ois_Kooman?= Message-ID: <773a9e55-293d-47c3-7d47-0b2034129852@tuxed.net> Date: Fri, 21 Aug 2020 18:25:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200821160120.GB11891@john.keeping.me.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" On 8/21/20 6:01 PM, John Keeping wrote: > It looks like the "guess default branch" logic isn't considered for the > index page. Ah I see! > Alternatively you can use a hook to update an agefile and that will be > read instead of the default branch. This also allows setting the last > modified time to be the newest across a collection of branches. I did that now as it actually nice to base the age on all branches and not just on the default. > I had a quick look at guessing the default branch (from HEAD) for the > repolist, but that's not simple because it requires initialising Git in > each repository (see cgit.c::guess_defbranch() which is used for repo > pages). Seems there is not an quick easy fix to make that work, in any case the hook is better! Thanks! Regards, François