View previous topic :: View next topic |
Author |
Message |
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Tue Apr 07, 2009 2:14 am Post subject: eselect news is good |
|
|
hi......just little bit personal feelings
it's good to announce stuff thru eselect news
i like that
i don't need to look up thru slow ff while i m in prompt console
;-p _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
djanderson Tux's lil' helper
Joined: 24 Mar 2004 Posts: 98 Location: Boulder, CO
|
Posted: Tue Apr 07, 2009 2:58 am Post subject: |
|
|
++
I've been waiting for this to get going for a long time... can you believe the idea was officially proposed almost 4 years ago? http://www.gentoo.org/proj/en/glep/glep-0042.html
But better late than never ... I hope this saves a few headaches. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Apr 07, 2009 3:50 am Post subject: |
|
|
The only problem that I have with it is that it doesn't support bash completion like some of the other eselect modules do. It is a pain to type in the entire article ID, especially when there is only one. Now if I could only figure out how the others support bashcomp, I would see about adding it to the news module... |
|
Back to top |
|
|
djanderson Tux's lil' helper
Joined: 24 Mar 2004 Posts: 98 Location: Boulder, CO
|
Posted: Tue Apr 07, 2009 4:00 am Post subject: |
|
|
yabbadabbadont wrote: | The only problem that I have with it is that it doesn't support bash completion like some of the other eselect modules do. It is a pain to type in the entire article ID, especially when there is only one. Now if I could only figure out how the others support bashcomp, I would see about adding it to the news module... |
Try Code: | eselect news read new | or even Code: | eselect news read 1 | worked for me. (Both will only work when you have a NEW message, so you probably can't try it now... you can do Code: | eselect news read all | though).
-Doug |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Apr 07, 2009 4:36 am Post subject: |
|
|
Pshaw! No one worth their salt actually reads the help docs...
Thanks for the tip. |
|
Back to top |
|
|
djanderson Tux's lil' helper
Joined: 24 Mar 2004 Posts: 98 Location: Boulder, CO
|
Posted: Tue Apr 07, 2009 5:48 am Post subject: |
|
|
yabbadabbadont wrote: | Pshaw! No one worth their salt actually reads the help docs... |
hehe... I HAD to because yeah, not having bash completion is a bit of a pain, huh? You should definitely figure that out and submit a patch
Oh, and Code: | $ eselect news read
!!! Error: You didn't tell me what you want to read
Killed |
seems a bit excessive to me... just playing around with this module makes me feel like every other step is "!!! ERROR !!! KILLED!!! arrrrg". |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Apr 07, 2009 10:04 am Post subject: |
|
|
djanderson wrote: | yabbadabbadont wrote: | Pshaw! No one worth their salt actually reads the help docs... |
hehe... I HAD to because yeah, not having bash completion is a bit of a pain, huh? You should definitely figure that out and submit a patch
Oh, and Code: | $ eselect news read
!!! Error: You didn't tell me what you want to read
Killed |
seems a bit excessive to me... just playing around with this module makes me feel like every other step is "!!! ERROR !!! KILLED!!! arrrrg". |
Good Lord! You mean you actually expect it to gracefully handle errors?!? They've only been working on it for four years. Give it a reasonable amount of time to mature and I'm sure they'll iron out all the bugs. (say, another four years or so ) |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Tue Apr 07, 2009 2:02 pm Post subject: |
|
|
I guess I'm being dumb , but...
Code: |
# eselect news list
Unread news items:
(none found)
Read news items:
(none found)
|
I'd be grateful if someone could tell me where I actually grab the news from?
Cheers
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
Qanii n00b
Joined: 29 Aug 2003 Posts: 10
|
Posted: Tue Apr 07, 2009 2:42 pm Post subject: |
|
|
slack---line wrote: | I guess I'm being dumb , but...
Code: |
# eselect news list
Unread news items:
(none found)
Read news items:
(none found)
|
I'd be grateful if someone could tell me where I actually grab the news from?
Cheers
slack |
I have had the same problem.
re-emerging eselect and eselect-news fixed it. _________________ Do It!
Think After .... |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Tue Apr 07, 2009 3:23 pm Post subject: |
|
|
Qanii wrote: |
I have had the same problem.
re-emerging eselect and eselect-news fixed it. |
Hmm, just tried that and no joy
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Tue Apr 07, 2009 3:29 pm Post subject: |
|
|
Qanii wrote: | slack---line wrote: | I'd be grateful if someone could tell me where I actually grab the news from? |
I have had the same problem.
re-emerging eselect and eselect-news fixed it. | Not likely. No doubt you ran emerge --sync when you (re-)merged those packages.
News items are part of the Portage tree. They are downloaded when you sync your tree. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Last edited by timeBandit on Tue Apr 07, 2009 5:43 pm; edited 1 time in total |
|
Back to top |
|
|
castor_fou Apprentice
Joined: 23 May 2002 Posts: 249 Location: Clermont-Ferrand, France
|
Posted: Tue Apr 07, 2009 5:22 pm Post subject: |
|
|
I really like it a lot.
It is a brilliant idea to announce major migrations that way.
I guess it is why I love gentoo so much...
The only con with this approach is that I won't have to search for hours why I broke my system. And that was good occasions to learn how linux works too. |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Tue Apr 07, 2009 5:42 pm Post subject: |
|
|
castor_fou wrote: | The only con with this approach is that I won't have to search for hours why I broke my system. And that was good occasions to learn how linux works too. | Well, the Gentoo Way is to provide choices: You have the option to break your system first, then read the news after you try to solve the problem on your own.
Just remember two key phrases if that educational plan goes horribly awry: "we told you so" (via news) and "you get to keep the pieces." _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Tue Apr 07, 2009 10:01 pm Post subject: |
|
|
All I have to say about this is: "FINALLY!".
Now I would like to say: "THANK YOU!"
_________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Apr 08, 2009 12:23 am Post subject: |
|
|
michael_c_napier wrote: | Now I would like to say: "THANK YOU!" |
Contrary to how I may have sounded above, I too would like to thank the Gentoo devs who made the news module for eselect possible. It is very nice to be given a "heads up" right after syncing when major changes are afoot. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Apr 08, 2009 2:37 am Post subject: |
|
|
In fact, with the warning at the end of the line, you cannot miss a news nowadays |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Apr 08, 2009 3:02 am Post subject: |
|
|
d2_racing wrote: | In fact, with the warning at the end of the line, you cannot miss a news nowadays |
You could if you sync through a cron job and don't have an MTA installed and configured.
(Always remember that Murphy was an optimist...) |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Apr 08, 2009 3:04 am Post subject: |
|
|
It's a pretty nice new feature |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Apr 08, 2009 9:41 am Post subject: |
|
|
timeBandit wrote: | Qanii wrote: | slack---line wrote: | I'd be grateful if someone could tell me where I actually grab the news from? |
I have had the same problem.
re-emerging eselect and eselect-news fixed it. | Not likely. No doubt you ran emerge --sync when you (re-)merged those packages.
News items are part of the Portage tree. They are downloaded when you sync your tree. |
Ahh ha, this may explain why I get nothing since I use the following command to sync nightly on an NSLU2 NAS device that I then mount over NFS for my desktop and laptop...
Code: |
rsync --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages rsync://rsync.gentoo.org/gentoo-portage /usr/portage/
|
Are the news items located in /distfiles, /local or /packages and I'm inadvertently excluding the news items with the above? _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
sera Retired Dev
Joined: 29 Feb 2008 Posts: 1017 Location: CET
|
Posted: Wed Apr 08, 2009 11:55 am Post subject: |
|
|
Quote: | Are the news items located in /distfiles, /local or /packages and I'm inadvertently excluding the news items with the above? |
There exists /var/log/news/ on my system but it's always empty. I wonder if there is a minimum portage version needed to get this feature to work. |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Apr 08, 2009 12:21 pm Post subject: |
|
|
sera wrote: | Quote: | Are the news items located in /distfiles, /local or /packages and I'm inadvertently excluding the news items with the above? |
There exists /var/log/news/ on my system but it's always empty. I wonder if there is a minimum portage version needed to get this feature to work. |
Whilst I'm still unable to suss out where the news items are stored, I don't think its /var/log/news/ since when you sync your portage tree its all within /usr/portage/ (if my understanding is correct). _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
sera Retired Dev
Joined: 29 Feb 2008 Posts: 1017 Location: CET
|
Posted: Wed Apr 08, 2009 12:28 pm Post subject: |
|
|
Ok, found the non empty directory /usr/portage/metadata/news/ |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Apr 08, 2009 2:54 pm Post subject: |
|
|
sera wrote: | Ok, found the non empty directory /usr/portage/metadata/news/ |
Good detective work, I too have stuff in there and it appears to be up-to-date, but eselect news still doesn't report anything...
Code: |
$ ls /usr/portage/metadata/news/
2007-05-04-paludis-0.24 2009-04-06-tetex timestamp.chk
2009-01-04-sparc-multilib 2009-04-06-x_server-1_5
$ eselect news list
Unread news items:
(none found)
Read news items:
(none found)
|
Does anyone have any suggestions or experience as to why this might be the case _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Wed Apr 08, 2009 3:17 pm Post subject: |
|
|
This resets the read/unread markers for the main Portage tree: Code: | # rm /var/lib/gentoo/news/news-gentoo.*
# find /usr/portage/metadata/news -mindepth 1 -type d -printf "%P\n" >/var/lib/gentoo/news/news-gentoo.unread | eselect news list will then list all news items. Note that news items are tracked per overlay, by repository name (gentoo is the main tree). Files named news-foo.* track news for overlay foo. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Last edited by timeBandit on Wed Apr 08, 2009 3:27 pm; edited 1 time in total |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Apr 08, 2009 3:26 pm Post subject: |
|
|
timeBandit wrote: | This resets the read/unread markers for the main Portage tree: Code: | # rm /var/lib/gentoo/news/news-gentoo.*
# find /usr/portage/metadata/news -mindepth 1 -type d -printf "%P\n" >/var/lib/gentoo/news/news-gentoo.unread | eselect news list will then list all news items. Note that news items are tracked per overlay, by repository name (gentoo is the main tree). |
Cheers timeBandit, that has indeed done the trick. Very much appreciated. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
|