Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

eselect news is good

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
48 posts
  • Previous
  • 1
  • 2
Author
Message
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Wed Apr 08, 2009 7:16 pm

Yup that did it. Thanks timeBandit. So the file to be removed didn't exist in the first place.

So there are four "news" in total and one is from 2007. :)
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Wed Apr 08, 2009 9:09 pm

Thanks for the info TimeBandit. I was presented with the news item for the xorg update, but there were three other, older, items there that I had never seen. I'm guessing that I didn't see them either because none of them applied to my system (sparc, tetex, and paludis) or that you had to have had a newer version of portage installed at the time of the sync.
Top
Ormaaj
Guru
Guru
User avatar
Posts: 319
Joined: Mon Jan 28, 2008 8:04 am

  • Quote

Post by Ormaaj » Thu Apr 09, 2009 7:42 pm

Wouldn't it be better to distribute news through some already established standard than to invent a new gentoo/portage-specific tool? RSS for example. I like the unix philosophy of "Do one thing and do it well."

This is a job for a feed-reader; Not a configuration tool, or a package manager.
Top
Paapaa
l33t
l33t
User avatar
Posts: 955
Joined: Sun Aug 14, 2005 8:45 am
Location: Finland

  • Quote

Post by Paapaa » Thu Apr 09, 2009 8:33 pm

Ormaaj wrote:This is a job for a feed-reader; Not a configuration tool, or a package manager.
I disagree. This is the best place to announce package installation related stuff: straight after you sync the Portage tree. And it gets noticed with 100% confidence.
Paludis, the way packages are meant to be managed.
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Thu Apr 09, 2009 8:33 pm

Ormaaj wrote:Wouldn't it be better to distribute news through some already established standard than to invent a new gentoo/portage-specific tool? ... This is a job for a feed-reader; Not a configuration tool, or a package manager.
In this case, no. This mechanism is to ensure news items of critical importance cannot be missed.

I suggest you read at least the first few sections (through Requirements) of GLEP 42, [glep=0042]Critical News Reporting[/glep], which specified this enhancement.
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, [topic=160179]strip[/topic] comments, [topic=515888]mark[/topic] solved, [topic=119906]help[/topic] others.
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Thu Apr 09, 2009 11:36 pm

Paapaa wrote:
Ormaaj wrote:This is a job for a feed-reader; Not a configuration tool, or a package manager.
I disagree. This is the best place to announce package installation related stuff: straight after you sync the Portage tree. And it gets noticed with 100% confidence.
Yup. I couldn't agree more.
Gentoo: it's like wiping your ass with silk.
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Fri Apr 10, 2009 12:16 am

Code: Select all

hikaru ~ # eselect news list
Unread news items:
  (none found)              
Read news items:
  (none found)              
