mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-15 02:33:17 +02:00
Default to Gitea over HTTPS
This commit is contained in:
1 parent
fe6b507fa0
commit
89c24aab9e
2 files changed
+5
-5
No files matched your search
@@ -90,9 +90,9 @@ def ApplyTheme(ThemeName: str) -> None:
|
||||
@dataclass
|
||||
class AppConfig:
|
||||
Theme: str = "CatppuccinMocha" # matches a file in ~/.config/SaraSuite/Themes/
|
||||
# Where the Sara repos live (Gitea on SpineS, Tailscale-only); manifests
|
||||
# Where the Sara repos live (Gitea on SpineS); manifests
|
||||
# use it as {GitHost}.
|
||||
GitHost: str = "http://git.srhtnin.garden/sarah"
|
||||
GitHost: str = "https://git.srhtnin.garden/sarah"
|
||||
|
||||
def Save(self) -> None:
|
||||
ConfigDir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
@@ -17,15 +17,15 @@ It's one AppImage file: download it, run it, pick a program.
|
||||
|
||||
## Sources
|
||||
|
||||
Programs come straight from git over HTTP(S), no `git` binary needed: the latest commit is read
|
||||
Programs come straight from git over HTTPS, no `git` binary needed: the latest commit is read
|
||||
from `<repo>.git/info/refs` and the files from `<repo>/archive/<commit>.tar.gz`, which GitHub and
|
||||
Gitea both serve the same way. Repos must be public (no login support yet).
|
||||
|
||||
The host is one setting in `~/.config/SaraSuite/SaraSuite/Config.toml`; manifests refer to it as
|
||||
`{GitHost}`. It defaults to the Gitea on SpineS (only reachable over Tailscale):
|
||||
`{GitHost}`. It defaults to the Gitea on SpineS:
|
||||
|
||||
```toml
|
||||
GitHost = "http://git.srhtnin.garden/sarah"
|
||||
GitHost = "https://git.srhtnin.garden/sarah"
|
||||
```
|
||||
|
||||
The only thing a program needs from the system is `python3` (for its venv).
|
||||
|
||||
Reference in new issue
Block a user