Skip to main content

Add your description here

Project description

git-stacktrace-java

Quickly find Git commits related to Java stacktraces.


🚀 Installation

Install using pipx (recommended):

pipx install git-stacktrace-java

Or using pip:

pip install git-stacktrace-java

🛠 Usage

Copy your stacktrace to clipboard (or pass it via stdin), then run:

git-stacktrace-java --since 30.days

The tool will output recent commits affecting files or code shown in the stacktrace.

Parameters:

  • --since: Specify a time range (e.g., 30.days, 2.weeks, 24.hours).

📖 Example

git-stacktrace-java --since 30.days < stacktracefile.txt

or using the clipboard

git-stacktrace-java --since 30.days

Output:

--- Looking up commits... ---

--- Results ---

commit e362f550bd03fc7fdce4be74c12ec953c420ac69
Commit Date: Thu, 27 Mar 2025 17:22:04 -0300
Author:      Voldermort
Subject:     feat(PERF-1176): View Access: hide Edit actual impact button (#18775)
Files Modified:
    - allocadia-core/src/main/java/com/example/ServiceClass.java

commit bd0d748aa3144f68d6795880cf1309aa67ac1b17
Commit Date: Tue, 18 Mar 2025 11:07:04 -0300
Author:      Malfoy
Subject:     chore(PERF-1162): Overload method getActivities (#18733)
Files Modified:
    - allocadia-core/src/main/java/com/example/ServiceClass.java
    - allocadia-core/src/main/java/com/example/ServiceClass.java:118

📌 Features

  • Finds recent commits related to stacktrace files and code.
  • Supports clipboard and stdin input.
  • Simple and fast troubleshooting during deploys.

💡 Contributing

Feel free to open an issue or submit a pull request!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_stacktrace_java-0.1.3.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_stacktrace_java-0.1.3-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file git_stacktrace_java-0.1.3.tar.gz.

File metadata

  • Download URL: git_stacktrace_java-0.1.3.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for git_stacktrace_java-0.1.3.tar.gz
Algorithm Hash digest
SHA256 bf297f702728ee2c9d0fc82358fb8e1ada031f1660695fca3d91486a1ed50fbe
MD5 85eb105c21f7abc76e21fffcbdf0f90c
BLAKE2b-256 458944dd92f89d888afdfed2aa1e87d7e951aa9dce792f3784b3813c8292c5d0

See more details on using hashes here.

File details

Details for the file git_stacktrace_java-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for git_stacktrace_java-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7ebd81106fb6d2a5dcb4181a1aa676340653ea91c63e1b216391b13c3d4952fd
MD5 0b4999d249c1c5817daa78d1fc055b65
BLAKE2b-256 c664ca7dde687184241809bde4ef36c86abcb62e443a3f288ba087ba8e6b7324

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page