-
Notifications
You must be signed in to change notification settings - Fork 24
TODO
Jakub Kadlčík edited this page Jul 29, 2015
·
131 revisions
Add section with uninstalled packages- Implement user configuration in
~/.config/tracer/tracer.conf
DEFAULT_OPTS
PACKAGE_MANAGER
- Document user configuration
- XML files
- Config file
Fix releasing version on non-english system-
Implement hooks functionality-
No need for--hooks-only
parameter, its possible to usetracer &> /dev/null
Actually if some hook side effect is only printing, the command above will throw it away with the rest of tracer's output.
Implement function decorator to have @match("app_name") or@match(["app_name1", "app_name2"])
. Other possible names can be@on
,@when
,@app
,@hook
...- Hook function will have only
*args
and**kwargs
arguments Hook directory will bedata/hooks
and~/.config/tracer/hooks
-
Add--services-only
and--daemons-only
equivalent arguments (tracer --packages at -n -e
)Autodetect services and daemons (See/usr/lib/systemd/system/atd.service
)- Probably trace services separately, because i.e. service files aren't showed by
lsof
-
Python3 supportFedora: https://bugzilla.redhat.com/show_bug.cgi?id=1211258Try even DNF plugin on python3
Package forpip
Add section in-s
showing what other applications the current one affectsObsoletetracer pkg1 pkg2
withtracer -p pkg1 pkg2
. Argument is-p
or--packages
- Incorrectly shown applications:
Don't appear:xfce4-terminal
- WTF with:
ssh-agent
in Xfce - Interpreters:
sh
Add functionality for apps torename="dest_app_name"
. See applicationsabrt-dump-journal-oops
andabrt-watch-log
Addhelper_note
to show additional info only in--show
:Nautilus
,Thunar
,pcmanfm
Change default rule toprint
orreturn
(no,call-parent
will be the default action, butprint
is renamed toreturn
Rewrite "Get Tracer" for Fedora. DNF repos are not needed-
Provide very simple API-
ImplementQuery
class providing methods:affected_applications()
returning aset()
Methods will be lazy and return instance withrun()
orget()
methodClassesPackage
,Application
,Process
will be in API
-
-
Use standard localization systemDocument it in Developer guide
-
Provide informations about resourcestracer --show-resource=xy
forprocessespackagesrulesapplicationssystem (distribution, tracer's version, package manager, init system, uptime, users)Update manual page
Print helpers for all arguments passed to--show
- Don't print tracer, its subprocesses or its sudo in processes list
Create manpage-
Fix that stupid design whenpackage_info(...)
method hasapp_name
argument.ImplementPackage::load_info()
which will create package manager object and call itsload_package_info(...)
on self
Documentation generator and versioning documentation with codeIf process is affected by its child, print that in "affected by" helper sectionImplement possibility toaction="ignore"
for ApplicationsProbably print more lines of 'state' in helper when multiple application instances- Cache list of packages from package managers
When showing helper, dont print how to restart if application actually doesnt need restartPrintsudo ...
in 'how to restart' when user is not rootIssue #9UX RedesignProcessesList.exclude_type(app_type)
should justreturn ProcessesList.exclude_types([app_type])
Print defined helpers-
User only mode- By default print only processes for which user have permissions to restart them
Add-r
or--root
mode to show system processesAdd-e
or--everyone
mode to show everyone's processesAdd-u
or--user
mode to show specific user's processes
Wait some time and reimplement dnf-tracer-plugin to use transaction API (see 46b6b83)Add-a
or--all
mode to list even session and static applicationsAdd--helpers
parameter to not list applications, but list their helpers-
Add information about what packages caused the modification, into the helper-
In verbose mode print even matching files- When updated package owning showed application, dont print its files, but something
-
Run tests inmake release
Add possibility to have user definedapplications.xml
in/home
and/etc
directories. Mainly for ignoring system-specific applications. Common applications should be reported and moved into/usr/share
Remove duplicate files from 'affected by' section in helperProbably dont print 'how to restart' section in helper for typeApplication
- Reimplement helpers on Gentoo to not use
equery
provided_by(...)
-equery
-
package_info(...)
-eix
MakeApplication
values available through propertiesDeal with interpreted processes in helpers on Fedora [!]Debug the_filename_without_version
Userpm -qf /bin/ls --queryformat '%{NAME}\n'
instead of_package_without_version