Skip to main content

content-store: Rake tasks

These rake tasks come from the desc descriptions in content-store’s lib/tasks folder. To change what’s shown here, change the description in the code.

housekeeping:cleanup_publish_intents

Delete any publish intents in the past

k exec deploy/content-store -- rake housekeeping:cleanup_publish_intents

View source (lib/tasks/housekeeping.rake)

report:publication_delay_report

Run a publication delay report of the last week

k exec deploy/content-store -- rake report:publication_delay_report

View source (lib/tasks/report.rake)

report:find_specific_term_references

Find all references to search term

k exec deploy/content-store -- rake report:find_specific_term_references[term]

View source (lib/tasks/report.rake)

report:find_specific_term_references_excluding_types

Find all references to search term excluding document types

k exec deploy/content-store -- rake report:find_specific_term_references_excluding_types[term,exclude_types]

View source (lib/tasks/report.rake)

data_hygiene:content_items:deduplicate

De-duplicate content items with matching content ids and locales by removing all but the latest record in each set of duplicates

k exec deploy/content-store -- rake data_hygiene:content_items:deduplicate

View source (lib/tasks/data_hygiene/content_item_deduplicator.rake)

data_hygiene:content_items:report_duplicates

Report on content items with matching content ids and locales

k exec deploy/content-store -- rake data_hygiene:content_items:report_duplicates

View source (lib/tasks/data_hygiene/content_item_deduplicator.rake)

data_hygiene:content_ids:full_report

Generate a report of content items with duplicate content_ids

k exec deploy/content-store -- rake data_hygiene:content_ids:full_report

View source (lib/tasks/data_hygiene/duplicate_report.rake)

data_hygiene:content_ids:en_locale

Generate a report of content_id duplicates among items with an EN locale

k exec deploy/content-store -- rake data_hygiene:content_ids:en_locale

View source (lib/tasks/data_hygiene/duplicate_report.rake)

data_hygiene:inspect_content_ids

See which documents don’t have content IDs

k exec deploy/content-store -- rake data_hygiene:inspect_content_ids

View source (lib/tasks/data_hygiene/inspect_content_ids.rake)

publishing_delay_report:report_delays

Report on the delay between scheduled and actual publication times

k exec deploy/content-store -- rake publishing_delay_report:report_delays

View source (lib/tasks/data_hygiene/publishing_delay_report.rake)