cyclestreets / cyclestreets/cyclestreets-setup
Git clone fails because websitesContentFolder already exists
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Unlike SVN, it seems you cannot clone into an existing directory.
However, the .mySuperUserCredentials.cnf gets written into there (why?) earlier in the script.
Either we need to amend git clone to clone into an existing directory somehow, or the MySQL file should be written after the git stage.
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
Trace the deployment script's git clone step and the earlier write of .mySuperUserCredentials.cnf into websitesContentFolder. Reproduce the failure with an existing directory, then determine whether the clone or credential-file ordering should change. Done means the setup works when that directory already exists without losing the credentials file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100