Full text search for repository name and description

Adds support for searching full text against the name and description of a repository

[Delivers #134867401]
This commit is contained in:
Joseph Schorr 2017-01-11 15:03:14 -05:00
parent d65d32b284
commit 973a110ac7
5 changed files with 73 additions and 12 deletions

View file

@ -568,6 +568,11 @@ def populate_database(minimal=False, with_storage=False):
[(new_user_2, 'write'), (reader, 'read')],
(5, [], 'latest'))
__generate_repository(with_storage, new_user_1, 'text-full-repo',
'This is a repository for testing text search', False,
[(new_user_2, 'write'), (reader, 'read')],
(5, [], 'latest'))
building = __generate_repository(with_storage, new_user_1, 'building',
'Empty repository which is building.',
False, [], (0, [], None))