Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Registry support on output instead of URL #42

Open
apps4everyone opened this issue Mar 5, 2024 · 1 comment
Open

Package Registry support on output instead of URL #42

apps4everyone opened this issue Mar 5, 2024 · 1 comment

Comments

@apps4everyone
Copy link

apps4everyone commented Mar 5, 2024

SPM support registries therefore it would be nice to have the registry ID (instead of the url) listed in the output.

example:

% swift outdated                                                                                                                                                      
| Package           | Current | Latest  | URL |
|-------------------|---------|---------|-----|
| george.formatting | 0.2.3   | 24.6.21 |     |

https://github.com/apple/swift-evolution/blob/main/proposals/0292-package-registry-service.md

extension Package.Dependency {
    /// Adds a dependency on a package with the specified identifier
    /// that uses the provided version requirement.
    public static func package(
        id: String,
        _ requirement: Package.Dependency.VersionBasedRequirement
    ) -> Package.Dependency
}
@apps4everyone
Copy link
Author

also latest seems wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant