Re: really stop "really" commits (really!)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 14.12.2013 02:42, T.C. Hollingsworth napsal(a):
To use it, download it somewhere, make it executable, and symlink
$clone/.git/hooks/pre-commit to it.  If you already have a pre-commit
hook of some sort, you can instead just run that script in it and
abort on a non-zero exit code.

As Rahul somebody already mentioned, it would be great to gave it in fedpkg by default.


If that fails from some reason (i.e. fedpkg maintainers are against it), what about this.

 * Create a package fedpkg-patch-check with:
   * this script somewhere in libdir
   * command in bindir that would add the check to repo in pwd
   * and that would add the check to all repos specified as arguments

I'm currently trying to draft a script for thiss adding.

Hopefully some of you find it useful.

Yes, it's great. Thanks.


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux