-
Notifications
You must be signed in to change notification settings - Fork 470
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
Implement a "super push" command to sync the files from to repo to the target dotcms env #25822
Closed
Tracked by
#24354
Labels
Comments
jgambarios
added a commit
that referenced
this issue
Sep 7, 2023
Enhanced push command implementation by extracting push logic into specific subcommands and a shared mixin, improving modularity and readability of the code. Introduced PushMixin for common options and DotPush interface for specific push commands, and added a new FilesPushMixin for file push operations. This refactor aims to streamline the push process and make it easier to modify or extend in the future.
jgambarios
added a commit
that referenced
this issue
Sep 7, 2023
jgambarios
added a commit
that referenced
this issue
Sep 7, 2023
In this commit, the existing push command has been enhanced by including ability to validate workspace in the specified path. This includes checking if the provided file is a valid workspace using WorkspaceManager. If a valid workspace is not found, an IllegalArgumentException is thrown. In addition to this, a function to get the custom mixin associated with the push command is included with a default to return an empty optional.
nollymar
pushed a commit
that referenced
this issue
Sep 12, 2023
Fixed, tested on master // dotcms-cli-1.0.0-20231002.205953-1.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Parent Issue
#24354
Having the input provided by #25821 , implement a CLI command that receives a list of files (or binaries) to be sync on a target dotCMS instance. This command should receive as well:
Expected result:
The target dotCMS instance should reflect all the changes made in the source GitHub repo, including destructive actions (folder, content type, file deletions). The command should provide feedback of the progress and execution. In case of error, provide the details.
Include tests accordingly.
The text was updated successfully, but these errors were encountered: