[{"data":1,"prerenderedAt":313},["ShallowReactive",2],{"content-query-bpcxoBlGJ6":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":10,"date":11,"cover":12,"type":13,"category":14,"body":15,"_type":307,"_id":308,"_source":309,"_file":310,"_stem":311,"_extension":312},"/technology-blogs/en/1819","en",false,"",[9],"MindSpore Made Easy","Last but not least, comment check-cla below the PR to restart the CLA check after everything is ready.","2022-08-09","https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2022/09/21/a135631d78b144af9bfe28d461bcea8c.png","technology-blogs","Basics",{"type":16,"children":17,"toc":304},"root",[18,32,38,51,62,67,72,77,82,95,103,108,120,125,130,135,140,145,150,155,164,169,176,181,188,193,198,203,208,215,220,232,242,260,269,287,299],{"type":19,"tag":20,"props":21,"children":23},"element","h1",{"id":22},"mindspore-made-easy-a-common-problem-in-submitting-pr-on-gitee-mindspore-clano",[24,30],{"type":19,"tag":25,"props":26,"children":27},"span",{},[28],{"type":29,"value":9},"text",{"type":29,"value":31}," A Common Problem in Submitting PR on Gitee — mindspore-clano",{"type":19,"tag":33,"props":34,"children":35},"p",{},[36],{"type":29,"value":37},"August 9, 2022",{"type":19,"tag":33,"props":39,"children":40},{},[41,43],{"type":29,"value":42},"Official website: ",{"type":19,"tag":44,"props":45,"children":49},"a",{"href":46,"rel":47},"https://www.mindspore.cn/en",[48],"nofollow",[50],{"type":29,"value":46},{"type":19,"tag":33,"props":52,"children":53},{},[54,56],{"type":29,"value":55},"Gitee master repository: ",{"type":19,"tag":44,"props":57,"children":60},{"href":58,"rel":59},"https://gitee.com/mindspore/mindspore",[48],[61],{"type":29,"value":58},{"type":19,"tag":33,"props":63,"children":64},{},[65],{"type":29,"value":66},"Hello, everyone. This is the fourth blog in this series. To see the first three ones, visit:",{"type":19,"tag":33,"props":68,"children":69},{},[70],{"type":29,"value":71},"[MindSpore Made Easy] Getting Started with Git + Gitee",{"type":19,"tag":33,"props":73,"children":74},{},[75],{"type":29,"value":76},"[MindSpore Made Easy] PR and Issue Processes on Gitee",{"type":19,"tag":33,"props":78,"children":79},{},[80],{"type":29,"value":81},"[MindSpore Made Easy] Git Conflict Resolution Process",{"type":19,"tag":33,"props":83,"children":84},{},[85,87,93],{"type":29,"value":86},"As an open source project, everyone is welcome to contribute on MindSpore. Our projects are mainly open-sourced on Gitee, where many friends have submitted pull requests (PRs) to participate in contributions. However, problems may also emerge during PR submission, including the error ",{"type":19,"tag":88,"props":89,"children":90},"strong",{},[91],{"type":29,"value":92},"mindspore-cla/no",{"type":29,"value":94},".",{"type":19,"tag":33,"props":96,"children":97},{},[98],{"type":19,"tag":99,"props":100,"children":102},"img",{"alt":7,"src":101},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2022/09/21/db51c366f31e48f6b309fcfce6d9d4b0.png",[],{"type":19,"tag":33,"props":104,"children":105},{},[106],{"type":29,"value":107},"What should we do if this error is reported?",{"type":19,"tag":33,"props":109,"children":110},{},[111,113,118],{"type":29,"value":112},"The error message indicates that the email addresses in the PR fail the CLA check. The bot checks whether the email addresses of ",{"type":19,"tag":88,"props":114,"children":115},{},[116],{"type":29,"value":117},"all submitters",{"type":29,"value":119}," in the PR have been used to sign the CLA. Generally, this problem occurs in the following scenarios:",{"type":19,"tag":33,"props":121,"children":122},{},[123],{"type":29,"value":124},"· The CLA is not signed by all.",{"type":19,"tag":33,"props":126,"children":127},{},[128],{"type":29,"value":129},"· Email addresses entered for signing the CLA are incorrect.",{"type":19,"tag":33,"props":131,"children":132},{},[133],{"type":29,"value":134},"· A new device is used to submit the PR, and the email address is not set.",{"type":19,"tag":33,"props":136,"children":137},{},[138],{"type":29,"value":139},"· Gitee is reinstalled.",{"type":19,"tag":33,"props":141,"children":142},{},[143],{"type":29,"value":144},"· Changes are committed on the web page. (The official email address of Gitee is used for commits by default.)",{"type":19,"tag":33,"props":146,"children":147},{},[148],{"type":29,"value":149},"Don't worry. Follow our steps to solve this problem.",{"type":19,"tag":33,"props":151,"children":152},{},[153],{"type":29,"value":154},"· Visit the following website:",{"type":19,"tag":33,"props":156,"children":157},{},[158],{"type":19,"tag":44,"props":159,"children":161},{"href":160},"#/getV5ReposOwnerRepoPullsNumberCommits",[162],{"type":29,"value":163},"https://gitee.com/api-server/v5/swagger#/getV5ReposOwnerRepoPullsNumberCommits",{"type":19,"tag":33,"props":165,"children":166},{},[167],{"type":29,"value":168},"· Enter related information to view the commit details.",{"type":19,"tag":33,"props":170,"children":171},{},[172],{"type":19,"tag":99,"props":173,"children":175},{"alt":7,"src":174},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2022/09/21/7fd660ef60fb433486134ecded0bfe2b.png",[],{"type":19,"tag":33,"props":177,"children":178},{},[179],{"type":29,"value":180},"The items marked with asterisks (*) are mandatory. Take a submitted PR as an example:",{"type":19,"tag":33,"props":182,"children":183},{},[184],{"type":19,"tag":99,"props":185,"children":187},{"alt":7,"src":186},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2022/09/21/43d453b396e0462b9a5d65accc6b3c48.png",[],{"type":19,"tag":33,"props":189,"children":190},{},[191],{"type":29,"value":192},"1. Owner: address of the repository",{"type":19,"tag":33,"props":194,"children":195},{},[196],{"type":29,"value":197},"2. Repo: repository path",{"type":19,"tag":33,"props":199,"children":200},{},[201],{"type":29,"value":202},"3. Number: sequence number of the PR",{"type":19,"tag":33,"props":204,"children":205},{},[206],{"type":29,"value":207},"The following figure shows the query result with the email address marked.",{"type":19,"tag":33,"props":209,"children":210},{},[211],{"type":19,"tag":99,"props":212,"children":214},{"alt":7,"src":213},"https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2022/09/21/ad2e6a8914cc4701968475d7285ce5ce.png",[],{"type":19,"tag":33,"props":216,"children":217},{},[218],{"type":29,"value":219},"· Check your local email address for commits:",{"type":19,"tag":33,"props":221,"children":222},{},[223,225,230],{"type":29,"value":224},"Run the ",{"type":19,"tag":88,"props":226,"children":227},{},[228],{"type":29,"value":229},"git config user.email",{"type":29,"value":231}," command.",{"type":19,"tag":33,"props":233,"children":234},{},[235,237],{"type":29,"value":236},"· ",{"type":19,"tag":88,"props":238,"children":239},{},[240],{"type":29,"value":241},"Solution 1",{"type":19,"tag":33,"props":243,"children":244},{},[245,247,252,254],{"type":29,"value":246},"Sign the CLA using all email addresses in the commits. For details, see ",{"type":19,"tag":248,"props":249,"children":250},"em",{},[251],{"type":29,"value":76},{"type":29,"value":253},": ",{"type":19,"tag":44,"props":255,"children":258},{"href":256,"rel":257},"https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=111208",[48],[259],{"type":29,"value":256},{"type":19,"tag":33,"props":261,"children":262},{},[263,264],{"type":29,"value":236},{"type":19,"tag":88,"props":265,"children":266},{},[267],{"type":29,"value":268},"Solution 2:",{"type":19,"tag":33,"props":270,"children":271},{},[272,273,278,280,285],{"type":29,"value":224},{"type":19,"tag":88,"props":274,"children":275},{},[276],{"type":29,"value":277},"git config --global user.email",{"type":29,"value":279}," \"",{"type":19,"tag":248,"props":281,"children":282},{},[283],{"type":29,"value":284},"xxxx.com",{"type":29,"value":286},"\" command to set the email address used for signing the CLA as the local email address.",{"type":19,"tag":33,"props":288,"children":289},{},[290,292,297],{"type":29,"value":291},"· Last but not least, comment ",{"type":19,"tag":88,"props":293,"children":294},{},[295],{"type":29,"value":296},"check-cla",{"type":29,"value":298}," below the PR to restart the CLA check after everything is ready.",{"type":19,"tag":33,"props":300,"children":301},{},[302],{"type":29,"value":303},"The problem is solved now. You can have a try and leave your comments below. Any suggestions are welcome!",{"title":7,"searchDepth":305,"depth":305,"links":306},4,[],"markdown","content:technology-blogs:en:1819.md","content","technology-blogs/en/1819.md","technology-blogs/en/1819","md",1776506104916]