Re: rpki-client pass repo info to parser process

2022-01-11 Thread Claudio Jeker
On Tue, Jan 11, 2022 at 11:36:19AM +, Job Snijders wrote: > On Mon, Jan 10, 2022 at 03:30:23PM +0100, Claudio Jeker wrote: > > + if (RB_INSERT(repo_tree, &repos, rp) != NULL) > > + errx(1, "repository already added to repo tree %d, %s", id, > > path); > > + warnx("repository adde

Re: rpki-client pass repo info to parser process

2022-01-11 Thread Job Snijders
On Mon, Jan 10, 2022 at 03:30:23PM +0100, Claudio Jeker wrote: > + if (RB_INSERT(repo_tree, &repos, rp) != NULL) > + errx(1, "repository already added to repo tree %d, %s", id, > path); > + warnx("repository added to repo tree %d, %s", id, path); The above warnx() probably nee

Re: rpki-client pass repo info to parser process

2022-01-11 Thread Theo Buehler
On Mon, Jan 10, 2022 at 03:30:23PM +0100, Claudio Jeker wrote: > This diff changes the way the parser figures out which file to work on. > Until now the parent process sent a full path to the parser but that does > not work well with the idea of splitting the repo up into validated, rsync > and rrd

rpki-client pass repo info to parser process

2022-01-10 Thread Claudio Jeker
This diff changes the way the parser figures out which file to work on. Until now the parent process sent a full path to the parser but that does not work well with the idea of splitting the repo up into validated, rsync and rrdp parts. So this diff changes the way the parser opens a file. There a