-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1,153 changed files
with
544,653 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.flatpak-builder | ||
src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="desktop-application"> | ||
<id>co.honnef.Gotraceui</id> | ||
<name>Gotraceui</name> | ||
<developer_name>Gotraceui developers</developer_name> | ||
<summary>Go execution trace frontend</summary> | ||
<metadata_license>MIT</metadata_license> | ||
<project_license>MIT</project_license> | ||
<recommends> | ||
<control>pointing</control> | ||
<control>keyboard</control> | ||
</recommends> | ||
<description> | ||
<p> | ||
Gotraceui is a tool for visualizing and analyzing Go execution traces. | ||
It is meant to be a faster, more accessible, and more powerful alternative to <pre>go tool trace</pre>. | ||
Unlike <pre>go tool trace</pre>, Gotraceui doesn’t use deprecated browser APIs (or a browser at all), and its UI is tuned specifically to the unique characteristics of Go traces. | ||
</p> | ||
</description> | ||
<launchable type="desktop-id">co.honnef.Gotraceui.desktop</launchable> | ||
<screenshots> | ||
<screenshot type="default"> | ||
<image>https://user-images.githubusercontent.com/39825/228830850-d0f324dd-10bc-47e9-99d4-0936cbb79492.png</image> | ||
</screenshot> | ||
</screenshots> | ||
|
||
<url type="homepage">https://github.com/dominikh/gotraceui/</url> | ||
<url type="help">https://github.com/dominikh/gotraceui/releases/download/v0.1.0/gotraceui.pdf</url> | ||
|
||
<content_rating type="oars-1.1" /> | ||
<releases> | ||
<release version="0.1.0" date="2023-03-30" type="stable"> | ||
<description> | ||
<p> | ||
This is the first release of Gotraceui, the efficient frontend for Go execution traces. | ||
It is the culmination of nine months of work and over 700 commits. | ||
</p> | ||
<p> | ||
The attached PDF is a manual explaining most aspects of Gotraceui, including how to install it. | ||
</p> | ||
<p> | ||
All of the essential features are there and Gotraceui should be a better alternative to <pre>go tool trace</pre> in 90% of cases. | ||
Nevertheless, this is only the beginning. | ||
</p> | ||
</description> | ||
<url type="details">https://github.com/dominikh/gotraceui/releases/tag/v0.1.0</url> | ||
</release> | ||
</releases> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"app-id": "co.honnef.Gotraceui", | ||
"runtime": "org.freedesktop.Platform", | ||
"runtime-version": "22.08", | ||
"sdk": "org.freedesktop.Sdk", | ||
"sdk-extensions": [ | ||
"org.freedesktop.Sdk.Extension.golang" | ||
], | ||
"command": "gotraceui", | ||
"finish-args": [ | ||
"--device=dri", | ||
"--socket=wayland", | ||
"--filesystem=host" | ||
], | ||
"build-options": { | ||
"env": [ | ||
"GOBIN=/app/bin", | ||
"GOROOT=/usr/lib/sdk/golang" | ||
] | ||
}, | ||
"modules": [ | ||
{ | ||
"name": "gotraceui", | ||
"buildsystem": "simple", | ||
"build-commands": [ | ||
"cd src && $GOROOT/bin/go build -trimpath -o ../gotraceui -tags nox11 -ldflags \"-X gioui.org/app.ID=$FLATPAK_ID\" ./cmd/gotraceui", | ||
"install -Dm00755 gotraceui $FLATPAK_DEST/bin/gotraceui", | ||
"install -Dm00644 $FLATPAK_ID.appdata.xml $FLATPAK_DEST/share/appdata/$FLATPAK_ID.appdata.xml", | ||
"cd src/share && find . -type f -exec install -Dm00644 {} $FLATPAK_DEST/share/{} \\;", | ||
"sed -i -e /^Icon/s/gotraceui/$FLATPAK_ID/ $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop", | ||
"find $FLATPAK_DEST/share -name 1024x1024 -type d -exec rm -rf {} +", | ||
"find $FLATPAK_DEST/share -name gotraceui.png -execdir mv {} $FLATPAK_ID.png \\;", | ||
"find $FLATPAK_DEST/share -name gotraceui.svg -execdir mv {} $FLATPAK_ID.svg \\;", | ||
"find $FLATPAK_DEST/share -name x-gotraceui.xml -execdir mv {} $FLATPAK_ID.xml \\;" | ||
], | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"tag": "v0.1.0", | ||
"url": "https://github.com/dominikh/gotraceui.git", | ||
"dest": "src" | ||
}, | ||
{ | ||
"type": "dir", | ||
"path": "./vendor", | ||
"dest": "src/vendor" | ||
}, | ||
{ | ||
"type": "file", | ||
"path": "co.honnef.Gotraceui.appdata.xml" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
set -ex | ||
test -d src || git clone "$(jq -r '.modules[0].sources[0].url' co.honnef.Gotraceui.json)" src | ||
( | ||
cd src | ||
git fetch origin | ||
git checkout "$(jq -r '.modules[0].sources[0].tag' ../co.honnef.Gotraceui.json)" | ||
go mod vendor -o ../vendor | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.