Skip to content
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

gitea support #99

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

gitea support #99

wants to merge 3 commits into from

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