Skip to content

Conversation

Pantani
Copy link
Collaborator

@Pantani Pantani commented May 13, 2025

close #3393

@Pantani Pantani changed the title change: remove xgenny embed walker refactor: remove xgenny embed walker May 13, 2025
@Pantani Pantani marked this pull request as ready for review May 23, 2025 16:48
@Pantani Pantani enabled auto-merge (squash) May 23, 2025 17:53
Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

lgtm!, one nit

Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

what was the rationale of removing the app path everywhere? will it look only for relative directory? what if you use ignite from outside the directory, using the --path flag (not in front of my laptop, i'll try locally what i mean to see if that still works)

Pantani added 2 commits May 23, 2025 18:00
…mbedwalker

# Conflicts:
#	ignite/services/scaffolder/init.go
#	ignite/templates/ibc/packet.go
#	ignite/templates/message/message.go
#	ignite/templates/testutil/register.go
#	ignite/templates/typed/typed.go
@Pantani Pantani requested a review from julienrbrt May 23, 2025 21:09
@Pantani
Copy link
Collaborator Author

Pantani commented May 26, 2025

what was the rationale of removing the app path everywhere? will it look only for relative directory? what if you use ignite from outside the directory, using the --path flag (not in front of my laptop, i'll try locally what i mean to see if that still works)

We are not using the app path, which was only for the NewEmbedWalker to know how to replace the files.

@Pantani Pantani merged commit d31dc06 into main May 27, 2025
43 checks passed
@Pantani Pantani deleted the chore/remove-xgenny-embedwalker branch May 27, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactoring: replace pkg/xgenny.NewEmbedWalker by io/fs.Sub in template generators
2 participants