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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: magehand
3
- Version: 0.76.1
3
+ Version: 0.76.2
4
4
  Summary: The developer CLI for building apps on davidlarrimore's homelab
5
5
  Project-URL: Source, https://github.com/davidlarrimore/magehand
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "magehand"
7
- version = "0.76.1"
7
+ version = "0.76.2"
8
8
  description = "The developer CLI for building apps on davidlarrimore's homelab"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -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
- # Platform Applications and names (homelab-apps validate.yaml) and the platform's own repos. object-storage, files
2579
- # and files-dev: the bucket broker and the public bucket host; auth: its dev host would be the dev apps' sign-in
2580
- # host (homelab#790).
2581
- RESERVED = {'argocd', 'authentik', 'cloudflared', 'external-secrets', 'ingress', 'kyverno', 'litellm', 'monitoring',
2582
- 'openbao', 'openclaw', 'agent-app-groups', 'object-storage', 'files', 'files-dev', 'auth',
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'): # homelab-apps' list too (homelab#790)
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