[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] Improve handling of Debian packages. (Closes: #913886).

WolfgangSchweer gitlab at salsa.debian.org
Sat Nov 17 12:27:18 GMT 2018


WolfgangSchweer pushed to branch master at Debian Edu / debian-edu-config


Commits:
d7031b39 by Wolfgang Schweer at 2018-11-17T12:25:54Z
Improve handling of Debian packages. (Closes: #913886).

share/debian-edu-config/squid.conf: Add settings proposed by Mike Gabriel.

- - - - -


2 changed files:

- debian/changelog
- share/debian-edu-config/squid.conf


Changes:

=====================================
debian/changelog
=====================================
@@ -14,6 +14,8 @@ debian-edu-config (2.10.46) UNRELEASED; urgency=medium
     performance in real world deployments seems to be better.
     Using NFS can be configured in /etc/ltsp/ltsp-build-client.conf; this might
     come in handy during development and testing.
+  * Improve handling of Debian packages. (Closes: #913886).
+    - share/debian-edu-config/squid.conf: Add settings proposed by Mike Gabriel.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Thu, 15 Nov 2018 02:55:59 +0100
 


=====================================
share/debian-edu-config/squid.conf
=====================================
@@ -10,3 +10,30 @@ append_domain .intern
 # is dynamically updated using
 # /usr/share/debian-edu-config/tools/squid-update-cachedir
 cache_dir ufs /var/spool/squid 100 16 256
+
+# FIXME: the next settings can be removed once #913950 (src:squid) is fixed.
+# Begin: Improve handling of Debian packages (taken from squid-deb-proxy)
+# we need a big cache, some debs are huge
+maximum_object_size 512 MB
+
+# tweaks to speed things up
+cache_mem 200 MB
+maximum_object_size_in_memory 10240 KB
+
+# refresh pattern for debs and udebs
+refresh_pattern deb$   129600 100% 129600
+refresh_pattern udeb$   129600 100% 129600
+refresh_pattern tar.gz$  129600 100% 129600
+refresh_pattern tar.xz$  129600 100% 129600
+refresh_pattern tar.bz2$  129600 100% 129600
+
+# always refresh Packages and Release files
+refresh_pattern \/(Packages|Sources)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims
+refresh_pattern \/Release(|\.gpg)$ 0 0% 0 refresh-ims
+refresh_pattern \/InRelease$ 0 0% 0 refresh-ims
+refresh_pattern \/(Translation-.*)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims
+
+# handle meta-release and changelogs.ubuntu.com special
+# (fine to have this on debian too)
+refresh_pattern changelogs.ubuntu.com\/.*  0  1% 1
+# End: handling of Debian packages



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/d7031b3910a30a093ab1d2d748f9ed29057cd347

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/d7031b3910a30a093ab1d2d748f9ed29057cd347
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20181117/7a830231/attachment-0001.html>


More information about the debian-edu-commits mailing list