Page MenuHomePhabricator

Allow projects to be queried by slug in "project.search"
ClosedPublic

Authored by epriestley on Mar 16 2018, 7:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 2:41 AM
Unknown Object (File)
Sat, Apr 6, 2:28 PM
Unknown Object (File)
Tue, Apr 2, 7:45 AM
Unknown Object (File)
Sun, Mar 31, 11:22 AM
Unknown Object (File)
Sun, Mar 31, 11:22 AM
Unknown Object (File)
Sun, Mar 31, 11:21 AM
Unknown Object (File)
Sun, Mar 31, 2:32 AM
Unknown Object (File)
Mar 9 2024, 11:31 PM
Subscribers
None

Details

Summary

Ref T13102. See PHI461. An install is interested in querying projects by slug.

I think I omitted this capability originally only because we're not consistent about what slugs are called (they are "Slugs" internally, but "Hashtags" in the UI).

However, this ship has sort of already sailed because the results have a "slug" field. Just expose this as "slugs" for consistency with the existing API field and try to smooth thing over with a little documentation hint.

Test Plan

Queried for projects by slug, got the desired results back.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley created this revision.
  • Re-diff with a clean version of arc that doesn't add the commit message as a synthetic changeset.
This revision was not accepted when it landed; it landed in state Needs Review.Mar 16 2018, 8:08 PM
This revision was automatically updated to reflect the committed changes.