Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A90D91169B for ; Tue, 19 Aug 2014 15:51:20 +0000 (UTC) Received: (qmail 87742 invoked by uid 500); 19 Aug 2014 15:51:18 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 87713 invoked by uid 500); 19 Aug 2014 15:51:18 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 87568 invoked by uid 99); 19 Aug 2014 15:51:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 15:51:18 +0000 Date: Tue, 19 Aug 2014 15:51:18 +0000 (UTC) From: "Jeff Sposetti (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-5463) Upgradings for Python3 and Ubuntu supporting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102340#comment-14102340 ] Jeff Sposetti commented on AMBARI-5463: --------------------------------------- Hi [~simon.zhangsm@hotmail.com]. Can you submit a patch for this? Some info here on the review process: https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute > Upgradings for Python3 and Ubuntu supporting > -------------------------------------------- > > Key: AMBARI-5463 > URL: https://issues.apache.org/jira/browse/AMBARI-5463 > Project: Ambari > Issue Type: Improvement > Components: agent, Ambari-SCOM, build, client, controller, site > Affects Versions: 1.6.1 > Environment: ubuntu > Reporter: simonzhang > Assignee: Simon Zhang > Labels: patch > Fix For: 1.7.0 > > Original Estimate: 612h > Remaining Estimate: 612h > > 1. Apply 2to3 -w files to transfer python 2 into python 3 automatically > 2. Manually update some files into python 3, such as unicode encoding from binary to unicode, str.object and bytes.object use .encode() (str -> bytes) or .decode() (bytes -> str) > 3. SyntaxError updates, such as .xml errors. > 4. Updates for ubuntu supportings -- This message was sent by Atlassian JIRA (v6.2#6252)