- **summary**: backlinks for commits not working --> backlinks for commits doesn't work on reindex - Description has changed:
Diff: ~~~~ --- old +++ new @@ -1,3 +1,5 @@ [#5593] doesn't seem to be working right. I ran it on forge-allura (`..allura/scripts/refreshrepo.py -- --nbhd /p/ --project allura --all`) and it didn't set up any commit backlinks I think its because `def refresh_commit_repos` finds _other_ repos: `repo_ids={'$ne': repo._id}` not the current repo. So its not a good spot to call `update_artifact_refs` + +But it works fine for new commits! So maybe good enough ~~~~ --- ** [tickets:#8465] backlinks for commits doesn't work on reindex** **Status:** open **Milestone:** unreleased **Created:** Thu Sep 15, 2022 04:35 PM UTC by Dave Brondsema **Last Updated:** Thu Sep 15, 2022 04:35 PM UTC **Owner:** nobody [#5593] doesn't seem to be working right. I ran it on forge-allura (`..allura/scripts/refreshrepo.py -- --nbhd /p/ --project allura --all`) and it didn't set up any commit backlinks I think its because `def refresh_commit_repos` finds _other_ repos: `repo_ids={'$ne': repo._id}` not the current repo. So its not a good spot to call `update_artifact_refs` But it works fine for new commits! So maybe good enough --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.