Changeset - 8df1e9edd68f
default
0
3
0
indexers: use correct full repository name, which contains group name, at indexing
Before this revision, searching under the specific repository could
cause unexpected result, because repository names used for indexing didn't
contain the group name.
This issue was introduced by 8b7c0ef62427, which uses
repo.name_unicode as repository name instead of
safe_unicode(repo_name) to reduce unicode conversion cost while
repetition at indexing.
To use correct repository name at indexing, this revision replaces
repo.name_unicode by safe_unicode(repo_name). Reducing cost of repeated
unicode conversion cost while will (and should) be addressed in the
future.
This revision also adds a comment to BaseRepository.name property, to
avoid similar misunderstandings in the future.
Before this revision, searching under the specific repository could
cause unexpected result, because repository names used for indexing didn't
contain the group name.
This issue was introduced by 8b7c0ef62427, which uses
repo.name_unicode as repository name instead of
safe_unicode(repo_name) to reduce unicode conversion cost while
repetition at indexing.
To use correct repository name at indexing, this revision replaces
repo.name_unicode by safe_unicode(repo_name). Reducing cost of repeated
unicode conversion cost while will (and should) be addressed in the
future.
This revision also adds a comment to BaseRepository.name property, to
avoid similar misunderstandings in the future.
3 files changed with 24 insertions and 2 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)