-
Notifications
You must be signed in to change notification settings - Fork 552
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
feat(pkg): improve xgenny dry run #4001
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
component:ci
CI/CD workflow and automated jobs.
component:configs
component:cmd
type:services
Service-related issues.
component:packages
labels
Mar 5, 2024
…or scaffold chain
…ry-run # Conflicts: # ignite/pkg/xgenny/run.go
Pantani
requested review from
ilgooz,
salmad3,
toschdev,
jeronimoalbi and
julienrbrt
as code owners
March 7, 2024 07:14
jeronimoalbi
previously approved these changes
Mar 11, 2024
…ry-run # Conflicts: # ignite/cmd/scaffold_chain.go # ignite/services/scaffolder/init.go
…ry-run # Conflicts: # ignite/cmd/scaffold_chain.go # ignite/services/scaffolder/configs.go # ignite/services/scaffolder/init.go # ignite/services/scaffolder/message.go # ignite/services/scaffolder/module.go # ignite/services/scaffolder/packet.go # ignite/services/scaffolder/params.go # ignite/services/scaffolder/query.go # ignite/services/scaffolder/scaffolder.go # ignite/services/scaffolder/type.go
…ry-run # Conflicts: # ignite/cmd/chain.go # ignite/cmd/scaffold.go # ignite/cmd/scaffold_chain.go # ignite/cmd/scaffold_configs.go # ignite/cmd/scaffold_message.go # ignite/cmd/scaffold_module.go # ignite/cmd/scaffold_packet.go # ignite/cmd/scaffold_params.go # ignite/cmd/scaffold_query.go # ignite/pkg/xgenny/run.go # ignite/services/chain/init.go # ignite/services/chain/proto.go # ignite/services/doctor/doctor.go # ignite/services/scaffolder/configs.go # ignite/services/scaffolder/init.go # ignite/services/scaffolder/message.go # ignite/services/scaffolder/module.go # ignite/services/scaffolder/packet.go # ignite/services/scaffolder/params.go # ignite/services/scaffolder/query.go # ignite/services/scaffolder/type.go
Pantani
force-pushed
the
feat/improve-xgenny-dry-run
branch
from
March 22, 2024 01:39
39b43c0
to
a229be4
Compare
jeronimoalbi
approved these changes
Mar 27, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvements 👍
@Pantani the changes from #4057 might be the cause for the failing tests here. CI reported failing tests after merging the changes from the mentioned PR. Maybe we should remove the cc @julienrbrt |
julienrbrt
pushed a commit
that referenced
this pull request
May 29, 2024
* run all dry runners before the we runners for the xgenny pkg * add changelog * Improve `xgenny` dry run * replace the last wet runners * create RunAndApply runner function * remove unused parameters from scaffold functions and fix wrong path for scaffold chain * run go mod tidy before go fmt * bump buf build * fix golden files for apps tests * create the runner target path if not exist * update go.mod * fix lint issue * fix doctor absolute path * re-organize xgenny pkg * fix lint warning --------- Co-authored-by: Pantani <Pantani>
mergify bot
pushed a commit
that referenced
this pull request
Jul 2, 2024
* run all dry runners before the we runners for the xgenny pkg * add changelog * Improve `xgenny` dry run * replace the last wet runners * create RunAndApply runner function * remove unused parameters from scaffold functions and fix wrong path for scaffold chain * run go mod tidy before go fmt * bump buf build * fix golden files for apps tests * create the runner target path if not exist * update go.mod * fix lint issue * fix doctor absolute path * re-organize xgenny pkg * fix lint warning --------- Co-authored-by: Pantani <Pantani> (cherry picked from commit 2ad41ee) # Conflicts: # ignite/cmd/chain.go # ignite/cmd/scaffold.go # ignite/cmd/scaffold_chain.go # ignite/cmd/scaffold_configs.go # ignite/cmd/scaffold_message.go # ignite/cmd/scaffold_module.go # ignite/cmd/scaffold_packet.go # ignite/cmd/scaffold_params.go # ignite/cmd/scaffold_query.go # ignite/pkg/xgenny/run.go # ignite/services/chain/init.go # ignite/services/chain/proto.go # ignite/services/doctor/doctor.go # ignite/services/scaffolder/configs.go # ignite/services/scaffolder/init.go # ignite/services/scaffolder/message.go # ignite/services/scaffolder/module.go # ignite/services/scaffolder/packet.go # ignite/services/scaffolder/params.go # ignite/services/scaffolder/query.go # ignite/services/scaffolder/scaffolder.go # ignite/services/scaffolder/type.go
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport/v28.x.y
Backport to v28.x.y
component:ci
CI/CD workflow and automated jobs.
component:cmd
component:configs
component:packages
type:services
Service-related issues.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
close #2565
Description
Improve the
xgenny
package by creating a custom runner to salve all modifications into a temporary folder and only apply and copy all files to the target directory later.Changes
This PR removes the default dry and wet runners, avoiding running two generators. If everything works fine, only one will run into a temporary folder and be copied to the target folder.