Skip to content

Conversation

@cprecioso
Copy link
Member

@cprecioso cprecioso commented Nov 10, 2025

Description

In #3196 I removed all the templates that used the StarterTemplates.GhRepo constructor. I didn't remove the constructor and its handling "in case we needed it in the future". This is not clean code. We should remove it! We can bring it back with Git if we need it.

Connections

Type of change

  • 🔧 Just code/docs improvement
  • 🐞 Bug fix
  • 🚀 New/improved feature
  • 💥 Breaking change

Checklist

  • I tested my change in a Wasp app to verify that it works as intended.

  • 🧪 Tests:

    • I added unit tests for my change.
    • (if you fixed a bug) I added a regression test for the bug I fixed.
    • (if you added/updated a feature) I added/updated e2e tests at examples/kitchen-sink/e2e-tests.
    • (if you added/updated a feature) I updated the starter templates at waspc/data/Cli/templates, as needed.
    • Just removing unused stuff
  • 📜 Documentation:

    • (if you added/updated a feature) I added/updated the documentation in web/docs/.
  • 🆕 Changelog: (if change is more than just code/docs improvement)

    • I updated waspc/ChangeLog.md with a user-friendly description of the change.
    • (if you did a breaking change) I added a step to the current migration guide at web/docs/migration-guides/.
    • I bumped the version in waspc/waspc.cabal to reflect the changes I introduced.

@cprecioso cprecioso force-pushed the cprecioso/remove-gh-repo branch from 2c17b14 to 2a0dd61 Compare November 10, 2025 19:39
@cloudflare-workers-and-pages
Copy link

Deploying wasp-docs-on-main with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2a0dd61
Status: ✅  Deploy successful!
Preview URL: https://76a77b3a.wasp-docs-on-main.pages.dev
Branch Preview URL: https://cprecioso-remove-gh-repo.wasp-docs-on-main.pages.dev

View logs

Copy link
Contributor

@sodic sodic left a comment

Choose a reason for hiding this comment

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

I still see some leftovers (e.g., the function fetchRepoFileContents). There are possibly more.

@cprecioso
Copy link
Member Author

cprecioso commented Nov 11, 2025

@sodic You're right. I was counting on the HLS to grey out unused definitions, but didn't realize that we have a module Wasp.Cli.GithubRepo where so it is exporting everything. I solved it and rechecked it, you can now re-review.

@cprecioso cprecioso requested a review from sodic November 11, 2025 09:25
Copy link
Contributor

@sodic sodic left a comment

Choose a reason for hiding this comment

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

Good to go!

@cprecioso cprecioso merged commit 2f737e1 into main Nov 11, 2025
24 checks passed
@cprecioso cprecioso deleted the cprecioso/remove-gh-repo branch November 11, 2025 10:34
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