forgejo/models
Philip Peterson 03508b33a8
[FEAT] Allow pushmirror to use publickey authentication
- Continuation of https://github.com/go-gitea/gitea/pull/18835 (by
@Gusted, so it's fine to change copyright holder to Forgejo).
- Add the option to use SSH for push mirrors, this would allow for the
deploy keys feature to be used and not require tokens to be used which
cannot be limited to a specific repository. The private key is stored
encrypted (via the `keying` module) on the database and NEVER given to
the user, to avoid accidental exposure and misuse.
- CAVEAT: This does require the `ssh` binary to be present, which may
not be available in containerized environments, this could be solved by
adding a SSH client into forgejo itself and use the forgejo binary as
SSH command, but should be done in another PR.
- CAVEAT: Mirroring of LFS content is not supported, this would require
the previous stated problem to be solved due to LFS authentication (an
attempt was made at forgejo/forgejo#2544).
- Integration test added.
- Resolves #4416
2024-08-22 17:05:07 +02:00
..
actions Support compression for Actions logs (#31761) 2024-08-13 06:51:49 +02:00
activities Fix linting issues 2024-08-18 16:25:13 +02:00
admin
asymkey Merge pull request '[gitea] week 2024-34 cherry pick (gitea/main -> forgejo)' (#4998) from earl-warren/wcp/2024-34 into forgejo 2024-08-20 06:32:09 +00:00
auth Fix linting issues 2024-08-18 16:25:13 +02:00
avatars
db style: reenable switch check 2024-08-18 15:19:01 +02:00
dbfs
fixtures [BUG] Don't fire notification for comment of pending review 2024-08-18 17:04:00 +02:00
forgefed
forgejo/semver
forgejo_migrations [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
git Merge pull request '[gitea] week 2024-34 cherry pick (gitea/main -> forgejo)' (#4998) from earl-warren/wcp/2024-34 into forgejo 2024-08-20 06:32:09 +00:00
issues Fix null requested_reviewer from API (#31773) 2024-08-13 06:51:49 +02:00
migrations Fix linting issues 2024-08-18 16:25:13 +02:00
organization
packages Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
perm
project Fix the display of project type for deleted projects (#31732) 2024-08-04 10:14:34 +02:00
pull
quota feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
repo [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
secret Clarify Actions resources ownership (#31724) 2024-08-04 18:24:10 +02:00
shared/types
system
unit
unittest
user Fix linting issues 2024-08-18 16:25:13 +02:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go