Examples of Commit


Examples of com.atlassian.bamboo.commit.Commit

    StringBuilder committersTextBuilder = new StringBuilder();
    committersTextBuilder.append("Änderungen von ");
    ImmutableList<Commit> commits = result.getCommits();
    int listSize = commits.size();
    for (int i = 0; i < listSize; i++) {
      Commit commit = commits.get(i);
      committersTextBuilder.append(commit.getAuthor().getFullName());
      if (listSize > 1) {
        if (i < listSize - 2) {
          committersTextBuilder.append(", ");
        }
        if (i == listSize - 2) {
View Full Code Here

Examples of com.github.api.v2.schema.Commit

    List<Commit> commits = service.getCommits("facebook", "tornado", Repository.MASTER, "setup.py");
    System.out.println(commits.size());
    for (Commit commit : commits) {
      printResult(commit);
    }
    Commit commit = service.getCommit("facebook", "tornado", "7b80c2f4db226d6fa3a7");
    printResult(commit);
  }
View Full Code Here

Examples of com.github.api.v2.schema.Commit

  @Test
  public void testGetCommit() {
      assertNotNullOrEmpty(String.format(RESOURCE_MISSING_MESSAGE, "Test Username."), TestConstants.TEST_USER_NAME);
      assertNotNullOrEmpty(String.format(RESOURCE_MISSING_MESSAGE, "Test Repository."), TestConstants.TEST_REPOSITORY_NAME);
      assertNotNullOrEmpty(String.format(RESOURCE_MISSING_MESSAGE, "Test SHA."), TestConstants.TEST_COMMIT_HASH);
    Commit commit = service.getCommit(TestConstants.TEST_USER_NAME, TestConstants.TEST_REPOSITORY_NAME, TestConstants.TEST_COMMIT_HASH);
    assertNotNull("Commit cannot be null", commit);
  }
View Full Code Here

Examples of com.google.api.services.androidpublisher.AndroidPublisher.Edits.Commit

            Listing updatedUkListing = updateUkListingsRequest.execute();
            log.info(String.format("Created new UK app listing with title: %s",
                    updatedUkListing.getTitle()));

            // Commit changes for edit.
            Commit commitRequest = edits.commit(ApplicationConfig.PACKAGE_NAME, editId);
            AppEdit appEdit = commitRequest.execute();
            log.info(String.format("App edit with id %s has been comitted", appEdit.getId()));

        } catch (IOException | GeneralSecurityException ex) {
            log.error("Exception was thrown while updating listing", ex);
        }
View Full Code Here

Examples of com.google.api.services.androidpublisher.AndroidPublisher.Edits.Commit

                            new Track().setVersionCodes(apkVersionCodes));
            Track updatedTrack = updateTrackRequest.execute();
            log.info(String.format("Track %s has been updated.", updatedTrack.getTrack()));

            // Commit changes for edit.
            Commit commitRequest = edits.commit(ApplicationConfig.PACKAGE_NAME, editId);
            AppEdit appEdit = commitRequest.execute();
            log.info(String.format("App edit with id %s has been comitted", appEdit.getId()));

        } catch (IOException | URISyntaxException | GeneralSecurityException ex) {
            log.error("Excpetion was thrown while uploading apk to alpha track", ex);
        }
View Full Code Here

Examples of com.jcabi.github.Commit

        final JsonObject author = Json.createObjectBuilder()
            .add("name", "Scott").add("email", "Scott@gmail.com")
            .add("date", "2008-07-09T16:13:30+12:00").build();
        final JsonArray tree = Json.createArrayBuilder()
            .add("xyzsha12").build();
        final Commit newCommit = this.repo().git().commits().create(
            Json.createObjectBuilder().add("message", "my commit message")
                .add("sha", "12ahscba")
                .add("tree", "abcsha12")
                .add("parents", tree)
                .add("author", author).build()
        );
        MatcherAssert.assertThat(
            newCommit,
            Matchers.notNullValue()
        );
        MatcherAssert.assertThat(
            newCommit.sha(),
            Matchers.equalTo("12ahscba")
        );
    }
View Full Code Here

Examples of com.sun.sgs.impl.service.data.store.cache.queue.UpdateQueueRequest.Commit

           long[] nameValues)
    {
  pendingAcknowledgeSet.add(contextId);
  txnFinished(contextId);
  queue.addRequest(
      new Commit(contextId, oids, oidValues, newOids, names, nameValues,
           new CompletionHandler() {
         @Override
         public void completed() {
             pendingAcknowledgeSet.remove(contextId);
             commitAvailable.release();
View Full Code Here

Examples of de.fhg.igd.mongomvcc.impl.internal.Commit

 
  /**
   * @return the thread-local head of this branch
   */
  private Commit getHeadCommit() {
    Commit r = _head.get();
    if (r == null) {
      if (_name != null) {
        r = _tree.resolveBranch(_name);
      } else {
        r = _tree.resolveCommit(_rootCid);
View Full Code Here

Examples of edu.nyu.cs.javagit.api.commands.GitLogResponse.Commit

            GitImporterException {
        LOGGER.debug("******Extracting history for tag/release " + tag + "******");
        // Creating the release
        List<Commit> commits = fDotGit.getLog(options);
        if (!commits.isEmpty()) {
            Commit lastCommit = commits.get(commits.size() - 1);
            fMapper.createRelease(tag, lastCommit.getDateString());
            // Iterating over the commits in reverse order, from the oldest to the newest.
            for (Commit commit : commits) {
                LOGGER.debug("extracting data for commit " + commit.getSha());
                if (commit.getFiles() != null) {
                    if (fFetchSrc) {
View Full Code Here

Examples of nl.topicus.onderwijs.dashboard.datatypes.Commit

              curCommit.getSha());
          fullCommits.put(curCommit.getSha(), fullCommit);
        }
        curCommit = fullCommit;
      }
      ret.add(new Commit(project, curCommit));
    }
    return ret;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.