user feedback
@phenixia2003: Thanks for answering my questions.
Regarding improvement of "install-new" function to support 3rd-party repositories, I would definitely prefer option (2): i.e. make it optional so user has to manually select in config file which repository(ies) to be added to appear in "install-new". Quote:
|
Notice that the official install-new shown all new packages from the previous stable release to the latest new package, and not from the latest slackpkg update command or the latest install-new command unless you install or blacklist the new packages.
If you do that for a thirdy party repository started empty, slackpkg install-new will show the same output of slackpkg install repository that is not useful becouse I dont think that a user want install an entire repository that contains heterogeneous or conflicting packages. A similar install-new may be useful for repositories that suppose you want fully install as multilib, ktown, gsb... that contains multiple package for a single purpose; if you run slackpkg upgrade ktown may be needed to run slackpkg install ktown. If you run slackpkg upgrade alienbob I don't think that you need to run slackpkg install alienbob. |
Quote:
Eric |
Hello,
Quote:
Code:
Repository R-14.1 Quote:
For a given repository R, "slackpkg install R" will only show the uninstalled packages, and, slackpkg install-new, will only show the packages identified as new. For a repository R, when you run "slackpkg update", a snapshot of available packages is taken, then the data are fetched from the repository, and a new snapshot is taken. When these snapshots are different, the changes are collected : Code:
R=(no packages) => slackpkg update => no new packages found in R => install-new will show nothing from R Important: Keep in mind that implementation of "install-new" I sent last day is incomplete and must be (really) considered as a work in progress. It needs more attention, because it does not take care of defined priorities, nor the packages that could have been installed manually or by any other ways. Cheers. -- SeB |
For info, I will continue developing next monday. This weekend I've not my pc, and I may not read the forum.
|
regarding the install-new functionality for now I would wait.
In the development tree I added other features. All feature from the stable and now: - Added ALLOW32BIT flag to allow to install 32bit packages on a 64bit system - Added an install log in /var/lib/slackpkg/install.log; launching "/usr/libexec/slackpkg/makeinstlog.sh -t" TRY to detect the repository from which the packages was installed - Added WGETOPTS - Added the greylist Are all embrional code |
well... the install.log function is bugged :) when you install multiple packages!
Code:
2013/11/19 11:29:00 upgraded: seamonkey-solibs-2.22-x86_64-1.txz [slackware64] (was mozilla-firefox-24.1.0esr-x86_64-1) |
Hello,
Quote:
-- SeB |
Hello,
Quote:
-- SeB |
Yes it's possible.
slackpkg+-20131119.3-noarch-1mt.txz do that. Code:
│ │[ ] libmspack-0.3alpha-i486-1sl.txz slacky │ │ |
Hello,
Quote:
Cheers. -- SeB |
3 Attachment(s)
Hello,
I wrote a small patch for slackpkg+ (Attachment 15163) which solves this small bug, and adds a small improvement so that the command slackpkg check-updates reports the repositories which have been changed since the last update. Here is an example of the new output of check-updates : Code:
$ /usr/sbin/slackpkg check-updates With that, you can create a crontab entry to be notified through a tooltip inside your preferred DE when updates are available. For instance, to check updates every 2 hours at the top of the hour : Code:
0 */2 * * * export DISPLAY=:0 && /usr/sbin/slackpkg &>/dev/null check-updates && [ -s ~/.slackpkg/updated-repos.txt ] && notify-send -i dialog-warning "[ S L A C K P K G + ]" "Available updates in repositories: $(cat ~/.slackpkg/updated-repos.txt|tr '\n' ','|sed 's/,$//' )" Examples: Greetings. -- SeB |
Good feature.
Currently I don't have my GPG-KEY ;), so I can't update the repository metadata (so it is not available with slackpkg upgrade slackpkg+), but I uploaded the new package on sourceforge. |
Thank you phenixia2003 for this latest patch.
The DE notification is working fine except for the time details in the crontab entry. Code:
* */1 * * * I'm no crontab specialist, but to make it run once an hour, I would rather use something like that: Every hour at 0 minute (ex: 21h00, 22h00....) Code:
0 * * * * Code:
*/59 * * * * Code:
*/55 * * * * |
Now that you have a notification you just need to add a quick start button that runs "slackpkg" update and upgrade, both graphically and automatically. Then you will have removed one of the "major fictions" of Slackware. That being, that it doesn't have a package manager.
samac |
All times are GMT -5. The time now is 05:47 PM. |