[ https://issues.apache.org/jira/browse/PIG-5468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937255#comment-17937255 ]
Niall Pemberton commented on PIG-5468: -------------------------------------- Hi Pig team, I'm attaching a patch to remove *_Google Analytics_* from your site, but first the *hadoop skin* needs to be copied into your site: >From checkout of >[https://svn.apache.org/repos/asf/pig/site/|https://svn.apache.org/repos/asf/pig/site/] * Delete the *{{svn:externals}}* property: ** *{{svn propdel svn:externals author/src/documentation}}* * Delete the *_author/src/documentation/skins_* directory * Copy the *_skins_* directory from hadoop svn repo ** *{{svn copy [https://svn.apache.org/repos/asf/hadoop/common/site/main/author/src/documentation/skins] author/src/documentation/skins}}* * *_Commit_* those changes * Apply the *_pig-ga.patch_* patch & commit > Remove Google Analytics from the Pig Website > -------------------------------------------- > > Key: PIG-5468 > URL: https://issues.apache.org/jira/browse/PIG-5468 > Project: Pig > Issue Type: Task > Reporter: Niall Pemberton > Priority: Major > Attachments: pig-ga.patch > > > Hi Pig Team > The ASF {_}*Privacy Policy*{_}[1][2] does not permit the use of _*Google > Analytics*_ on any ASF websites and the ASF Infra team will soon enforce a > {_}*Content Security Policy*{_}(CSP) that will block access to external > trackers: > * [https://lists.apache.org/thread/w34sd92v4rz3j28hyddmt5tbprbdq6lc] > Please could you remove the use of the Google Analytics from the Pig website? > * [https://lists.apache.org/thread/4I > 17v5034773lhoytoqs7h343vpjnwn1c|https://lists.apache.org/thread/417v5034773lhoytoqs7h343vpjnwn1c] > I would have submitted a patch to remove Google Analytics, but it seems that > Pig is pulling in file _*site-to-xhtml.xsl*_ from the old Hadoop Subversion > repository, via an svn:external link > * > [https://svn.apache.org/viewvc/hadoop/common/site/main/author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl?view=markup] > * [https://svn.apache.org/viewvc/pig/site/author/src/documentation/] > Since Hadoop has now moved to GitHub, then it would probably be a good idea > to copy that folder (as its not longer maintained) into your site and > maintain it within the Pig project - or ask the hadoop project to modify it > > The ASF hosts its own _*Matomo*_ instance to provide projects with analytics > and you can request a tracking id for your project by sending a mail to > *privacy AT apache.org.* > * > [https://privacy.apache.org/faq/committers.html#can-i-use-web-analytics-matomo] > Additionally I would recommend reviewing any external resources loaded by > your website. The Content Security Policy will prevent any resources being > loaded from 3rd Party providers that the ASF does not have a Data Processing > Agreement (DPA) with. On the 1st February Infra will begin a temporary > "brownout" when the CSP will be turned on for a short period. This will allow > projects to check which parts, if any, of their websites will stop working. > The Privacy FAQ answers a number of questions about which external providers > are permitted or not: > * [https://privacy.apache.org/faq/committers.html] > Thanks > Niall > [1] [https://privacy.apache.org/policies/website-policy.html] > [2] > [https://privacy.apache.org/faq/committers.html#can-i-use-google-analytics] -- This message was sent by Atlassian Jira (v8.20.10#820010)