datalad / datalad-gooey

A graphical user interface for DataLad (datalad.org)
https://docs.datalad.org/projects/gooey
Other
4 stars 6 forks source link

Don't send lsdir and status_light executions to the command log #182

Closed adswa closed 2 years ago

adswa commented 2 years ago

I see frequent logs of command execution for lsdir and status_light in the command log:

Running: Dataset('/home/adina/HCP1200').gooey_status_light(path=[PosixPath('/home/adina/HCP1200/HCP1200')], result_renderer='disabled', on_failure='ignore')

Running: Dataset('/home/adina/HCP1200').gooey_status_light(path=[PosixPath('/home/adina/HCP1200')], result_renderer='disabled', on_failure='ignore')

Running: gooey_lsdir(path=PosixPath('/home/adina/HCP1200/HCP1200/100206'), result_renderer='disabled', on_failure='ignore')

Running: Dataset('/home/adina/HCP1200/HCP1200/100206').gooey_status_light(path=[PosixPath('/home/adina/HCP1200/HCP1200/100206')], result_renderer='disabled', on_failure='ignore')

Screenshot from 2022-09-22 10-21-12

I think it would be nicer if these command executions happen silently.

mih commented 2 years ago

I think we can plainly filter out any command execution of gooey_* named commands.