You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Sterling Hughes (JIRA)" <ji...@apache.org> on 2017/02/26 01:34:44 UTC

[jira] [Assigned] (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:all-tabpanel ]

Sterling Hughes reassigned MYNEWT-582:
--------------------------------------

    Assignee: Todd Mitton  (was: Sterling Hughes)

> "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)