For upgrading from a previous allsky... #3127
Replies: 5 comments 6 replies
-
|
Jon, that would defeat the purpose of an upgrade which usually upgrades many of those scripts. @Alex-developer, thoughts? |
Beta Was this translation helpful? Give feedback.
-
|
Ok, makes sense - yes it's my own scripts. There are 30 extra files in there I've built up over the past 2 years or more. From a file structure point of view, having allsky/scripts/myscripts or whatever is unnecessarily long. But then I come from windows environment where sometimes in a large company, file trees were ludicrously long and I grew to dislike them, especially with a 256 character limit imposed. I also don't fancy going back through everything and changing code to suit a new folder, edit service files etc... I don't know how easy it is, but when upgrading, could the script compare the 2 folders and copy over anything that doesn't match filename from old to new? This would copy anything 'different' like people's own files, but then if you changed the name of some new scripts it would still copy old allsky scripts you didn't want to I suppose. Just thinking out loud here... |
Beta Was this translation helpful? Give feedback.
-
|
I prefer NOT to copy over anything that doesn't match - that's a recipe for copying over junk and temporary files as well. FYI, I put my personal scripts in |
Beta Was this translation helpful? Give feedback.
-
|
Yeh, you're probably right....could it be a prompt to the user during installation (well, upgrading anyway)? i.e. [do you want to copy these files or scripts? Check all that apply.] My scripts are all independent of allsky and some run as services, so if allsky stops, my heating or cooling will still carry on. For example, allsky crashes, or the camera dies, or it fails to restart, any of these things....on a hot summer's day where I'm not at home... my fans would 'in theory' not be affected and would still run. I've measured 60+ degrees in the camera dome during the summer without forced airflow. Some of the scripts are manual, others are used to test various things. |
Beta Was this translation helpful? Give feedback.
-
|
Jon, Discord is where we do almost all team discussions, like what to include in a release, thoughts about what something should do or how it should look, and other things that the general user base doesn't need to see or we don't want them to see (e.g., so we don't get their hopes up). We also do problem solving of stuff we may not have released yet, and request others to test an upcoming release. I think everyone has at least one test Pi that they don't mind wiping clean or installing releases with known problems. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Can you also include automatically copying the scripts folder please? i just realised why some things weren't working after upgrading! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions