add frappy to the repos to update to gitea

This commit is contained in:
2025-05-08 14:25:39 +02:00
parent 6588f445c8
commit c4f2665b98

View File

@ -3,7 +3,7 @@ import os
from pathlib import Path
from configparser import ConfigParser
GITEA_REPOS = ['boxtools']
GITEA_REPOS = ['boxtools', 'frappy']
GITEA_URL = 'https://gitea.psi.ch/linse/%s.git'
GET_GITEA_TOKEN = """#!/bin/bash
@ -46,6 +46,7 @@ else
fi
"""
def write_when_new(doit, filename, content, executable=False):
newmode = 0o755 if executable else 0o644
if content is None:
@ -122,4 +123,4 @@ if __name__ == '__main__':
change_to_gitea(True)
else:
change_to_gitea(False)
print(f'\nUsage: pyhton gitea.py y # to update repos {" ".join(GITEA_REPOS)}\n')
print(f'\nUsage: python gitea.py y # to update repos {" ".join(GITEA_REPOS)}\n')