-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Guess update information based on GitHub Actions environment variables #1075
base: master
Are you sure you want to change the base?
Conversation
@probonopd this is my first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is okay, but the implementation needs to be improved. I commented on most of the problems. Please fix, I'll re-review then.
Reads the GITHUB_REPOSITORY and GITHUB_REF environment variables and attempts to generate an appropriate updateinformation Adapted from https://github.com/probonopd/go-appimage/blob/7fab45552eb485c0076fd310835fa7958f981de0/src/appimagetool/appimagetool.go\#L547-L567
Move travis_ci specific documentation to travis_repo_slug `if` block
4501e1c
to
4e7307a
Compare
@TheAssassin I guess I fixed the issues which you mentioned. Please review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@TheAssassin if you have few minutes to spare, could you please review this merge request, so that I can update accordingly? Thanks!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted the most important problems. Will re-check when those are fixed.
Hello @srevinsaju do you think you can address the points raised by @TheAssassin and @codewiz above? I'd really like to see this merged for probonopd/Zoom.AppImage#1. |
…ateinformation max size
…ant to top of file)
@TheAssassin so you mean, I should not use a constant? and keep literals, or move the constant a bit more down? |
A |
At the same position where it is, right? |
Obviously not. You should place it before the first use. |
ok, got it! |
we already checked if github_ref was NULL
… instead of defining it globally
@TheAssassin I hope I fixed all of what you have mentioned above. This makes me think about using more safer languages like Rust, or at least modern C++. @TheAssassin kindly review |
Like Golang? Reminds me of probonopd/go-appimage#99 :) |
Yea GoLang can be considered as a safe language too. I am interested in v2 of GoLang, its more interesting 🚀 If I go by preference of languages:
|
Reference: probonopd/linuxdeployqt#316 |
Hi, is the PR still maintained? It's says this branch is out-of date with the base, I'd like to see this feature, how can I help? Coming from probonopd/Zoom.AppImage#1 |
Updated. |
Thanks for updating @srevinsaju. Hello @TheAssassin
Would be great if you could re-check if you find the time. I think this would be valuable to get merged soon. Thanks! |
Reads the GITHUB_REPOSITORY and GITHUB_REF environment variables
and attempts to generate an appropriate updateinformation
Adapted from https://github.com/probonopd/go-appimage/blob/7fab45552eb485c0076fd310835fa7958f981de0/src/appimagetool/appimagetool.go\#L547-L567
Sample run