aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/git_test.go
Commit message (Collapse)AuthorAgeFilesLines
* tools/syz-kconf: detect -rcN tagsDmitry Vyukov2020-10-291-1/+32
| | | | | | We currently detect v5.10-rc1 as v5.9 because we ignore -rc tags. This makes it impossible to enable configs that were already added for v5.10. Treat v5.10-rc1 as v5.10 already.
* pkg/vcs: add ReleaseTagDmitry Vyukov2020-10-211-4/+1
| | | | | | | Add ReleaseTag method that returns last release tag for the given commit. Update #2171
* pkg/vcs: use committer dateTetsuo Handa2020-10-101-1/+7
| | | | | | | | The Freshness columns in Instances: table on the dashboard page look outdated, for these fields are showing when that patch was authored. Where possible, using when that patch was committed into the tree in question would be more meaningful. Update #1537
* pkg: get and store Maintainers dataPedro Lopes2020-07-311-3/+3
| | | | | | Create a struct on pkg/vcs to store data of syzkaller email recipients and update its users. The struct contains default name, email, and a label to divide user into To and Cc when sending the emails.
* pkg/vcs: don't CC people on CC (sic)Dmitry Vyukov2019-12-101-1/+0
| | | | Update #1441
* pkg/vcs: refactor bisection supportDmitry Vyukov2019-03-171-6/+13
| | | | | | | | | | | | | | | In preparation for syz-ci bisection: - move bisection function into a separate interface they look out of place in vcs.Repo because most OSes don't implement it and most users don't case - extract author name and more CC emails for commits - move linux-specific PreviousReleaseTags into linux.go - fix inconclusive bisection (more than 1 potential commits) - add tests fr bisection - add maintainers returned from get_maintainers.pl for commits that don't have enough emails (e.g. only author email) Update #501
* dashboard/app: poll commits infoDmitry Vyukov2019-02-171-63/+1
| | | | | | | | | | | | | | | This implements 2 features: - syz-ci polls a set of additional repos to discover fixing commits sooner (e.g. it can now discover a fixing commit in netfilter tree before it reaches any of the tested trees). - syz-ci uploads info about commits to dashboard. For example, a user marks a bug as fixed by commit "foo: bar". syz-ci will find this commit in the main namespace repo and upload commmit hash/date/author to dashboard. This in turn allows to show links to fixing commits. Fixes #691 Fixes #610
* pkg/vcs: also recognize Tested-by: git commit tagsDmitry Vyukov2018-11-201-0/+2
| | | | | For context see: https://groups.google.com/d/msg/syzkaller-bugs/xiSF9GdiikU/uBoyYyf3AQAJ
* pkg/email, pkg/vcs: test that OpenBSD-style commits are handledDmitry Vyukov2018-10-111-2/+15
| | | | | | OpenBSD does not use "first line is title" convention, so test that this is parsed properly. Also test that multi-line fix/dup commands are properly parsed.
* .gometalinter.json: enable gofmtDmitry Vyukov2018-07-311-1/+1
| | | | | | | The part that we want from gofmt is simplify (-s). Fix all code that needs fixing. Update #538
* pkg/vcs: pave way for multi-vcs supportDmitry Vyukov2018-06-271-79/+6
| | | | | Wrap current git interface in abstract interface. Provide constructor that create repo interface for the given os/vm.
* pkg/vcs: move from pkg/gitDmitry Vyukov2018-06-271-0/+239
Rename pkg/git to pkg/vcs because we need to support not only git.