aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/git/git.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/vcs: move from pkg/gitDmitry Vyukov2018-06-271-496/+0
| | | | Rename pkg/git to pkg/vcs because we need to support not only git.
* pkg/git: extract relevant email addresses from commitsDmitry Vyukov2018-05-171-9/+46
| | | | Update #501
* pkg/git: add bisection functionalityDmitry Vyukov2018-05-141-0/+62
| | | | | | | | | | Bisect bisects good..bad commit range against the provided predicate (wrapper around git bisect). The predicate should return an error only if there is no way to proceed (it will abort the process), if possible it should prefer to return BisectSkip. Progress of the process is streamed to the provided trace. Returns the first commit on which the predicate returns BisectBad. Update #501
* pkg/git: add PreviousReleaseTagsDmitry Vyukov2018-05-141-3/+49
| | | | | | | PreviousReleaseTags returns list of preceding release tags that are reachable from the given commit. Update #501
* pkg/git: add SwitchCommit and GetCommitDmitry Vyukov2018-05-141-1/+10
| | | | | | Will be useful for bisection logic. Update #501
* gometalinter: enable line length checkingDmitry Vyukov2018-05-041-0/+1
| | | | | | | 120 columns looks like a reasonable limit and requires few changes to existing code. Update #538
* pkg/git: don't create shallow reposDmitry Vyukov2018-04-241-2/+1
| | | | | | | Shallow repos created by CheckoutBranch conflict with what CheckoutCommit tries to do. Fetch of a shallow repo does not unshallow it. And then checkout of a non-head commit fails.
* dashboard/app: allow testing fixes on exact commit and without patchDmitry Vyukov2018-04-241-12/+22
| | | | | | | | | | This implements 2 features: 1. It's now possible to specify exact commit when testing as: 2. It's possible to test without patch attached assuming the patch is already committed to the tested tree. Fixes #558
* all: fix gometalinter warningsDmitry Vyukov2018-03-081-1/+1
| | | | Fix typos, non-canonical code, remove dead code, etc.
* dashboard/app: collect more info for better reportsDmitry Vyukov2018-01-171-19/+35
| | | | | | | | | | | | Collect kernel build commit title/date. Add support for kernel repo aliases (to be able to say linux-next instead of full git repo address). Collect on what managers a bug happened. Reuse Crash.ReportLen as generic crash reporting priority. Make it possible to prioritize reporting of particular kernel repos and arches. Fixes #473
* pkg/git: fix potential hangDmitry Vyukov2018-01-161-1/+2
| | | | | | If extractFixTags exits early with error, git process will hang due to stdout overflow and never exit.
* syz-ci: use the original syzkaller commit for patch testingDmitry Vyukov2018-01-161-0/+17
| | | | | | Currently we use the latest syzkaller commit that syz-ci uses itself. As the result syz-execprog can fail to deserialize the reproducer. Use the original syzkaller commit.
* dashboard/app: extract fixing tags from commitsDmitry Vyukov2017-12-271-0/+91
| | | | | | | | | | | | | Support the new scheme of associating fixing commits with bugs. Now we provide a tag along the lines of: Reported-by: <syzbot+a4a91f6fc35e102@syzkaller.appspotmail.com> The tag is supposed to be added to the commit. Then we parse commit logs and extract these tags. The final part on the dashboard is not ready yet, but syz-ci should already parse and send the tags.
* pkg/git: fix branch during fetchDmitry Vyukov2017-11-171-1/+1
|
* pkg/kernel: sandbox make invocationDmitry Vyukov2017-11-171-27/+42
|
* pkg/osutil: don't leace runaway processesDmitry Vyukov2017-11-161-4/+3
| | | | | | When manager is stopped there are sometimes runaway qemu processes still running. Set PDEATHSIG for all subprocesses. We never need child processes outliving parents.
* pkg/git: provide more helper functionsDmitry Vyukov2017-11-161-0/+75
| | | | | Add Patch, Checkout, CheckRepoAddress and CheckBranch. Will be needed for patch testing.
* pkg/git: add another commit prefixDmitry Vyukov2017-11-081-0/+1
|
* syz-ci: improve commit matchingDmitry Vyukov2017-11-071-4/+25
| | | | | | | | | | 1. Fetch last 200K commits instead of commits for past year. For merged commits both author date and commit date can be arbitrary long in past (e.g. we got a commit dated by 2014). 2. Strip some commit prefixes from commits. We have some trees where backports are prefixed with "BACKPORT:". Previously we could no match such commits.
* syz-ci: send commits to dashboardDmitry Vyukov2017-07-281-4/+15
| | | | | | Dashboard needs to know when bug fixing commits reach builders in order to fully close bugs. Send commits that dashboard is interested in to dashboard.
* all: use consistent file permissionsDmitry Vyukov2017-07-031-1/+1
| | | | | | | | | | | | | | | | Currently we have unix permissions for new files/dirs hardcoded throughout the code base. Some places use 0644, some - 0640, some - 0600 and a variety of other constants. Introduce osutil.MkdirAll/WriteFile that use the default permissions and use them throughout the code base. This makes permissions consistent and also allows to easily change the permissions later if we change our minds. Also merge pkg/fileutil into pkg/osutil as they become dependent on each other. The line between them was poorly defined anyway as both operate on files.
* report: add get maintainers functionAndrey Konovalov2017-06-261-2/+1
|
* pkg/git: improve PollDmitry Vyukov2017-06-201-1/+12
| | | | Support changing repo/branch and force pushes.
* pkg/git: check origin repo in PollDmitry Vyukov2017-06-191-15/+27
|
* pkg/git: fix git fetch command lineDmitry Vyukov2017-06-151-1/+1
|
* pkg/git: don't use --no-tags with cloneDmitry Vyukov2017-06-031-1/+0
| | | | It's not supported in older versions of git.
* pkg/kernel: add new packageDmitry Vyukov2017-06-031-31/+9
| | | | | Move functionality to build kernel/image from syz-gce to a separate package.
* pkg/git: add new packageDmitry Vyukov2017-06-011-0/+86
Move few helper git-related functions from syz-gce to a separate pkg/git package.