Skip to content

Conversation

@lunny
Copy link
Member

@lunny lunny commented Oct 17, 2025

Only regular files will be expanded when creating a repository from a template repository.
Another change is to remove SSH public key comment in the authorized_keys file because their useless for authentication.

@lunny lunny added type/bug backport/v1.24 This PR should be backported to Gitea 1.24 backport/v1.25 labels Oct 17, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 17, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Oct 17, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 20, 2025
@wxiaoguang
Copy link
Contributor

I don't think it is complete. At least:

  1. put the username after the SSH key to make site admin know whose keys they are
  2. filter out more paths like ".git"

@wxiaoguang
Copy link
Contributor

Will rewrite

@wxiaoguang wxiaoguang closed this Oct 20, 2025
@wxiaoguang wxiaoguang deleted the lunny/fix_template_repo_expansion branch October 20, 2025 05:29
@lunny lunny removed backport/v1.24 This PR should be backported to Gitea 1.24 backport/v1.25 labels Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 1 This PR needs approval from one additional maintainer to be merged. modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants