-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
GitHub desktop #1775
GitHub desktop #1775
Conversation
arm64 only, works on ubuntu bionic/debian buster and newer
@theofficialgman could you send the instructions to build please? |
as I described over here shiftkey/desktop#251 (comment) shiftkey/desktop#251 (comment) its a bit complicated, I still need to make some .patch files of the dugite-native and desktop repos so it can be replicated by others. edit: also github refuses to accept my .patch files and .txt and zip files for unknown reasons if I try to attach them to this reply |
@ryanfortner I would suggest using my deb. this has the most compatibility the same as upstream github desktop (ubuntu bionic and newer) regardless here are the instructions: Patch for dugite-native (https://github.com/desktop/dugite-native):
this will give you a file named close to shiftkey github desktop needs no patches for ARM64 (https://github.com/shiftkey/desktop) (except in the case where the electron version is bad, check to make sure electron is not on theofficialgman's list of bad electron versions: #1930 (comment)): all from the main folder of the repo. apply the patch above first:
then extract the dugite-native tar.gz into
continue from the main repo folder:
you should now have the packages in the keep in mind none of these changes are upstreamable, and are just meant for making the package locally. upstream builds on github actions where native arm64 builds are not easily (or quickly which is the problem) possible |
Could this be built on armhf? |
not sure yet.. I'm still making my bionic armhf debootstrap. if all the npm dependencies have armhf binaries (when they do have binaries, not all of them do) then yes.. but if they don't its going to be a deep rabbit hold of making them |
got my bionic armhf chroot made and my dependencies and updated npm and yarn repos added. I've built armhf dugite-native already (it its basically gitweb, git, curl, and a few other things all smashed together). github desktop is a much longer build... we will see how that goes I've updated my instructions a bit, I forgot about a couple of steps before. |
as I expected github-desktop is proving harder.. but not for the reason I expected. npm is installing the windows dependencies even though I'm running on linux (even though they were never used). this went fine on arm64 since there is an arm64 windows release. there is no npm arm32 windows support in most things so its failing. so now I'm having to purge the windows crap to build armhf linux. actually disabling the windows depends when built on linux is probably possible, but I know 0 npm so thats a problem for the upstream developer |
I have built ARMhf Github Desktop 🎉 Incoming deb, appimage, and rpm @Crilum @ryanfortner @Botspot needs testing, same location its too late in the day for me to document what additional changes were necessary. I'd post patch files tomorrow or another day edit: I just skipped login, I assume that works. cloning and everything else works. so I think this is all good |
@theofficialgman On armhf I've signed in, and have opened a repo, it looks and feels really smooth. I probably won't be able to do extensive testing till tomorrow, but so far, looks good! |
Ok, one error so far: In the When this gets added to Pi-Apps, |
After a few minutes of just looking through the menus, GH Desktop randomly seg-faulted... |
I think this was a random occurrence, and it doesn't need to be worried about. |
The armhf AppImage works fine as well... |
Yeah this is just due to how github desktop is coded. The list of supported terminals is small. I know xterm, gnome-terminal, and konsole is in that list. What terminal does piOS have installed by default? |
PiOS comes preinstalled with lxterminal |
Ok here is the list of supported terminals. if you (or someone) correctly updates that file fully for lxterminal and PRs upstream, I'll pull the changes and rebuild |
Well then u need to add lxterminal for lxde (possibly name shell may be other name) but lxde is now dead. LxQt is the new successor for lxde |
Better just add xterm as a dependency |
LXDE is still actively developed. LXQt is a separate project. LXDE is gtk based. LXQt is QT based. both very different gui libraries |
@Jai-JAP which one looks better themed/integrated on piOS lxde, gnome-terminal or xterm? also what is the default text/code editor on piOS? the list of supported ones is here https://github.com/shiftkey/desktop/blob/linux/app/src/lib/editors/linux.ts |
For editor its geany on PiOS. and mousepad on twister os tou need to add them both. And lxterminal looks good on PiOS when themed but i haven't tried other terminals |
ok then I'll just add geany and lxterminal upstream to github desktop and hold back this PR till merged |
on second thought, lets just add gnome-terminal and gedit for now to the depends so this can be merged ^. |
Wait until someone confirms shell name on PiOS. I'm not sure if its LXDE or PIXEL or something else. |
lxterminal is the name of the shell on LXDE, piOS uses LXDE so I don't expect them to change the name |
PR opened for geany and lxterminal: I have built arm64 binaries but I can't upload them right now. will do later today |
@Itai-Nelken @Botspot updated the debs so that lxterminal and geany are supported for both armhf and arm64 once that is merged, this can be merged as well |
new debs include lxterminal and geany support (among other terminal/editors)
@theofficialgman also add mousepad to supported editors as twister os uses it by default. |
I'll add it to the PR for github desktop. I won't rebuild since that takes to much time for little benefit, but whenever github desktop 3.1 releases I'll rebuild then |
Merged. |
@Botspot can you add the bitly links and then I'll merge? |
armhf and arm64
Do not merge until this exists in pi-apps-coders files first
Pi-Apps-Coders/files#29
yes I made this from github desktop on my switch