Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for GitWrapper (0.18 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java

    /**
     * This class wraps certain {@code git} operations. This is partly for convenience, and partly so that these
     * operations can be easily mocked in testing.
     */
    public class GitWrapper {
    
        private final ExecOperations execOperations;
    
        public GitWrapper(ExecOperations execOperations) {
            this.execOperations = execOperations;
        }
    
        /**
         * @return a mapping from remote names to remote URLs.
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

        private FileCollection changelogs;
        private final GitWrapper gitWrapper;
        private final Path rootDir;
    
        private boolean dryRun;
    
        @Inject
        public PruneChangelogsTask(Project project, ObjectFactory objectFactory, ExecOperations execOperations) {
            changelogs = objectFactory.fileCollection();
            gitWrapper = new GitWrapper(execOperations);
            rootDir = project.getRootDir().toPath();
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

         * @param gitWrapper used to call `git`
         */
        private static void findAndUpdateUpstreamRemote(GitWrapper gitWrapper) {
            LOGGER.info("Finding upstream git remote");
            // We need to ensure the tags are up-to-date. Find the correct remote to use
            String upstream = gitWrapper.listRemotes()
                .entrySet()
                .stream()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
Back to Top