Skip to content

[Collections] Include more package metadata in CLI output #3509

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 1 commit into from
May 25, 2021

Conversation

yim-lee
Copy link
Contributor

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

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

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 24, 2021

@swift-ci please smoke test

@yim-lee yim-lee merged commit 66c3c66 into swiftlang:main May 25, 2021
@yim-lee yim-lee deleted the more-package-info branch May 25, 2021 20:55
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.

2 participants