attilapiros commented on pull request #328:
URL: https://github.com/apache/spark-website/pull/328#issuecomment-802636562


   Ok so what I see we have to add both `apache` and `apache-github` as remote:
   ```
   apache       g...@github.com:apache/spark-website.git (fetch)
   apache       g...@github.com:apache/spark-website.git (push)
   apache-github        g...@github.com:apache/spark-website.git (fetch)
   apache-github        g...@github.com:apache/spark-website.git (push)
   ```
   
   
   In the code:
   ```
   # Remote name which points to the Github site
   PR_REMOTE_NAME = os.environ.get("PR_REMOTE_NAME", "apache-github")
   # Remote name which points to Apache git
   PUSH_REMOTE_NAME = os.environ.get("PUSH_REMOTE_NAME", "apache")
   ```
   
   Probably there is historical reason why this two is separated. 
   
   But I still have some problems with ssh based auth:
   ```
   git push apache PR_TOOL_MERGE_PR_328_ASF-SITE:asf-site
   Warning: Permanently added 'github.com,140.82.121.3' (RSA) to the list of 
known hosts.
   ERROR: Permission to apache/spark-website.git denied to attilapiros.
   fatal: Could not read from remote repository.
   ```
   
   Probably this will be just a missing step from the documentation. 
   I think I found all the hiccups so the next committer with two factor auth 
will be a lucky guy :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to