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

[Gardening] Add missing "clone TSC" step to bootstrap instructions and reformat existing steps #3598

Merged

Conversation

WowbaggersLiquidLunch
Copy link
Contributor

bootstrap needs TSC, but it's missing from the instructions in CONTRIBUTING. This PR adds it.

In addition, all git clone steps in the instructions are sorted alphabetically descending and with "straightforward" ones coming before those that need some more care. Versions for swift-argument-parser and swift-crypto are updated to the latest in this PR, so #3595 won't need to.

This PR conflicts with #3595.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated
```
Clone the following repositories beside the SwiftPM directory:

1. [swift-driver]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it's just me, but I've always found it easier to think of these dependencies "from the bottom up", i.e. starting with those that don't have any other dependencies, and they working one's way up the layers. So it's a little odd to see swift-driver before swift-tools-support-core. So I would suggest going in dependency order, starting with those that don't have any dependencies and finishing with swift-package-manager.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this makes sense, and is also consistent with the order they're built in bootstrap. I ordered them "from the bottom up" in 2c7df48.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

finishing with swift-package-manager

Cloning SwiftPM is already mentioned in line 19 so I didn't repeat it in the bootstrap instructions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Also sorted, reformatted and updated versions of existing `git clone` steps.
@WowbaggersLiquidLunch WowbaggersLiquidLunch force-pushed the update-bootstrap-instructions branch from addb0e0 to 2c7df48 Compare July 8, 2021 20:15
@tomerd tomerd merged commit a3e5aa4 into swiftlang:main Jul 8, 2021
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