fixed a bug on the patch for $ROOT problem in stable and devel branch.
|
zerouno and phenexia2003, thank you both for the amazing and improving work on slackpkg+ which you are collaborating on. Please let us know when a beta is available that you want tested and where to get (git) it. I'm willing to help. BrianA_MN
|
Thankyou.
Currently I need to test the slackpkg+-1.6.1p1-noarch-1mt_pre.txz from http://slakfinder.org/slackpkg+all/ It contains the backported patch Code:
Version 1.6.1p1 - 16/Jan/2015 |
The patch slackpkg+-enhanced-pkg-arg-handling.diff.txt introduces a regression when PKGS_PRIORITY is set when applied to slackpkg+ 1.7.a3 (tested before bashism patch to avoid conflicts)
Code:
--- a/src/slackpkgplus.sh Code:
PKGS_PRIORITY=( ktown ) Code:
# ls -l /var/log/packages/kde-baseapps* Code:
# slackpkg -batch=on -dialog=off -default_answer=no upgrade kde-baseapps Code:
# slackpkg -batch=on -dialog=off -default_answer=no upgrade kde-baseapps |
zerouno, I've subscribed to this thread to watch progress you are making. If you move testing to another thread please post note here of the new thread. I'll test new version when you indicate in this thread ""Testers needed" for new slackpkg+, just to make sure there isn't confusion with your statement "I need to test" which to me means that you don't want other testers just yet and you're still working on bugs. Thanks again and I'm able to help when you are ready. BrianA_MN
|
1 Attachment(s)
Hello,
Quote:
The patch Attachment 20551 should solve the problem: Code:
--- slackpkgplus.sh.git.1.7.a5 2016-01-16 20:15:28.603145086 +0100 SeB |
@phenixia2003. thankyou. I will apply it.
There are no other official threads for slackpkg+ (just some for specific bugs reported by users, threads dead after solution; if you refeers to that topic, I saw it just now) Quote:
Should be something as "I need testing (i.e. tester) for...". To make 1.7 lts I must to find a good way to backport patches from 1.8+ to 1.7; So I'm trying it backporting some patch from 1.7 to 1.6 (even if it won't be an lts). For this goal I made a branch "stable" on github that contains the patches to backport to master. The package 1.6.1p1 is the txz of that branch. Regards a beta version I have to apply the latest patch from phenixia2003 and the improved search, and stabilizing something. After that should ready for beta. |
1.7.a6 released
both fix and improved search are included. |
I'm looking forward to the beta for testing.
|
another givepriority performance improving.
Code:
--- a/src/slackpkgplus.sh before Code:
# time slackpkg -batch=on -dialog=off -default_answer=no upgrade ktown Code:
# time slackpkg -batch=on -dialog=off -default_answer=no upgrade ktown |
The beta is ready.
|
Hello,
Quote:
1. upgrade-all:
2. upgrade ktown :
-- SeB |
Should impact repositories in PKGS_PRIORITY when there is an huge pkglist (about 15.000 packages).
The sed -i command write a temporary file then copy it over the original. They are 2 write operation on disk that may take a lot with huge pkglist. I tried to count the time in givepriority (date +S%N at start and the end of function) and I saw that in upgrade ktown a single cycle on my machine has about 60 millisec with sed -i and 30 millisec without it. When running slackpkg upgrade slackware the cycle has about 20millisec with and without it. See the 'sys' results in my outputs. With /tmp in tmpfs should be no impact. on my host slackware64 with SSD and /tmp in tmpfs and pkglist with 2500 row, there is no difference. Code:
real 0m9.822s |
|
I noticed that some slackpkg functions, which use the spinning, is overridden in slackpkg+. So I can rework this pull-request to revert back the lost spinning in these functions. Not sure that will not affect the performance, but spinning is working as a separated process.
|
All times are GMT -5. The time now is 03:56 AM. |