Skip to content

Instantly share code, notes, and snippets.

@jlsherrill
Forked from ehelms/force full sync
Last active October 19, 2017 17:37
Show Gist options
  • Save jlsherrill/267153eb7c84757104dfb6dac8653ddf to your computer and use it in GitHub Desktop.
Save jlsherrill/267153eb7c84757104dfb6dac8653ddf to your computer and use it in GitHub Desktop.
mongo pulp_database --eval 'db.repo_importers.update({"scratchpad": {$ne: null}}, {$set: {"scratchpad.repomd_revision": null}}, {"multi":true})'
mongo pulp_database --eval 'db.repo_distributors.update({"last_publish": {$ne: null}}, {$set: {"last_publish": null}}, {"multi":true})'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment