Homec4science

Improve ruleset for generating project hashtags

Authored by epriestley <git@epriestley.com> on Oct 13 2015, 02:02.

Description

Improve ruleset for generating project hashtags

Summary:
Ref T9551. We currently use the same logic for generating project hashtags and Phriction slugs, but should be a little more conservative with project hashtags.

Stop them from generating with stuff that won't parse in a "Reviewers:" field or generally in commments (commas, colons, etc).

Test Plan:
Created a bunch of projects with nonsense in them and saw them generate pretty reasonable hashtags.

{F873456}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9551

Differential Revision: https://secure.phabricator.com/D14261

Details

Committed
epriestley <git@epriestley.com>Oct 13 2015, 02:02
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3ff5ca789a60: Fix `/tag/aa%20bb` project URIs
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHcd8be8106be8: Improve ruleset for generating project hashtags (authored by epriestley <git@epriestley.com>).Oct 13 2015, 02:02