Re: [PATCH v2] ui-commit: show subject in page title

2020-02-26 Thread June Bug
> On Feb 26, 2020, at 07:21, jean-christophe manciot > wrote: > > I have implemented this patch on my website (https://git.sdxlive.com/) > over the latest commit of master branch (1.2.2-2-gfde897b) & restarted > uwsgi. > However, unless I'm missing something, I don't see any difference in >

Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
Unit 193 on Wed, 2020/02/26 17:21: > > Wow, thanks for doing this. I had just been discussing this with > > Unit193, who submitted a similar but not as complete patch a few days > > ago to me on IRC. > > Indeed! Thanks for looking into this! I just implemented this after the lzip patch was

cgit and push method

2020-02-26 Thread Francois
Hi everybody First of all, congratulation for this software that gives an easy way to access repos. I'm using around 5 hours ago and I have quickly found all the customs options I was espected ... \o/ Cgit is configured to allow cloning repos. I did not find information for "push"

[PATCH v2 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
From: Christian Hesse This patch adds support for zstd [0] compressed snapshots (*.tar.zst). We enable multiple working threads (-T0) and compression level 10 (-10) for a trade-off between speed and file size. [0] https://www.zstd.net/ Signed-off-by: Christian Hesse --- cgitrc.5.txt

Re: [PATCH v2] ui-commit: show subject in page title

2020-02-26 Thread jean-christophe manciot
I have implemented this patch on my website (https://git.sdxlive.com/) over the latest commit of master branch (1.2.2-2-gfde897b) & restarted uwsgi. I use git 1:2.25.1-1~ppa0~ubuntu20.04.1 although I don't think this could interfere. In /etc/cgitrc, the following relevant variables are set: -

Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
Christian Hesse on Wed, 2020/02/26 11:18: > % time gzip < git-2.25.1.tar > git-2.25.1.tar.gz > 2,16s user 0,04s system 361% cpu 0,607 total This was multi-threaded pigz... Plain gzip looks like this: % /usr/bin/gzip < git-2.25.1.tar > git-2.25.1.tar.gz 1,39s user 0,01s system 98% cpu 1,425

Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
"Jason A. Donenfeld" on Wed, 2020/02/26 17:16: > We had been discussing which compression level to pass to zstd or to > leave it as default. I think Unit193 had some thoughts on that, so > CC'ing him in case he wants to jump in. Thought about that myself after I sent the mail... This is a

Re: [PATCH 2/2] tests: add tests for xz compressed snapshots

2020-02-26 Thread Jason A. Donenfeld
Looks good, queue it up, thanks. ___ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit

Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Jason A. Donenfeld
Wow, thanks for doing this. I had just been discussing this with Unit193, who submitted a similar but not as complete patch a few days ago to me on IRC. We had been discussing which compression level to pass to zstd or to leave it as default. I think Unit193 had some thoughts on that, so CC'ing

[PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
From: Christian Hesse This patch adds support for zstd [0] compressed snapshots (*.tar.zst). [0] https://www.zstd.net/ Signed-off-by: Christian Hesse --- cgitrc.5.txt| 5 +++-- tests/setup.sh | 2 +- tests/t0107-snapshot.sh | 42

[PATCH 2/2] tests: add tests for xz compressed snapshots

2020-02-26 Thread Christian Hesse
From: Christian Hesse Signed-off-by: Christian Hesse --- tests/setup.sh | 2 +- tests/t0107-snapshot.sh | 42 + 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/tests/setup.sh b/tests/setup.sh index e09f7c5..5879348 100755 ---