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

CLI: files push command ignores specified path and pushes all workspace files #30963

Open
jgambarios opened this issue Dec 17, 2024 · 1 comment · May be fixed by #30995
Open

CLI: files push command ignores specified path and pushes all workspace files #30963

jgambarios opened this issue Dec 17, 2024 · 1 comment · May be fixed by #30995

Comments

@jgambarios
Copy link
Contributor

jgambarios commented Dec 17, 2024

Problem Statement

When using the files push command with a specific path within the "files" folder, the CLI ignores the provided path and defaults to pushing all files in the workspace.

For example, when executing:

files push /{CLI_WORKSPACE}/files/live/en-us/test1.dotcms.com --dry-run

The CLI pushes all files from the workspace instead of only the files from the specified path.

Steps to Reproduce

  1. Set up a CLI workspace with data
  2. Add files to both "live" and "working" folders for a site
  3. Attempt to push only the files from the "live" folder
  4. Observe that changes from both "live" and "working" folders are pushed

Expected Behavior:

Only files from the specified path should be pushed

Actual Behavior:

All workspace files are pushed, regardless of the specified path

Acceptance Criteria

  • The files push command should respect the provided path
  • Only files within the specified directory should be pushed

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Support ticket: https://helpdesk.dotcms.com/a/tickets/28932

dotCMS Version

Main

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

@nollymar nollymar moved this from New to Current Sprint Backlog in dotCMS - Product Planning Dec 18, 2024
@fabrizzio-dotCMS fabrizzio-dotCMS self-assigned this Dec 18, 2024
@fabrizzio-dotCMS fabrizzio-dotCMS moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planning Dec 18, 2024
fabrizzio-dotCMS added a commit that referenced this issue Dec 19, 2024
fabrizzio-dotCMS added a commit that referenced this issue Dec 19, 2024
@fabrizzio-dotCMS fabrizzio-dotCMS linked a pull request Dec 19, 2024 that will close this issue
3 tasks
@fabrizzio-dotCMS fabrizzio-dotCMS removed a link to a pull request Dec 19, 2024
3 tasks
@fabrizzio-dotCMS fabrizzio-dotCMS linked a pull request Dec 19, 2024 that will close this issue
3 tasks
Copy link

PRs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants