dug-cli 0.1.1__tar.gz → 0.1.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.
Files changed (30) hide show
  1. {dug_cli-0.1.1 → dug_cli-0.1.2}/.github/workflows/release.yml +40 -0
  2. {dug_cli-0.1.1 → dug_cli-0.1.2}/PKG-INFO +1 -1
  3. {dug_cli-0.1.1 → dug_cli-0.1.2}/pyproject.toml +1 -1
  4. {dug_cli-0.1.1 → dug_cli-0.1.2}/.github/homebrew/dug-cli.rb +0 -0
  5. {dug_cli-0.1.1 → dug_cli-0.1.2}/.github/scoop/dug-cli.json +0 -0
  6. {dug_cli-0.1.1 → dug_cli-0.1.2}/.github/workflows/update-homebrew.yml +0 -0
  7. {dug_cli-0.1.1 → dug_cli-0.1.2}/.gitignore +0 -0
  8. {dug_cli-0.1.1 → dug_cli-0.1.2}/.python-version +0 -0
  9. {dug_cli-0.1.1 → dug_cli-0.1.2}/LICENSE +0 -0
  10. {dug_cli-0.1.1 → dug_cli-0.1.2}/README.md +0 -0
  11. {dug_cli-0.1.1 → dug_cli-0.1.2}/RELEASING.md +0 -0
  12. {dug_cli-0.1.1 → dug_cli-0.1.2}/TODO.md +0 -0
  13. {dug_cli-0.1.1 → dug_cli-0.1.2}/install.sh +0 -0
  14. {dug_cli-0.1.1 → dug_cli-0.1.2}/main.py +0 -0
  15. {dug_cli-0.1.1 → dug_cli-0.1.2}/plan.md +0 -0
  16. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/__init__.py +0 -0
  17. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/__main__.py +0 -0
  18. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/chunker.py +0 -0
  19. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/config.py +0 -0
  20. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/embeddings.py +0 -0
  21. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/git_context.py +0 -0
  22. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/graph.py +0 -0
  23. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/history.py +0 -0
  24. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/hooks.py +0 -0
  25. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/indexer.py +0 -0
  26. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/prompt_builder.py +0 -0
  27. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/retriever.py +0 -0
  28. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/vector_store.py +0 -0
  29. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/verifier.py +0 -0
  30. {dug_cli-0.1.1 → dug_cli-0.1.2}/src/dug/watcher.py +0 -0
@@ -129,3 +129,43 @@ jobs:
129
129
  dist/*.whl
130
130
  dist/*.tar.gz
131
131
  release/*
132
+
133
+ # -----------------------------------------------------------------------
134
+ # 4. Update Homebrew tap formula
135
+ # -----------------------------------------------------------------------
136
+ update-homebrew:
137
+ name: Update Homebrew Formula
138
+ needs: [release]
139
+ runs-on: ubuntu-latest
140
+ steps:
141
+ - name: Compute SHA256 of macOS arm64 binary
142
+ id: hashes
143
+ run: |
144
+ TAG="${{ github.ref_name }}"
145
+ VERSION="${TAG#v}"
146
+ ARM64_URL="https://github.com/ratishjain12/dug/releases/download/${TAG}/dug-macos-arm64"
147
+ ARM64_SHA=$(curl -fsSL "$ARM64_URL" | sha256sum | cut -d' ' -f1)
148
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
149
+ echo "arm64_sha=$ARM64_SHA" >> $GITHUB_OUTPUT
150
+
151
+ - name: Checkout homebrew-dug repo
152
+ uses: actions/checkout@v4
153
+ with:
154
+ repository: ratishjain12/homebrew-dug
155
+ token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
156
+ path: homebrew-dug
157
+
158
+ - name: Update formula
159
+ run: |
160
+ cd homebrew-dug
161
+ sed -i "s/version \".*\"/version \"${{ steps.hashes.outputs.version }}\"/" Formula/dug-cli.rb
162
+ sed -i "/on_arm/,/end/{s/sha256 \".*\"/sha256 \"${{ steps.hashes.outputs.arm64_sha }}\"/}" Formula/dug-cli.rb
163
+
164
+ - name: Commit and push
165
+ run: |
166
+ cd homebrew-dug
167
+ git config user.name "ratishjain12"
168
+ git config user.email "ratishjain6@gmail.com"
169
+ git add Formula/dug-cli.rb
170
+ git diff --staged --quiet || git commit -m "Update dug-cli to ${{ github.ref_name }}"
171
+ git push
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dug-cli
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Dig into any bug with full codebase context — zero LLM calls
5
5
  Project-URL: Homepage, https://github.com/ratishjain12/dug
6
6
  Project-URL: Repository, https://github.com/ratishjain12/dug
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dug-cli"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "Dig into any bug with full codebase context — zero LLM calls"
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }
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
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