Page MenuHomePhabricator

Add a Packages application and PackagePublisher
ClosedPublic

Authored by epriestley on Jul 21 2016, 4:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 26, 3:34 AM
Unknown Object (File)
Sun, Feb 16, 7:08 AM
Unknown Object (File)
Sat, Feb 15, 1:40 AM
Unknown Object (File)
Sun, Feb 9, 2:03 AM
Unknown Object (File)
Sun, Feb 9, 2:03 AM
Unknown Object (File)
Sun, Feb 9, 2:03 AM
Unknown Object (File)
Sun, Feb 9, 2:03 AM
Unknown Object (File)
Jan 28 2025, 7:14 PM
Subscribers
None

Details

Summary

Ref T8116. Partially scavenged from D14152. This roughs in a new Packages application for Arcanist extensions and third-party applications, and adds a "Publisher" object.

A "Publisher" represents an individual or entity who is publishing a package, like "Phacility". It's explicitly not necessarily the original author -- just the primary entity vouching for the safety of the code.

A publisher just has a name and a unique key for now. For example, Phacility might have "Phacility" and "phacility", respectively.

Unique keys are immutable, e.g., the package "phacility/arcanist" will always be exactly the same package by exactly the same publisher.

Test Plan

Screen Shot 2016-07-21 at 9.12.26 AM.png (873×1 px, 158 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add a Packages application and PackagePublisher.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.

Kinda wonder if there will be some confusion with Owner Packages... Bundles? Dunno.

src/applications/packages/application/PhabricatorPackagesApplication.php
23



This revision is now accepted and ready to land.Jul 24 2016, 3:26 AM

(I plan to rename Owners Packages (possibly to "Claims") if we encounter confusion.)

epriestley edited edge metadata.
  • Use fa-gift.
This revision was automatically updated to reflect the committed changes.