mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
fpco -> commercialhaskell
This commit is contained in:
parent
3eec05fe4c
commit
94f3b4c1cd
@ -36,7 +36,7 @@ class StackageSession(object):
|
|||||||
def load_stack_setup(self):
|
def load_stack_setup(self):
|
||||||
d = yaml.load(
|
d = yaml.load(
|
||||||
requests
|
requests
|
||||||
.get('https://raw.githubusercontent.com/fpco/stackage-content/master/stack/stack-setup-2.yaml')
|
.get('https://raw.githubusercontent.com/commercialhaskell/stackage-content/master/stack/stack-setup-2.yaml')
|
||||||
.content
|
.content
|
||||||
)
|
)
|
||||||
for platform in d['ghc']:
|
for platform in d['ghc']:
|
||||||
@ -56,7 +56,7 @@ class StackageSession(object):
|
|||||||
print(os)
|
print(os)
|
||||||
d['msys2'][os]['url'] = d['msys2'][os]['url'].replace(
|
d['msys2'][os]['url'] = d['msys2'][os]['url'].replace(
|
||||||
'https://github.com/fpco/stackage-content/releases/download/',
|
'https://github.com/fpco/stackage-content/releases/download/',
|
||||||
'https://mirrors.tuna.tsinghua.edu.cn/github-release/fpco/stackage-content/')
|
'https://mirrors.tuna.tsinghua.edu.cn/github-release/commercialhaskell/stackage-content/')
|
||||||
|
|
||||||
for i in ['portable-git', 'stack', 'ghcjs']:
|
for i in ['portable-git', 'stack', 'ghcjs']:
|
||||||
del d[i]
|
del d[i]
|
||||||
@ -70,7 +70,7 @@ class StackageSession(object):
|
|||||||
args = ['git', '-C', self._base_path / channel, 'pull']
|
args = ['git', '-C', self._base_path / channel, 'pull']
|
||||||
else:
|
else:
|
||||||
args = ['git', '-C', self._base_path, 'clone', '--depth', '1',
|
args = ['git', '-C', self._base_path, 'clone', '--depth', '1',
|
||||||
'https://github.com/fpco/{}.git'.format(channel)]
|
'https://github.com/commercialhaskell/{}.git'.format(channel)]
|
||||||
subprocess.run(args, check=True)
|
subprocess.run(args, check=True)
|
||||||
print('Loaded {}'.format(channel), flush=True)
|
print('Loaded {}'.format(channel), flush=True)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user