magehand 0.76.1__tar.gz → 0.76.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {magehand-0.76.1 → magehand-0.76.2}/PKG-INFO +1 -1
- {magehand-0.76.1 → magehand-0.76.2}/pyproject.toml +1 -1
- {magehand-0.76.1 → magehand-0.76.2}/src/magehand/cli.py +7 -5
- {magehand-0.76.1 → magehand-0.76.2}/tests/test_cli.py +3 -1
- {magehand-0.76.1 → magehand-0.76.2}/.gitignore +0 -0
- {magehand-0.76.1 → magehand-0.76.2}/LICENSE +0 -0
- {magehand-0.76.1 → magehand-0.76.2}/README.md +0 -0
- {magehand-0.76.1 → magehand-0.76.2}/assets/README.md +0 -0
- {magehand-0.76.1 → magehand-0.76.2}/src/magehand/__init__.py +0 -0
- {magehand-0.76.1 → magehand-0.76.2}/src/magehand/__main__.py +0 -0
|
@@ -2575,11 +2575,13 @@ OWNER = APPS_REPO.split('/')[0]
|
|
|
2575
2575
|
TEMPLATE_REPO = f'{OWNER}/homelab-app-template'
|
|
2576
2576
|
BOT = 'davidlarrimore-bot'
|
|
2577
2577
|
APP_NAME = re.compile(r'^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$') # homelab-apps validate.yaml
|
|
2578
|
-
#
|
|
2579
|
-
# and
|
|
2580
|
-
#
|
|
2581
|
-
RESERVED = {'argocd', 'authentik', 'cloudflared', 'external-secrets', 'ingress', 'kyverno', 'litellm', '
|
|
2582
|
-
'openbao', 'openclaw', '
|
|
2578
|
+
# The platform's names (homelab scripts/sync-prod-apps.py RESERVED, homelab-apps validate.yaml: an app's name is
|
|
2579
|
+
# its namespace and its host, so these would collide; a homelab test checks every platform host is there) and the
|
|
2580
|
+
# platform's own repos.
|
|
2581
|
+
RESERVED = {'argocd', 'authentik', 'cloudflared', 'external-secrets', 'ingress', 'kyverno', 'litellm', 'outbound-mail',
|
|
2582
|
+
'monitoring', 'openbao', 'openclaw', 'trivy-system', 'default', 'agent-app-groups', 'auth', 'llm', 'www',
|
|
2583
|
+
'tunnel-test', 'mail', 'api', 'status', 'object-storage', 'files', 'files-dev', 'github-hooks', 'lab-facts',
|
|
2584
|
+
'sablier', 'grafana', 'prometheus', 'alertmanager', 'hooks',
|
|
2583
2585
|
'homelab', 'homelab-apps', 'homelab-app-template', 'homelab-events', 'magehand'}
|
|
2584
2586
|
|
|
2585
2587
|
|
|
@@ -3603,7 +3603,9 @@ class New(unittest.TestCase):
|
|
|
3603
3603
|
def test_bad_and_reserved_names(self):
|
|
3604
3604
|
self.fake()
|
|
3605
3605
|
for name in ('Elvis', '-x', 'a' * 41, 'litellm', 'homelab-apps', 'crawl-fetch',
|
|
3606
|
-
'auth', 'object-storage', 'files', 'files-dev'
|
|
3606
|
+
'auth', 'object-storage', 'files', 'files-dev', # homelab-apps' list too (homelab#790)
|
|
3607
|
+
'sablier', 'outbound-mail', 'github-hooks', 'lab-facts', # platform namespaces (#156)
|
|
3608
|
+
'grafana', 'prometheus', 'alertmanager', 'llm', 'hooks'): # platform hosts (#156)
|
|
3607
3609
|
with self.assertRaises(SystemExit) as ctx:
|
|
3608
3610
|
self.run_new(name)
|
|
3609
3611
|
self.assertEqual(ctx.exception.code, 2, name)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|