Skip to content

Commit

Permalink
db: fix build_reasons stored as text
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Jun 28, 2024
1 parent ba67280 commit 7c22beb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lilac
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ from typing import List, Any, DefaultDict, Tuple
from collections.abc import Set
from pathlib import Path
import graphlib
import json
import datetime
import threading
from concurrent.futures import (
Expand Down Expand Up @@ -159,7 +158,7 @@ def packages_with_depends(
pkgbase = pkg,
index = idx,
status = 'pending',
build_reasons = json.dumps(rs),
build_reasons = rs,
)
s.add(p)
db.build_updated(s)
Expand Down Expand Up @@ -465,7 +464,7 @@ def build_it(
cputime = cputime,
memory = memory,
msg = msg,
build_reasons = json.dumps(rs),
build_reasons = rs,
)
s.add(p)
db.mark_pkg_as(s, pkg, 'done')
Expand Down

0 comments on commit 7c22beb

Please sign in to comment.