# SE-0321: Package Registry Service - Publish Endpoint

**URL:** <https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286>\
**Category:** Proposal Reviews\
**Created:** [August 17, 2021, 10:16pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286 "2021-08-17T22:16:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tomerd/32/3402_2.png) [@tomerd](https://forums.swift.org/u/tomerd)\
**Post date:** [August 17, 2021, 10:16pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286/1 "2021-08-17T22:16:29Z")

</div>

The review of [SE-0321: Package Registry Service - Publish Endpoint](https://github.com/apple/swift-evolution/blob/main/proposals/0321-package-registry-publish.md), begins now and runs through Aug 31, 2021.

Reviews are an important part of the Swift evolution process. All review feedback should be either on this forum thread or, if you would like to keep your feedback private, directly to the review manager or direct message in the Swift forums).

## What goes into a review of a proposal?

The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of Swift.

When reviewing a proposal, here are some questions to consider:

- What is your evaluation of the proposal?
- Is the problem being addressed significant enough to warrant a change to Swift?
- Does this proposal fit well with the feel and direction of Swift?
- If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
- How much effort did you put into your review? A glance, a quick reading, or an in-depth study?

Thank you for helping improve the Swift programming language and ecosystem.

Tom Doron  
Review Manager

---

<div class="post-metadata">

**Author:** ![Karl](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@Karl](https://forums.swift.org/u/Karl)\
**Post date:** [August 21, 2021, 8:20pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286/2 "2021-08-21T20:20:52Z")

</div>

@tomerd - It would be nice to include a link to the package registry specification additions in the OP. They were part of the pitch and very informative.

As mentioned in the pitch thread, I am +1 on adding this. It's a very useful thing to add to the package manager and other tools.

I think the async status response and failure responses should be able to include a body, with a list of pending jobs that can be displayed in the UI while the user is waiting. [Example](https://forums.swift.org/t/package-registry-service-publish-endpoint/51067/7).

It may take a bit of time to come up with a good data model for that response, but I think it would be a very, very valuable addition.

---

<div class="post-metadata">

**Author:** ![mmarston](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mmarston/32/14732_2.png) [@mmarston](https://forums.swift.org/u/mmarston)\
**Post date:** [August 23, 2021, 5:42pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286/3 "2021-08-23T17:42:26Z")

</div>

> [@Karl](#):
>
> It would be nice to include a link to the package registry specification additions in the OP. They were part of the pitch and very informative.

I agree. If I were reviewing this proposal for the first time I'd want to see those details.

I've given my feedback earlier on in the process and would like to see this proposal approved. I'd like to see a follow up proposal that standardizes the optional `metadata` key in the multi-part form request.

---

<div class="post-metadata">

**Author:** ![tomerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tomerd/32/3402_2.png) [@tomerd](https://forums.swift.org/u/tomerd)\
**Post date:** [August 23, 2021, 6:48pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286/4 "2021-08-23T18:48:29Z")

</div>

> [@Karl](#):
>
> It would be nice to include a link to the package registry specification additions in the OP. They were part of the pitch and very informative.

@mattt would you like to add a link to the open PR for the OpenAPI spec to the proposal language?

---

<div class="post-metadata">

**Author:** ![mattt](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@mattt](https://forums.swift.org/u/mattt)\
**Post date:** [August 23, 2021, 6:55pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286/5 "2021-08-23T18:55:07Z")

</div>

The updated specification and OpenAPI document are both included in the [linked implementation PR](https://github.com/apple/swift-package-manager/pull/3671/):

> - Implementation: [apple/swift-package-manager#3671](https://github.com/apple/swift-package-manager/pull/3671)

Direct links:

- [Registry specification changes](https://github.com/apple/swift-package-manager/pull/3671/files#diff-1dfed3389cc482cc6446784dd9e800e5dbab6d62356bfac3010cc1382151c4bdR729-R1092)
- [OpenAPI changes](https://github.com/apple/swift-package-manager/pull/3671/files#diff-1dfed3389cc482cc6446784dd9e800e5dbab6d62356bfac3010cc1382151c4bdR1213-R1255)

Are there any other changes you'd like me to make to the Swift Evolution proposal or elsewhere?

---

<div class="post-metadata">

**Author:** ![tomerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tomerd/32/3402_2.png) [@tomerd](https://forums.swift.org/u/tomerd)\
**Post date:** [August 31, 2021, 11:53pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286/6 "2021-08-31T23:53:00Z")

</div>

This review for SE-0321 has concluded and the proposal was [accepted](https://forums.swift.org/t/accepted-se-0321-package-registry-service-publish-endpoint/).

Thank you to everyone for the feedback and contributions to this proposal.

---

<div class="post-metadata">

**Author:** ![tomerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tomerd/32/3402_2.png) [@tomerd](https://forums.swift.org/u/tomerd)\
**Post date:** [August 31, 2021, 11:53pm UTC](https://forums.swift.org/t/se-0321-package-registry-service-publish-endpoint/51286/7 "2021-08-31T23:53:05Z")

</div>

Closed on August 31, 2021, 11:53pm UTC


