kdebug 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.
@@ -0,0 +1,37 @@
1
+ name: Update Homebrew Tap
2
+
3
+ on:
4
+ workflow_call:
5
+ inputs:
6
+ version:
7
+ description: 'Version tag (e.g., v1.0.0)'
8
+ required: false
9
+ type: string
10
+
11
+ jobs:
12
+ update-homebrew-tap:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Get version
16
+ id: release-info
17
+ run: |
18
+ VERSION="${{ inputs.version }}"
19
+ VERSION="${VERSION#v}" # Strip 'v' prefix
20
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
21
+ echo "Release version: $VERSION"
22
+
23
+ - name: Trigger Homebrew tap update
24
+ env:
25
+ GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
26
+ run: |
27
+ gh workflow run update-formula.yml \
28
+ --repo jessegoodier/homebrew-kdebug \
29
+ -f version="${{ steps.release-info.outputs.version }}" || {
30
+ echo "::warning::Failed to trigger Homebrew update. Ensure HOMEBREW_TAP_TOKEN secret is set with repo scope for jessegoodier/homebrew-kdebug."
31
+ echo "The daily schedule in homebrew-kdebug will pick up the new version from PyPI automatically."
32
+ }
33
+
34
+ - name: Summary
35
+ run: |
36
+ echo "### Homebrew tap update triggered for kdebug ${{ steps.release-info.outputs.version }}" >> $GITHUB_STEP_SUMMARY
37
+ echo "The [homebrew-kdebug](https://github.com/jessegoodier/homebrew-kdebug) update-formula workflow has been dispatched." >> $GITHUB_STEP_SUMMARY
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kdebug
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Universal Kubernetes Debug Container Utility
5
5
  Project-URL: Homepage, https://github.com/jessegoodier/kdebug
6
6
  Project-URL: Repository, https://github.com/jessegoodier/kdebug
@@ -20,8 +20,9 @@ Description-Content-Type: text/markdown
20
20
 
21
21
  Simple utility for launching ephemeral debug containers in Kubernetes pods with interactive shell access, backup capabilities, and a colorful TUI for pod selection.
22
22
 
23
- ## Features
23
+ Similar to kpf <https://github.com/jessegoodier/kpf>, this is a python wrapper around `kubectl debug` and `kubectl cp`.
24
24
 
25
+ ## Features
25
26
 
26
27
  - 🐚 **Interactive Shell Access** - Launch bash/zsh sessions in debug containers directly to the directory of your choice
27
28
  - 💾 **Backup Capabilities** - Copy files/directories from pods with optional compression
@@ -2,8 +2,9 @@
2
2
 
3
3
  Simple utility for launching ephemeral debug containers in Kubernetes pods with interactive shell access, backup capabilities, and a colorful TUI for pod selection.
4
4
 
5
- ## Features
5
+ Similar to kpf <https://github.com/jessegoodier/kpf>, this is a python wrapper around `kubectl debug` and `kubectl cp`.
6
6
 
7
+ ## Features
7
8
 
8
9
  - 🐚 **Interactive Shell Access** - Launch bash/zsh sessions in debug containers directly to the directory of your choice
9
10
  - 💾 **Backup Capabilities** - Copy files/directories from pods with optional compression
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "kdebug"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Universal Kubernetes Debug Container Utility"
9
9
  readme = "README.md"
10
10
  license = "MIT"
kdebug-0.2.2/uv.lock ADDED
@@ -0,0 +1,8 @@
1
+ version = 1
2
+ revision = 3
3
+ requires-python = ">=3.8"
4
+
5
+ [[package]]
6
+ name = "kdebug"
7
+ version = "0.2.0"
8
+ source = { editable = "." }
@@ -1,50 +0,0 @@
1
- name: Update Homebrew Tap
2
-
3
- on:
4
- release:
5
- types: [published]
6
- workflow_dispatch:
7
- workflow_call:
8
- inputs:
9
- version:
10
- description: 'Version tag (e.g., v1.0.0)'
11
- required: false
12
- type: string
13
-
14
- jobs:
15
- update-homebrew-tap:
16
- runs-on: ubuntu-latest
17
- steps:
18
- - name: Get release info
19
- id: release-info
20
- run: |
21
- # Use input version if provided, otherwise extract from GITHUB_REF
22
- if [[ -n "${{ inputs.version }}" ]]; then
23
- VERSION="${{ inputs.version }}"
24
- else
25
- VERSION=${GITHUB_REF#refs/tags/}
26
- fi
27
- echo "version=$VERSION" >> $GITHUB_OUTPUT
28
- echo "Release version: $VERSION"
29
-
30
- - name: Trigger Homebrew tap update
31
- run: |
32
- curl -L \
33
- -X POST \
34
- -H "Accept: application/vnd.github+json" \
35
- -H "Authorization: Bearer ${{ secrets.HOMEBREW_TAP_TOKEN }}" \
36
- -H "X-GitHub-Api-Version: 2022-11-28" \
37
- https://api.github.com/repos/jessegoodier/homebrew-kdebug/dispatches \
38
- -d '{
39
- "event_type": "update-homebrew-formula",
40
- "client_payload": {
41
- "version": "${{ steps.release-info.outputs.version }}",
42
- "repository": "${{ github.repository }}"
43
- }
44
- }'
45
-
46
- - name: Create workflow summary
47
- run: |
48
- echo "🍺 Triggered Homebrew tap update for kdebug version ${{ steps.release-info.outputs.version }}" >> $GITHUB_STEP_SUMMARY
49
- echo "" >> $GITHUB_STEP_SUMMARY
50
- echo "The Homebrew formula will be updated automatically in the [homebrew-kdebug](https://github.com/jessegoodier/homebrew-kdebug) repository." >> $GITHUB_STEP_SUMMARY
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes