voltagex,
@voltagex@aus.social avatar

It is extremely odd that #Gitea and #Forgejo try to match Github Actions 1:1

https://www.youtube.com/watch?v=9qljpi5jiMQ

mattcen,
@mattcen@aus.social avatar

@voltagex Also thank you for sharing this very entertaining video! I'm only 2/3 of the way through it and I'm thoroughly enjoying myself!

voltagex,
@voltagex@aus.social avatar

@mattcen fasterthanlime is a gem.

mattcen,
@mattcen@aus.social avatar

@voltagex I had never seen any of their content before!

mattcen,
@mattcen@aus.social avatar

@voltagex I mean, my interpretation is that they want to smooth the migration path from GitHub to Forgejo/Gitea by using Act, and there's no requirement to use Actions; I use Woodpecker on my Forgejo instance. Not saying implementing Actions is the best choice; just that I understand a plausible rationale.

voltagex,
@voltagex@aus.social avatar

@mattcen Yeah I understand it on that level too, but I am frustrated by lots of different software following the same decisions and not trying anything new.

voltagex,
@voltagex@aus.social avatar

@mattcen Thanks for the reminder that Woodpecker/Drone exists!

voltagex,
@voltagex@aus.social avatar
mattcen,
@mattcen@aus.social avatar

@voltagex FWIW I have this working if you want help debugging. I wonder if the "unknown version" is provided as extra context but isn't necessarily meaning that it is the cause of the problem (which of course would mean the error is poorly explained regardless)

voltagex,
@voltagex@aus.social avatar

@mattcen https://gitea.com/gitea/go-sdk/src/branch/main/gitea/version.go#L81

I am not sure I want to chase this across three projects.

The root cause seems to be that I compiled Forgejo from source (needed an arm64 build, the downloads were unavailable) and it's tagged the build with a git version instead of a semver.

Of course, API versions not binary versions should be checked.

mattcen,
@mattcen@aus.social avatar
voltagex,
@voltagex@aus.social avatar

@mattcen this was down the day I installed Forgejo, I will roll back to that and try, thanks.

mattcen,
@mattcen@aus.social avatar

@voltagex Ah, I assume you tried when Codeberg was being DDoSed.

voltagex,
@voltagex@aus.social avatar

@mattcen 2024/01/21 21:33:19 ...ations/migrations.go:633:Migrate() [F] Migration Error: Your database (migration version: 284) is for a newer Gitea, you can not use the newer database for this old Gitea release (280).

🙃

mattcen,
@mattcen@aus.social avatar

@voltagex oh dear.

voltagex,
@voltagex@aus.social avatar

@mattcen I did some "risky" changes to my database (took a guess and rolled back forgejo_version and version)

I am now getting ERR cannot register voltagex. registration closed

Edit: set WOODPECKER_OPEN correctly and I got it working!

voltagex,
@voltagex@aus.social avatar

@mattcen next problem, for another day, Caddy doesn't want to be a reverse proxy for GRPC.

mattcen,
@mattcen@aus.social avatar

@voltagex Ah, I can't help you there; I've never used Caddy! I use Træfik and proxy via http I think.

voltagex,
@voltagex@aus.social avatar

@mattcen can Traefik switch between GRPC and HTTPS over the same port?

mattcen,
@mattcen@aus.social avatar

@voltagex sorry, I'm not sure; I don't think I've used it for gRPC.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • provamag3
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines