Commit Graph

57 Commits

Author SHA1 Message Date
Wolfgang Walther
41c787ba28
pgpool: 4.5.4 -> 4.5.5 (#362020) 2024-12-12 22:39:23 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
51cba62361
pg_top: 4.1.0 -> 4.1.1 2024-12-08 14:22:28 +01:00
R. Ryantm
7e5388a617 pgpool: 4.5.4 -> 4.5.5 2024-12-05 09:35:17 +00:00
Maximilian Bosch
a1d35315ca
Merge: postgresqlPackages.pg-gvm: move from top-level package (#359421) 2024-11-30 14:15:53 +01:00
Wolfgang Walther
511b0843c7
postgresqlPackages.pg-gvm: move from top-level package
This is a PostgreSQL extension, which only works properly when made
available in the postgresql.pkgs package set.
2024-11-30 14:07:25 +01:00
Wolfgang Walther
e36b87dce3
pg_top: nixfmt 2024-11-24 12:14:22 +01:00
Wolfgang Walther
c73e275bfa
pg_top: 3.7.0 -> 4.1.0
Changelog:
https://gitlab.com/pg_top/pg_top/-/blob/main/HISTORY.rst
2024-11-24 12:12:42 +01:00
Austin Horstman
fe57c7b364
pghero: 3.5.0 -> 3.6.1 (#353756) 2024-11-13 08:33:45 -06:00
Wolfgang Walther
9035573855
nixosTests.postgresql: move all postgresql related nixosTests into one folder
This makes it possible to run all those tests at once by building
nixosTests.postgresql and allow a simple entry to ci/OWNERS for all
tests.
2024-11-09 18:24:52 +01:00
Maximilian Bosch
f11b5ff8a2
Merge: pg-dump-anon: use latest postgresql available (#354526) 2024-11-09 17:57:17 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Maximilian Bosch
0418996c96
pg-dump-anon: use latest postgresql available
While reviewing #352966 I noticed that the pg_anonymizer test fails for
postgresql 17. The reason for that is that `pkgs.postgresql` is v16 and
using its psql to connect against a v17 database doesn't work.

I decided that we'll just use the latest available package in here. I
don't want to introduce another attribute (`postgresql_latest`), if
there are too many instances of that we're blocked on adding new
postgresql majors directly to master again which is the current status
quo. With the test rework in #352966 it's also way easier to catch this.
2024-11-08 16:55:18 +01:00
Ivan Trubach
df73f7de42 pghero: 3.5.0 -> 3.6.1 2024-10-31 04:48:08 +03:00
Gutyina Gergő
9744efc3b0
treewide: update pnpmDeps hashes 2024-10-19 23:50:41 +02:00
R. Ryantm
e0c406232a pgroll: 0.6.0 -> 0.7.0 2024-10-17 04:20:23 +00:00
R. Ryantm
6ca1855749 pgmoneta: 0.14.0 -> 0.14.1 2024-10-01 18:06:17 +00:00
Weijia Wang
b6f81fab2d
pgmoneta: 0.13.0 -> 0.14.0 (#341538) 2024-09-27 00:35:59 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
R. Ryantm
2dfd0954c7 pgmoneta: 0.13.0 -> 0.14.0 2024-09-13 09:27:50 +00:00
Weijia Wang
4621ef449f pg-gvm: fix build 2024-09-11 00:11:00 +02:00
Sebastián Mancilla
d8c6bddde1
pgraphs: 0.6.13 -> 0.6.17 (#333191) 2024-08-28 20:29:51 -04:00
luftmensch-luftmensch
2a2d3cb4ab
pgraphs: 0.6.13 -> 0.6.17 2024-08-22 14:02:47 +02:00
R. Ryantm
e8e29b13a0 pgmoneta: 0.12.0 -> 0.13.0 2024-08-01 01:44:38 +00:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
❄️
d42f9ebf3f
Merge pull request #329501 from Tochiaha/pg-gvm
pg-gvm: init at 22.6.5
2024-07-23 18:50:05 -03:00
tahanonu
b420f2341f pg-gvm: init at 22.6.5
Release: https://github.com/greenbone/pg-gvm/releases/tag/v22.6.5
2024-07-23 22:18:03 +01:00
Weijia Wang
330d149c16
Merge pull request #317779 from r-ryantm/auto-update/pgmoneta
pgmoneta: 0.11.1 -> 0.12.0
2024-07-03 00:26:36 +02:00
luftmensch-luftmensch
a2782b76af
pgraphs: 0.6.12 -> 0.6.13 2024-06-27 10:49:27 +02:00
luftmensch-luftmensch
da65f2146f
pgraphs: init at 0.6.12 2024-06-14 11:26:12 +02:00
Sandro
4a77c223c9
Merge pull request #269460 from tie/pghero
pghero: init at 3.4.1
2024-06-11 01:00:56 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Maximilian Bosch
958d23307b
pg-dump-anon: 1.3.1 -> 1.3.2
ChangeLog: https://gitlab.com/dalibo/postgresql_anonymizer/-/blob/1.3.2/CHANGELOG.md?ref_type=tags#20240321--132---fix-pg_catalog-bindings
2024-06-08 15:34:07 +02:00
Marie Ramlow
ac55661610 pgrok: migrate to pnpm.fetchDeps 2024-06-06 21:58:57 +02:00
Marie Ramlow
a12b6b0555 pgrok: move to by-name 2024-06-06 21:05:41 +02:00
R. Ryantm
37672eb7c3 pgmoneta: 0.11.1 -> 0.12.0 2024-06-06 15:19:50 +00:00
Ivan Trubach
a5499ee535 nixos/pghero: init 2024-05-29 03:40:48 +03:00
Ivan Trubach
ee429344a5 pghero: init at 3.5.0 2024-05-29 03:40:40 +03:00
R. Ryantm
f86578599c pgroll: 0.5.0 -> 0.6.0 2024-05-21 21:37:33 +00:00
R. Ryantm
da2fc0e0dd pgmoneta: 0.11.0 -> 0.11.1 2024-04-30 16:42:31 +00:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
R. Ryantm
a555f88d93 pgmoneta: 0.10.1 -> 0.11.0 2024-04-24 01:38:43 +00:00
iko
0fb5cc0053
pgroll: init at 0.5.0 2024-04-09 15:58:23 +03:00
R. Ryantm
f67fad6b91 pgmoneta: 0.10.0 -> 0.10.1 2024-04-05 16:24:36 +00:00
R. Ryantm
e9c98c68d3 pgmoneta: 0.9.0 -> 0.10.0 2024-03-29 01:46:06 +00:00
Maximilian Bosch
0cdaede144
pg-dump-anon: init at 1.3.1
This is a Go program inside the sources of `postgresql_anonymizer` that
allows to perform database dumps, but with anonymized data. I figured
that it's a little awkward to have a client program to be part of the
extension package.

So I decided to create a second package called `pg-dump-anon`. Since
it's one repository, both share `version` & `src`.

Also extended the VM test to make sure we're getting properly anonymized
data when dumping with `pg_dump_anon`.
2024-03-13 16:15:54 +01:00
Mario Rodas
7a0c418c66 pgagroal: migrato to by-name 2024-02-23 04:20:00 +00:00
R. Ryantm
443a4faddb pgmoneta: 0.8.0 -> 0.9.0 2024-02-15 00:01:37 +00:00