build icon indicating copy to clipboard operation
build copied to clipboard

Add fallback for debug upload

Open EvilOlaf opened this issue 3 years ago • 1 comments

Description

For the unlikely case do some unneeded work and add a fallback JUST IN CASE ix.io is unreachable or down or closes door or doomsday is coming.

Jira reference number AR-625

How Has This Been Tested?

Tested with OPi Zero on 22.08

  • [x] Do normal armbianmonitor -u and verify working
  • [x] Block ix.io using iptables and retry to verify working fallback

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

EvilOlaf avatar Sep 17 '22 06:09 EvilOlaf

  • Duplicate IP censoring needs to be fixed (cosmetics). Maybe create a censored version of CollectSupportInfo and then parse it to the chosen upload target?
  • Cascaded if statements could be made nicer? (cosmetics)

EvilOlaf avatar Sep 17 '22 06:09 EvilOlaf

Fixed another small bug that was around since years. Also what if we twist the logic an use ours as default?

igorpecovnik avatar Oct 13 '22 08:10 igorpecovnik

Funny. Bug had the same idea. As for myself I don't care or if I had to decide I'd leave ix.io since it proven stable over years now.

EvilOlaf avatar Oct 13 '22 09:10 EvilOlaf

This is just another small step to promote "armbian" and costs us close to nothing.

igorpecovnik avatar Oct 13 '22 10:10 igorpecovnik