diff options
author | Christopher Baines <mail@cbaines.net> | 2020-01-05 11:24:32 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-01-05 12:01:06 +0000 |
commit | 726674486f2d9334bcf0b5a608fcfbf7a1327e70 (patch) | |
tree | 477fa74ab32ab7dd28a330b0798ec02dd0673ca9 /guix-data-service | |
parent | 0759be52de0f515b82019cf83be91931482ffb8b (diff) | |
download | data-service-726674486f2d9334bcf0b5a608fcfbf7a1327e70.tar data-service-726674486f2d9334bcf0b5a608fcfbf7a1327e70.tar.gz |
Add a couple of comments to select-outputs-without-known-nar-entries
Diffstat (limited to 'guix-data-service')
-rw-r--r-- | guix-data-service/model/nar.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix-data-service/model/nar.scm b/guix-data-service/model/nar.scm index 5e662f2..bf222da 100644 --- a/guix-data-service/model/nar.scm +++ b/guix-data-service/model/nar.scm @@ -311,6 +311,7 @@ INNER JOIN derivation_outputs INNER JOIN derivation_output_details ON derivation_outputs.derivation_output_details_id = derivation_output_details.id WHERE derivation_output_details.path NOT IN ( + -- Ignore outputs that have already been fetched SELECT store_path FROM nars INNER JOIN narinfo_signatures @@ -328,6 +329,7 @@ WHERE derivation_output_details.path NOT IN ( (string-append " AND derivations.id IN ( + -- Select outputs that are in the relevant revisions SELECT derivation_id FROM package_derivations INNER JOIN guix_revision_package_derivations |