Closed dikim33 closed 7 years ago
Comment by valleegr on 24 Aug 2010 18:58 UTC The script that actually does duplicate the entries is populate_oda_packages_table from oda.
Comment by valleegr on 24 Aug 2010 19:16 UTC The problem is due to the fact that when we check for existing entries, we use the packages version which is not currently populated in the database. So the OPKG's data (for which the version is specified) never matches the data in the database.
Comment by valleegr on 24 Aug 2010 19:17 UTC Not the version but the target distro. Sorry.
Comment by valleegr on 24 Aug 2010 19:24 UTC (In [9287]) This check-in fixes #597 - Bootstrapping now updates OPKGs data rather than duplicating the data for all OPKGs.
Reported by valleegr on 24 Aug 2010 18:51 UTC When bootstrapping, the system looks for OPKGs and store the associated data in the database (which makes sense). However, if OPKGs data was already saved, the data is not updated but new entries are created. As a result, if one runs n times bootstrapping, n entry will be in the database for each OPKGs.