The script will create a environment file keeping all the major settings and
installs a systemd unit file.
The script (mainly the unit file part) should also work for other systemd
based distributions like ArchLinux. But /etc/sysconfig may not exist there.
Signed-off-by: Soeren Grunewald <soeren.grunewald@desy.de>
We already highlight C/C++ source files with the default configuration,
so we should do this also for header files.
Signed-off-by: Soeren Grunewald <soeren.grunewald@desy.de>
Use Guice-Servlet rather than custom code and expose the Injector
This is a fairly functional variation of Gitblit with one notable
exception:
The security filters are not working properly.
This is a design flaw in Guice that I have reported upstream [1]. The
general idea is that Guice-Servlet filters are not properly wrapping the
ServletRequest. This has historically been a problem for Guice-Servlet
servlets but Google has fixed most of those issues. Unfortunately, all
the same flaws reported against the servlet delegation also exist in
Guice-Servlet filter delegation. :(
[1]: https://code.google.com/p/google-guice/issues/detail?id=807
This is a quick return of the servlet3-style code which was reverted mid-December 2013. It is not completely tested, but a casual review was done and it's looks good. The next steps should be to restore `@Inject` annotations, simplify *DaggerModule* boilerplate, and run this on a JEE container with CDI - like JBoss AS 7.
When it comes to IT terminology, the Italian language borrows a lot of
terms from English, and it is often difficult to decide what is to be
translated and what is to be kept in English. I tried to follow the same
approach adopted by the translators of the pro-git book, so for example
"clone", "push" are not translated, while "branch" is translated (the
noun, not the git command).
I did my best to try to provide the best possible translation, but I had
not enough time to test all translations on screen.
Finally I noted that there are some duplicate keys e.g. gb.comment which
appears one with a capital C and once with a lowercase C.