Home
last modified time | relevance | path

Searched refs:repo (Results 1 – 25 of 117) sorted by relevance

12345

/openbsd/src/usr.bin/cvs/
Dhistory.c72 char revbuf[CVS_REV_BUFSZ], repo[PATH_MAX], fpath[PATH_MAX]; in cvs_history_add() local
91 repo, sizeof(repo)); in cvs_history_add()
93 cvs_get_repository_name(argument, repo, sizeof(repo)); in cvs_history_add()
118 history_compress(p, repo); in cvs_history_add()
173 getlogin(), cwd, repo, rev, in cvs_history_add()
189 history_compress(char *wdir, const char *repo) in history_compress() argument
195 repo_len = strlen(repo); in history_compress()
199 q = repo + repo_len; in history_compress()
201 while (p >= wdir && q >= repo) { in history_compress()
211 if (repo + repo_len - q < 3) in history_compress()
[all …]
Drepository.c31 cvs_repository_unlock(const char *repo) in cvs_repository_unlock() argument
35 cvs_log(LP_TRACE, "cvs_repository_unlock(%s)", repo); in cvs_repository_unlock()
37 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK); in cvs_repository_unlock()
44 cvs_repository_lock(const char *repo, int wantlock) in cvs_repository_lock() argument
55 cvs_log(LP_TRACE, "cvs_repository_lock(%s, %d)", repo, wantlock); in cvs_repository_lock()
57 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK); in cvs_repository_lock()
75 pw->pw_name, repo); in cvs_repository_lock()
80 fatal("maximum wait time for lock inside '%s' reached", repo); in cvs_repository_lock()
Dcommit.c71 char *arg = ".", repo[PATH_MAX]; in cvs_commit() local
161 cvs_get_repository_name(".", repo, PATH_MAX); in cvs_commit()
163 line_list = cvs_trigger_getlines(CVS_PATH_COMMITINFO, repo); in cvs_commit()
173 repo, NULL, line_list, &files_info)) { in cvs_commit()
200 line_list = cvs_trigger_getlines(CVS_PATH_LOGINFO, repo); in cvs_commit()
206 cvs_commit_loginfo(repo); in cvs_commit()
208 cvs_trigger_handle(CVS_TRIGGER_LOGINFO, repo, in cvs_commit()
216 mc = cvs_module_lookup(repo); in cvs_commit()
229 cvs_commit_loginfo(char *repo) in cvs_commit_loginfo() argument
240 cvs_trigger_loginfo_header(buf, repo); in cvs_commit_loginfo()
[all …]
Dutil.c498 cvs_mkadmin(const char *path, const char *root, const char *repo, in cvs_mkadmin() argument
516 path, root, repo, (tag != NULL) ? tag : "", in cvs_mkadmin()
541 fprintf(fp, "%s\n", repo); in cvs_mkadmin()
567 char *entry, *sp, *dp, *dir, *p, rpath[PATH_MAX], repo[PATH_MAX]; in cvs_mkpath() local
587 repo[0] = '\0'; in cvs_mkpath()
592 if ((fgets(repo, sizeof(repo), fp)) == NULL) in cvs_mkpath()
594 repo[strcspn(repo, "\n")] = '\0'; in cvs_mkpath()
605 len = strlcpy(repo, module_repo_root, sizeof(repo)); in cvs_mkpath()
606 if (len >= (int)sizeof(repo)) in cvs_mkpath()
609 if (repo[0] != '\0') { in cvs_mkpath()
[all …]
Dtrigger.c41 expand_args(BUF *buf, struct file_info_list *file_info, const char *repo, in expand_args() argument
76 buf_puts(buf, repo); in expand_args()
122 val = repo; in expand_args()
223 parse_cmd(int type, char *cmd, const char *repo, in parse_cmd() argument
319 if (expand_args(buf, file_info, repo, allowed_args, in parse_cmd()
345 cvs_trigger_handle(int type, char *repo, char *in, struct trigger_list *list, in cvs_trigger_handle() argument
353 if ((cmd = parse_cmd(type, line->line, repo, files)) == NULL) in cvs_trigger_handle()
375 cvs_trigger_getlines(char * file, char * repo) in cvs_trigger_getlines() argument
450 if (regexec(&preg, repo, 0, NULL, 0) != REG_NOMATCH) { in cvs_trigger_getlines()
524 cvs_trigger_loginfo_header(BUF *buf, char *repo) in cvs_trigger_loginfo_header() argument
[all …]
Dadd.c206 cvs_add_loginfo(char *repo) in cvs_add_loginfo() argument
216 cvs_trigger_loginfo_header(buf, repo); in cvs_add_loginfo()
221 buf_puts(buf, repo); in cvs_add_loginfo()
233 char attic[PATH_MAX], repo[PATH_MAX]; in cvs_add_tobranch() local
246 cvs_get_repository_path(cf->file_wd, repo, PATH_MAX); in cvs_add_tobranch()
248 repo, CVS_PATH_ATTIC); in cvs_add_tobranch()
253 (void)xsnprintf(attic, PATH_MAX, "%s/%s/%s%s", repo, in cvs_add_tobranch()
305 char *date, entry[PATH_MAX], msg[1024], repo[PATH_MAX], *tag, *p; in add_directory() local
348 cvs_get_repository_name(cf->file_wd, repo, in add_directory()
352 repo, cf->file_name); in add_directory()
[all …]
Dimport.c71 char repo[PATH_MAX], *arg = "."; in cvs_import() local
160 (void)xsnprintf(repo, sizeof(repo), "%s/%s", in cvs_import()
166 cvs_mkdir(repo, 0755); in cvs_import()
232 char repo[PATH_MAX]; in cvs_import_local() local
256 (void)xsnprintf(repo, sizeof(repo), "%s/%s/%s/%s%s", in cvs_import_local()
260 if (cf->file_rcs != NULL || stat(repo, &st) != -1) in cvs_import_local()
270 import_loginfo(char *repo) in import_loginfo() argument
279 cvs_trigger_loginfo_header(logbuf, repo); in import_loginfo()
Dserver.c326 char *dir, *repo, *parent, *entry, *dirn, *p; in cvs_server_directory() local
338 repo = dir + strlen(current_cvsroot->cr_dir); in cvs_server_directory()
347 if (repo[0] == '\0') in cvs_server_directory()
350 p = xstrdup(repo + 1); in cvs_server_directory()
778 char repo[PATH_MAX], fpath[PATH_MAX]; in cvs_server_update_entry() local
783 cvs_get_repository_path(cf->file_wd, repo, PATH_MAX); in cvs_server_update_entry()
784 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", repo, cf->file_name); in cvs_server_update_entry()
797 char repo[PATH_MAX]; in cvs_server_set_sticky() local
799 cvs_get_repository_path(dir, repo, PATH_MAX); in cvs_server_set_sticky()
800 (void)xsnprintf(fpath, PATH_MAX, "%s/", repo); in cvs_server_set_sticky()
[all …]
Dclient.c408 char *d, *date, fpath[PATH_MAX], repo[PATH_MAX], *tag; in cvs_client_senddir() local
415 cvs_get_repository_path(dir, repo, PATH_MAX); in cvs_client_senddir()
418 cvs_client_send_request("Directory %s\n%s", dir, repo); in cvs_client_senddir()
701 char repo[PATH_MAX], *entry; in cvs_client_updated() local
715 cvs_get_repository_path(".", repo, PATH_MAX); in cvs_client_updated()
717 STRIP_SLASH(repo); in cvs_client_updated()
719 if (strlen(repo) + 1 > strlen(rpath)) in cvs_client_updated()
803 char timebuf[CVS_TIME_BUFSZ], *repo, *rpath, *entry, *mode; in cvs_client_merged() local
816 repo = xmalloc(PATH_MAX); in cvs_client_merged()
817 cvs_get_repository_path(".", repo, PATH_MAX); in cvs_client_merged()
[all …]
Dcheckout.c242 char repo[PATH_MAX], fpath[PATH_MAX], path[PATH_MAX], *f[1]; in checkout_check_repository() local
310 (void)xsnprintf(repo, sizeof(repo), "%s/%s", in checkout_check_repository()
326 switch (checkout_classify(repo, fl->file_path)) { in checkout_check_repository()
364 checkout_repository(repo, wdir); in checkout_check_repository()
399 checkout_classify(const char *repo, const char *arg) in checkout_classify() argument
404 if (stat(repo, &sb) == 0) { in checkout_classify()
409 if (strlcpy(dbuf, repo, sizeof(dbuf)) >= sizeof(dbuf)) in checkout_classify()
413 if (strlcpy(fbuf, repo, sizeof(fbuf)) >= sizeof(fbuf)) in checkout_classify()
/openbsd/src/gnu/usr.bin/perl/t/porting/
Dmanifest.t89 my @repo= grep {
100 if !@repo;
101 is( 0+@repo, 0+@files, "git ls-files gives the same number of files as MANIFEST lists");
102 my %repo;
103 ++$repo{$_} for @repo;
108 delete $mani{$_} for @repo;
109 delete $repo{$_} for @files;
110 my @not_in_mani= keys %repo;
/openbsd/src/gnu/llvm/llvm/utils/git/
Dgithub-automation.py27 def __init__(self, token:str, repo:str, issue_number:int, label_name:str):
28 self.repo = github.Github(token).get_repo(repo)
29 self.org = github.Github(token).get_organization(self.repo.organization.login)
30 self.issue = self.repo.get_issue(issue_number)
47 repo = Repo(git_dir)
48 with repo.config_writer() as config:
63 def phab_login_to_github_login(phab_token:str, repo:github.Repository.Repository, phab_login:str) -…
89 committer = repo.get_commit(commit_sha).committer
138 def __init__(self, token:str, repo:str, issue_number:int,
142 self._repo_name = repo
[all …]
/openbsd/src/regress/usr.sbin/rpki-client/
Drepo-dummy.c9 repo_stat_inc(struct repo *repo, int tal, enum rtype type, enum stype subtype) in repo_stat_inc() argument
14 struct repo *
21 repo_id(const struct repo *repo) in repo_id() argument
/openbsd/src/usr.sbin/pkg_add/OpenBSD/
DLibSpec.pm65 sub lookup($spec, $repo, $base)
67 my $approx = $spec->lookup_stem($repo);
127 sub register($repo, $lib, $origin)
130 push @{$repo->{$lib->stem}}, $lib;
133 sub find_best($repo, $stem)
137 if (exists $repo->{$stem}) {
138 for my $lib (@{$repo->{$stem}}) {
250 sub lookup_stem($spec, $repo)
252 my $result = $repo->{$spec->stem};
DPkgSign.pm99 sub sign_list($self, $l, $repo, $maxjobs, $state)
104 my $pkg = $repo->find($name);
141 $repo->reinitialize;
176 my $repo = OpenBSD::PackageRepository->new($source, $state);
177 if ($state->{signer}->want_local && !$repo->is_local_file) {
180 my @list = sort @{$repo->list};
184 $self->sign_list(\@list, $repo, $state->opt('j'), $state);
199 $self->sign_list(\@ARGV, $state->repo, $state->opt('j'),
DPackageRepositoryList.pm51 for my $repo (@{$self->{l}}) {
52 my $r = $repo->$do($pkgname, @args);
72 for my $repo (@{$self->{l}}) {
73 my $l = $repo->match_locations(@search);
DSharedLibs.pm50 repo => OpenBSD::LibRepo->new,
59 $self->{repo}->register($lib, $pkgname);
76 return $self->{repo}->find_best($stem);
119 return $spec->lookup($self->{repo}, $base);
128 my $approx = $spec->lookup_stem($self->{repo});
DPkgInfo.pm169 sub find_pkg_in($self, $state, $repo, $pkgname, $code)
174 my $l = $repo->match_locations(OpenBSD::Search::Stem->new($pkgname));
192 my $r = $repo->match_locations($s);
204 my $pkg = $repo->find($pkgname);
218 if ($self->find_pkg_in($state, $state->repo->installed, $pkgname,
222 my $repo;
225 ($repo, $pkgname) = $state->repo->path_parse($pkgname);
227 $repo = $state->repo;
230 return $self->find_pkg_in($state, $repo, $pkgname, $code);
256 my $r = $state->repo->installed->match_locations($s);
[all …]
/openbsd/src/gnu/llvm/clang/lib/Basic/
DVersion.cpp100 std::string repo = getClangFullRepositoryVersion(); in getClangToolFullVersion() local
101 if (!repo.empty()) { in getClangToolFullVersion()
102 OS << " " << repo; in getClangToolFullVersion()
118 std::string repo = getClangFullRepositoryVersion(); in getClangFullCPPVersion() local
119 if (!repo.empty()) { in getClangFullCPPVersion()
120 OS << " " << repo; in getClangFullCPPVersion()
/openbsd/src/usr.sbin/rpki-client/
Drepo.c90 struct repo { struct
91 SLIST_ENTRY(repo) entry;
107 static SLIST_HEAD(, repo) repos = SLIST_HEAD_INITIALIZER(repos); argument
293 repo_state(const struct repo *rp) in repo_state()
312 struct repo *rp; in repo_done()
468 char *repo; in rsync_get() local
470 if ((repo = rsync_base_uri(uri)) == NULL) in rsync_get()
474 if (strcmp(rr->repouri, repo) == 0) { in rsync_get()
475 free(repo); in rsync_get()
485 rr->repouri = repo; in rsync_get()
[all …]
Dextern.h132 char *repo; /* CA repository (rsync:// uri) */ member
593 struct repo;
707 struct repo *);
715 struct repo *);
736 struct repo *);
826 void entityq_flush(struct entityq *, struct repo *);
851 char *repo_basedir(const struct repo *, int);
852 unsigned int repo_id(const struct repo *);
853 const char *repo_uri(const struct repo *);
854 void repo_fetch_uris(const struct repo *, const char **,
[all …]
Dmain.c188 entity_write_repo(const struct repo *rp) in entity_write_repo()
220 entityq_flush(struct entityq *q, struct repo *rp) in entityq_flush()
238 struct repo *rp, unsigned char *data, size_t datasz, int talid, int certid, in entityq_add()
406 struct repo *rp; in queue_add_from_mft()
458 struct repo *repo; in queue_add_from_tal() local
474 repo = ta_lookup(tal->id, tal); in queue_add_from_tal()
475 if (repo == NULL) { in queue_add_from_tal()
483 entityq_add(NULL, nfile, RTYPE_CER, DIR_UNKNOWN, repo, data, in queue_add_from_tal()
493 struct repo *repo; in queue_add_from_cert() local
500 if (strncmp(cert->repo, RSYNC_PROTO, RSYNC_PROTO_LEN) != 0) in queue_add_from_cert()
[all …]
/openbsd/src/usr.sbin/pkg_add/OpenBSD/PackageRepository/
DInstalled.pm60 sub setup_cache($repo, $setlist)
62 my $state = $repo->{state};
67 $repo->{info_cache} =
71 if (defined $repo->{release}) {
72 my $url = $repo->urlscheme."://$repo->{host}$repo->{release}";
74 $r2->{info_cache} = $repo->{info_cache};
/openbsd/src/gnu/llvm/llvm/utils/release/
Dgithub-upload-release.py34 def create_release(repo, release, tag = None, name = None, message = None): argument
46 repo.create_git_release(tag = tag, name = name, message = message,
49 def upload_files(repo, release, files): argument
50 release = repo.get_release('llvmorg-{}'.format(release))
/openbsd/src/gnu/llvm/llvm/docs/
DGitRepositoryPolicy.md13 * The repo will be used for something related to the LLVM ecosystem or community.
14 * The repo contains a `README.md` explaining the contents.
15 * The repo contains a `CONTRIBUTING.md`, ideally copy this from
17 * The repo contains a `LICENSE.TXT`, preferably copy this from

12345