snapctl 0.49.3__tar.gz → 0.49.4__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.

Potentially problematic release.


This version of snapctl might be problematic. Click here for more details.

Files changed (41) hide show
  1. {snapctl-0.49.3 → snapctl-0.49.4}/PKG-INFO +1 -1
  2. {snapctl-0.49.3 → snapctl-0.49.4}/pyproject.toml +1 -1
  3. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/byows.py +4 -2
  4. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/config/constants.py +1 -1
  5. snapctl-0.49.4/snapctl/data/releases/beta-0.49.4.mdx +8 -0
  6. {snapctl-0.49.3 → snapctl-0.49.4}/LICENSE +0 -0
  7. {snapctl-0.49.3 → snapctl-0.49.4}/README.md +0 -0
  8. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/__init__.py +0 -0
  9. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/__main__.py +0 -0
  10. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/__init__.py +0 -0
  11. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/byogs.py +0 -0
  12. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/byosnap.py +0 -0
  13. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/game.py +0 -0
  14. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/generate.py +0 -0
  15. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/release_notes.py +0 -0
  16. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/commands/snapend.py +0 -0
  17. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/config/__init__.py +0 -0
  18. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/config/endpoints.py +0 -0
  19. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/config/hashes.py +0 -0
  20. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/__init__.py +0 -0
  21. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/profiles/__init__.py +0 -0
  22. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/profiles/snapser-byosnap-profile.json +0 -0
  23. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/profiles/snapser-byosnap-profile.yaml +0 -0
  24. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/profiles/snapser-byosnap-profile.yml +0 -0
  25. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/__init__.py +0 -0
  26. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.46.0.mdx +0 -0
  27. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.46.4.mdx +0 -0
  28. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.47.0.mdx +0 -0
  29. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.47.1.mdx +0 -0
  30. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.47.2.mdx +0 -0
  31. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.48.0.mdx +0 -0
  32. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.49.0.mdx +0 -0
  33. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.49.1.mdx +0 -0
  34. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.49.2.mdx +0 -0
  35. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/data/releases/beta-0.49.3.mdx +0 -0
  36. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/main.py +0 -0
  37. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/types/__init__.py +0 -0
  38. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/types/definitions.py +0 -0
  39. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/utils/__init__.py +0 -0
  40. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/utils/echo.py +0 -0
  41. {snapctl-0.49.3 → snapctl-0.49.4}/snapctl/utils/helper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snapctl
3
- Version: 0.49.3
3
+ Version: 0.49.4
4
4
  Summary: Snapser CLI Tool
5
5
  Author: Ajinkya Apte
6
6
  Author-email: aj@snapser.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "snapctl"
3
- version = "0.49.3"
3
+ version = "0.49.4"
4
4
  description = "Snapser CLI Tool"
5
5
  authors = ["Ajinkya Apte <aj@snapser.com>"]
6
6
  readme = "README.md"
@@ -99,11 +99,12 @@ class Byows:
99
99
  def _get_export_commands(snap_ids, port):
100
100
  '''
101
101
  Generate export commands for the given snap IDs and port.
102
+ Replace hyphens with underscores in environment variable names.
102
103
  '''
103
104
  env_vars = []
104
105
 
105
106
  for snap_id in snap_ids:
106
- upper_id = snap_id.upper()
107
+ upper_id = snap_id.upper().replace("-", "_")
107
108
  env_vars.append(f"SNAPEND_{upper_id}_GRPC_URL=localhost:{port}")
108
109
  env_vars.append(
109
110
  f"SNAPEND_{upper_id}_HTTP_URL=http://localhost:{port}")
@@ -121,11 +122,12 @@ class Byows:
121
122
  def _generate_env_file(snap_ids, port):
122
123
  '''
123
124
  Generate an environment file with the given snap IDs and port.
125
+ Replace hyphens with underscores in environment variable names.
124
126
  '''
125
127
  env_lines = []
126
128
 
127
129
  for snap_id in snap_ids:
128
- upper_id = snap_id.upper()
130
+ upper_id = snap_id.upper().replace("-", "_")
129
131
  env_lines.append(
130
132
  f"export SNAPEND_{upper_id}_GRPC_URL=localhost:{port}")
131
133
  env_lines.append(
@@ -3,7 +3,7 @@ Constants used by snapctl
3
3
  """
4
4
  COMPANY_NAME = 'Snapser'
5
5
  VERSION_PREFIX = 'beta-'
6
- VERSION = '0.49.3'
6
+ VERSION = '0.49.4'
7
7
  CONFIG_FILE_MAC = '~/.snapser/config'
8
8
  CONFIG_FILE_WIN = '%homepath%\\.snapser\\config'
9
9
 
@@ -0,0 +1,8 @@
1
+ ## beta-0.49.4
2
+ ##### May 20, 2025
3
+
4
+ ### Bug Fixes
5
+
6
+ #### Bring your own workstation (BYOW)
7
+ - Environment exports no longer include hyphens in the variable names.
8
+
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes