Home
last modified time | relevance | path

Searched refs:Repo (Results 101 – 125 of 5044) sorted by relevance

12345678910>>...202

/dports/www/gitea/gitea-1.16.5/services/mirror/
H A Dmirror_push.go43 if err := addRemoteAndConfig(addr, m.Repo.RepoPath()); err != nil {
47 if m.Repo.HasWiki() {
63 if _, err := cmd.RunInDir(m.Repo.RepoPath()); err != nil {
67 if m.Repo.HasWiki() {
68 if _, err := cmd.RunInDir(m.Repo.WikiPath()); err != nil {
97 ….AddContext(ctx, fmt.Sprintf("Syncing PushMirror %s/%s to %s", m.Repo.OwnerName, m.Repo.Name, m.Re…
103 log.Error("SyncPushMirror [mirror: %d][repo: %-v]: %v", m.ID, m.Repo, err)
131 log.Trace("SyncMirrors [repo: %-v]: syncing LFS objects...", m.Repo)
163 err := performPush(m.Repo.RepoPath())
168 if m.Repo.HasWiki() {
[all …]
/dports/www/gitea/gitea-1.16.5/routers/api/v1/repo/
H A Dkey.go85 RepoID: ctx.Repo.Repository.ID,
102 apiLink := composeDeployKeysAPILink(ctx.Repo.Owner.Name, ctx.Repo.Repository.Name)
110 …if ctx.User.IsAdmin || ((ctx.Repo.Repository.ID == keys[i].RepoID) && (ctx.User.ID == ctx.Repo.Own…
111 apiKeys[i], _ = appendPrivateInformation(apiKeys[i], keys[i], ctx.Repo.Repository)
162 apiLink := composeDeployKeysAPILink(ctx.Repo.Owner.Name, ctx.Repo.Repository.Name)
164 …if ctx.User.IsAdmin || ((ctx.Repo.Repository.ID == key.RepoID) && (ctx.User.ID == ctx.Repo.Owner.I…
165 apiKey, _ = appendPrivateInformation(apiKey, key, ctx.Repo.Repository)
234 key, err := asymkey_model.AddDeployKey(ctx.Repo.Repository.ID, form.Title, content, form.ReadOnly)
241 apiLink := composeDeployKeysAPILink(ctx.Repo.Owner.Name, ctx.Repo.Repository.Name)
H A Dbranch.go78 …br, err := convert.ToBranch(ctx.Repo.Repository, branch, c, branchProtection, ctx.User, ctx.Repo.I…
120 …if err := repo_service.DeleteBranch(ctx.User, ctx.Repo.Repository, ctx.Repo.GitRepo, branchName); …
170 if ctx.Repo.Repository.IsEmpty {
176 opt.OldBranchName = ctx.Repo.Repository.DefaultBranch
219 …br, err := convert.ToBranch(ctx.Repo.Repository, branch, commit, branchProtection, ctx.User, ctx.R…
278 …piBranches[i], err = convert.ToBranch(ctx.Repo.Repository, branches[i], c, branchProtection, ctx.U…
319 repo := ctx.Repo.Repository
356 repo := ctx.Repo.Repository
405 repo := ctx.Repo.Repository
575 repo := ctx.Repo.Repository
[all …]
H A Dfile.go60 if ctx.Repo.Repository.IsEmpty {
65 commit := ctx.Repo.Commit
124 if ctx.Repo.GitRepo == nil {
130 ctx.Repo.GitRepo = gitRepo
166 ec, err := ctx.Repo.GetEditorconfig()
236 if ctx.Repo.Repository.IsEmpty {
323 if ctx.Repo.Repository.IsEmpty {
392 if !canWriteFiles(ctx.Repo) {
395 RepoName: ctx.Repo.Repository.LowerName,
449 if !canWriteFiles(ctx.Repo) {
[all …]
H A Dlabel.go52 …labels, err := models.GetLabelsByRepoID(ctx.Repo.Repository.ID, ctx.FormString("sort"), utils.GetL…
58 count, err := models.CountLabelsByRepoID(ctx.Repo.Repository.ID)
65 ctx.JSON(http.StatusOK, convert.ToLabelList(labels, ctx.Repo.Repository, nil))
102 label, err = models.GetLabelInRepoByName(ctx.Repo.Repository.ID, strID)
104 label, err = models.GetLabelInRepoByID(ctx.Repo.Repository.ID, intID)
115 ctx.JSON(http.StatusOK, convert.ToLabel(label, ctx.Repo.Repository, nil))
161 RepoID: ctx.Repo.Repository.ID,
169 ctx.JSON(http.StatusCreated, convert.ToLabel(label, ctx.Repo.Repository, nil))
209 label, err := models.GetLabelInRepoByID(ctx.Repo.Repository.ID, ctx.ParamsInt64(":id"))
240 ctx.JSON(http.StatusOK, convert.ToLabel(label, ctx.Repo.Repository, nil))
[all …]
/dports/devel/git-town/git-town-7.6.0/test/
H A Drepo.go16 type Repo struct { struct
22 func CreateRepo(t *testing.T) Repo {
39 func InitRepo(workingDir, homeDir, binDir string) (Repo, error) {
52 func NewRepo(workingDir, homeDir, binDir string) Repo {
64 return Repo{runner, shell}
69 func (repo *Repo) Clone(targetDir string) (Repo, error) { argument
72 return Repo{}, fmt.Errorf("cannot clone repo %q: %w", repo.shell.workingDir, err)
78 func (repo *Repo) FilesInBranches() (result DataTable, err error) { argument
102 func CreateTestGitTownRepo(t *testing.T) Repo {
/dports/www/gitea/gitea-1.16.5/modules/upload/
H A Dupload.go81 ctx.Data["UploadUrl"] = ctx.Repo.RepoLink + "/releases/attachments"
82 ctx.Data["UploadRemoveUrl"] = ctx.Repo.RepoLink + "/releases/attachments/remove"
83 ctx.Data["UploadLinkUrl"] = ctx.Repo.RepoLink + "/releases/attachments"
88 ctx.Data["UploadUrl"] = ctx.Repo.RepoLink + "/issues/attachments"
89 ctx.Data["UploadRemoveUrl"] = ctx.Repo.RepoLink + "/issues/attachments/remove"
91 …ctx.Data["UploadLinkUrl"] = ctx.Repo.RepoLink + "/issues/" + url.PathEscape(ctx.Params(":index")) …
93 ctx.Data["UploadLinkUrl"] = ctx.Repo.RepoLink + "/issues/attachments"
99 ctx.Data["UploadUrl"] = ctx.Repo.RepoLink + "/upload-file"
100 ctx.Data["UploadRemoveUrl"] = ctx.Repo.RepoLink + "/upload-remove"
101 ctx.Data["UploadLinkUrl"] = ctx.Repo.RepoLink + "/upload-file"
/dports/sysutils/libdnf/libdnf-0.64.0/python/hawkey/tests/tests/
H A Dtest_repo.py27 r = hawkey.Repo("fog")
29 self.assertRaises(TypeError, hawkey.Repo);
30 self.assertRaises(TypeError, hawkey.Repo, 3)
31 self.assertRaises(TypeError, hawkey.Repo, rain="pouring")
34 r = hawkey.Repo("fog")
38 r2 = hawkey.Repo("blizzard")
44 r = hawkey.Repo('fog')
/dports/sysutils/restic/restic-0.12.1/cmd/restic/
H A Dsecondary_repo_test.go24 Repo: "backupDst",
28 Repo: "backupDst",
67 Repo: "backupDst",
74 Repo: "backupDst",
82 Repo: "backupDst",
89 Repo: "backupDst",
96 Repo: "backupDst",
103 Repo: "backupSrc",
/dports/devel/rebar3/rebar3-3.17.0/src/
H A Drebar_hex_repos.erl79 [maps:merge(maps:merge(Repo, BaseConfig),
80 maps:get(maps:get(name, Repo), Auth, #{})) || Repo <- Repos].
104 [Repo, Org] ->
113 parent => Repo}, ReposAcc);
120 lists:map(fun(Repo=#{repo_name := RepoName,
129 (Repo) ->
130 Repo
134 lists:map(fun(Repo=#{repo_name := ?PUBLIC_HEX_REPO}) ->
136 (Repo=#{name := ?PUBLIC_HEX_REPO}) ->
138 (Repo) ->
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.releng/publish-to-maven-central/
H A DCBIaggregator.sh38 cd ${Repo}
100 /usr/bin/du -sc ${Repo}/*
101 /usr/bin/du -sc ${Repo}/org/*
114 cd ${Repo}
185 /usr/bin/du -sc ${Repo}/*
186 /usr/bin/du -sc ${Repo}/org/*
203 cd ${Repo}
258 /usr/bin/du -sc ${Repo}/*
293 cd ${Repo}
305 cd ${Repo}
[all …]
/dports/sysutils/helm/helm-3.5.2/internal/experimental/registry/
H A Dreference_test.go45 is.Equal("mychart", ref.Repo)
52 is.Equal("mychart", ref.Repo)
59 is.Equal("myrepo/mychart", ref.Repo)
66 is.Equal("myrepo/mychart", ref.Repo)
73 is.Equal("mychart:5001", ref.Repo)
80 is.Equal("myrepo:5001/mychart", ref.Repo)
87 is.Equal("127.0.0.1:5001/mychart", ref.Repo)
94 is.Equal("localhost:5000/mychart", ref.Repo)
101 is.Equal("my.host.com/my/nested/repo", ref.Repo)
108 is.Equal("localhost:5000/x/y/z", ref.Repo)
[all …]
/dports/databases/elixir-ecto/ecto-2.2.10/test/mix/tasks/
H A Decto.dump_load_test.exs21 defmodule Repo do module
22 use Ecto.Repo, otp_app: :ecto, adapter: Adapter
26 use Ecto.Repo, otp_app: :ecto, adapter: NoStructureAdapter
30 Application.put_env(:ecto, __MODULE__.Repo, [])
38 Dump.run ["-r", to_string(Repo)]
39 …assert_received {:mix_shell, :info, ["The structure for Mix.Tasks.Ecto.DumpLoadTest.Repo has been …
44 Dump.run ["-r", to_string(Repo), "--quiet"]
51 Dump.run ["-r", to_string(Repo)]
65 Load.run ["-r", to_string(Repo)]
71 Load.run ["-r", to_string(Repo), "--quiet"]
[all …]
/dports/lang/elixir/elixir-1.12.3/lib/elixir/test/elixir/
H A Dconfig_test.exs48 config :app, Repo, key: :value
49 assert config() == [app: [{Repo, key: :value}]]
51 config :app, Repo, other: :value
52 assert config() == [app: [{Repo, key: :value, other: :value}]]
54 config :app, Repo, key: :other
55 assert config() == [app: [{Repo, other: :value, key: :other}]]
57 config :app, Repo, key: [nested: false]
60 config :app, Repo, key: [nested: true]
63 config :app, Repo, key: :other
64 assert config() == [app: [{Repo, other: :value, key: :other}]]
[all …]
/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/test/elixir/
H A Dconfig_test.exs48 config :app, Repo, key: :value
49 assert config() == [app: [{Repo, key: :value}]]
51 config :app, Repo, other: :value
52 assert config() == [app: [{Repo, key: :value, other: :value}]]
54 config :app, Repo, key: :other
55 assert config() == [app: [{Repo, other: :value, key: :other}]]
57 config :app, Repo, key: [nested: false]
60 config :app, Repo, key: [nested: true]
63 config :app, Repo, key: :other
64 assert config() == [app: [{Repo, other: :value, key: :other}]]
[all …]
/dports/devel/hs-git-annex/git-annex-8.20210903/Git/
H A DRef.hs26 headFile :: Repo -> FilePath
29 setHeadRef :: Ref -> Repo -> IO ()
96 exists :: Ref -> Repo -> IO Bool
106 file :: Ref -> Repo -> FilePath
111 headExists :: Repo -> IO Bool
119 sha :: Branch -> Repo -> IO (Maybe Sha)
131 headSha :: Repo -> IO (Maybe Sha)
135 matching :: [Ref] -> Repo -> IO [(Sha, Branch)]
158 list :: Repo -> IO [(Sha, Ref)]
163 delete :: Sha -> Ref -> Repo -> IO ()
[all …]
H A DLsFiles.hs63 safeForLsFiles :: Repo -> Bool
66 guardSafeForLsFiles :: Repo -> IO a -> IO a
79 inRepo :: [Options] -> [RawFilePath] -> Repo -> IO ([RawFilePath], IO Bool)
128 allFiles :: [Options] -> [RawFilePath] -> Repo -> IO ([RawFilePath], IO Bool)
133 deleted :: [Options] -> [RawFilePath] -> Repo -> IO ([RawFilePath], IO Bool)
142 staged :: [RawFilePath] -> Repo -> IO ([RawFilePath], IO Bool)
147 stagedNotDeleted :: [RawFilePath] -> Repo -> IO ([RawFilePath], IO Bool)
175 stagedDetails :: [RawFilePath] -> Repo -> IO ([StagedDetails], IO Bool)
203 typeChangedStaged :: [RawFilePath] -> Repo -> IO ([RawFilePath], IO Bool)
208 typeChanged :: [RawFilePath] -> Repo -> IO ([RawFilePath], IO Bool)
[all …]
/dports/sysutils/istio/istio-1.6.7/vendor/helm.sh/helm/v3/internal/experimental/registry/
H A Dreference_test.go45 is.Equal("mychart", ref.Repo)
52 is.Equal("mychart", ref.Repo)
59 is.Equal("myrepo/mychart", ref.Repo)
66 is.Equal("myrepo/mychart", ref.Repo)
73 is.Equal("mychart:5001", ref.Repo)
80 is.Equal("myrepo:5001/mychart", ref.Repo)
87 is.Equal("localhost:5000/mychart", ref.Repo)
94 is.Equal("my.host.com/my/nested/repo", ref.Repo)
101 is.Equal("localhost:5000/x/y/z", ref.Repo)
108 is.Equal("localhost:5000/x/y/z", ref.Repo)
/dports/devel/elixir-hex/hex-1.0.1/test/mix/tasks/
H A Dhex.repo_test.exs67 Mix.Tasks.Hex.Repo.run([
88 Mix.Tasks.Hex.Repo.run([
100 Mix.Tasks.Hex.Repo.run([
114 Mix.Tasks.Hex.Repo.run([
131 Mix.Tasks.Hex.Repo.run(["add", "reponame", "url"])
132 Mix.Tasks.Hex.Repo.run(["remove", "reponame"])
141 Mix.Tasks.Hex.Repo.run(["add", "reponame", "url"])
151 Mix.Tasks.Hex.Repo.run(["add", "reponame", "url"])
152 Mix.Tasks.Hex.Repo.run(["show", "reponame", "--url"])
162 Mix.Tasks.Hex.Repo.run(["add", "reponame", "url"])
[all …]
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/cli/cli-20.10.2/docs/reference/commandline/
H A Dtrust_inspect.md47 "Repo Admin"
222 "Repo Admin"
229 "Repo Admin"
236 "Repo Admin"
243 "Repo Admin"
291 "Repo Admin"
298 "Repo Admin"
305 "Repo Admin"
312 "Repo Admin"
319 "Repo Admin"
[all …]
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/cli/docs/reference/commandline/
H A Dtrust_inspect.md47 "Repo Admin"
222 "Repo Admin"
229 "Repo Admin"
236 "Repo Admin"
243 "Repo Admin"
291 "Repo Admin"
298 "Repo Admin"
305 "Repo Admin"
312 "Repo Admin"
319 "Repo Admin"
[all …]
/dports/sysutils/docker/docker-ce-18.09.5/components/cli/docs/reference/commandline/
H A Dtrust_inspect.md51 "Repo Admin"
210 "Repo Admin"
217 "Repo Admin"
224 "Repo Admin"
231 "Repo Admin"
274 "Repo Admin"
281 "Repo Admin"
288 "Repo Admin"
295 "Repo Admin"
302 "Repo Admin"
[all …]
/dports/net/grpcui/grpcui-1.1.0/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/
H A Dsourcerepo.pb.go32 type Repo struct { struct
51 func (m *Repo) Reset() { *m = Repo{} } argument
53 func (*Repo) ProtoMessage() {} argument
67 func (m *Repo) XXX_Size() int { argument
76 func (m *Repo) GetName() string { argument
83 func (m *Repo) GetSize() int64 { argument
90 func (m *Repo) GetUrl() string { argument
333 Repo *Repo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` member
373 return m.Repo
540 out := new(Repo)
[all …]
/dports/security/lego/lego-4.5.3/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/
H A Dsourcerepo.pb.go32 type Repo struct { struct
51 func (m *Repo) Reset() { *m = Repo{} } argument
53 func (*Repo) ProtoMessage() {} argument
67 func (m *Repo) XXX_Size() int { argument
76 func (m *Repo) GetName() string { argument
83 func (m *Repo) GetSize() int64 { argument
90 func (m *Repo) GetUrl() string { argument
333 Repo *Repo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` member
373 return m.Repo
540 out := new(Repo)
[all …]
/dports/net/evans/evans-0.9.1/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/
H A Dsourcerepo.pb.go32 type Repo struct { struct
51 func (m *Repo) Reset() { *m = Repo{} } argument
53 func (*Repo) ProtoMessage() {} argument
67 func (m *Repo) XXX_Size() int { argument
76 func (m *Repo) GetName() string { argument
83 func (m *Repo) GetSize() int64 { argument
90 func (m *Repo) GetUrl() string { argument
333 Repo *Repo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` member
373 return m.Repo
540 out := new(Repo)
[all …]

12345678910>>...202