infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16576) Duplicated pubsub entries
Date Fri, 25 May 2018 13:07:00 GMT

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

Sebb commented on INFRA-16576:
------------------------------

FTR
The Python2 version of configparser does not report duplicates.
This explains why the duplication has not been noticed so far.

It looks like the code keeps the last definition it reads.

Python3 fails with configparser.DuplicateOptionError.

> Duplicated pubsub entries
> -------------------------
>
>                 Key: INFRA-16576
>                 URL: https://issues.apache.org/jira/browse/INFRA-16576
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: SvnPubSub
>            Reporter: Sebb
>            Priority: Major
>
> The file modules/svnwcsub/files/svnwcsub.conf has 2 duplicate entries:
> /www/gora.apache.org: %(ASF)s/gora/site/publish
> /www/gora.apache.org: %(CMS)s/gora/
> /www/wink.apache.org: %(ASF)s/wink/site/trunk/maven-generated
> /www/wink.apache.org: %(CMS)s/wink/
> Also the following entries are duplicated in
> modules/gitwcsub/files/config/gitwcsub.cfg:
> modules/gitwcsub/files/config/gitwcsub.cfg:/www/airavata.apache.org:           $gitbox/airavata-site
> modules/svnwcsub/files/svnwcsub.conf:/www/airavata.apache.org: %(CMS)s/airavata
> modules/gitwcsub/files/config/gitwcsub.cfg:/www/bookkeeper.apache.org:         $gitbox/bookkeeper
> modules/svnwcsub/files/svnwcsub.conf:/www/bookkeeper.apache.org: %(CMS)s/bookkeeper/



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

Mime
View raw message