-
Notifications
You must be signed in to change notification settings - Fork 2
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
Move last-cache, -mirror, etc. into setup.rc #18
Comments
Func exists, but isn't being triggered with `apt update`, but is on `apt download ...`. At moment it writes to a test file, and this works. What I'm not sure about is if it's okay to write "None" to the rc file, or if it should just be silent if it doesn't have a real value. Todo: ask @jef-n.
@jef-n, I'm 3/4ths through adapting apt to read and write
Should I leave this as is, write the None's as blank lines instead, or just leave the empty entries out entirely? |
* extend docstring, remove test fname + leave out empty values completely + update rc dict from globals (note: these globals are still being read from the old non-rc config files though!)
Take the Setup.exe, Install a small package and use the values written... |
What exactly is missing with setup.rc? |
As I recall saving the globals to the rc file works, but at startup the rc file is ignored. So if someone runs Setup.exe and chooses different values, Apt will overwrite them from the older pre-rc cache files. I haven't tested what happens when the old cache files don't exist. |
Setup.exe has moved it's settings for last-mirror, last-cache, etc. into a single file:
./etc/setup/setup.rc
. We need to do the same to maintain compatibility.The text was updated successfully, but these errors were encountered: