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)
Sat, Mar 9, 11:31 PM
Unknown Object (File)
Feb 16 2024, 3:49 PM
Unknown Object (File)
Jan 23 2024, 10:04 AM
Unknown Object (File)
Dec 28 2023, 12:17 AM
Unknown Object (File)
Dec 25 2023, 11:24 PM
Unknown Object (File)
Dec 21 2023, 11:49 AM
Unknown Object (File)
Nov 30 2023, 12:40 AM
Unknown Object (File)
Nov 15 2023, 8:55 AM
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.