[ https://issues.apache.org/jira/browse/MYNEWT-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886264#comment-15886264 ]
Todd Mitton commented on MYNEWT-582: ------------------------------------ Thanks David. We'll get this fixed. I've been doing 'go get mynewt.apache.org/newt/...' and failed to notice that getting just newt/newt or newt/newt/image didn't work. > "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)