hikaru ~ # rm /var/lib/gentoo/news/news-gentoo.*
rm: cannot remove `/var/lib/gentoo/news/news-gentoo.*': No such file or directory
hikaru ~ # find /usr/portage/metadata/news -mindepth 1 -type d -printf "%P\n" >/var/lib/gentoo/news/news-gentoo.unread
hikaru ~ # eselect news list
Unread news items:
  (none found)              
Read news items:
  (none found)              
hikaru ~ # 

Code: Select all

hikaru ~ # ls /usr/portage/metadata/news/
2007-05-04-paludis-0.24  2009-01-04-sparc-multilib  2009-04-06-tetex  2009-04-06-x_server-1_5  timestamp.chk
have run `emerge eselect eselect-news` twice before the above...
Top
poly_poly-man
Advocate
Advocate
User avatar
Posts: 2477
Joined: Wed Dec 06, 2006 9:59 pm
Location: RIT, NY, US
Contact:
Contact poly_poly-man
Website

  • Quote

Post by poly_poly-man » Fri Apr 10, 2009 12:22 am

#1: I sync and update daily (overnight cron job), and usually don't look too deeply into the mails (especially not the sync one), so I will miss these messages.

#2: eselect news list says there are no items.
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see [topic]838248[/topic]. Potentially still a WiP.
Top
pandaxiongmao
Guru
Guru
User avatar
Posts: 478
Joined: Mon Sep 29, 2003 4:17 pm
Location: USA

  • Quote

Post by pandaxiongmao » Sun Apr 12, 2009 4:09 am

eselect news isn't intuitive; I didn't know how to use it until I stumbled upon this thread. It sucks when keyboard+mouse suddenly failed to function after xorg-server update.
CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI
Top
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Sun Apr 12, 2009 5:32 am

Not intuitive? It's the same syntax as all the other eselect tools.
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Sun Apr 12, 2009 5:35 am

sera wrote:Not intuitive? It's the same syntax as all the other eselect tools.
So, are you arguing for or against him? ;)
Top
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Sun Apr 12, 2009 5:43 am

yabbadabbadont wrote:
sera wrote:Not intuitive? It's the same syntax as all the other eselect tools.
So, are you arguing for or against him? ;)
You got me . :lol:
Top
V-Li
Retired Dev
Retired Dev
Posts: 618
Joined: Tue Jan 03, 2006 12:44 am

  • Quote

Post by V-Li » Sun Apr 12, 2009 9:23 am

yabbadabbadont wrote:I was presented with the news item for the xorg update, but there were three other, older, items there that I had never seen. I'm guessing that I didn't see them either because none of them applied to my system (sparc, tetex, and paludis)
News items are filtered by what the news item specifies:
Display-If-Installed (for a specific package), Display-If-Keywords (guess!) or Display-If-Profile (for a specific profile set) control that behaviour.
The news items are very near to a RFC-conform email header, so it reuses existing "technology", see my small step-by-step guide on the planet.

Ok, thanks for the praise (I wrote the teTeX and X.org news items), but I would like to have them out earlier, that's why I wrote the short guide for others who might find the GLEP hard to read (which it actually is if you only want to ship out a news item).
Top
Cyker
Veteran
Veteran
Posts: 1746
Joined: Thu Jun 15, 2006 7:43 pm

  • Quote

Post by Cyker » Sun Apr 12, 2009 10:21 am

eselect news ftw :D

Encourage its use, for it is nifty! :)
Top
arnvidr
l33t
l33t
User avatar
Posts: 629
Joined: Thu Aug 19, 2004 7:07 pm
Location: Oslo, Norway

  • Quote

Post by arnvidr » Sun Apr 12, 2009 12:52 pm

So where do these news show up automatically?
Noone wrote:anything
Top
V-Li
Retired Dev
Retired Dev
Posts: 618
Joined: Tue Jan 03, 2006 12:44 am

  • Quote

Post by V-Li » Sun Apr 12, 2009 6:38 pm

arnvidr wrote:So where do these news show up automatically?
If the news item applies to you, you will be informed similar to changed configuration files.
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Sun Apr 12, 2009 10:35 pm

V-Li wrote:
arnvidr wrote:So where do these news show up automatically?
If the news item applies to you, you will be informed similar to changed configuration files.
In other (more obvious) words, in the status messages that are displayed at the end of an "emerge --sync" operation. ;)
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Mon Apr 13, 2009 11:26 am

If the news item applies to you, you will be informed similar to changed configuration files.
Aha, so I don't get the news concerning xorg-server-1.5x, because I'm already on 1.6? Good to know.
Top
arnvidr
l33t
l33t
User avatar
Posts: 629
Joined: Thu Aug 19, 2004 7:07 pm
Location: Oslo, Norway

  • Quote

Post by arnvidr » Mon Apr 13, 2009 4:06 pm

yabbadabbadont wrote:
V-Li wrote:
arnvidr wrote:So where do these news show up automatically?
If the news item applies to you, you will be informed similar to changed configuration files.
In other (more obvious) words, in the status messages that are displayed at the end of an "emerge --sync" operation. ;)
So I can't automate syncs if I want to be notified of these news items?
Noone wrote:anything
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Mon Apr 13, 2009 5:18 pm

arnvidr wrote:So I can't automate syncs if I want to be notified of these news items?
Mail yourself the output of the sync job (and read it :wink:) or run eselect news list on a routine basis. Another option is a separate cron job to check for news and mail a summary:

Code: Select all

#!/bin/bash

if [ $(eselect news count) -ne 0 ] ; then
    eselect news list
fi
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, [topic=160179]strip[/topic] comments, [topic=515888]mark[/topic] solved, [topic=119906]help[/topic] others.
Top
arnvidr
l33t
l33t
User avatar
Posts: 629
Joined: Thu Aug 19, 2004 7:07 pm
Location: Oslo, Norway

  • Quote

Post by arnvidr » Tue Apr 14, 2009 6:28 am

I don't have it really automated, but I have an alias that updates overlays and stuff after it syncs the tree, but I guess I could just change the order, or put eselect news list at the end of the operations. One question though, does the list of read news items get shortened once in a while? I'm really not interested in reading news from 2007 about a program I've never used.
Noone wrote:anything
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Tue Apr 14, 2009 2:25 pm

arnvidr wrote:[D]oes the list of read news items get shortened once in a while?
Like everything else in the tree, news items deleted upstream would be removed when you sync. However, I would not expect that to happen often, given the importance of news broadcasting and the possibility of long sync intervals for some users.
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, [topic=160179]strip[/topic] comments, [topic=515888]mark[/topic] solved, [topic=119906]help[/topic] others.
Top
V-Li
Retired Dev
Retired Dev
Posts: 618
Joined: Tue Jan 03, 2006 12:44 am

  • Quote

Post by V-Li » Thu Apr 16, 2009 6:24 am

arnvidr wrote:I don't have it really automated, but I have an alias that updates overlays and stuff after it syncs the tree, but I guess I could just change the order, or put eselect news list at the end of the operations. One question though, does the list of read news items get shortened once in a while? I'm really not interested in reading news from 2007 about a program I've never used.

As stated above, news items that aren't relevant for you (you use a greater version or you do not have the package installed at all) will not be displayed at all. The news facility is meant for really important news, so items there should only appear once in a while...shipping all those in a sync should be no burden at all.
Top
Post Reply
  • Print view

48 posts
  • Previous
  • 1
  • 2

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic