[Ktechlab-devel] Moving to KDE Git -- making audit tests pass, without rewriting git history?

Zoltan Padrah zoltan.padrah at gmail.com
Sat Sep 24 11:52:58 UTC 2016


 Hi,

I've tried to push the KTechLab master branch to KDE git, and it fails
the automated audit tests. The fixing procedure for this, as far as
I'm aware, is rewriting history in git, and I'm not happy about it.
Does anyone know any other solution? For details see below.

The issue categories are the following:

- invalid authorship data in many commit messages, including the
commits imported from SVN. This can be fixed relatively simply --
replacing the SVN usernames with email addresses --, but it means
rewriting history in git.

- some temporary files are committed in the repository, by mistake.
Should be removed and maybe then won't be any issues. If the hooks are
validating on per-commit basis, then fixing these also needs rewriting
history

- 1 file with invalid line ending
- 1 file is false positive ( transistors.lib ). Probably should be renamed.

Here is the documentation about the git hooks:

https://community.kde.org/Infrastructure/Git/Hooks

Here is the output of the git push, pasted data will be available for a month:

https://paste.kde.org/pzlwwku9c

Have fun,

 Zoltan




More information about the Ktechlab-devel mailing list