SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.42k stars 303 forks source link

Online show output of backup process #679

Open derskythe opened 1 year ago

derskythe commented 1 year ago

Hello, the manual backup script gives out information only at the end of the work. It's not possible to see anything in the process and it's not at all clear at what stage we are. This pull request eliminates this injustice.

Slyke commented 1 year ago

Has a merge conflict. Probably from this PR: https://github.com/SensorsIot/IOTstack/pull/689/files

derskythe commented 10 months ago

@Slyke sorry for late answer. Resolved

derskythe commented 10 months ago

Maybe look at #723 - when I was doing test builds of Bookworm I found it useful to remove all pins from both requirements files and just accept the latest and greatest.

I think that this approach can lead to side problems. For example, when library changing the major version for some users everything worked an hour ago, but for others it no longer did

Paraphraser commented 10 months ago

Acknowledged. But, tell me, do you know that (a) your change and (b) all the other pins (the ones you haven't changed) work on both Bullseye and Bookworm (and, to some extent for the IOTstack users who are still using it, Buster), or do you only know it works in your current environment?

Please don't misinterpret that as either a criticism or an accusation or anything along those lines because that isn't what I mean. I really do want to know if you've tested more widely?

That's the basic problem I'm trying to solve. I also acknowledge that removing all pins is a bit of a sledgehammer to crack a nut but it's what turned out to be needed for IOTstack to work with Bookworm, plus it turned out to be backwards compatible with Bullseye. I'm trying to get ahead of the game so that, come the day the Raspberry Pi Foundation releases a Bookworm version of Raspberry Pi OS, we don't get swamped with issues all starting with "my menu is broken".

To be perfectly honest, this is one of the reasons I dislike the use of Python for basic IOTstack functionality. I think old-menu was better in that respect. I'd really like to see a return to bash with all updating of prerequisites managed via apt.

In fiddling about with the current menu on both ProxMox guests and Docker Desktop for Mac, a fair whack of things just don't work cross-platform and I think the "security enhancements" for Python are the nub of that problem. I "get" where the Python people are coming from too but I have no idea what challenges progeny-of-Bookworm will bring. I suspect the chances of the current workarounds for Bookworm continuing to work long term are low. It makes me worry.

derskythe commented 4 months ago

@Paraphraser ok, I've changed requirements-mkdocs.txt

derskythe commented 4 months ago

Has a merge conflict. Probably from this PR: https://github.com/SensorsIot/IOTstack/pull/689/files

@Slyke solved.