Request: Add occ to PATH
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Shell
- Stars
- 7.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
I think it would be very convenient if this Docker container could add the occ CLI to the PATH variable.
This way you could execute it from whichever directory you currently are and you could directly copy statements that are shown on the admin page without prepending a ./ ... to them.
An example:
One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command `occ maintenance:repair --include-expensive` to perform the migrations.
Contributor guide
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 tracing how the Docker image sets PATH and exposes the occ CLI; the issue provides no file or test names. Verify that occ works from an arbitrary directory and that the documented occ maintenance:repair --include-expensive command remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100