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

chore: aws-sdk-swift package structuring #803

Merged
merged 13 commits into from
Jan 11, 2023
Merged

Conversation

ganeshnj
Copy link
Contributor

@ganeshnj ganeshnj commented Jan 5, 2023

Issue #

Fixes #776

Description of changes

Companion PR smithy-lang/smithy-swift#503

This PR foundation for testing story.

The repo now looks like

  • Sources
    • Core (contains runtime)
    • Services (contains generated services)
  • Tests
    • Core (contains runtime tests)
    • Services (contains generated service tests)

In future we will add Integration following the same structure.

  • IntegrationTests
    • Core
    • Services

I had trouble with getting the checks passed when any service test is enabled. swift cli fatal fails. I'm going to cut an issue to Swift team about it. However, devs can uncomment any test target and use it in Xcode without any problem.

Refrain to review Services dirs.

New/existing dependencies impact assessment, if applicable

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@epau epau left a comment

Choose a reason for hiding this comment

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

Can we place all the code generated services within a folder Sources/Services/.. ?
This way its much easier to find AWSClientRuntime and its contents within xcode?

Additionally, we can do the same for the services in tests -> Tests/Services/..

@ganeshnj
Copy link
Contributor Author

ganeshnj commented Jan 5, 2023

Can we place all the code generated services within a folder Sources/Services/.. ? This way its much easier to find AWSClientRuntime and its contents within xcode?

Additionally, we can do the same for the services in tests -> Tests/Services/..

Still working on it, I plan to put generated services in Sources/Services and runtimes in Sources/Runtimes/AWSClientRuntime, same for tests.

@ganeshnj ganeshnj force-pushed the jangirg/chore/package-restruct branch 7 times, most recently from 1331711 to caadd01 Compare January 7, 2023 01:04
@ganeshnj ganeshnj force-pushed the jangirg/chore/package-restruct branch from caadd01 to 5add24b Compare January 7, 2023 04:11
@ganeshnj ganeshnj marked this pull request as ready for review January 10, 2023 17:19
scripts/mergeModels.sh Outdated Show resolved Hide resolved
.swiftlint.yml Show resolved Hide resolved
Copy link
Contributor

@epau epau left a comment

Choose a reason for hiding this comment

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

This looks great!
Nothing blocking, but a few minor questions/comments

.github/workflows/continuous-integration.yml Outdated Show resolved Hide resolved
Package.swift Outdated Show resolved Hide resolved
Package.swift Show resolved Hide resolved
scripts/codegen.sh Show resolved Hide resolved
@jbelkins jbelkins self-requested a review January 11, 2023 18:59
@ganeshnj ganeshnj merged commit ac79588 into main Jan 11, 2023
@ganeshnj ganeshnj deleted the jangirg/chore/package-restruct branch January 11, 2023 19:01
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.

chore: Run service-specific generated test suites on CI
3 participants