Very nice, much better than archnews original.
Search Criteria
Package Details: archnews2 1.2.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/archnews2.git (read-only, click to copy) |
---|---|
Package Base: | archnews2 |
Description: | Utility for displaying Arch news feed in console |
Upstream URL: | https://github.com/mjiricka/archnews |
Keywords: | archnews console feed news pacman upgrade |
Licenses: | MIT |
Conflicts: | archnews-git |
Submitter: | mjiricka |
Maintainer: | mjiricka |
Last Packager: | mjiricka |
Votes: | 8 |
Popularity: | 0.000366 |
First Submitted: | 2017-06-14 22:13 (UTC) |
Last Updated: | 2017-10-15 15:20 (UTC) |
Latest Comments
TaZeR commented on 2018-04-21 19:48 (UTC)
mjiricka commented on 2017-10-15 22:15 (UTC) (edited on 2017-10-15 22:16 (UTC) by mjiricka)
I agree "archnews_wrap" is not a good name, it does not mean to be. In manual page I suggest to do alias pacman='archnews_wrap' to never forget to check news before upgrading. If you don't like it, you can create "pacan" symlink.
In the end I located config file in $HOME/.config directory, /etc did not even came to my mind. But global config would be also useful, I agree. So maybe in the next version :)
GFdevelop commented on 2017-10-15 21:43 (UTC)
Thanks to your job.
A simple solution is a config file in /etc (some backup tools make a backup of only this directory, see etckeeper) for example /etc/archnews2/archnews_wrap.conf and in this file you write the default option PACWRAP=/usr/bin/pacman and the end user can change it to pacaur, yaourt, ecc...
A best name for the wrapper is "pacan" (Pacwrap+ArchNews) it is more fast to write then "archnews_wrap"
mjiricka commented on 2017-10-15 15:40 (UTC) (edited on 2017-10-15 18:54 (UTC) by mjiricka)
If you want to suggest an improvement or report a bug and have GitHub account, I would prefer you to use GitHub issues for this (see "Upstream URL" for repo link). I watch this discussion too but GitHub has much more options.
I would prefer to discuss here suggestions about package itself.
mjiricka commented on 2017-10-15 15:33 (UTC)
I just pushed a version 1.2.0. New archnews_wrapper backend might be configured like this now:
sudo bash -c "echo 'ARCHNEWS_PACKAGE_MANAGER_FULL_PATH=/usr/bin/pacaur' > /root/.config/archnews_wrap_conf.sh"
Other option is set env variable ARCHNEWS_PACKAGE_MANAGER_FULL_PATH directly. See `man archnews` for more details.
mjiricka commented on 2017-10-14 19:08 (UTC)
Hello GFdevelop, thank you for your feedback. I can add some configuration file for wrapper. I am thinking whether enviromental variable will be enough or I should use regular config file.
GFdevelop commented on 2017-10-12 19:13 (UTC)
useful package, I have changed pacman with pacaur in the wrapper, you have to add a configuration file to add more tool for example pacman, pacaur, yaourt, etc...
Pinned Comments
mjiricka commented on 2017-10-15 15:40 (UTC) (edited on 2017-10-15 18:54 (UTC) by mjiricka)