List for cgit developers and users
 help / color / mirror / Atom feed
From: mricon at kernel.org (Konstantin Ryabitsev)
Subject: RFC: pluggable snapshot compression tools
Date: Thu, 20 Apr 2017 16:30:24 +0000	[thread overview]
Message-ID: <CAMwyc-TPWB72Zgudvzg3aPJL8mxdfgxYrXKAku=7=xNyjb0O2A@mail.gmail.com> (raw)

Hello, all:

Currently gzip, xz and bz2 commands are hardcoded into ui-snapshot.c, but
it would be nice if we could define those commands, so that if I wanted to
use "pigz" or "pixz" instead of the standard gzip/xz, I could do it.

It would also be handy if snapshots were only generated for the formats
defined in the config file (e.g. if I only list "tar.gz", return an error
if someone requests a .tar.xz instead of helpfully generating it).
Requesting a bunch of tar.xz snapshots of the Linux Kernel is a great way
to DoS us with a single keystroke. ;)

Best,
-K


-- 
Konstantin Ryabitsev
Director, IT Infrastructure Security
The Linux Foundation
+1-971-258-2363
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20170420/c838ebcc/attachment.html>


                 reply	other threads:[~2017-04-20 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMwyc-TPWB72Zgudvzg3aPJL8mxdfgxYrXKAku=7=xNyjb0O2A@mail.gmail.com' \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).