{"push_id":1363453676,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"c673365078887d28f313fe7fe053a5509c89cd87","before":"f0a27b6294c25b85c2a7a1e465c5d36ef467054d","commits":[{"sha":"c673365078887d28f313fe7fe053a5509c89cd87","author":{"name":"Christopher Collins","email":"ff7d97a00e01a947f5fe9870ec338a25f9bcfd26@apache.org"},"message":"newt - Get repository.yml from priv github repos.\n\nTo access a private repository, newt needs to be configured with either:\n\n    * Access token for the repository\n\nor,\n\n    * Basic auth login and password for the user\n\n(To create a github access token, see:\nhttps://help.github.com/articles/creating-an-access-token-for-command-line-use/).\n\nThere are two ways to specify this information, as shown below.  In\nthese examples, I specify both a token and a login/password, but you\nonly need to specify one of these.\n\n1. project.yml (probably world-readable and therefore not secure):\n\n    repository.my-private-repo:\n        type: github\n        vers: 0-dev\n        user: owner-of-repo\n        repo: repo-name\n        token: '8ab6433f8971b05c2a9c3341533e8ddb754e404e'\n        login: githublogin\n        password: githubpassword\n\n(The last three lines are the new settings)\n\n2. $HOME/.newt/repos.yml\n\n    repository.my-private-repo:\n        token: '8ab6433f8971b05c2a9c3341533e8ddb754e404e'\n        login: githublogin\n        password: githubpassword\n\nIf both a token and a login+password are specified, newt uses the token.\nIf both the project.yml file and the private repos.yml file specify\nsecurity credentials, newt uses the project.yml settings.\n\nThere is one annoyance: when newt downloads the actual repo content, as\nopposed to just the repository.yml file, it doesn't use the same\nmechanism.  Instead, it invokes the git command line tool.  This is an\nannoyance because the user cannot use the same access token for all git\noperations.  This is something that we should fix in the future.","distinct":true,"url":"https://api.github.com/repos/dezelin/incubator-mynewt-newt/commits/c673365078887d28f313fe7fe053a5509c89cd87"}]}
{"actor":{"display_login":"dezelin"}}