From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B472628150A for ; Fri, 11 Apr 2025 20:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744404869; cv=none; b=Iaq52OpzNZvPql5XmTG7Ds7+EOMcFLX7MyCPIjIkn5XTwsCybM9vvzTMOmnMAKHq5Ec6pfDwn/gXjO9h6GNf4rl+kgVi8Kj0p10lIP93LtXRSr36oQc9N/Xqn1EmJ+iHJhKoYiY59uJ5Fj3urbh0wK8rIQQi6Gn16hBwI3Msg5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744404869; c=relaxed/simple; bh=YD2eF2Slv9qVkZNwzKyOI6hxU/7gWOD6ysJEEP8mMWA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=alubENsAYh2/HnKW12ak837VX2z+W6Y3DPrDyngjdMDvRo8ihL4D5GsnyYpG3ADpRCVt0f23CAyJf4dzRZ+mvvaLXGrOFipj2t1T+6eMjcYGgFXKo3DlILU2DxCekKEF/+R+rq2T8gYE3pTvqppeC0VRx7UKfOOb3xk1yW9zlv4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Gy8dfJxU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Gy8dfJxU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAB6AC4CEE2; Fri, 11 Apr 2025 20:54:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744404869; bh=YD2eF2Slv9qVkZNwzKyOI6hxU/7gWOD6ysJEEP8mMWA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gy8dfJxUHv+YaB0cy5BpIdr3r2uXMEzQiwZ3KgrqX1lAT0LGsSZvsoSXgOQr/U90W 2HB2EFj3kpEQbnTcnqCnxeV9Dv+AU5PUKGqBM3A515qeNA3jMfb6rarVC1NMh51n3s cqa0mb5Wo6RTPXnDgwjYedUbgo8IkXAkUfxhQYjs= Date: Fri, 11 Apr 2025 16:54:25 -0400 From: Konstantin Ryabitsev To: Borislav Petkov Cc: Daniel Gomez , users@kernel.org, Luis Chamberlain , Chuck Lever , kdevops@lists.linux.dev Subject: Re: Forbidden requests for kernel.org/releases.json Message-ID: <20250411-talented-elegant-earthworm-e741ef@lemur> References: <20250410103037.GCZ_edzWEQSfxV880T@fat_crate.local> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20250410103037.GCZ_edzWEQSfxV880T@fat_crate.local> On Thu, Apr 10, 2025 at 12:30:37PM +0200, Borislav Petkov wrote: > +1 > > I have a script which tests whether a lore link: URL I'm adding to patches, is > correct. I.e. whether > > https://lore.kernel.org/r/ > > can be read. > > What would be the suggested thing to do in such cases? You can continue doing it -- this is a lightweight operation. Just use a HEAD request instead of a GET request. E.g.: [[ $(curl -o/dev/null -sIw '%{response_code}' https://lore.kernel.org/all/20250411201912.2872-1-annie.li@oracle.co/) -gt 200 ]] && echo "ivalid" || echo "valid" -K