Skip to content

Commit e9f1f9c

Browse files
Merge branch 'main' into gitea-artifacts-v4
2 parents 764a85f + 61f8ca4 commit e9f1f9c

File tree

151 files changed

+1865
-1088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+1865
-1088
lines changed

assets/go-licenses.json

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/admin.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"code.gitea.io/gitea/models/db"
1212
repo_model "code.gitea.io/gitea/models/repo"
1313
"code.gitea.io/gitea/modules/git"
14+
"code.gitea.io/gitea/modules/gitrepo"
1415
"code.gitea.io/gitea/modules/log"
1516
repo_module "code.gitea.io/gitea/modules/repository"
1617

@@ -122,7 +123,7 @@ func runRepoSyncReleases(_ *cli.Context) error {
122123
log.Trace("Processing next %d repos of %d", len(repos), count)
123124
for _, repo := range repos {
124125
log.Trace("Synchronizing repo %s with path %s", repo.FullName(), repo.RepoPath())
125-
gitRepo, err := git.OpenRepository(ctx, repo.RepoPath())
126+
gitRepo, err := gitrepo.OpenRepository(ctx, repo)
126127
if err != nil {
127128
log.Warn("OpenRepository: %v", err)
128129
continue

docs/content/usage/profile-readme.en-us.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ To display a Markdown file in your Gitea user or organization profile page, crea
1919
Gitea will automatically display the contents of the file on your profile, in a new "Overview" above your repositories.
2020

2121
Making the `.profile` repository private will hide the Profile README.
22+
23+
Example of user with `.profile/README.md`:
24+
25+
![profile readme screenshot](./profile-readme.png)

docs/content/usage/profile-readme.png

32.9 KB
Loading

0 commit comments

Comments
 (0)