user-added planet script

Nicu Buculei nicu_fedora at nicubunu.ro
Thu May 8 16:20:22 UTC 2008


seth vidal wrote:
> On Thu, 2008-05-08 at 11:50 -0400, Bill Nottingham wrote:
>> seth vidal (skvidal at fedoraproject.org) said: 
>>> Hey folks, 
>>>    I'm working on a script to collect blog/name/hackergotchi entries
>>> from users homedirs on fedorapeople.org and assemble them into a config
>>> file for planet to use. All the bits about grabbing the files are
>>> clearly simple. My only question is this:
>>>   - Should I just have the user put one (or more) planet config stanzas
>>> in a file in their homedir or have them list just the blog feed url, the
>>> hackergotchi url and their name and try to parse that out?
>>>
>>> I'm inclined to the former. So a user could just have a .planet file
>>> that has:
>>>
>>> [http://skvidal.wordpress.com/feed/]
>>> name = Seth Vidal
>>> face = http://skvidal.fedorapeople.org/skvidal.png

Add here probably a "language" for when/if we will have language based 
sub-planets. It is possible to have multiple values, like
language = english, french
for the case when someone blogs about half the time in one language and 
half in another?

On the topic of multiple values (if possible), how about "group", so we 
have the possibility of running sub-planet for distinct groups based on 
their area of activity, like an aggregation of the "art" people, or 
"developers" or "ambassadors", etc. Like:
group = art, ambassadors, marketing

>> Would there be a good way to blacklist entries if we needed to in
>> a rush? Or would we just edit the master config and disable the
>> script?
> 
> I was thinking of just having a 'ignore users' config option for the
> script so it would just skip their dirs if there was a problem.

I think this sounds fair.

-- 
nicu :: http://nicubunu.ro :: http://nicubunu.blogspot.com




More information about the Fedora-infrastructure-list mailing list