Searched refs:repositories (Results 1 - 11 of 11) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/history/
H A DRepositoryFactory.java36 * This is a factory class for the different repositories.
44 private static final Repository repositories[] = { field in class:RepositoryFactory
71 = new ArrayList<>(repositories.length);
72 for (int i = repositories.length - 1; i >= 0; i--) {
73 list.add(repositories[i].getClass());
92 for (Repository rep : repositories) {
H A DHistoryGuru.java68 private Map<String, Repository> repositories field in class:HistoryGuru
331 * recursively search for repositories with a depth limit
394 // stat'ing for huge Mercurial repositories
412 * repositories found.
425 * Update the source the contents in the source repositories.
430 for (Map.Entry<String, Repository> entry : repositories.entrySet()) {
459 * Update the source the contents in the source repositories.
526 private void createCacheReal(Collection<Repository> repositories) { argument
529 // Since we know each repository object from the repositories
538 for (final Repository repo : repositories) {
615 createCache(Collection<String> repositories) argument
622 removeCache(Collection<String> repositories) argument
658 getReposFromString(Collection<String> repositories) argument
[all...]
/opengrok/src/org/opensolaris/opengrok/configuration/
H A DGroup.java31 * Placeholder for the information about subgroups of projects and repositories
46 private Set<Project> repositories = new TreeSet<>(); field in class:Group
58 this.repositories.add(p);
78 return repositories;
89 public void setRepositories(Set<Project> repositories) { argument
90 this.repositories = repositories;
H A DConfiguration.java90 private List<RepositoryInfo> repositories; field in class:Configuration
145 * in history cache for repositories capable of fetching history for
152 * for capable repositories.
186 * types of handling history for remote SCM repositories:
189 * DIRBASED - index history only for repositories capable
281 setScanningDepth(defaultScanningDepth); // default depth of scanning for repositories
504 return repositories;
507 public void setRepositories(List<RepositoryInfo> repositories) { argument
508 this.repositories = repositories;
[all...]
H A DRuntimeEnvironment.java442 * Returns constructed project - repositories map.
660 * Set the map of external SCM repositories
662 * @param repositories the repositories to use
664 public void setRepositories(List<RepositoryInfo> repositories) { argument
665 threadConfig.get().setRepositories(repositories);
1196 * repositories map
/opengrok/test/org/opensolaris/opengrok/search/context/
H A DHistoryContextTest.java50 private static TestRepository repositories; field in class:HistoryContextTest
54 repositories = new TestRepository();
55 repositories.create(HistoryContextTest.class.getResourceAsStream(
56 "/org/opensolaris/opengrok/history/repositories.zip"));
57 HistoryGuru.getInstance().addRepositories(repositories.getSourceRoot());
62 repositories.destroy();
63 repositories = null;
89 String filename = repositories.getSourceRoot() + path;
131 File file = new File(repositories.getSourceRoot() + path);
/opengrok/test/org/opensolaris/opengrok/history/
H A DJDBCHistoryCacheTest.java50 private TestRepository repositories; field in class:JDBCHistoryCacheTest
76 * Set up the test environment with repositories and a cache instance.
79 repositories = new TestRepository();
80 repositories.create(getClass().getResourceAsStream("repositories.zip"));
94 * Clean up after the test. Remove the test repositories and shut down
98 repositories.destroy();
99 repositories = null;
187 File reposRoot = new File(repositories.getSourceRoot(), "mercurial");
291 File reposRoot = new File(repositories
[all...]
H A DFileHistoryCacheTest.java52 private TestRepository repositories; field in class:FileHistoryCacheTest
59 * Set up the test environment with repositories and a cache instance.
65 repositories = new TestRepository();
66 repositories.create(getClass().getResourceAsStream("repositories.zip"));
73 * Clean up after the test. Remove the test repositories.
79 repositories.destroy();
80 repositories = null;
133 File reposRoot = new File(repositories.getSourceRoot(), "mercurial");
164 File reposRoot = new File(repositories
[all...]
/opengrok/src/org/opensolaris/opengrok/web/
H A DProjectHelper.java39 * Preprocessing of projects, repositories and groups for the UI
64 * Set of projects (not repositories) without group
68 * Set of all repositories without group
70 private final Set<Project> repositories; field in class:ProjectHelper
76 * Set of all repositories with group
84 repositories = new TreeSet<>();
122 * Generates ungrouped projects and repositories.
141 repositories.add(project);
236 * @return filtered ungrouped repositories
239 return cacheProjects(PROJECT_HELPER_UNGROUPED_REPOSITORIES, repositories);
[all...]
/opengrok/test/org/opensolaris/opengrok/web/
H A DProjectHelperTestBase.java52 protected static List<RepositoryInfo> repositories; field in class:ProjectHelperTestBase
166 * repositories:
174 * repositories:
182 * repositories:
190 * repositories:
198 * ungrouped repositories:
209 repositories = env.getRepositories();
250 env.setRepositories(repositories);
287 Assert.assertEquals("Should contain 20 repositories", 20, env.getRepositories().size());
/opengrok/src/org/opensolaris/opengrok/index/
H A DIndexer.java69 /* tunables for -r (history for remote repositories) */
118 ArrayList<String> repositories = new ArrayList<>();
262 repositories.add(getopt.getOptarg());
387 + "only for repositories which allow getting history for directories");
594 listFiles, createDict, subFiles, repositories,
625 * generated for repositories (at least for those which support getting
641 List<String> repositories,
661 LOGGER.log(Level.INFO, "Scanning for repositories...");
667 LOGGER.log(Level.INFO, "Done scanning for repositories ({0}s)", time);
673 System.out.println("No repositories foun
632 prepareIndexer(RuntimeEnvironment env, boolean searchRepositories, boolean addProjects, String defaultProject, String configFilename, boolean refreshHistory, boolean listFiles, boolean createDict, List<String> subFiles, List<String> repositories, List<String> zapCache, boolean listRepoPaths) argument
[all...]

Completed in 35 milliseconds