infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-15966) Redirects for mboxes that have been moved
Date Tue, 10 Apr 2018 10:31:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-15966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432036#comment-16432036
] 

ASF GitHub Bot commented on INFRA-15966:
----------------------------------------

gmcdonald closed pull request #866: INFRA-15966 - renamed projects and lists
URL: https://github.com/apache/infrastructure-puppet/pull/866
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/data/nodes/mailarchive-vm.apache.org.yaml b/data/nodes/mailarchive-vm.apache.org.yaml
index d52663d61..b4d3e46a2 100644
--- a/data/nodes/mailarchive-vm.apache.org.yaml
+++ b/data/nodes/mailarchive-vm.apache.org.yaml
@@ -46,6 +46,7 @@ apache::custom_config:
       # Rename a project by prefix
       <Macro RenameProject $old $new>
         RedirectMatch Permanent "^/mod_mbox/$old-(.*)" "/mod_mbox/$new-$1"
+        RedirectMatch Permanent "^/mod_mbox/incubator-$old-(.*)" "/incubator-mod_mbox/$new-$1"
       </Macro>
 
       # Rename a list (don't match trailing characters)
@@ -55,12 +56,19 @@ apache::custom_config:
 
       # group all the renames together
       <Macro Renames>
+        Use RenameProject "amber"        "oltu"
         Use RenameProject "argus"        "ranger"
+        Use RenameProject "callback"     "cordova"
+        Use RenameProject "connectors"   "manifoldcf"
+        Use RenameProject "deft"         "awf"
         Use RenameProject "fleece"       "johnzon"
         Use RenameProject "mysos"        "cotton"
-        Use RenameProject "openejb"       "tomee"
+        Use RenameProject "ooo"          "openoffice"
+        Use RenameProject "openejb"      "tomee"
         Use RenameProject "optiq"        "calcite"
+        Use RenameProject "oscar"        "felix"
         Use RenameProject "quarks"       "edgent"
+        Use RenameProject "rat "         "creadur"
         Use RenameProject "stratosphere" "flink"
         Use RenameProject "zest"         "polygene"
 
@@ -72,7 +80,7 @@ apache::custom_config:
 
         # individual list renames
         Use RenameList "jclouds-issues"  "jclouds-notifications"
-        Use RenameList "libcloud-issues" "libcloud-notifications"
+        Use RenameList "libcloud-commits" "libcloud-notifications"
       </Macro>
 
 logrotate::rule:
@@ -108,6 +116,10 @@ vhosts_asf::vhosts::vhosts:
         MboxScript /archives/archives.js
       </Directory>
 
+      # Redirect lists that have been renamed
+      # must be done before incubator renames
+      Use Renames
+
       # Redirect incubator-name-list to name-list if the former does not exist and the latter
does
       # This allows for graduated podlings
       AllowEncodedSlashes On
@@ -117,9 +129,6 @@ vhosts_asf::vhosts::vhosts:
       RewriteCond /x1/mail-archives.apache.org/mod_mbox/%1 -d
       RewriteRule . /mod_mbox/%1%2 [L]
 
-      # Redirect lists that have been renamed
-      Use Renames
-
   mailarchives-443:
     vhost_name: '*'
     port: 443
@@ -146,6 +155,10 @@ vhosts_asf::vhosts::vhosts:
         MboxScript /archives/archives.js
       </Directory>
 
+      # Redirect lists that have been renamed
+      # must be done before incubator renames
+      Use Renames
+
       # Redirect incubator-name-list to name-list if the former does not exist and the latter
does
       # This allows for graduated podlings
       AllowEncodedSlashes On
@@ -154,6 +167,3 @@ vhosts_asf::vhosts::vhosts:
       RewriteCond /x1/mail-archives.apache.org/mod_mbox/incubator-%1 !-d
       RewriteCond /x1/mail-archives.apache.org/mod_mbox/%1 -d
       RewriteRule . /mod_mbox/%1%2 [L]
-
-      # Redirect lists that have been renamed
-      Use Renames


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Redirects for mboxes that have been moved
> -----------------------------------------
>
>                 Key: INFRA-15966
>                 URL: https://issues.apache.org/jira/browse/INFRA-15966
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Mail Archives
>            Reporter: Sebb
>            Priority: Minor
>              Labels: pull-request-available
>
> When podlings graduate or private lists are made public, the name of the mailing list
may change.
> This does not affect which mails are stored in the archive, but may affect Permalinks
for the original list.
> For example, code-awards@apache was renamed to mentors@community
> So the link
> https://mail-search.apache.org/members/private-arch/code-awards/200506.mbox/%3c31cc3736050604103053254c80@mail.gmail.com%3e
> would become
> https://mail-search.apache.org/members/private-arch/community-mentors/200506.mbox/%3c31cc3736050604103053254c80@mail.gmail.com%3e
> Note that only the directory name under private-arch has changed.
> There may be some changes that are more extensive, e.g. if a list was accidentally created
as private initially, the URL hostname will also change.
> For example:
> https://mail-search.apache.org/members/private-arch/olingo-user/201404.mbox/%3cCAOEBAJCj65fZt+F3uSN6MP2VqUBbMxPZ=D-YCDEkBZN1SS2szA@mail.gmail.com%3e
> is now at
> http://mail-archives.apache.org/mod_mbox/olingo-user/201404.mbox/%3cCAOEBAJCj65fZt+F3uSN6MP2VqUBbMxPZ=D-YCDEkBZN1SS2szA@mail.gmail.com%3e
> At present, both links work, because the old directories on thor have not been tidied
up. 
> However for other changes that might not be the case. 
> Also if the mbox files are restored from minotaur, the old copies no longer exist.
> So I think there need to be some form of redirection to handle the earlier links.
> The full lists of renamed directories is currently being established and will be added
to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message