-
-
Notifications
You must be signed in to change notification settings - Fork 892
Add support for loading external SCs #4201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
In principle, yes, we should have such thing in 25.2. However, I am not sure about this additional_cultures entry. We have the user data dir, and in there is the user's private SC dir. To install a new one, just copy files there. So I see two useful modes: Copy over SC files from another open directory into Or what's the application for the additional_cultures? |
Well, I thought the external SC would just be pointed at, and there'd be no need to copy it around. |
I don't consider this necessary or beneficial. Reminds me of a 3dsmax OBJ export where the MTL file points anywhere else for textures instead of packing everything in one directory. A nightmare when just wanting to copy USERDIR to another system, suddenly you have missing tentacles.... Or is there an actual use case? I would edit my private SCs in my USERDIR. @alex-w , @sushoff opinions? |
Well, my expectation was that a creator's SC would reside somewhere on a USB stick, in a Dropbox directory or elsewhere, but not in Stellarium's special directory. I guess the user could add a symlink in Stellarium's directory in this case, but AFAIK there's no GUI for this in Windows, so many will not even know of this option. |
Users capable of creating a SC should know where their USERDIR is, even if it's hidden by default on all platforms. (You can use another dir on any drive, pointed at by an ENVVAR, to keep your system drive clean.) There one author would work on it. When finished, author can pack it to a ZIP and distribute. Receivers would download ZIP anywhere and install to their USERDIR with your add button. This is the process for adding landscapes for simple users, and IMHO should be applied also here. |
I agree seeing the necessity for a function to load external SCs. I think, the initial request does not target the "users capable to create SCs" but all the others (the majority!)
Therefore, I support this inital request takes us to the right path that we want to develope towards anyway. |
You are missing my point. I want to know whether we really want to cross-link directories distributed all over your computer, instead of continue using the existing Stellarium User Data Directory to place users' downloads into. If the creation of dangling links is important, please at least add an option to "copy files to user data directory instead", or better, make this the default and have option "add as link only". |
@sushoff As for making the SCs basically a service rather than just data, you seem to be thinking that everyone has perpetual stable Internet access. This is not so in reality. |
When do we need the SC? I know two types of main application: one is research (falls in the category of travel preparation), the other is presentation for the public/in education (falls in cat. 1). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix unit test
We should use stardard directories in USERDIR for storing skycultures IMHO |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Some email discussions indicated the desire to be able to load an external SC. This PR aims at implementing this. I'm not sure if it will be ready for the nearest release though.