Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for commit2 (1.74 sec)

  1. .github/workflows/CheckBadMerge.groovy

        ]
    
        static void main(String[] commits) {
            println("Commits to check: ${Arrays.toString(commits)}")
            try {
                commits.each { checkCommit(it) }
            } finally {
                THREAD_POOL.shutdown()
            }
        }
    
        static void checkCommit(String commit) {
            List<String> parentCommits = parentCommitsOf(commit)
            if (parentCommits.size() != 2) {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. .pre-commit-config.yaml

        rev: v0.2.0
        hooks:
        -   id: ruff
            args:
            - --fix
        -   id: ruff-format
    ci:
        autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 737 bytes
    - Viewed (0)
  3. .github/workflows/check-bad-merge.yml

            run: sudo apt-get install groovy
          - name: List PR commits
            run: |
              git log --pretty=format:"%H" ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > pr_commits.txt
          - name: Check PR commits
            id: run_check
            run: |
              groovy .github/workflows/CheckBadMerge.groovy $(<pr_commits.txt) > output.txt 2>&1
          - name: Read output file
            id: read_output
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. buildscripts/gen-ldflags.go

    	if relSuffix != "" {
    		relTag += "." + relSuffix
    	}
    
    	return relTag, t
    }
    
    // commitID returns the abbreviated commit-id hash of the last commit.
    func commitID() string {
    	// git log --format="%H" -n1
    	var (
    		commit []byte
    		err    error
    	)
    	cmdName := "git"
    	cmdArgs := []string{"log", "--format=%H", "-n1"}
    	if commit, err = exec.Command(cmdName, cmdArgs...).Output(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    - To run `make verifiers`
    - To squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
    - To run `make test` and `make build` completes.
    
    ### Commit changes
    
    After verification, commit your changes. This is a [great post](https://chris.beams.io/posts/git-commit/) on how to write useful commit messages
    
    ```
    git commit -am 'Add some feature'
    ```
    
    ### Push to the branch
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  6. bin/update_crds.sh

      # not an official release or release candidate, so get the commit sha
      SHORT_SHA=$(echo "${GATEWAY_VERSION}" | awk -F '-' '{ print $NF }')
      GATEWAY_VERSION=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "https://api.github.com/repos/kubernetes-sigs/gateway-api/commits/${SHORT_SHA}" | jq -r .sha)
    fi
    if [ -z "${GATEWAY_VERSION}" ]; then
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. .github/PULL_REQUEST_TEMPLATE.md

    ### Contributor Checklist
    - [ ] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
    - [ ] Make sure that all commits are [signed off](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff) to indicate that you agree to the terms of [Developer Certificate of Origin](https://developercertificate.org/).
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 22:36:19 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

      4. Please squash all commits for a change into a single commit (this can be
         done using `git rebase -i`). Do your best to have a
         [well-formed commit message][] for the change.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    [well-formed commit message]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
    
    #### Merging pull requests ####
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

        If you feel the source code should be reformatted, create a separate PR for this change.
      + Check for unnecessary whitespace with `git diff --check` before committing.
    + Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue.
    ```
    [MNG-XXX] - Subject of the JIRA Ticket
     Optional supplemental description.
    ```
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Oct 10 09:48:27 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            String commitId = BuildEnvironmentKt.getBuildEnvironmentExtension(project).getGitCommitId().get();
            if (commitId.isBlank() || commitId.toLowerCase().contains("unknown")) {
                // we can't figure out the commit ID (probably this is a source distribution build), let's skip adding source links
                return;
            }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top