itcpr 2.1.6__tar.gz → 2.1.8__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.4
2
2
  Name: itcpr
3
- Version: 2.1.6
3
+ Version: 2.1.8
4
4
  Summary: CLI tool for syncing GitHub repositories from ITCPR Cloud
5
5
  Home-page: https://itcpr.org
6
6
  Author: ITCPR
@@ -288,7 +288,7 @@ Revokes device token and clears local metadata.
288
288
  Shows:
289
289
  - Logged-in user information
290
290
  - Device ID
291
- - Assigned repositories
291
+ - Your repositories
292
292
  - Local repositories with sync status
293
293
 
294
294
  ### `itcpr repos`
@@ -255,7 +255,7 @@ Revokes device token and clears local metadata.
255
255
  Shows:
256
256
  - Logged-in user information
257
257
  - Device ID
258
- - Assigned repositories
258
+ - Your repositories
259
259
  - Local repositories with sync status
260
260
 
261
261
  ### `itcpr repos`
@@ -1,4 +1,4 @@
1
1
  """ITCPR Cloud CLI - CLI tool for syncing GitHub repositories."""
2
2
 
3
- __version__ = "2.1.6"
3
+ __version__ = "2.1.8"
4
4
 
@@ -81,16 +81,16 @@ def status(ctx):
81
81
  click.echo(f"User: {me['user'].get('name', 'N/A')}")
82
82
  click.echo(f"Email: {me['user'].get('email', 'N/A')}")
83
83
 
84
- # Get assigned repos
84
+ # Get repos
85
85
  repos = api.get_repos()
86
- click.echo(f"\n=== Assigned Repositories ({len(repos)}) ===")
86
+ click.echo(f"\n=== Your Repositories ({len(repos)}) ===")
87
87
  if repos:
88
88
  for repo in repos:
89
89
  full_name = repo.get('full_name', '')
90
90
  repo_name = full_name.split('/', 1)[-1] if full_name else repo.get('name', 'N/A')
91
91
  click.echo(f" - {repo_name}")
92
92
  else:
93
- click.echo(" No repositories assigned")
93
+ click.echo(" No repositories")
94
94
 
95
95
  # Get local repos
96
96
  local_repos = storage.list_repos()
@@ -139,18 +139,17 @@ def repos(ctx):
139
139
  click.echo("No repositories assigned to this device.")
140
140
  return
141
141
 
142
- click.echo(f"\nAssigned Repositories ({len(assigned_repos)}):\n")
142
+ click.echo(f"\nYour Repositories ({len(assigned_repos)}):\n")
143
143
 
144
144
  for repo in assigned_repos:
145
145
  full_name = repo.get('full_name', '')
146
146
  repo_name = full_name.split('/', 1)[-1] if full_name else repo.get('name', 'N/A')
147
- full_name = repo.get("full_name", repo_name)
148
147
  local_repo = local_repos.get(repo_name)
149
148
 
150
149
  status_icon = "✓" if local_repo else "○"
151
150
  status_text = "Cloned" if local_repo else "Not cloned"
152
151
 
153
- click.echo(f"{status_icon} {full_name} - {status_text}")
152
+ click.echo(f"{status_icon} {repo_name} - {status_text}")
154
153
  if local_repo:
155
154
  click.echo(f" Path: {local_repo['local_path']}")
156
155
  if local_repo.get("last_sync"):
@@ -221,11 +220,11 @@ def clone(ctx, repo, path):
221
220
  return
222
221
 
223
222
  # Get GitHub token
224
- click.echo(f"Getting GitHub token for {full_name}...")
223
+ click.echo(f"Getting GitHub token for {repo_name}...")
225
224
  token = api.get_github_token(repo_name)
226
225
 
227
226
  # Clone
228
- click.echo(f"Cloning {full_name} to {local_path}...")
227
+ click.echo(f"Cloning {repo_name} to {local_path}...")
229
228
  git = GitOps(local_path)
230
229
  git.clone(remote_url, token)
231
230
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: itcpr
3
- Version: 2.1.6
3
+ Version: 2.1.8
4
4
  Summary: CLI tool for syncing GitHub repositories from ITCPR Cloud
5
5
  Home-page: https://itcpr.org
6
6
  Author: ITCPR
@@ -288,7 +288,7 @@ Revokes device token and clears local metadata.
288
288
  Shows:
289
289
  - Logged-in user information
290
290
  - Device ID
291
- - Assigned repositories
291
+ - Your repositories
292
292
  - Local repositories with sync status
293
293
 
294
294
  ### `itcpr repos`
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "itcpr"
7
- version = "2.1.6"
7
+ version = "2.1.8"
8
8
  description = "CLI tool for syncing GitHub repositories from ITCPR Cloud"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -9,7 +9,7 @@ long_description = readme_file.read_text() if readme_file.exists() else ""
9
9
 
10
10
  setup(
11
11
  name="itcpr",
12
- version="2.1.6",
12
+ version="2.1.8",
13
13
  description="CLI tool for syncing GitHub repositories from ITCPR Cloud",
14
14
  long_description=long_description,
15
15
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes