Public bug reported:
I'm not sure if adding this to Zeitgeist makes sense, but sometimes I would
like to see what package (and when) I've installed without opening PackageKit
and browsing logs.
If Zeitgeist Data-Providers team also would like this in Zeitgeist, I'm willing
to write a plugin.
*
There's an API. Plugin gets "inserted" into process of installing packages. It
is described here: http://yum.baseurl.org/wiki/WritingYumPlugins
There is also another way ( http://mo.morsi.org/blog/node/220 ), but it would
need to be called with some interval, gather information about all installe
** Branch linked: lp:~maciej-malecki/zeitgeist-dataproviders/yum-plugin
--
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/769948
Title:
Add support for yum
Status in Zeitge
This branch is not done yet (it does nothing besides installing this "plugin"
now), I think I will get it done in 2 days or so (I will issue a merge request
then).
I'm currently using Fedora 15 and Fedora 14 (though tomorrow I'm switching all
hosts to Fedora 15).
Fedora 15 Beta is here: http://f
Oops. Now I'm facing a problem which I haven't thought about before and which I
haven't noticed before latest commit.
Zeitgeist-daemon is running with privileges of current user, whilst yum needs
root privileges to run, so yum plugin tries to talk to nonexistent
zeitgeist-daemon in context of ro
For ls it's true, because ~ is expanded by bash. Python works in a bit
different way:
$ sudo python
>>> import os
>>> os.getenv("HOME")
'/root'
>>> import os.path
>>> os.path.expanduser("~")
'/root'
Yes, there are few environment variables preserved (like USERNAME), bu
Sorry I could get back to it so late.
I've figured out a way to handle the problem with root privileges (at least,
most cases).
Plugin now forks right after collecting data. Fork tries to find out who ran it
really (by checking environment variables) and sets it's UID and GID like he
was that u
7 matches
Mail list logo