From dev-return-189914-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Mar 30 18:19:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E5FEB180647 for ; Fri, 30 Mar 2018 18:19:05 +0200 (CEST) Received: (qmail 39507 invoked by uid 500); 30 Mar 2018 16:19:04 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 39496 invoked by uid 99); 30 Mar 2018 16:19:04 -0000 Received: from mail-relay.apache.org (HELO mailrelay1-lw-us.apache.org) (207.244.88.152) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2018 16:19:04 +0000 Received: from Christophers-MacBook-Pro.local (pool-173-66-120-163.washdc.fios.verizon.net [173.66.120.163]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 9AED02A85 for ; Fri, 30 Mar 2018 16:19:03 +0000 (UTC) Subject: Re: Permalinks to presentations To: dev@tomcat.apache.org References: <1828260b-d2f7-3ee4-6698-8415eb390055@christopherschultz.net> From: Christopher Schultz Message-ID: <158bc916-21b3-3cc5-07cb-59bc1b7345f9@christopherschultz.net> Date: Fri, 30 Mar 2018 12:19:02 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rVBnl5d3NAQ2TB1Alx8qPRrnll9degY26" --rVBnl5d3NAQ2TB1Alx8qPRrnll9degY26 Content-Type: multipart/mixed; boundary="QT9ZVUDT0jCY8c78FRn6NNSS1ECbDwDOj"; protected-headers="v1" From: Christopher Schultz To: dev@tomcat.apache.org Message-ID: <158bc916-21b3-3cc5-07cb-59bc1b7345f9@christopherschultz.net> Subject: Re: Permalinks to presentations References: <1828260b-d2f7-3ee4-6698-8415eb390055@christopherschultz.net> In-Reply-To: --QT9ZVUDT0jCY8c78FRn6NNSS1ECbDwDOj Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Rainer, On 3/29/18 9:51 PM, Rainer Jung wrote: > Am 30.03.2018 um 02:30 schrieb Christopher Schultz: >> All, >> >> Occasionally, we all have the need to give a reference to a presentati= on >> to someone e.g. on the users mailing list. For example: >> >> https://lists.apache.org/thread.html/6b604dd26142038a4abb1c378af49beee= 12d4ae1d2d8dc65391fd701@%3Cusers.tomcat.apache.org%3E >> >> >> In that case, I gave a direct link to a specific presentation (my >> Monitoring w/JMX presentation from ApacheCon NA 2016). >> >> I think this isn't good for 2 reasons: >> >> 1. Links are fragile. I may remove my presentation from >> people.a.o/~username, that stuff may be relocated, etc. >> >> 2. It may not be the most up-to-date version of that presentation. I >> gave a similar talk at ApacheCon NA 2015 but the 2016 version is bette= r. >> If I do another one in 2018, presumably it will be the best, most >> up-to-date one and yet I've emailed-out links directly to the 2017 (an= d >> presumably 2015) version. >> >> 3. It avoids the Tomcat "presentations" page. Presumably, someone >> interested in one presentation may be interested in the others. >> >> The alternative is to say "go to /presentations.html" and search for >> "topic X", but as that page fills-up, I suspect people will be unlikel= y >> to actually find and read the document. I think a direct-link is >> probably best, if possible. >> >> I'm wondering if there might be a way to fix these. My initial idea wa= s >> something like an "always up-to-date link to presentation X" where X i= s >> whatever presentations we often refer to (e.g. Mark's "tracking-down >> memory leaks in web applications"). That doesn't fix issue #3 but mayb= e >> someone else has an idea. >> >> What are our options when it comes to something like a URL which is an= >> alias to the "latest presentation X"? If I were in control of the web >> server(s), I'd use something like mod_alias to perform a >> temporary-redirect from tomcat.apache.org/presentations/current-X to >> people.a.o/~user/whatever. That just needs to be updated any time the >> presentation is updated. >> >> That's a little fragile, too, since anyone making a presentation would= >> have to register the presentation under a well-known name and then >> submit requests to update it. That means work for someone here (likely= >> Mark, part of Infra). Is there a way we could do this such that any >> committer could update such redirects? >> >> Any other thoughts or ideas? >> >> In order to satisfy #3 above, perhaps we could have a dynamic (or mayb= e >> auto-generated but not actually dynamic) page which lists all the >> presentation topics and floats the "requested" one up to the top. >> Something like: >> >> [Tomcat Presentations] >> >> You have requested the latest version of "Monitoring Tomcat w/JMX". Yo= u >> can find it here: [direct link to latest] >> >> You may be interested in these other presentations as well: >> >> * [Other topic A, link to latest] >> * [Other topic B, link to latest] >> * ... >> >> Or even more good stuff: [link to /presentations.html] >> >> WDYT? >=20 > Our ASF link shortener s.apache.org seems to allow to edit shortened > URLs later. So this would give us: >=20 > - short auto.generated permalink or alternatively a self-chosen URI > - the ability to change the target of the permalink if necessary >=20 > I don't know whether only the creator of the original short link can > edit it, but I think so. Just try the freshly created: >=20 > https://s.apache.org/tomcat-jmx-presentation.pdf >=20 > and after you have seen the redirect, got the the mini-GUI at > s.apache.org and see whether you can edit that link (ID) and let it > point to another URL. When submitting the data it will ask you for your= > apache user id. The experiment will tell us, if any apache committer ca= n > edit any s.apache.org URL, or only the original creator of a URL. I tried to edit yours, and it says: " Only the original author of this short-link (rjung) can override it! " Maybe we can persuade Infra to add a feature where, during the creation of a URL ID, the creator can say "any committer can modify this" or something. -chris --QT9ZVUDT0jCY8c78FRn6NNSS1ECbDwDOj-- --rVBnl5d3NAQ2TB1Alx8qPRrnll9degY26 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlq+Y3YACgkQHPApP6U8 pFjirw/9FAIASWpmk9GwUw77IMgwaDaqDNZWLXfdmTDWNrpUQoJcOHut9UQBLS9j J4uLliyvSOibfniZmfCuf/IVF4l0tNvyYKHsHa/lGPvEXB1Cl8HoMXhyvhVm7WDF VK/K+xvGtgobs+zl8QqMnHQ/tSSAHxF+JI5NqkHYutGkVOF2CA6zFqsUj6Frkela G/DS2TR3R22J1ZXCfhJiQI12IOVGaiWgHAYxzjAUZw+NUO19vn/cBWPFj+vYcfnu N7fpfcrWcebYQL2vHGgLkeGcKg1QTXNI5AC+0xQsyxzxWDM6IlwMj73aHHHb4RoI +j81+1Lczt/lkvcqfwpIipH2EBTK9aRWacVGTRvAmH1EN+wmy/69hS/GqaUzt3u6 yY6Y/mGhIKd0G5dyn2C0l1ilfxiMeSizQaq7G77ThiNiNhvy6cn9gPXH64v6DK+l n2qvdf46ENGM/zHdxeTcVdXqRksVmeAjE4QHptzQDCLeJd+XrhnxD8vobI93X9O8 zASwIiGCL6Bie7b6pgnhP5D0Yi4BeY58U3ytmuJ08daKzsa0ksgmiZbA0Ww22Njn nASrmRKCcGR8Xcymlq4bjIclvT2hB+KcGYs1UyvOMvwNuonq4H3Ug2FK3vEi5+ZX AniTxcytsMBPmGErQibHU2EhVjClWWjKut8M3Qsc7grILUg5Hi0= =dlPM -----END PGP SIGNATURE----- --rVBnl5d3NAQ2TB1Alx8qPRrnll9degY26--