github-issue-list 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl

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.4
2
2
  Name: github-issue-list
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: List open GitHub issues assigned to a user in an organization.
5
5
  Author: Kaizten Analytics
6
6
  License-Expression: LicenseRef-Proprietary
@@ -57,7 +57,7 @@ options:
57
57
  --username USERNAME GitHub assignee. Defaults to the authenticated gh user.
58
58
  ```
59
59
 
60
- The table contains the full repository name, issue number, truncated title, issue URL, UTC creation time, and elapsed time since creation. The search returns at most 1,000 issues, matching GitHub's issue-search result limit.
60
+ The table contains a one-based row number, full repository name, issue number, truncated title, issue URL, UTC creation time, and elapsed time since creation. The search returns at most 1,000 issues, matching GitHub's issue-search result limit.
61
61
 
62
62
  ## Development
63
63
 
@@ -0,0 +1,6 @@
1
+ github_issue_list.py,sha256=1uheRwu1R9b2ZFqdIKtUOJhqjqOEAk8ljSpIremDlmw,8139
2
+ github_issue_list-0.0.3.dist-info/METADATA,sha256=Yj522b1slOIremWzdfdWsAy461bmJmYLIvCxNtzgQ14,2475
3
+ github_issue_list-0.0.3.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
4
+ github_issue_list-0.0.3.dist-info/entry_points.txt,sha256=nwPkRnbyYop3woGXD0ZK18aR4HDVmeDmpaZPlxnwDpU,61
5
+ github_issue_list-0.0.3.dist-info/top_level.txt,sha256=Vi7KdWU5HNKt1jGQCOU94I_CU98ySLou_75x-yqVHeo,18
6
+ github_issue_list-0.0.3.dist-info/RECORD,,
github_issue_list.py CHANGED
@@ -201,6 +201,7 @@ def render_issue_table(issues: list[Issue], now: datetime) -> str:
201
201
  return "(none found)"
202
202
  rows = [
203
203
  [
204
+ str(index),
204
205
  issue.repository,
205
206
  f"#{issue.number}",
206
207
  truncate_title(issue.title),
@@ -208,10 +209,10 @@ def render_issue_table(issues: list[Issue], now: datetime) -> str:
208
209
  format_github_datetime(issue.created_at),
209
210
  elapsed_time(issue.created_at, now),
210
211
  ]
211
- for issue in issues
212
+ for index, issue in enumerate(issues, start=1)
212
213
  ]
213
214
  return table(
214
- ["Repository", "Issue number", "Issue title", "Issue URL", "Creation time", "Time since creation"],
215
+ ["Index", "Repository", "Issue", "Title", "URL", "Creation time", "Since creation"],
215
216
  rows,
216
217
  )
217
218
 
@@ -1,6 +0,0 @@
1
- github_issue_list.py,sha256=meZ_xkWPuW5-B7sssxMF3TtPcXASL0QcAqBGwrZUoEY,8103
2
- github_issue_list-0.0.2.dist-info/METADATA,sha256=EOstpfVF9MIfUmlQTNlL2ry__wT0yt7Kqk_Kq8RwVcw,2455
3
- github_issue_list-0.0.2.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
4
- github_issue_list-0.0.2.dist-info/entry_points.txt,sha256=nwPkRnbyYop3woGXD0ZK18aR4HDVmeDmpaZPlxnwDpU,61
5
- github_issue_list-0.0.2.dist-info/top_level.txt,sha256=Vi7KdWU5HNKt1jGQCOU94I_CU98ySLou_75x-yqVHeo,18
6
- github_issue_list-0.0.2.dist-info/RECORD,,