Gogs not available for Odroid C2?

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
MadKernel
Posts: 5
Joined: Mon Nov 16, 2020 11:54 pm

Gogs not available for Odroid C2?

Post by MadKernel »

Hi,

I intended to install Gogs on my Odroid C2, but it is not listed in the available software list and I have found one post suggesting it might not be available for this specific board.

Is that so?

If so, why? and dhould I be able to install it in my own or the C2 is fundamentally incompatible with Gogs for some reason?

My interest in Gogs is that I am looking for the lightest Git alternative that I could find, and I´m under the impression that it is much lighter than Gitea.

Any insights will be appreciated.

Thank you.
User avatar
Joulinar
Posts: 2572
Joined: Sat Nov 16, 2019 12:49 am

Re: Gogs not available for Odroid C2?

Post by Joulinar »

Hi,

you could run following to check if a software title is available or blocked for your device

Code: Select all

dietpi-software list | grep gogs
Of course you are free to install it manually yourself.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
MadKernel
Posts: 5
Joined: Mon Nov 16, 2020 11:54 pm

Re: Gogs not available for Odroid C2?

Post by MadKernel »

Hi,

ok, that outputs ...
gogs: personal github server with web interface | +git +mariadb disabled for aarch64 | viewtopic.php?p=2187#p2187
...which confirms it is not available for this specific arch.

I'm curious as to why though, so I can asses if it is something I can eventually resolve or it is plain impossible with this board.

Thanks.
User avatar
Joulinar
Posts: 2572
Joined: Sat Nov 16, 2019 12:49 am

Re: Gogs not available for Odroid C2?

Post by Joulinar »

probably due to aarch64 architecture. I guess @MichaIng knows why it's disabled.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2422
Joined: Sat Nov 18, 2017 6:21 pm

Re: Gogs not available for Odroid C2?

Post by MichaIng »

Yes there were no ARMv8 binaries available until just the very last release: https://github.com/gogs/gogs/releases/
:D I'll implement/enable it tomorrow for next release, you should be able to apply the changes manually then.

EDIT: Fix on the way: https://github.com/MichaIng/DietPi/pull/3922
Since the file names have been reasonably standardised, sadly a one-liner fix is not that easy, although the following would work:
Remove this line to enable it for ARMv8: https://github.com/MichaIng/DietPi/pull ... ef8c5L1015
Replace the URL in the very first fallback_url: https://github.com/MichaIng/DietPi/pull ... ef8c5L5224
with: https://github.com/gogs/gogs/releases/d ... mv8.tar.gz
which is the currently latest (and only) ARMv8 build.
Post Reply