Skip to content

Fix CLI output for stars #3439

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
Apr 26, 2021
Merged

Fix CLI output for stars #3439

merged 1 commit into from
Apr 26, 2021

Conversation

neonichu
Copy link
Contributor

What we are displaying here are stars, not watchers, so the output should reflect that.

What we are displaying here are stars, not watchers, so the output should reflect that.
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu neonichu merged commit 950e77d into main Apr 26, 2021
@neonichu neonichu deleted the gaze-into-the-stars branch April 26, 2021 17:36
yim-lee pushed a commit to yim-lee/swift-package-manager that referenced this pull request May 25, 2021
What we are displaying here are stars, not watchers, so the output should reflect that.
tomerd pushed a commit that referenced this pull request May 26, 2021
* Fix CLI output for stars (#3439)

What we are displaying here are stars, not watchers, so the output should reflect that.

* [Collections] Include more package metadata in CLI output

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

Co-authored-by: Boris Bügling <[email protected]>
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.

4 participants