swiftlang/swift-package-manager

swift.org does not mention publishing a swift package

Opened this issue · 3 comments

Description

It is very obscure how to publish a swift package. And it has changed since swift 5.7 apparently and I completely missed it. The post on the swift forum also only has 15 likes. https://forums.swift.org/t/pitch-package-registry-publish/62828. So the announcement about it lacked maybe a bit enthousiasm? ☺️

As a developer I would expect https://www.swift.org/documentation/package-manager/ the package manager explanation would explain the concept of publishing. It is completely lacking.

Is there a way to contribute to the website?
Could somebody add some info about the 2 options now? git repo's or services like aws CodeArtifact?
Could it maybe list available providers?

Note: aws has support https://aws.amazon.com/blogs/aws/new-add-your-swift-packages-to-aws-codeartifact/

Any idea where it is more suitable than here to report that issue?

Expected behavior

Went to https://www.swift.org/documentation/package-manager/ expecting info about publishing

Actual behavior

found none

Steps to reproduce

https://www.swift.org/documentation/package-manager/
cmd+f publish

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version && uname -a)

No response

That helps a lot thanks but I still feel
like it is buried to deep and should be more upfront. The scalability of swift packages that are hit repo's has posed at least for me in big organizations problematic. But thanks for the linked. But stupid I missed it.

I think linking to or integrating that content seems like a reasonable request. The website repo is over here btw: https://github.com/apple/swift-org-website