Include the revision details for package dervation comparisons
I'm wanting the commits for tagging builds.
This commit is contained in:
parent
1df7b46343
commit
c12959330b
1 changed files with 16 additions and 2 deletions
|
|
@ -636,7 +636,13 @@
|
|||
mime-types)
|
||||
((application/json)
|
||||
(render-json
|
||||
derivation-changes))
|
||||
`((revisions
|
||||
. ((base
|
||||
. ((commit . ,base-commit)))
|
||||
(target
|
||||
. ((commit . ,target-commit)))))
|
||||
(derivation_changes
|
||||
. ,derivation-changes))))
|
||||
(else
|
||||
(letpar& ((systems
|
||||
(with-thread-postgresql-connection
|
||||
|
|
@ -729,7 +735,15 @@
|
|||
mime-types)
|
||||
((application/json)
|
||||
(render-json
|
||||
derivation-changes))
|
||||
`((revisions
|
||||
. ((base
|
||||
. ((commit . ,(second base-revision-details))
|
||||
(datetime . ,(fifth base-revision-details))))
|
||||
(target
|
||||
. ((commit . ,(second target-revision-details))
|
||||
(datetime . ,(fifth target-revision-details))))))
|
||||
(derivation_changes
|
||||
. ,derivation-changes))))
|
||||
(else
|
||||
(render-html
|
||||
#:sxml (compare/package-derivations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue