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)
Sun, Nov 17, 11:00 AM
Unknown Object (File)
Thu, Nov 14, 6:49 PM
Unknown Object (File)
Mon, Nov 11, 6:08 AM
Unknown Object (File)
Mon, Nov 4, 1:54 PM
Unknown Object (File)
Oct 23 2024, 6:39 PM
Unknown Object (File)
Oct 19 2024, 9:59 PM
Unknown Object (File)
Oct 9 2024, 9:44 AM
Unknown Object (File)
Oct 9 2024, 9:12 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
Branch
slug1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19864
Build 26919: Run Core Tests
Build 26918: arc lint + arc unit

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.