itw-python-builder 0.2.1__tar.gz → 0.2.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.
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/PKG-INFO +1 -1
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/tasks.py +10 -10
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/templates/new_version_email.html +2 -11
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/PKG-INFO +1 -1
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/pyproject.toml +1 -1
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/LICENSE +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/README.md +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/.pylintrc +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/__init__.py +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/cli.py +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/notify.py +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/ssr_tasks.py +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/templates/server.sitemap.snippet.ts +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/templates/sitemap.routes.ts +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/utils.py +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/version.py +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/SOURCES.txt +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/dependency_links.txt +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/entry_points.txt +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/requires.txt +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/top_level.txt +0 -0
- {itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/setup.cfg +0 -0
|
@@ -112,19 +112,19 @@ def logout(ctx: Context):
|
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
@task(name='task')
|
|
115
|
-
def create_task(ctx: Context,
|
|
116
|
-
"""Create GitLab tasks in the group's _pm repo from a markdown file (--
|
|
117
|
-
if not
|
|
118
|
-
raise RuntimeError('Missing --
|
|
119
|
-
if not
|
|
120
|
-
raise RuntimeError(f'File must be .md, got {
|
|
121
|
-
if not os.path.isfile(
|
|
122
|
-
raise RuntimeError(f'File not found: {
|
|
115
|
+
def create_task(ctx: Context, file=None):
|
|
116
|
+
"""Create GitLab tasks in the group's _pm repo from a markdown file (--file path.md)."""
|
|
117
|
+
if not file:
|
|
118
|
+
raise RuntimeError('Missing --file path to markdown file.')
|
|
119
|
+
if not file.lower().endswith('.md'):
|
|
120
|
+
raise RuntimeError(f'File must be .md, got {file!r}.')
|
|
121
|
+
if not os.path.isfile(file):
|
|
122
|
+
raise RuntimeError(f'File not found: {file}')
|
|
123
123
|
if not os.path.isdir(os.path.join(os.getcwd(), '.git')):
|
|
124
124
|
raise RuntimeError('Not a git repository (no .git folder here).')
|
|
125
125
|
|
|
126
|
-
issues = parse_md_issues(
|
|
127
|
-
print(f'[itw] Parsed {len(issues)} task(s) from {
|
|
126
|
+
issues = parse_md_issues(file)
|
|
127
|
+
print(f'[itw] Parsed {len(issues)} task(s) from {file}.')
|
|
128
128
|
|
|
129
129
|
token = ensure_gitlab_token(ctx)
|
|
130
130
|
host, project_path = _parse_gitlab_remote(ctx)
|
|
@@ -26,17 +26,8 @@
|
|
|
26
26
|
{COMMIT_MESSAGE}
|
|
27
27
|
</div>
|
|
28
28
|
<p style="margin:0 0 8px 0;font-size:15px;"><strong>Komanda për të bërë upgrade:</strong></p>
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
<td style="padding:14px 16px;">
|
|
32
|
-
<code style="color:#f9fafb;font-family:Consolas,Monaco,monospace;font-size:13px;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;cursor:text;display:block;word-break:break-all;">pip install itw-python-builder=={VERSION} --no-cache-dir</code>
|
|
33
|
-
</td>
|
|
34
|
-
<td align="right" valign="middle" style="padding:14px 16px 14px 0;width:1%;white-space:nowrap;">
|
|
35
|
-
<span style="display:inline-block;background:#1f2937;color:#f9fafb;border:1px solid #374151;border-radius:4px;padding:6px 12px;font-size:12px;font-family:Arial,Helvetica,sans-serif;">📋 Copy</span>
|
|
36
|
-
</td>
|
|
37
|
-
</tr>
|
|
38
|
-
</table>
|
|
39
|
-
<p style="margin:-12px 0 20px 0;font-size:11px;color:#9ca3af;">Klikoni mbi komandën për ta zgjedhur, pastaj Ctrl+C (ose ⌘+C).</p>
|
|
29
|
+
<p style="margin:0 0 6px 0;font-size:12px;color:#6b7280;">Klikoni mbi komandën për ta zgjedhur, pastaj Ctrl+C (ose ⌘+C).</p>
|
|
30
|
+
<pre style="background:#0f172a;color:#f9fafb;padding:14px 16px;border-radius:6px;font-size:13px;overflow-x:auto;margin:0 0 20px 0;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;cursor:text;">pip install itw-python-builder=={VERSION} --no-cache-dir</pre>
|
|
40
31
|
<p style="margin:0;font-size:13px;color:#6b7280;">Faleminderit</p>
|
|
41
32
|
</td>
|
|
42
33
|
</tr>
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "itw_python_builder"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Standardized Django deployment pipeline with Docker, testing, and SonarQube integration"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder/templates/sitemap.routes.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/requires.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.2.1 → itw_python_builder-0.2.2}/itw_python_builder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|