oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

Bootstrapping does not update OPKGs data but insert new data #597

Closed dikim33 closed 7 years ago

dikim33 commented 7 years ago

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.

dikim33 commented 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.

dikim33 commented 7 years ago

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.

dikim33 commented 7 years ago

Comment by valleegr on 24 Aug 2010 19:17 UTC Not the version but the target distro. Sorry.

dikim33 commented 7 years ago

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.