magento / magento/community-features
[FEATURE] Add CLI command to dump the sitemap
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Currently, there's a cronjob that is run on a schedule. Since we deploy our site through deployer, the root directory content is reset on basically every deployment cycle.
So this now needs manual actions in the form of someone logging into the backend and clicking the "generate" button on the sitemap entries.
So in essence there should be a CLI command to dump the registered sitemaps to disk.
### Preconditions
No bug, so no preconditions.
### Steps to reproduce
No bug so no steps.
### Expected result
1. a CLI command should exist to dump the sitemaps
### Actual result
1. no such command is available
**Original Report**: https://github.com/magento/magento2/issues/14053 by @cedricziel
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing sitemap generation flow and the CLI command entry points used by the project. Define the command's output location from the deployment context, then verify that it dumps all registered sitemaps to disk and can be run without the backend button.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100