nextcloud / nextcloud/nextcloud-docker-dev
Improve stable branch setup/docs
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 190
- Forks
- 103
- Avg merge
- 4h 36m
- Merged PRs (30d)
- 1
Description
I got reports that creating a new stable branch is not working well and leaving folders in root permissions causing troubles:
- Update failed cannot open /home/julia/docker-nc/server/apps-extra/activity/.git/worktrees/activity/FETCH_HEAD: Permission denied
- Cannot check the working tree for unmerged files because of an error. detected dubious ownership in repository at '/home/julia/docker-nc/stable28/apps/viewer' To add an exception for this directory, call: git config --global --add safe.directory /home/julia/docker-nc/stable28/apps/viewer
- z.B. update_ref failed for ref 'HEAD': cannot update the ref 'refs/heads/stable28': unable to append to '/home/julia/docker-nc/server/apps-extra/text/.git/logs/refs/heads/stable28': Permission denied
Further consider:
- Recommend putting any apps in apps-extra: https://github.com/nextcloud/server/pull/42499#issuecomment-1873813813
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
Begin by reviewing the stable-branch setup documentation and the linked recommendation to place apps in apps-extra. Reproduce the reported permission and dubious-ownership failures at the listed paths; done means the documented setup no longer produces these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- devops, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100