From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C1CDC1382C5 for ; Mon, 4 Jan 2021 04:52:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E320E0934; Mon, 4 Jan 2021 04:52:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8443E0929 for ; Mon, 4 Jan 2021 04:52:12 +0000 (UTC) Subject: Re: [gentoo-dev] [RFC] New go.gentoo.org url shortener To: gentoo-dev@lists.gentoo.org References: From: Joonas Niilola Message-ID: <6bc3477c-7bd7-aede-b788-2e9613edaf09@gentoo.org> Date: Mon, 4 Jan 2021 06:52:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FSr3J1yi4l6mflylUTRJvXX9Z4fX9Oj51" X-Archives-Salt: e14b511d-6b9c-407c-b399-6a71099b5ca6 X-Archives-Hash: 41bec3773d6e99c01dffb1ae4f42c67f This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FSr3J1yi4l6mflylUTRJvXX9Z4fX9Oj51 Content-Type: multipart/mixed; boundary="LLTbqmnTT0cUmoHT77IWJ9EEXoRRbOdPQ"; protected-headers="v1" From: Joonas Niilola To: gentoo-dev@lists.gentoo.org Message-ID: <6bc3477c-7bd7-aede-b788-2e9613edaf09@gentoo.org> Subject: Re: [gentoo-dev] [RFC] New go.gentoo.org url shortener References: In-Reply-To: --LLTbqmnTT0cUmoHT77IWJ9EEXoRRbOdPQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US On 12/8/20 3:55 PM, Max Magorsch wrote: > Hi all, > > the tl;dr is that I've set up a new url shortener which is available > on https://go.gentoo.org/ currently. It can generate short links like > 'go.gentoo.org/XXX' or you can create custom persistent links like > 'go.gentoo.org/arzano/tyrian' or 'go.gentoo.org/infra/hashicorp'. > Basically, I'm looking for some quick feedback whether you consider > this as useful or don't think you would use it much, to decide whether > it's worth offering this service. > > As mentioned the url-shortener is deployed on https://go.gentoo.org > currently. The source code is available at [0]. It's only accessible > by Gentoo developers using Gentoo SSO for the authentication. You can > log in using your nickname and your ldap password. Basically two use > cases are supported: > > 1) Just paste a link and get an automatically shortened url like > 'go.gentoo.org/XXX'. This is pretty much the normal url shortener > functionality. > > 2) You can paste a link and create a custom persistent link using a > prefix like 'go.gentoo.org/$prefix/$custom'. Allowed prefixes are the > nickname of the developer that is logged in or a project the developer > is part of. Thus I for one could create links like > 'go.gentoo.org/arzano/tyrian' or 'go.gentoo.org/infra/hashicorp'. > However, I would e.g. not be able to create > 'go.gentoo.org/qa/policy-guide' as I am not part of the qa project. > Only members of the QA team could create that link. That's also the > reason I've been coming up with this, as this way every developer / > every project would be able to create custom persistent, nice / short > links. > > However, please note that this is just a first beta version yet and > it's not meant to be production-ready yet. Please feel free to test it > though. In general, I'm looking for some feedback on whether you would > be interested in the two functionalities to get a feeling whether it's > worth spending time on this / offering this service at all. > Also I would be especially interested whether you consider the second > functionality as useful. Because if we just want the first > functionality, we can simplify this and just use any of the > url-shorteners that are already out there, instead of using the > solution I have built. > > /M > > [0] https://gitweb.gentoo.org/sites/go-gentoo.git/ > Hi, well my first impressions are that there are few major issues why I wouldn't use this: =C2=A0- for an URL shortener the final URL isn't really that short (there= are multiple alternatives), =C2=A0- not a CLI tool to handle this (yet at least), =C2=A0- login would be REQUIRED so people won't spread malicious links wi= th "gentoo.org" in it, or at least the accounts can be disabled. Although I do like the idea of team-specific links, in the end I fear there'd be many dead links and no one to clean/check those. So in the documents we're better at referring to the original source. -- juippis --LLTbqmnTT0cUmoHT77IWJ9EEXoRRbOdPQ-- --FSr3J1yi4l6mflylUTRJvXX9Z4fX9Oj51 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEltRJ9L6XRmDQCngHc4OUK43AaWIFAl/ynvFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk2 RDQ0OUY0QkU5NzQ2NjBEMDBBNzgwNzczODM5NDJCOERDMDY5NjIACgkQc4OUK43A aWKRtggAxJVkbXPb6rqfdgqFFCj9PJkVLcPuM4cKust6/ajGXfGJAbQ0fCBt8GNA XIgSe74622xvUZK7jYSUVbvdfZkqTO/5ilbYCmTTp7l4gBBoTdpn7dTPuqIF13Ij 7hwDWW71adHPXqXVHDQ+pWE07Yn0lEd3v4D7PQ+LV7SYQm5kOBbkClvE+S7jXDkk Y200LlleVB+YEOgYkEA5q5US8WQcpYirYfgat2/ULl4BU6HKOXhWEDFmOcFaaFUu gfbhbyLdQivhTEdxccXT/86hqwNyKo5uE9k5Eyi/QcwAVX2wO1OivHMAcyWz+z28 NGOWQ1B3MMyqF7BOmM2Ab01o5g0RSg== =BoUJ -----END PGP SIGNATURE----- --FSr3J1yi4l6mflylUTRJvXX9Z4fX9Oj51--