Skip to content

Conversation

@abs3ntdev
Copy link

@abs3ntdev abs3ntdev commented Mar 30, 2024

this adds gitea support and a very rough framework for adding other host types. it adds two config values for host (git.example.com, gitea.whatever.foo) and host_type(github, gitea).

I tested it very briefly just by egetting some binaries from my personal gitea deployment so could use some additional testing.

example toml config:

host = "git.example.com"
host_type = "gitea"

example command line arguments:

eget --host "git.example.com" --host-type gitea user/repo

closes #61

@tarasglek
Copy link

tarasglek commented Aug 29, 2024

This would solve #110 for me. It's too bad that it prepends api. to host= when hosttype=github

But even in current form, that's something that works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gitea support

2 participants