nerves_firmware_http icon indicating copy to clipboard operation
nerves_firmware_http copied to clipboard

Can't specify port for mix firmware.push

Open rabarar opened this issue 8 years ago • 4 comments

If you configure your firmware port to be anything other than the default port, mix firmware.push won't work - not sure how to specify a url or a port with the desired port number matching the one specified in the config.

rabarar avatar Jun 09 '17 22:06 rabarar

I think this is the line that you're looking for: https://github.com/nerves-project/nerves_firmware_http/blob/master/lib/mix/firmware.push.ex#L54

I agree that it should be configurable. Would you want to try to add it as an option?

fhunleth avatar Jun 10 '17 01:06 fhunleth

I’ll take a look - also wanted to add ssl so you can configure where the upgrade is coming from and limit it to only authorized pushers.

On Jun 9, 2017, at 9:51 PM, Frank Hunleth [email protected] wrote:

I think this is the line that you're looking for: https://github.com/nerves-project/nerves_firmware_http/blob/master/lib/mix/firmware.push.ex#L54 https://github.com/nerves-project/nerves_firmware_http/blob/master/lib/mix/firmware.push.ex#L54 I agree that it should be configurable. Would you want to try to add it as an option?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nerves-project/nerves_firmware_http/issues/18#issuecomment-307534549, or mute the thread https://github.com/notifications/unsubscribe-auth/AEOk-OE97QHj-i8_m1WN-wioAYoNuKcdks5sCfa3gaJpZM4N146i.

rabarar avatar Jun 10 '17 13:06 rabarar

See #17 regarding authorization. I don't think that any work has happened on that issue. @ghitchens?

fhunleth avatar Jun 11 '17 00:06 fhunleth

I'll take a look

On Jun 10, 2017, at 8:02 PM, Frank Hunleth [email protected] wrote:

See #17 regarding authorization. I don't think that any work has happened on that issue. @ghitchens?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

rabarar avatar Jun 11 '17 01:06 rabarar