Skip to content

[5.5][Collections] Update CLI output for 'describe' #3510

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

Merged
merged 2 commits into from
May 26, 2021

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented May 25, 2021

Cherry-pick #3439 and #3509 for 5.5

rdar://77533967

neonichu and others added 2 commits May 25, 2021 13:58
What we are displaying here are stars, not watchers, so the output should reflect that.
Motivation:
The collection API implementation fetches additional package metadata via GitHub APIs but we aren't showing all of it in the CLI.

Modifications:

Add license and languages. Reorder line items. e.g., the updated output of `describe https://github.com/apple/swift-nio`:

```
    Description: Event-driven network application framework for high performance protocol servers & clients, non-blocking.
    Available Versions: 2.29.0, 2.28.0, 2.27.0, 1.14.2, 1.14.1, 1.14.0
    Readme: https://raw.githubusercontent.com/apple/swift-nio/main/README.md
    License: Apache-2.0 (https://raw.githubusercontent.com/apple/swift-nio/main/LICENSE.txt)
    Authors: weissi, normanmaurer, Lukasa, compnerd, glbrntt, PeterAdams-A, tomerd, tigerpixel, kevinclark, fabianfett, BasThomas, Davidde94, gwynne, helje5, ktoso, ddunbar, ianpartridge, hassila, tanner0101, 2bjake, Mordil, shekhar-rajak, adamnemecek, AndriusA, toffaletti, agnosticdev, slashmo, adtrevor, Bouke, cpriebe
    Stars: 6450
    Languages: Ruby, Swift, DTrace, C, Dockerfile, Shell, Python
    ------------------------------------------------------------
    Latest Version: 2.29.0
        Tools Version: 5.0.0
            Package Name: swift-nio
            Modules: _NIO1APIShims, NIO, _NIOConcurrency, NIOFoundationCompat, NIOConcurrencyHelpers, NIOHTTP1, NIOTLS, NIOWebSocket, NIOTestUtils
            Products: NIO, _NIO1APIShims, _NIOConcurrency, NIOTLS, NIOHTTP1, NIOConcurrencyHelpers, NIOFoundationCompat, NIOWebSocket, NIOTestUtils
```

rdar://77533967
@yim-lee
Copy link
Contributor Author

yim-lee commented May 25, 2021

@swift-ci please test

@tomerd tomerd added the 5.5 label May 25, 2021
@tomerd tomerd merged commit 9ca70ec into swiftlang:release/5.5 May 26, 2021
@yim-lee yim-lee deleted the more-package-info-5.5 branch May 26, 2021 04:25
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

Successfully merging this pull request may close these issues.

3 participants