refactor(app): rename GitLite to Gitty throughout the application
The application has been rebranded from GitLite to Gitty, which involved updating various references across the codebase, including titles, descriptions, and identifiers. This change reflects the new branding strategy and ensures consistency in the user interface and backend. - Updated project name and identifiers in configuration files - Changed all instances of "GitLite" to "Gitty" in HTML and Svelte files - Adjusted descriptions and help texts to match the new branding
This commit is contained in:
+6
-6
@@ -11,7 +11,7 @@ from minio import Minio
|
||||
from minio.error import S3Error
|
||||
|
||||
|
||||
# cicd_tool lives inside the GitLite repo, so its parent dir is the app root.
|
||||
# cicd_tool lives inside the Gitty repo, so its parent dir is the app root.
|
||||
PROJECT_DIR = Path(__file__).resolve().parent.parent
|
||||
ARTIFACT_ROOT = PROJECT_DIR / "src-tauri" / "target" / "release" / "bundle"
|
||||
|
||||
@@ -266,9 +266,9 @@ def main(version: Optional[str] = None, app_dir: Optional[str] = None) -> None:
|
||||
raise ConfigurationError("ARTIFACT_BASE_URL is required")
|
||||
|
||||
# S3/MinIO bucket names must be lowercase, so normalise regardless of how the
|
||||
# S3_BUCKET variable is cased (e.g. "GitLite" -> "gitlite").
|
||||
bucket_name = (os.environ.get("S3_BUCKET") or "gitlite").lower()
|
||||
bucket_prefix = (app_dir or os.environ.get("APP_DIR") or "gitlite").strip("/")
|
||||
# S3_BUCKET variable is cased (e.g. "Gitty" -> "gitty").
|
||||
bucket_name = (os.environ.get("S3_BUCKET") or "gitty").lower()
|
||||
bucket_prefix = (app_dir or os.environ.get("APP_DIR") or "gitty").strip("/")
|
||||
|
||||
artifacts = _collect_artifacts()
|
||||
if not artifacts:
|
||||
@@ -329,7 +329,7 @@ def main(version: Optional[str] = None, app_dir: Optional[str] = None) -> None:
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Upload GitLite release artifacts to MinIO."
|
||||
description="Upload Gitty release artifacts to MinIO."
|
||||
)
|
||||
parser.add_argument(
|
||||
"-v",
|
||||
@@ -340,7 +340,7 @@ if __name__ == "__main__":
|
||||
parser.add_argument(
|
||||
"--app-dir",
|
||||
default=None,
|
||||
help="App directory prefix inside the bucket (defaults to gitlite).",
|
||||
help="App directory prefix inside the bucket (defaults to gitty).",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Tauri Git Lite</title>
|
||||
<title>Gitty</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "git-lite",
|
||||
"name": "gitty",
|
||||
"version": "2026.7.16",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "git-lite",
|
||||
"name": "gitty",
|
||||
"version": "2026.7.16",
|
||||
"dependencies": {
|
||||
"@lucide/svelte": "^1.21.0",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "git-lite",
|
||||
"name": "gitty",
|
||||
"version": "2026.7.16",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>GitLite</title>
|
||||
<title>Gitty</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
@@ -232,7 +232,7 @@
|
||||
<img class="icon" src="/splash-icon.png" alt="" />
|
||||
</div>
|
||||
<div class="copy">
|
||||
<strong>GitLite</strong>
|
||||
<strong>Gitty</strong>
|
||||
<span>Starting workspace</span>
|
||||
</div>
|
||||
<div class="bar" aria-hidden="true"><span></span></div>
|
||||
|
||||
Generated
+1
-1
@@ -2532,7 +2532,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "git_lite"
|
||||
name = "gitty"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"commit_ai",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "git_lite"
|
||||
name = "gitty"
|
||||
version = "0.1.0"
|
||||
description = "Rust backend for a lightweight Git desktop client"
|
||||
edition = "2024"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "GitLite",
|
||||
"productName": "Gitty",
|
||||
"version": "2026.7.16",
|
||||
"identifier": "com.git-lite",
|
||||
"build": {
|
||||
@@ -13,7 +13,7 @@
|
||||
"windows": [
|
||||
{
|
||||
"label": "main",
|
||||
"title": "GitLite",
|
||||
"title": "Gitty",
|
||||
"width": 1200,
|
||||
"height": 800,
|
||||
"minWidth": 900,
|
||||
@@ -25,7 +25,7 @@
|
||||
{
|
||||
"label": "splashscreen",
|
||||
"url": "splashscreen.html",
|
||||
"title": "GitLite",
|
||||
"title": "Gitty",
|
||||
"width": 460,
|
||||
"height": 420,
|
||||
"resizable": false,
|
||||
|
||||
+1
-1
@@ -2896,7 +2896,7 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>GitLite</title>
|
||||
<title>Gitty</title>
|
||||
</svelte:head>
|
||||
|
||||
<svelte:window on:click={handleWindowClick} on:keydown={handleWindowKeydown} on:contextmenu|capture={handleWindowContextMenu} />
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<span class="titlebar-brand-icon" data-tauri-drag-region>
|
||||
<img src={iconUrl} alt="" data-tauri-drag-region />
|
||||
</span>
|
||||
<span data-tauri-drag-region>GitLite</span>
|
||||
<span data-tauri-drag-region>Gitty</span>
|
||||
{#if appVersion}
|
||||
<span class="tb-version" data-tauri-drag-region title="Version {appVersion}">v{appVersion}</span>
|
||||
{/if}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
<div class="analytics-notice-copy">
|
||||
<p>
|
||||
GitLite can send anonymous usage events to Aptabase so crashes, rough edges, and commonly used workflows are easier to improve.
|
||||
Gitty can send anonymous usage events to Aptabase so crashes, rough edges, and commonly used workflows are easier to improve.
|
||||
</p>
|
||||
<p>
|
||||
Events do not include repository paths, remote URLs, branch names, commit messages, diffs, file names, credentials, or source code.
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<div class="dialog app-settings-dialog" role="dialog" aria-modal="true" aria-label="Settings" tabindex="-1">
|
||||
<header class="dialog-header">
|
||||
<div>
|
||||
<span class="eyebrow">GitLite</span>
|
||||
<span class="eyebrow">Gitty</span>
|
||||
<h2 class="dialog-title">Settings</h2>
|
||||
</div>
|
||||
<button class="dialog-close" type="button" onclick={onClose} title="Close">
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
);
|
||||
const description = $derived(
|
||||
state === "installed"
|
||||
? "Restart GitLite to use the new version."
|
||||
? "Restart Gitty to use the new version."
|
||||
: state === "downloading"
|
||||
? "Download and installation are running in the background."
|
||||
: state === "error"
|
||||
|
||||
Reference in New Issue
Block a user