-
Notifications
You must be signed in to change notification settings - Fork 208
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
rename read_packages_file
to pkgapp_packages_required
to better suite function
#2558
Conversation
I mean... if you want to rename the function we could do that. |
additionally solves:
|
fc6653f
to
c7569b3
Compare
additionally solves:
|
read_packages_file
to packages_file_required
to better sui…read_packages_file
to pkgapp_packages_required
to better sui…
read_packages_file
to pkgapp_packages_required
to better sui…read_packages_file
to pkgapp_packages_required
to better suite function
I do not think we can go ahead with this PR (or the other one) unless this problem is solved
f407661 |
I will check for solutions, but there is always the subshell option |
yeah I think that is what we will end up needing to do |
Good catch
|
I went with the subshell method. doesn't seem to hurt performance. if you find anything else that you like better feel free to implement |
I thought of saving original values of the functions and setting them back, but a subshell seems more straightforward and safe. |
read_packages_file
to pkgapp_packages_required
to better suite functionread_packages_file
to pkgapp_packages_required
to better suite function
I'm thinking of doing a squash-merge unless you want to do another force push to cut down on commit count. |
I'll rewrite the history tomorrow so it makes more sense and merge it (with no actual code changes besides maybe adding I'd rather leave this tonight so I can sleep on it and then check over again tomorrow. |
also I just want to make it clear. I liked most of the changes from your PR (which is why I integrated them here, anything you made I'll make sure has a coauthor on it). There were just some things I had issues with. Clearly our best work is when its done together or iterating on each other. |
Understand.
For sure. Pi-Apps would just be another PiKISS if it was not for teamwork. |
afc53a0
to
62ac34d
Compare
pick performance patches from #2557 if a secondary OR package is already installed and the first is not, list that as required instead of the first don't redefine $arch, remove -qq flag 4 places in api use apt-cache policy, only 1 has -qq so it's probably fine to remove it. Otherwise it should go everywhere. check if `packages_file_required` is empty before attempting to install packages with manage script Co-Authored-By: Botspot <[email protected]>
62ac34d
to
ae99e1b
Compare
I just thought of a scenario where your solution to this is likely insufficient.
|
your scenario hinges on this if it is desirable that updates to package apps retain the previously installed packages (assuming those packages are still in the new packages file), then that should be handled in the updater for package apps, not the Lines 436 to 488 in 2c32783
alternatively, you could modify Lines 596 to 742 in 2c32783
|
Replacement to #2557