1 |
commit: 3ac0465df0049240f20ccb0efee65463203f7542 |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 22 11:09:50 2016 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 22 11:09:50 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=3ac0465d |
7 |
|
8 |
reset new and updated on ebuild and package metadata |
9 |
|
10 |
pym/tbc/updatedb.py | 4 +++- |
11 |
1 file changed, 3 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/pym/tbc/updatedb.py b/pym/tbc/updatedb.py |
14 |
index 7fce867..437cfd5 100644 |
15 |
--- a/pym/tbc/updatedb.py |
16 |
+++ b/pym/tbc/updatedb.py |
17 |
@@ -13,7 +13,8 @@ from sqlalchemy.orm import scoped_session, sessionmaker |
18 |
from tbc.ConnectionManager import NewConnection |
19 |
from tbc.sqlquerys import get_package_info, update_repo_db, \ |
20 |
update_categories_db, get_configmetadata_info, get_config_all_info, add_new_build_job, \ |
21 |
- get_config_info, get_setup_info, get_job_status_waiting_on_guest, update_job_list |
22 |
+ get_config_info, get_setup_info, get_job_status_waiting_on_guest, update_job_list, \ |
23 |
+ reset_new_updated |
24 |
from tbc.check_setup import check_make_conf |
25 |
from tbc.package import tbc_package |
26 |
# Get the options from the config file tbc.conf |
27 |
@@ -156,6 +157,7 @@ def update_cpv_db(session, repo_cp_dict, config_id, tbc_settings): |
28 |
|
29 |
def update_db_main(session, repo_cp_dict, config_id): |
30 |
# Main |
31 |
+ reset_new_updated(session) |
32 |
if repo_cp_dict == {}: |
33 |
return True |
34 |
# Logging |