cyclestreets / cyclestreets/cyclestreets-setup

Git clone fails because websitesContentFolder already exists

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.