You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/03/06 01:15:49 UTC

[GitHub] [mynewt-newt] ccollins476ad opened a new pull request #383: upgrade: Don't warn on fixup to an equivalent URL

ccollins476ad opened a new pull request #383: upgrade: Don't warn on fixup to an equivalent URL
URL: https://github.com/apache/mynewt-newt/pull/383
 
 
   If `project.yml` specifies a repo with a different URL than the current `origin`, newt fixes the `origin` URL and produces a warning like this:
   
   ```
   WARNING: Repo's "origin" remote points to unexpected URL: git@github.com:apache/mynewt-nimble.git; correcting it to https://github.com/apache/mynewt-nimble.git.  Repo contents may be incorrect.
   ```
   
   This commit suppresses the warning if the two URLs are "equivalent".  URLs are considered equivalent if:
   
   1. The strings are identical after the optional ".git" suffixes are stripped,
   
   OR
   
   2. One is a "git@" URL and the other is an "https://" URL for the same repo.  For example:
   * git@github.com:apache/mynewt-core.git
   * https://github.com/apache/mynewt-core
   
   This is useful for people who have the following setting in their git configuration file:
   
   ```
   [url "git@github.com:"]
       insteadOf = https://github.com/
   ```
   
   Go users who use private github repos are especially likely to use this configuration.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [mynewt-newt] ccollins476ad merged pull request #383: upgrade: Don't warn on fixup to an equivalent URL

Posted by GitBox <gi...@apache.org>.
ccollins476ad merged pull request #383: upgrade: Don't warn on fixup to an equivalent URL
URL: https://github.com/apache/mynewt-newt/pull/383
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services