Shift extracting channel news to later on
To avoid race conditions between jobs, have it happen after the call to extract-information-from.
This commit is contained in:
parent
82b1ae6b75
commit
3ee481110e
1 changed files with 9 additions and 6 deletions
|
|
@ -1135,18 +1135,21 @@ ORDER BY packages.name, packages.version"
|
||||||
commit store-item)))
|
commit store-item)))
|
||||||
(and
|
(and
|
||||||
guix-revision-id
|
guix-revision-id
|
||||||
|
(extract-information-from conn guix-revision-id
|
||||||
|
commit store-item)
|
||||||
(if (defined? 'channel-news-for-commit
|
(if (defined? 'channel-news-for-commit
|
||||||
(resolve-module '(guix channels)))
|
(resolve-module '(guix channels)))
|
||||||
(insert-channel-news-entries-for-guix-revision
|
(log-time
|
||||||
conn
|
"inserting channel news entries"
|
||||||
guix-revision-id
|
(lambda ()
|
||||||
(channel-news-for-commit channel-for-commit commit))
|
(insert-channel-news-entries-for-guix-revision
|
||||||
|
conn
|
||||||
|
guix-revision-id
|
||||||
|
(channel-news-for-commit channel-for-commit commit))))
|
||||||
(begin
|
(begin
|
||||||
(simple-format #t "debug: importing channel news not supported\n")
|
(simple-format #t "debug: importing channel news not supported\n")
|
||||||
#t))
|
#t))
|
||||||
|
|
||||||
(extract-information-from conn guix-revision-id
|
|
||||||
commit store-item)
|
|
||||||
(update-package-versions-table conn git-repository-id commit)
|
(update-package-versions-table conn git-repository-id commit)
|
||||||
(update-package-derivations-table conn
|
(update-package-derivations-table conn
|
||||||
git-repository-id
|
git-repository-id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue