3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

565365 commits

Author SHA1 Message Date
Dee Anzorge f124c73686 nginx: change etags for statically compressed files served from store
Per RFC 9110, [section 8.8.1][1], different representations of the same
resource should have different Etags:

> A strong validator is unique across all versions of all
> representations associated with a particular resource over time.
> However, there is no implication of uniqueness across representations
> of different resources (i.e., the same strong validator might be in
> use for representations of multiple resources at the same time and
> does not imply that those representations are equivalent)

When serving statically compressed files (ie, when there is an existing
corresponding .gz/.br/etc. file on disk), Nginx sends the Etag marked
as strong. These tags should be different for each compressed format
(as shown in  an explicit example in section [8.8.3.3][2] of the RFC).
Upstream Etags are composed of the file modification timestamp and
content length, and the latter generally changes between these
representations.

Previous implementation of Nix-specific Etags for things served from
store used the store hash. This is fine to share between different
files, but it becomes a problem for statically compressed versions of
the same file, as it means Nginx was serving different representations
of the same resource with the same Etag, marked as strong.

This patch addresses this by imitating the upstream Nginx behavior, and
appending the value of content length to the store hash.

[1]: https://www.rfc-editor.org/rfc/rfc9110.html#name-validator-fields
[2]:
https://www.rfc-editor.org/rfc/rfc9110.html#name-example-entity-tags-varying
2024-01-13 22:07:50 +01:00
Nick Cao 3cb442f494
Merge pull request #277947 from NickCao/telegram-desktop
telegram-desktop: 4.13.1 -> 4.14.1
2024-01-02 14:16:52 -05:00
Nick Cao 2a70c15900
Merge pull request #278307 from chewblacka/update-apx
apx: 2.1.1 -> 2.1.2
2024-01-02 13:58:13 -05:00
Steven Kou 4b5483ae1b joplin-desktop: 2.13.11 -> 2.13.12 2024-01-02 19:54:11 +01:00
Pierre Bourdon 3e6b17baf9
Merge pull request #277718 from trofi/libtarceevent-update
libtraceevent: 1.8.0 -> 1.8.1
2024-01-02 19:30:26 +01:00
Pierre Bourdon a2fa85921a
Merge pull request #278176 from r-ryantm/auto-update/noto-fonts
noto-fonts: 23.12.1 -> 24.1.1
2024-01-02 19:28:52 +01:00
Pierre Bourdon fa0e03c177
Merge pull request #277342 from paveloom/anki
anki: 23.12 -> 23.12.1
2024-01-02 19:28:19 +01:00
R. Ryantm 699f060b12 wayland-proxy-virtwl: unstable-2023-11-28 -> unstable-2023-12-09 2024-01-02 18:50:45 +01:00
Emily 9c56ece502
Merge pull request #274863 from yu-re-ka/chromium-llvm17
chromium: use llvm 17
2024-01-02 18:42:10 +01:00
Pierre Roux 9c5eec2b20 coqPackages.coq-elpi: 1.19.0 -> 2.0.1 2024-01-02 18:39:20 +01:00
maxine b74ab8eac5
Merge pull request #277243 from mfrw/mfrw/iwd-2.12
iwd: 2.11 -> 2.12
2024-01-02 18:11:29 +01:00
Robert Schütz 4e44fb9c26
Merge pull request #278289 from amarshall/bitwarden-update
bitwarden: fix build; 2023.12.0 -> 2023.12.1
2024-01-02 17:57:29 +01:00
John Garcia 5c5ba2333f apx: 2.1.1 -> 2.1.2 2024-01-02 16:56:23 +00:00
Nick Cao 8e2cdc7fac
Merge pull request #277999 from r-ryantm/auto-update/gqlgenc
gqlgenc: 0.15.1 -> 0.16.1
2024-01-02 11:41:26 -05:00
Nick Cao d1ef597575
Merge pull request #278017 from r-ryantm/auto-update/python311Packages.pytest-check
python311Packages.pytest-check: 2.2.2 -> 2.2.3
2024-01-02 11:40:46 -05:00
Nick Cao 289e0a8e7f
Merge pull request #278084 from r-ryantm/auto-update/zsh-nix-shell
zsh-nix-shell: 0.7.0 -> 0.8.0
2024-01-02 11:38:28 -05:00
Nick Cao f01121fe73
Merge pull request #278083 from r-ryantm/auto-update/zsh-forgit
zsh-forgit: 23.09.0 -> 24.01.0
2024-01-02 11:38:06 -05:00
Nick Cao 9d549b919e
Merge pull request #278275 from fabaff/ha-mqtt-discoverable-bump
python311Packages.ha-mqtt-discoverable: 0.13.0 -> 0.13.1
2024-01-02 11:32:56 -05:00
Nick Cao 2683ae6280
Merge pull request #278281 from r-ryantm/auto-update/python310Packages.clarifai-grpc
python310Packages.clarifai-grpc: 9.11.4 -> 9.11.5
2024-01-02 11:32:07 -05:00
Nick Cao 060cd9ac30
Merge pull request #278291 from r-ryantm/auto-update/python310Packages.cloup
python310Packages.cloup: 3.0.3 -> 3.0.4
2024-01-02 11:30:17 -05:00
Nick Cao 92afbf85f0
Merge pull request #278238 from teto/mainProgram-openlens
openlens: set mainProgram
2024-01-02 11:28:37 -05:00
Nick Cao a81c84d99a
Merge pull request #278265 from r-ryantm/auto-update/python310Packages.boto3-stubs
python310Packages.boto3-stubs: 1.34.8 -> 1.34.11
2024-01-02 11:27:07 -05:00
Nick Cao 4d7704f167
Merge pull request #278266 from Nanotwerp/catppuccin-float
catppuccin-gtk: add "float" as a tweak option
2024-01-02 11:26:53 -05:00
Nick Cao e540b5e51a
Merge pull request #278272 from fabaff/bleak-esphome-bump
python311Packages.bleak-esphome: 0.4.0 -> 0.4.1
2024-01-02 11:25:44 -05:00
Nick Cao faa626ae37
Merge pull request #278211 from r-ryantm/auto-update/python311Packages.pyduotecno
python311Packages.pyduotecno: 2023.11.1 -> 2024.1.1
2024-01-02 11:22:52 -05:00
Nick Cao e72f9b2716
Merge pull request #278217 from r-ryantm/auto-update/tuc
tuc: 1.1.0 -> 1.2.0
2024-01-02 11:21:46 -05:00
Nick Cao 72b55b740a
Merge pull request #278220 from r-ryantm/auto-update/cargo-run-bin
cargo-run-bin: 1.6.1 -> 1.7.0
2024-01-02 11:20:33 -05:00
Sergei Trofimovich 29a2c82603
pythonInterpreters.pypy39_prebuilt: fix eval (#277543)
Without the change the eval fails as:

    $ nix build --no-link -f. pythonInterpreters.pypy39_prebuilt.buildEnv
    error:
       error: attribute 'pypy38_prebuilt' missing
          208|     # Not included at top-level
          209|     self = __splicedPackages.pythonInterpreters.pypy38_prebuilt;
             |            ^
          210|     sourceVersion = {
       Did you mean one of pypy39_prebuilt or pypy27_prebuilt?
2024-01-02 17:20:05 +01:00
Nick Cao a83f8e2592
Merge pull request #278237 from mariuskimmina/master
cnspec: Change license and add maintainer
2024-01-02 11:19:49 -05:00
Mauricio Collares 24954c2e73
Merge pull request #278257 from nevivurn/fix/sage-ecl
sage: import 10.2.beta3 patches
2024-01-02 13:18:11 -03:00
Nick Cao 4a010834c7
Merge pull request #278173 from r-ryantm/auto-update/kail
kail: 0.17.2 -> 0.17.3
2024-01-02 11:17:27 -05:00
Nick Cao c53c192586
Merge pull request #278181 from r-ryantm/auto-update/oelint-adv
oelint-adv: 3.26.5 -> 3.26.6
2024-01-02 11:17:01 -05:00
Nick Cao 42fce0b83c
Merge pull request #278195 from r-ryantm/auto-update/python310Packages.aiohomekit
python310Packages.aiohomekit: 3.1.0 -> 3.1.1
2024-01-02 11:15:41 -05:00
Nick Cao 9836ad0a4c
Merge pull request #278118 from sikmir/iterm2
iterm2: 3.4.22 → 3.4.23
2024-01-02 11:13:33 -05:00
Nick Cao 18e093e137
Merge pull request #278139 from surfaceflinger/jazz2-2.4.1
jazz2: 2.4.0 -> 2.4.1
2024-01-02 11:12:28 -05:00
Nick Cao 46976f7fac
Merge pull request #278143 from r-ryantm/auto-update/micropad
micropad: 4.4.0 -> 4.5.1
2024-01-02 11:12:15 -05:00
Nick Cao 6ab0516340
Merge pull request #278148 from NickCao/v2ray-domain-list-community
v2ray-domain-list-community: 20231219144426 -> 20240101162810
2024-01-02 11:11:28 -05:00
Nick Cao 8f74fdfdd7
Merge pull request #278156 from r-ryantm/auto-update/minesweep-rs
minesweep-rs: 6.0.45 -> 6.0.47
2024-01-02 11:11:07 -05:00
Robert Schütz 0181712065
Merge pull request #277426 from dotlambda/pyturbojpeg-1.7.3
python311Packages.pyturbojpeg: 1.7.2 -> 1.7.3
2024-01-02 16:54:17 +01:00
Reed Riley fcdef139d2 mullvad: use hash instead of sha256 for patch 2024-01-02 07:53:55 -08:00
Reed Riley 590ec5b412 mullvad: 2023.5 -> 2023.6 2024-01-02 07:53:55 -08:00
Maximilian Bosch 1a08a38091
Merge pull request #278223 from pks-t/pks-nextcloud-disable-php-output-buffering
nixos/nextcloud: disable output buffering
2024-01-02 16:44:41 +01:00
Adam Stephens 70514428af fish: add changelog url 2024-01-02 07:40:58 -08:00
Adam Stephens af1e902005 fish: add adamcstephens as maintainer 2024-01-02 07:40:58 -08:00
Adam Stephens 87e492bd3a fish: 3.6.4 -> 3.7.0 2024-01-02 07:40:58 -08:00
Maximilian Bosch ce2f84c71a
Merge pull request #278202 from r-ryantm/auto-update/hex
hex: 0.5.0 -> 0.6.0
2024-01-02 16:31:11 +01:00
Thomas Gerbet 82b59b1382
Merge pull request #277670 from r-ryantm/auto-update/obs-studio-plugins.obs-replay-source
obs-studio-plugins.obs-replay-source: 1.6.12 -> 1.6.13
2024-01-02 15:55:41 +01:00
R. Ryantm 6ea3b0e063 python310Packages.cloup: 3.0.3 -> 3.0.4 2024-01-02 14:53:55 +00:00
Robert Schütz 31928d049d bitwarden: 2023.12.0 -> 2023.12.1
Diff: https://github.com/bitwarden/clients/compare/desktop-v2023.12.0...desktop-v2023.12.1

Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2023.12.1
2024-01-02 09:51:20 -05:00
Andrew Marshall 9201c2e674 bitwarden: Filter patches for cargo sourceRoot
Since we pass `sourceRoot` to `fetchCargoTarball`, any patches that
affect files outside of that `sourceRoot` will fail to apply. So map
each patch to remove any diff hunks outside that `sourceRoot`.

This was only working before due to the FOD being cached from before
such problematic patches were added (in commit
333dadbe66).
2024-01-02 09:36:45 -05:00