New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git issue templates #172
Git issue templates #172
Conversation
Thanks, I was thinking about issue templates like these.
I'll probably remove it completely or add some CLI flag to log sensitive info as I think auth works correctly now. I'll probably do the same thing with downloader and other too verbose logging. Suggest what else should be removed/hidden behind a CLI flag.
Yes, I wanted to release it already, but there are some unfinished things every time I think about it. 🙂 |
I'm not sure. I'm used to logs being very verbose, but perhaps it makes it harder to separate signal from noise. You're the one who has to read them though, so you can change what's being logged based on getting too much or too little info.
You're welcome 😉 |
|
|
Nice! I didn't have retroarch and got a warning (I'm guessing this is true for optdependencies like compatibility layers too?), and the branch detection fails with arch packages (though I think this is fines since you still get the hash)
|
So I assume Do you know a way to get branch in that case? Can you try some solutions from https://stackoverflow.com/questions/6245570 to see if it's possible to get a correct branch name? |
There are even more problems with this in AppVeyor and Launchpad builds. Both can be fixed by passing version via meson options.
|
meson will now accept |
Yeah, apparently this is how it's done (didn't have any reason to find out before). It clones the bare repo (no files) first, then checks out the files from there to another directory with the branch
|
Commented on the gamehub-git AUR board with the update. |
Now there's a $ src/com.github.tkashkin.gamehub --gdb
[INFO] Restarting with GDB
[DEBUG] [Utils.run_async] Running {'xterm' '-geometry' '128x48' '-fa' 'Monospace' '-fs' '12' '-e' 'gdb' '-ex' 'set args --debug' '-ex' 'set pagination off' '-ex' 'run' 'src/com.github.tkashkin.gamehub'} in '/home/tk/Projects/GameHub/build' I'm not exactly sure about |
I was thinking about something like that too. However, I think the way it's currently implemented is more complicated than before, and adding settings would make it even more so. Seeing as this is (hopefully) not something users would have to do a lot, I think the "less is more" way is better. I like the If it's possible to figure out a way for it to automatically backtrace and exit I think that'd help a lot. Then it could run non-interactively, and users could redirect the output to a file with (I couldn't actually reproduce a crash now even with an old GameHub version for some reason, so I'm not able to test crashes currently) |
I have tried to restart app in the same terminal session, but there are a few problems that are easily solved by starting a new terminal session.
I'll think how can it be improved. |
Didn't you add this pretty recently? It was on my list of issues since I was able to launch two instances, but then I noticed that you had implemented it 👍 I think as long as it can detect this and print a helpful message to the user they'll know what to do. I actually think this is better than closing the app. It could be in the middle of something. If it's installing a game or showing the executable prompt after an install for example it could be confusing for users if they run debugging and it's restarted. The next time the game will not be marked as installed afaik. |
It's default GTK command line behavior and it's worked this way in GameHub since beginning or at least since there are any CLI options. 😕 If you have one instance running, you can, for example, run CLI args are passed to and parsed in old instance, new instance just passes the args and dies. This behavior is great, but it's the problem for restart. |
I see. I guess my usage pattern changed then. I created a new issue for it #175. No hurry for me personally on that one. |
Restart with GDB in the same terminal session (#172)
I have reworked CLI options parsing. Now it will parse local options like It allows to restart app with GDB in the same terminal session. I also have found this gist. It should launch GDB automatically, finish it when app closes and display backtrace if app crashes. It will display |
This is perfect imo! 👍 Too bad you fixed the crashes first so I have nothing to test this with now 😉 |
Add `--log-workers` option (tkashkin#172) Migrate to `Gtk.Application` from `Granite.Application` Former-commit-id: 70741b5
Git issue templates Former-commit-id: fab595b
Former-commit-id: 3012de1
Former-commit-id: c40d2e8
Former-commit-id: 0707816
Former-commit-id: 5c7c5cd
Former-commit-id: 4f2e093
Restart with GDB in the same terminal session (tkashkin#172) Former-commit-id: 0bbe7ee
Issue template suggestions (can be tested here)
Some of these may not be strictly needed:
bt full
may not be more useful for you than justbt
. You never asked me to usefull
, but I figured more info is better (set pagination off
is to avoid the pager forbt full
)Also, it may be possible to make these instructions simpler. For example:
--version
cli option that prints the version (including git hash since the semver release isn't unique).