Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def setup_calibrations_repository(self) -> None:
):
self.update_calibrations_repository()
else:
repo_url = "http://control-svcs.isis.cclrc.ac.uk/gitroot/instconfigs/common.git"
repo_url = "https://gitlab.stfc.ac.uk/isisexperimentcontrols/common.git"
location = "C:\Instrument\Settings\config\common"
RunProcess(
working_dir=os.curdir,
Expand All @@ -352,6 +352,12 @@ def update_calibrations_repository(self) -> None:
"""Update the calibration repository"""
try:
repo = git.Repo(CALIBRATION_PATH)
print(
"If this is the first time using the gitlab calibration files repo, "
"you'll be prompted for username and password please enter username "
"(required on git-for-windows!) and deploy token - "
'see Keeper for this ("Calibrations repository deploy token")'
)
repo.git.pull()
except git.GitCommandError:
self.prompt.prompt_and_raise_if_not_yes(
Expand Down
4 changes: 2 additions & 2 deletions workflow_support_scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

### Calibration Files' Location:

`http://control-svcs.isis.cclrc.ac.uk/gitroot/instconfigs/common.git`
`https://gitlab.stfc.ac.uk/isisexperimentcontrols/common.git`

This repo should be cloned with:

`git clone http://control-svcs.isis.cclrc.ac.uk/gitroot/instconfigs/common.git C:\Instrument\Settings\config\common`
`git clone https://gitlab.stfc.ac.uk/isisexperimentcontrols/common.git C:\Instrument\Settings\config\common`

### Converting Files

Expand Down
Loading