[ditrack commit] r2407 - src/trunk/DITrack/DB
Ivan Glushkov
gli.work at gmail.com
Mon May 5 07:16:38 PDT 2008
Hi.
> > But, I think we need to implement command to clear cache
> >
> > "dt cleanup" or "dt --clear-cache ls" or "dt --without-cache ls"
> >
> > because we can't predict all possible cases of cache clearing:
> > - delete one of comment manually
> > - delete one of issue manually
> > - etc
> >
> > Your opinion?
>
>
> I think *for now* we can skip it. We can always recommend users to
> remove the cache file manually and if people get annoyed by doing this,
> we'll know that and implement a command. :-)
I'd like to vote to the Oleg's proposition. Let's compare the
following two methods of clearing cache:
- 'rm issues/.ditrack/.cache'
do the user always remember where this cache-file is located? I
suppose no. How should it recall it? 'grep cache -r *' (hoping that we
mentioned it in some README file)
- 'dt cleanup'
it's the usual interface with the user, so it'll always get help
by 'dt --help'.
Ivan.
More information about the Dev
mailing list