Skip to content

Ability to write out package manifests as source code (for mechanical package generation) #3020

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

Conversation

abertelrud
Copy link
Contributor

@abertelrud abertelrud commented Nov 4, 2020

Ability to write out package manifests as source code, providing more flexibility for things like mechanical package manifest generation.

Note that this is not suitable for editing the package manifest, since that would need to preserve whitespace and comments. Rather, this is for things like automatically generating packages from test sets, or for generating the initial configuration of packages (e.g. a more flexible package init).

rdar://70271810

@abertelrud abertelrud self-assigned this Nov 4, 2020
@abertelrud abertelrud marked this pull request as draft November 4, 2020 17:45
@abertelrud abertelrud force-pushed the eng/wip-generate-source-from-package-manifest-for-package-init branch from 04dafa1 to 1d82172 Compare November 8, 2020 22:49
@abertelrud abertelrud changed the title WIP: Ability to write out package manifests as source code (for mechanical package generation) Ability to write out package manifests as source code (for mechanical package generation) Nov 8, 2020
@abertelrud abertelrud marked this pull request as ready for review November 8, 2020 22:50
@abertelrud
Copy link
Contributor Author

There are a couple of edge-case FIXMEs to address, then this is ready.

@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

@abertelrud abertelrud force-pushed the eng/wip-generate-source-from-package-manifest-for-package-init branch from 1d82172 to 8006f9c Compare November 9, 2020 03:01
@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

@abertelrud abertelrud force-pushed the eng/wip-generate-source-from-package-manifest-for-package-init branch from 8006f9c to 6dd5b59 Compare November 9, 2020 06:37
@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

… flexibility for things like mechanical package manifest generation.

Note that this is _not_ suitable for editing the package manifest, since that would need to preserve whitespace and comments.  Rather, this is for things like automatically generating packages from test sets, or for generating the initial configuration of packages (e.g. a more flexible `package init`).

rdar://70271810
@abertelrud abertelrud force-pushed the eng/wip-generate-source-from-package-manifest-for-package-init branch from 6dd5b59 to 9a7301c Compare November 9, 2020 21:38
@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

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