Re: [OE-core] [PATCH 2/2] cve-update-db-native: avoid partial updates

2023-01-04 Thread Jose Quaresma
Marta Rybczynska escreveu no dia quarta, 4/01/2023 à(s) 15:28: > Hi Jose, Thanks for looking into that. The function is not a total duplicate: the difference is that the it always removes the db_tmp_file, not only if the journal file exists (Python code

Re: [OE-core] [PATCH 2/2] cve-update-db-native: avoid partial updates

2023-01-04 Thread Marta Rybczynska
> > >>> >>> Hi Jose, >>> Thanks for looking into that. The function is not a total duplicate: the >>> difference is that >>> the it always removes the db_tmp_file, not only if the journal file >>> exists (Python code >>> formatting!). >>> >> >> Don't see on the first time that the db_tmp_file is

Re: [OE-core] [PATCH 2/2] cve-update-db-native: avoid partial updates

2023-01-03 Thread Marta Rybczynska
On Tue, Jan 3, 2023 at 10:30 AM Jose Quaresma wrote: > > > Marta Rybczynska escreveu no dia segunda, > 2/01/2023 à(s) 16:38: > >> >> >> On Mon, Jan 2, 2023 at 2:14 PM Jose Quaresma >> wrote: >> >>> Hi Marta, >>> >>> Marta Rybczynska escreveu no dia segunda, >>> 2/01/2023 à(s) 07:03: >>>

Re: [OE-core] [PATCH 2/2] cve-update-db-native: avoid partial updates

2023-01-03 Thread Jose Quaresma
Marta Rybczynska escreveu no dia segunda, 2/01/2023 à(s) 16:38: > > > On Mon, Jan 2, 2023 at 2:14 PM Jose Quaresma > wrote: > >> Hi Marta, >> >> Marta Rybczynska escreveu no dia segunda, >> 2/01/2023 à(s) 07:03: >> >>> The database update has been done on the original file. In case of >>>

Re: [OE-core] [PATCH 2/2] cve-update-db-native: avoid partial updates

2023-01-02 Thread Marta Rybczynska
On Mon, Jan 2, 2023 at 2:14 PM Jose Quaresma wrote: > Hi Marta, > > Marta Rybczynska escreveu no dia segunda, > 2/01/2023 à(s) 07:03: > >> The database update has been done on the original file. In case of >> network connection issues, temporary outage of the NVD server or >> a similar

Re: [OE-core] [PATCH 2/2] cve-update-db-native: avoid partial updates

2023-01-02 Thread Jose Quaresma
Hi Marta, Marta Rybczynska escreveu no dia segunda, 2/01/2023 à(s) 07:03: > The database update has been done on the original file. In case of > network connection issues, temporary outage of the NVD server or > a similar situation, the function could exit with incomplete data > in the