[v11.0/forgejo] chore: branding import path (#7354)
Some checks failed
testing / frontend-checks (push) Has been skipped
/ release (push) Waiting to run
testing / backend-checks (push) Has been skipped
testing / test-unit (push) Has been skipped
testing / test-e2e (push) Has been skipped
testing / test-mysql (push) Has been skipped
testing / test-pgsql (push) Has been skipped
testing / test-sqlite (push) Has been skipped
testing / test-remote-cacher (redis) (push) Has been skipped
testing / test-remote-cacher (valkey) (push) Has been skipped
testing / test-remote-cacher (garnet) (push) Has been skipped
testing / test-remote-cacher (redict) (push) Has been skipped
testing / security-check (push) Has been skipped
Integration tests for the release process / release-simulation (push) Has been cancelled

**Backport:** https://codeberg.org/forgejo/forgejo/pulls/7337

- Massive replacement of changing `code.gitea.io/gitea` to `forgejo.org`.
- Resolves forgejo/discussions#258

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7354
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
forgejo-backport-action 2025-03-27 20:13:05 +00:00 committed by Gusted
parent 0a6a6d351d
commit e286457990
2097 changed files with 10675 additions and 10674 deletions

View file

@ -14,7 +14,7 @@ import (
"strconv"
"strings"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
"github.com/djherbis/buffer"
"github.com/djherbis/nio/v3"

View file

@ -11,8 +11,8 @@ import (
"io"
"os"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/log"
"forgejo.org/modules/util"
)
// BlamePart represents block of blame - continuous lines with one sha

View file

@ -10,9 +10,9 @@ import (
"encoding/base64"
"io"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/typesniffer"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/log"
"forgejo.org/modules/typesniffer"
"forgejo.org/modules/util"
)
// Blob represents a Git object.

View file

@ -16,10 +16,10 @@ import (
"strings"
"time"
"code.gitea.io/gitea/modules/git/internal" //nolint:depguard // only this file can use the internal type CmdArg, other files and packages should use AddXxx functions
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/git/internal" //nolint:depguard // only this file can use the internal type CmdArg, other files and packages should use AddXxx functions
"forgejo.org/modules/log"
"forgejo.org/modules/process"
"forgejo.org/modules/util"
)
// TrustedCmdArgs returns the trusted arguments for git command.

View file

@ -15,8 +15,8 @@ import (
"strconv"
"strings"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/log"
"forgejo.org/modules/util"
"github.com/go-git/go-git/v5/config"
)

View file

@ -10,7 +10,7 @@ import (
"path"
"sort"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
)
// CommitInfo describes the first commit with the provided entry

View file

@ -14,7 +14,7 @@ import (
"strconv"
"strings"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
)
// RawDiffType type of a raw diff.

View file

@ -9,7 +9,7 @@ import (
"fmt"
"strings"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/util"
)
// ErrNotExist commit not exist error

View file

@ -6,7 +6,7 @@ package foreachref_test
import (
"testing"
"code.gitea.io/gitea/modules/git/foreachref"
"forgejo.org/modules/git/foreachref"
"github.com/stretchr/testify/require"
)

View file

@ -10,8 +10,8 @@ import (
"strings"
"testing"
"code.gitea.io/gitea/modules/git/foreachref"
"code.gitea.io/gitea/modules/json"
"forgejo.org/modules/git/foreachref"
"forgejo.org/modules/json"
"github.com/stretchr/testify/require"
)

View file

@ -16,8 +16,8 @@ import (
"strings"
"time"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"forgejo.org/modules/log"
"forgejo.org/modules/setting"
"github.com/hashicorp/go-version"
)

View file

@ -10,8 +10,8 @@ import (
"strings"
"testing"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/setting"
"forgejo.org/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -17,8 +17,8 @@ import (
"strings"
"time"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"forgejo.org/modules/log"
"forgejo.org/modules/setting"
)
type GrepResult struct {

View file

@ -11,8 +11,8 @@ import (
"path/filepath"
"strings"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/log"
"forgejo.org/modules/util"
)
// hookNames is a list of Git server hooks' name that are supported.

View file

@ -8,8 +8,8 @@ import (
"crypto/sha256"
"fmt"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"forgejo.org/modules/log"
"forgejo.org/modules/setting"
)
// Cache represents a caching interface

View file

@ -13,7 +13,7 @@ import (
"sort"
"strings"
"code.gitea.io/gitea/modules/container"
"forgejo.org/modules/container"
"github.com/djherbis/buffer"
"github.com/djherbis/nio/v3"

View file

@ -9,7 +9,7 @@ import (
"os"
"strings"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
)
// NotesRef is the git ref where Gitea will look for git-notes data.

View file

@ -7,8 +7,8 @@ import (
"path/filepath"
"testing"
"code.gitea.io/gitea/models/unittest"
"code.gitea.io/gitea/modules/git"
"forgejo.org/models/unittest"
"forgejo.org/modules/git"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -11,7 +11,7 @@ import (
"strconv"
"strings"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
)
// ParseTreeEntries parses the output of a `git ls-tree -l` command.

View file

@ -13,8 +13,8 @@ import (
"strings"
"sync"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/git"
"forgejo.org/modules/log"
)
// CatFileBatchCheck runs cat-file with --batch-check

View file

@ -13,7 +13,7 @@ import (
"sync"
"time"
"code.gitea.io/gitea/modules/git"
"forgejo.org/modules/git"
)
// LFSResult represents commits found using a provided pointer file hash

View file

@ -11,7 +11,7 @@ import (
"strings"
"sync"
"code.gitea.io/gitea/modules/git"
"forgejo.org/modules/git"
)
// NameRevStdin runs name-rev --stdin

View file

@ -12,8 +12,8 @@ import (
"strings"
"sync"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/git"
"forgejo.org/modules/log"
)
// RevListAllObjects runs rev-list --objects --all and writes to a pipewriter

View file

@ -7,7 +7,7 @@ import (
"regexp"
"strings"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/util"
)
const (

View file

@ -7,7 +7,7 @@ import (
"context"
"strings"
giturl "code.gitea.io/gitea/modules/git/url"
giturl "forgejo.org/modules/git/url"
)
// GetRemoteAddress returns remote url of git repository in the repoPath with special remote name

View file

@ -18,9 +18,9 @@ import (
"strings"
"time"
"code.gitea.io/gitea/modules/proxy"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/proxy"
"forgejo.org/modules/setting"
"forgejo.org/modules/util"
)
// GPGSettings represents the default GPG settings for this repository

View file

@ -13,7 +13,7 @@ import (
"strings"
"sync/atomic"
"code.gitea.io/gitea/modules/optional"
"forgejo.org/modules/optional"
)
var LinguistAttributes = []string{"linguist-vendored", "linguist-generated", "linguist-language", "gitlab-language", "linguist-documentation", "linguist-detectable"}

View file

@ -15,7 +15,7 @@ import (
"testing"
"time"
"code.gitea.io/gitea/modules/test"
"forgejo.org/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -10,7 +10,7 @@ import (
"errors"
"path/filepath"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
)
// Repository represents a Git repository.

View file

@ -13,7 +13,7 @@ import (
"io"
"strings"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
)
// BranchPrefix base dir of the branch information file store on git

View file

@ -12,9 +12,9 @@ import (
"strconv"
"strings"
"code.gitea.io/gitea/modules/cache"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"forgejo.org/modules/cache"
"forgejo.org/modules/log"
"forgejo.org/modules/setting"
)
// GetBranchCommitID returns last commit ID string of given branch.

View file

@ -7,8 +7,8 @@ import (
"path/filepath"
"testing"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/test"
"forgejo.org/modules/setting"
"forgejo.org/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -18,7 +18,7 @@ import (
"strings"
"time"
logger "code.gitea.io/gitea/modules/log"
logger "forgejo.org/modules/log"
)
// CompareInfo represents needed information for comparing references.

View file

@ -8,7 +8,7 @@ import (
"fmt"
"strings"
"code.gitea.io/gitea/modules/process"
"forgejo.org/modules/process"
)
// LoadPublicKeyContent will load the key from gpg

View file

@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/log"
"forgejo.org/modules/util"
)
// ReadTreeToIndex reads a treeish to the index

View file

@ -10,9 +10,9 @@ import (
"strings"
"unicode"
"code.gitea.io/gitea/modules/analyze"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/optional"
"forgejo.org/modules/analyze"
"forgejo.org/modules/log"
"forgejo.org/modules/optional"
"github.com/go-enry/go-enry/v2"
)

View file

@ -10,7 +10,7 @@ import (
"io"
"strings"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/util"
)
// GetRefs returns all references of the repository.

View file

@ -13,7 +13,7 @@ import (
"strings"
"time"
"code.gitea.io/gitea/modules/container"
"forgejo.org/modules/container"
)
// CodeActivityStats represents git statistics data

View file

@ -11,9 +11,9 @@ import (
"slices"
"strings"
"code.gitea.io/gitea/modules/git/foreachref"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/git/foreachref"
"forgejo.org/modules/log"
"forgejo.org/modules/util"
)
// TagPrefix tags prefix path on the repository

View file

@ -10,8 +10,8 @@ import (
"strings"
"time"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
"forgejo.org/modules/log"
"forgejo.org/modules/util"
)
// Signature represents the Author, Committer or Tagger information.

View file

@ -7,8 +7,8 @@ import (
"bytes"
"strings"
api "code.gitea.io/gitea/modules/structs"
"code.gitea.io/gitea/modules/util"
api "forgejo.org/modules/structs"
"forgejo.org/modules/util"
)
const (

View file

@ -9,7 +9,7 @@ import (
"sort"
"strings"
"code.gitea.io/gitea/modules/log"
"forgejo.org/modules/log"
)
// TreeEntry the leaf in the git tree