Pauls-MacBook-Pro-2:testgoget paul$ go get mynewt.apache.org/newtmgr/... # cd /Users/paul/dev/go/src/mynewt.apache.org/newt; git pull --ff-only
fatal: repository ' https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/' not found package mynewt.apache.org/newtmgr/nmxact/example/ble_loop imports mynewt.apache.org/newt/util/unixchild: exit status 1 Download of latest newtmgr, produces error. On Mon, Jul 10, 2017 at 1:44 PM, Christopher Collins <[email protected]> wrote: > Hello all, > > The newtmgr tool location has changed: > > From: https://github.com/apache/mynewt-newt/tree/master/newtmgr > To: https://github.com/apache/mynewt-newtmgr/tree/master/newtmgr > > To download the latest newtmgr, use the following command: > > go get mynewt.apache.org/newtmgr/... > > The plan is to remove the "old" newtmgr from the newt repo when Mynewt > 1.1 is released. > > The "new" newtmgr has improved BLE support. BLE should now work more > reliably on Linux and macOS. The particulars are documented here: > http://mynewt.apache.org/latest/newtmgr/command_list/newtmgr_conn/ > > My preferred way to use BLE is to create a "ble" connection profile with > an empty connstring: > > newtmgr conn add ble type=ble connstring=' ' > > Then, specify the target device name on the command line each time you > send a command: > > newtmgr -c ble --name nimble-bleprph echo hello > > Rationale: > The reason for the move is to simplify downloading and > building of newt and newtmgr. The "go get" command works better with > the "mynewt.apache.org" vanity domain when there is one application per > repo. Since the vanity domain requires the use of the "..." syntax in > the `go get` command, the entire repo gets downloaded, including > applications that weren't requested. > > Thanks, > Chris >
