PatchesAuthors parses all patches in all ("build") branches in the kernel-source tree and reports who touched what file in the linux (upstream) tree.
More...
#include <PatchesAuthors.h>
|
|
using | Map = std::map<std::string, std::map<std::string, unsigned int>> |
| | E-mail -> file -> count mapping.
|
|
using | InsertUser = std::function<bool (const std::string &email)> |
| | A callback invoked for e-mail.
|
| using | InsertUFMap |
| | A callback invoked for e-mail, file, and counts of git-fixes and real changes.
|
PatchesAuthors parses all patches in all ("build") branches in the kernel-source tree and reports who touched what file in the linux (upstream) tree.
The reporting happens via the provided callbacks.
◆ InsertUFMap
Initial value:std::function<bool (const std::string &email,
const std::filesystem::path &file, unsigned gitFixes, unsigned realFixes)>
A callback invoked for e-mail, file, and counts of git-fixes and real changes.
◆ PatchesAuthors()
| SlKernCVS::PatchesAuthors::PatchesAuthors |
( |
const SlGit::Repo & | repo, |
|
|
bool | dumpRefs, |
|
|
bool | reportUnhandled ) |
|
inline |
PatchesAuthors constructor.
- Parameters
-
| repo | KernCVS repository to search in |
| dumpRefs | Should References: be dumped to stdout? |
| reportUnhandled | Should unhandled @suse e-mail be reported to stderr? |
◆ processAuthors()
The real work function of this class.
- Parameters
-
| commit | The commit to walk |
| insertUser | Callback to invoke for a user |
| insertUFMap | Callback to invoke for a user, path, and (all+non-git-fixes) counts |
- Returns
- true on success.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/kerncvs/PatchesAuthors.h