From general-return-2252-archive-asf-public=cust-asf.ponee.io@attic.apache.org Sun May 6 10:58:41 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 1A932180674 for ; Sun, 6 May 2018 10:58:40 +0200 (CEST) Received: (qmail 17662 invoked by uid 500); 6 May 2018 08:58:39 -0000 Mailing-List: contact general-help@attic.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@attic.apache.org Delivered-To: mailing list general@attic.apache.org Received: (qmail 17648 invoked by uid 99); 6 May 2018 08:58:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2018 08:58:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 82EECC9FC2 for ; Sun, 6 May 2018 08:58:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.112 X-Spam-Level: X-Spam-Status: No, score=-0.112 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id kgMlOKliOXZD for ; Sun, 6 May 2018 08:58:37 +0000 (UTC) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 633385F216 for ; Sun, 6 May 2018 08:58:36 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a14so20567483pfi.1 for ; Sun, 06 May 2018 01:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=BMLammrSqJudVjYcSpGHIJ699dctHhNoiIc2gOHwrjQ=; b=RkXYeRJZ28BvhB2FCGty7Hv+9cNzlLUu2ATOtnOg1oH1iQRoE3MzhTEFb/9c6skJyU 5UrrE0/pbMOHrS+UitmAZWxVg+QV3ursB9q9jXx54ZKCViq1bsd6tQ2IXeNYgleBoE2d yx+jjDwnqAMlMXDaR/75lJ3NuqIwH3yxiD9RrgFkcBZILwZL9D7Gr7WL8cK0Mtv2KNsC MmEBSFPT1FTbR7Bpar28WZcEpRANdBbCSywMcw23hLLqIE5+KcnE+D0Op6b1VVP1fdSi ukkTSCwWy9N1UdTJZ1B4ZmYXQJN0VFj6o8LWfp5BCrMnUtuy5qcXPEoom+3OPb59fweW +VPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=BMLammrSqJudVjYcSpGHIJ699dctHhNoiIc2gOHwrjQ=; b=Xz/8vSM94A8sC9W/quofjdF1VHU7cJ2LTfe2rmrCAs7OPRoV0POQyjtERujcUZJAsk tnkLl7+EwXOUPSsIopmlwQJFH6mp1j8bXcNgZ5kfCiu3iUA7ohFhhyaAY4hVpwlL+y/w KB/uMbc/WTFkxq9p+StjlIaPVNr6zPTc/NPJGPG4wKreL+dp1bwh0JK1wb/afxIa1n9Q YmGTZfHXHLaGYy552iL8JJTI6tmpEUDaoAzQpAw8pSSv+Eoljx3z7ju3lhRahKggg0Wr B3JVuhGaIuaaloDBcb8FXuyn+XUZlP048fKTI7XlAUxCHNCm2AyFoyWzL0bR8I825FWv Wu5w== X-Gm-Message-State: ALQs6tBb8AgjhCW4F4VWxd68bNBBxWUcM2Kxwa7SPQegVUEh9xeOpcQ6 bi44U1tPCfFEltLioVvlU0I9C1BOagi6dJA/MGkr/Q== X-Google-Smtp-Source: AB8JxZqGqpE7F4QOpgwcRTB+sC6ra6EunGVHJugwliP0/r5zs0fsgF5s4VyYkVRgTPKVKS2pfmjNptceGfOZ7uyzRaQ= X-Received: by 2002:a63:7e4e:: with SMTP id o14-v6mr26678363pgn.18.1525597114482; Sun, 06 May 2018 01:58:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.166.22 with HTTP; Sun, 6 May 2018 01:58:33 -0700 (PDT) In-Reply-To: <2378337.40LPZzAF3e@giga> References: <1971614.pR5HYD3EU2@giga> <2378337.40LPZzAF3e@giga> From: sebb Date: Sun, 6 May 2018 09:58:33 +0100 Message-ID: Subject: Re: Proposal to fix oltu.[.us|.eu].apache.org banner prefixing To: general@attic.apache.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 6 May 2018 at 09:06, Herv=C3=A9 BOUTEMY wrote: > Le samedi 5 mai 2018, 17:38:21 CEST Herv=C3=A9 BOUTEMY a =C3=A9crit : >> Le samedi 5 mai 2018, 17:24:09 CEST sebb a =C3=A9crit : >> > On 5 May 2018 at 16:15, Herv=C3=A9 BOUTEMY wro= te: >> > > Honestly, who knows or uses the .us and .eu DNS names? >> > > the requirement seems quite theoretical to me: is not worth making s= ite >> > > maintenance harder >> > >> > I am only suggesting doing it for oltu. >> >> honestly, doing it or not just for this one is not critical >> -0 > sorry, was angry yesterday: that's human life :) > > +1 > AFAIK, adding 3 DNS entries banner flag files instead of only one won't w= reak > havoc and will improve completeness of the solution > > let's do it and continue to move forward OK, thanks. I'll wait a couple more days in case there are other comments. > Regards, > > Herv=C3=A9 > >> >> > > but I had a little idea on the flag file creation that could do the = job, >> > > while even simplifying site maintenance =3D what it is more about >> > >> > Automation is for later. >> >> when automation adds a big change, yes >> the idea here is so simple that no need to wait >> >> I tested it in my asf-attic.github.io for oltu: >> https://github.com/asf-attic/asf-attic.github.io/tree/source >> >> works like a charm with just a few lines of shell script >> >> I didn't take time to create a branch for review here, since this repo i= s >> not a real shared repo (and I was lazy) >> but in normal situation, this would be in a branch so we can discuss if = we >> want to merge the commit, or change it >> (and now I regret not having created that branch, since it would have be= en a >> good demo of discussing before merging... >> >> > > since what we need is just to create flag file, why not code the >> > > creation >> > > basically in build.sh, in basic shell >> > > >> > > with a basic convention like adding XML comments in projects/*.xml: >> > > >> > > >> > > >> > > build.sh could basically do: >> > > >> > > for retired in `grep 'retired flag:' xdocs/projects/*.xml | awk '{ p= rint >> > > $3 }'` do >> > > >> > > for d in $retired $retired.us $retired.eu >> > > do >> > > >> > > mkdir docs/flagged/$d.apache.org >> > > touch docs/flagged/$d.apache.org/$d.apache.org >> > > >> > > done >> > > >> > > done >> > > >> > > >> > > I know, I know, that's not very elegant... >> > > >> > > But it would ease maintenance just now, isn't it? and as a side effe= ct, >> > > treat the .us and .eu DNS names... >> > > (and nobody will cry when reimplementing the feature with a new buil= d >> > > tool) >> > > >> > > Regards, >> > > >> > > Herv=C3=A9 >> > > >> > > Le samedi 5 mai 2018, 14:39:14 CEST sebb a =C3=A9crit : >> > >> The Attic banners are currently added to pages oltu.apache.org >> > >> However they are not added to oltu.us.apache.org and oltu.eu.apache= .org >> > >> This could be confusing. >> > >> >> > >> A simple solution would be to create the directories: >> > >> >> > >> xdocs/oltu.eu.apache.org >> > >> xdocs/oltu.us.apache.org >> > >> >> > >> This is not ideal long-term, but at least in the meantime the banne= r >> > >> prefixing would work. >> > >> A better solution can be sorted out later. >> > >> >> > >> Are there any objections to creating those directories? >> > >> >> > >> S. > >