Gentoo Archives: gentoo-dev

From: Max Magorsch <arzano@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] New go.gentoo.org url shortener
Date: Tue, 08 Dec 2020 13:55:57
Message-Id: CA+vObeiRrH7njy1wd9JLLNRr7ye-V4KLdLS_NGrjSmU7LynKgw@mail.gmail.com
1 Hi all,
2
3 the tl;dr is that I've set up a new url shortener which is available
4 on https://go.gentoo.org/ currently. It can generate short links like
5 'go.gentoo.org/XXX' or you can create custom persistent links like
6 'go.gentoo.org/arzano/tyrian' or 'go.gentoo.org/infra/hashicorp'.
7 Basically, I'm looking for some quick feedback whether you consider
8 this as useful or don't think you would use it much, to decide whether
9 it's worth offering this service.
10
11 As mentioned the url-shortener is deployed on https://go.gentoo.org
12 currently. The source code is available at [0]. It's only accessible
13 by Gentoo developers using Gentoo SSO for the authentication. You can
14 log in using your nickname and your ldap password. Basically two use
15 cases are supported:
16
17 1) Just paste a link and get an automatically shortened url like
18 'go.gentoo.org/XXX'. This is pretty much the normal url shortener
19 functionality.
20
21 2) You can paste a link and create a custom persistent link using a
22 prefix like 'go.gentoo.org/$prefix/$custom'. Allowed prefixes are the
23 nickname of the developer that is logged in or a project the developer
24 is part of. Thus I for one could create links like
25 'go.gentoo.org/arzano/tyrian' or 'go.gentoo.org/infra/hashicorp'.
26 However, I would e.g. not be able to create
27 'go.gentoo.org/qa/policy-guide' as I am not part of the qa project.
28 Only members of the QA team could create that link. That's also the
29 reason I've been coming up with this, as this way every developer /
30 every project would be able to create custom persistent, nice / short
31 links.
32
33 However, please note that this is just a first beta version yet and
34 it's not meant to be production-ready yet. Please feel free to test it
35 though. In general, I'm looking for some feedback on whether you would
36 be interested in the two functionalities to get a feeling whether it's
37 worth spending time on this / offering this service at all.
38 Also I would be especially interested whether you consider the second
39 functionality as useful. Because if we just want the first
40 functionality, we can simplify this and just use any of the
41 url-shorteners that are already out there, instead of using the
42 solution I have built.
43
44 /M
45
46 [0] https://gitweb.gentoo.org/sites/go-gentoo.git/

Replies

Subject Author
Re: [gentoo-dev] [RFC] New go.gentoo.org url shortener Joonas Niilola <juippis@g.o>