Commit Graph

11 Commits

Author SHA1 Message Date
89b970b8d2 formatcheck: Use a shorter timeout
If the internet connection is down, the default timeout of wget is
unreasonably long. If formatcheck is used as a pre-commit hook, this
blocks usage of git for a long time although we probably have
git-clang-format available.

Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-10-09 00:49:58 +02:00
3f68a06d7a format-check: Enable usage as pre-commit hook
This adds support for a switch `--pre-commit` to work in
pre-commit-mode. It downloads the file and runs the real pre-commit-hook
then.

Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-09-24 20:44:07 +02:00
2633536a04 format-check: Optimize format-check.sh
This commit silences the standard output of wget to generate less noise
when using `format-check.sh` as a pre-commit hook.

It also doesn't redownload the file over and over again but only when
changes were detected. Previous behavior was wget creating numbered
versions by multiple downloads, thus it always used the first version
which was download. That is obviously wrong.

It errors out nicely now when the download failed.

Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-09-24 20:21:55 +02:00
d3777a58c1 Update to version 1.3-dev post-1.2 release 2018-07-21 09:48:40 +01:00
ceb476052d Update to version 1.2 2018-07-21 09:33:32 +01:00
6d181f86bd Label master as 1.2-dev 2018-05-11 14:53:30 +01:00
b8b2b0415e Update to 1.1 ready for release 2018-04-25 15:50:05 +01:00
d42dd30e25 Fix format check 2018-04-24 17:09:06 +01:00
a9ef55cba3 Fix the format check script by applying it to the previous commit
Rather than just to local changes, which doesn't work as intended
2018-04-16 17:52:48 +01:00
34e6d076a8 Add a basic travis file for unit tests
Only code formatting implemented at the moment.

  Travis is currently Ubuntu 14.04, which is missing multiple library versions needed. Bootstrapping in Python 3.5, Meson and Ninja is possible, but can take a while, but also bootstrapping in libsystemd is one step too many for now as it takes a significant amount of time.
2018-04-13 14:32:02 +01:00
f1195e22bf scripts: Add management scripts to make release process easier
To facilitate a proper release process we now have scripts to create
complete tarballs in the fasion of autotools, which will also include
the archived `inih` project. The net result is a completel tarball which
build systems can use in a reproducable fashion without requiring network
access to complete, thus improving security and ensuring consistency in
results between various distributions should subprojects update.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2018-04-10 13:23:38 +01:00