You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/03 01:05:45 UTC

[jira] [Commented] (MYNEWT-582) "go get mynewt.apache.org/newt/newt" fails

    [ https://issues.apache.org/jira/browse/MYNEWT-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893513#comment-15893513 ] 

ASF GitHub Bot commented on MYNEWT-582:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-mynewt-site/pull/159


> "go get mynewt.apache.org/newt/newt" fails
> ------------------------------------------
>
>                 Key: MYNEWT-582
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-582
>             Project: Mynewt
>          Issue Type: Bug
>          Components: Newt
>            Reporter: David Brown
>            Assignee: Todd Mitton
>            Priority: Minor
>
> It isn't possible to develop mynewt using conventional go methods, or to use it as a dependency in another package.
> The problem is that the https://mynewt.apache.org/newt/ doesn't return valid results for subdirectories.
> {code}
> curl https://mynewt.apache.org/newt/
> curl https://mynewt.apache.org/newt/newt/
> curl https://mynewt.apache.org/newt/newt/image/
> {code}
> The first above command returns valid redirects for github, but the second just returns a 404. This causes the git fetch to fail.
> If something such as mcuboot/imgtool tries to use https://mynewt.apache.org/newt/newt/image as a dependency, it also fails to fetch this.
> I believe the fix is to return the metadata page for subdirectories. At least 'newt/newt' and 'newt/newt/image' should be used, the first to make the newt tool itself buildable, and the second to allow the image library to be used as a dependency by mcuboot.
> Probably add the other top level ones, such as newtmgr as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)