itw-python-builder 0.1.27__tar.gz → 0.1.28__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.
Files changed (20) hide show
  1. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/PKG-INFO +1 -1
  2. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/tasks.py +6 -0
  3. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder.egg-info/PKG-INFO +1 -1
  4. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/pyproject.toml +1 -1
  5. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/LICENSE +0 -0
  6. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/README.md +0 -0
  7. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/.pylintrc +0 -0
  8. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/__init__.py +0 -0
  9. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/cli.py +0 -0
  10. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/ssr_tasks.py +0 -0
  11. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/templates/server.sitemap.snippet.ts +0 -0
  12. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/templates/sitemap.routes.ts +0 -0
  13. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/utils.py +0 -0
  14. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder/version.py +0 -0
  15. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder.egg-info/SOURCES.txt +0 -0
  16. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder.egg-info/dependency_links.txt +0 -0
  17. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder.egg-info/entry_points.txt +0 -0
  18. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder.egg-info/requires.txt +0 -0
  19. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/itw_python_builder.egg-info/top_level.txt +0 -0
  20. {itw_python_builder-0.1.27 → itw_python_builder-0.1.28}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: itw_python_builder
3
- Version: 0.1.27
3
+ Version: 0.1.28
4
4
  Summary: Standardized Django deployment pipeline with Docker, testing, and SonarQube integration
5
5
  Author-email: IT-Works <contact@it-works.io>
6
6
  License: MIT
@@ -66,12 +66,18 @@ def package_dist(ctx: Context) -> None:
66
66
  ctx.run('tar -czf dist.tar.gz -C dist .')
67
67
 
68
68
 
69
+ _GITLAB_API_HOST_MAP = {
70
+ 'git.it-works.io': 'gitlab.it-works.io',
71
+ }
72
+
73
+
69
74
  def upload_dist(ctx: Context, version) -> None:
70
75
  """Upload dist.tar.gz to this project's GitLab Generic Package Registry under <version>/."""
71
76
  from urllib.parse import quote
72
77
  if not os.environ.get('GITLAB_TOKEN'):
73
78
  raise RuntimeError('GITLAB_TOKEN not set; run `itw login` first.')
74
79
  host, path = _parse_gitlab_remote(ctx)
80
+ host = _GITLAB_API_HOST_MAP.get(host, host)
75
81
  encoded = quote(path, safe='')
76
82
  url = f'https://{host}/api/v4/projects/{encoded}/packages/generic/frontend/{version}/dist.tar.gz'
77
83
  print(f'[itw] Uploading dist.tar.gz → {url}')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: itw_python_builder
3
- Version: 0.1.27
3
+ Version: 0.1.28
4
4
  Summary: Standardized Django deployment pipeline with Docker, testing, and SonarQube integration
5
5
  Author-email: IT-Works <contact@it-works.io>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "itw_python_builder"
7
- version = "0.1.27"
7
+ version = "0.1.28"
8
8
  description = "Standardized Django deployment pipeline with Docker, testing, and SonarQube integration"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"