Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-21 Thread Sabahattin Gucukoglu via isync-devel
On 19 Jan 2022, at 13:00, Oswald Buddenhagen wrote: > On Wed, Jan 19, 2022 at 11:20:10AM +, Simão Afonso wrote: >> Since this is coming up, I would like this "daemon mode" to use IDLE to >> subscribe to the Inbox mailboxes, and run the equivalent of `mbsync >> ACCOUNT` when new messages come u

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-20 Thread tslil clingman
> > [...] Does that make sense? > not really. ^^ I see, well in the mean time i have been able to construct my use-case by (ab)using environment variables, hopefully this makes it clearer. In a wrapper shell script i have #!/bin/sh export SOME_ENV_VARIABLE=$(obtain password) while true; do

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-19 Thread Oswald Buddenhagen
On Wed, Jan 19, 2022 at 02:58:34AM +, tslil clingman wrote: [...] Does that make sense? not really. ^^ Would you be able to give me some hints about how to effect this in the current code base? you basically want to en-loop the last "paragraph" of main() (including the line before it).

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-19 Thread tslil clingman
Oswald, Thank you for your email and for pointing me the discussions. > this exists in the TODO file and in various mailing list discussions under > the name "daemon mode". i haven't spent much time thinking about that beyond > what is public, so i'm all ears for your ideas once you've read up on

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-19 Thread Oswald Buddenhagen
On Wed, Jan 19, 2022 at 11:20:10AM +, Simão Afonso wrote: Since this is coming up, I would like this "daemon mode" to use IDLE to subscribe to the Inbox mailboxes, and run the equivalent of `mbsync ACCOUNT` when new messages come up. that's an option, but it's a whole different caliber. it'

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-19 Thread Tassilo Horn
Simão Afonso writes: > Parallel account fetching would also be a possibility, but that can be > hacked around with a shell script. Indeed, I use GNU parallel for that: $ parallel mbsync ::: channel1 cannel2 ... Bye, Tassilo ___ isync-devel mailin

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-19 Thread Simão Afonso
On 2022-01-18 22:17:52, Oswald Buddenhagen wrote: > this exists in the TODO file and in various mailing list discussions under > the name "daemon mode". i haven't spent much time thinking about that beyond > what is public, so i'm all ears for your ideas once you've read up on the > topic. Since t

Re: [Feature request/hacking hand-holding] built-in repeated polling?

2022-01-18 Thread Oswald Buddenhagen
On Tue, Jan 18, 2022 at 06:35:20PM +, tslil clingman wrote: What i'd like is for mbsync, once it has parsed the config and options, to do its usual business and instead of then exiting, wait some amount of time and repeat this forever. this exists in the TODO file and in various mailing li

Re: feature request: something between --quiet and counters

2016-01-11 Thread Oswald Buddenhagen
On Mon, Jan 11, 2016 at 09:40:52AM +0100, Philippe Bruhat (BooK) wrote: > One issue with the -q option is that when there an error, the name of > the folder is not shown in the error message. So whenever the output > of -q shows some errors, I have to run the thing again without -q just > to be abl

Re: feature request: something between --quiet and counters

2016-01-11 Thread Philippe Bruhat (BooK)
On Sat, May 02, 2015 at 04:39:33PM +0200, Oswald Buddenhagen wrote: > On Sat, May 02, 2015 at 03:42:18PM +0200, Tamas Papp wrote: > > I am wondering if there could be an intermediate form of display which > > does not require a TTY but still provides an indication or progress, eg > > each time the

Re: feature request: something between --quiet and counters

2015-05-02 Thread Oswald Buddenhagen
On Sat, May 02, 2015 at 03:42:18PM +0200, Tamas Papp wrote: > I am wondering if there could be an intermediate form of display which > does not require a TTY but still provides an indication or progress, eg > each time the counters line would be updated mbsync could display a dot > '.' instead. >

Re: Feature Request

2012-11-02 Thread Oswald Buddenhagen
On Thu, Nov 01, 2012 at 12:53:58PM +0200, Ciprian Dorin Craciun wrote: > * but for other authentication types (like `X-OAUTH` in case of > Gmail) it could have delegated the SASL "dance" to an external > command; > bidirectional process communication is a lot harder to do. anyway, i have to se

Re: Feature Request

2012-11-01 Thread Ciprian Dorin Craciun
On Thu, Nov 1, 2012 at 9:36 AM, Oswald Buddenhagen wrote: > On Wed, Oct 31, 2012 at 10:32:15AM -0400, Dave Abrahams wrote: >> I'd like to be able to give mbsync a command via which it can get my >> password, so I don't have to store it in a plaintext file and so it >> doesn't show up in my "ps www

Re: Feature Request

2012-11-01 Thread Oswald Buddenhagen
On Wed, Oct 31, 2012 at 10:32:15AM -0400, Dave Abrahams wrote: > I'd like to be able to give mbsync a command via which it can get my > password, so I don't have to store it in a plaintext file and so it > doesn't show up in my "ps wwwaux" listing. I'd set it up to use my > Mac's keychain. > good