Commit Graph

49 Commits

Author SHA1 Message Date
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
Andrey Donets
b7931ec92c pget: init at 0.2.1 2024-02-07 21:02:33 +04:00
R. Ryantm
9bd349225c pgmoneta: 0.7.3 -> 0.8.0 2024-01-23 08:57:12 +00:00
Mario Rodas
d49258bc6c pgcopydb: init at 0.15 2024-01-12 04:20:00 +00:00
R. Ryantm
18e61acd4a pgmoneta: 0.7.2 -> 0.7.3 2023-12-29 10:48:08 +00:00
R. Ryantm
03eb759230 pgmoneta: 0.7.1 -> 0.7.2 2023-12-17 15:43:02 +00:00
R. Ryantm
cfea4923c6 pgmoneta: 0.7.0 -> 0.7.1 2023-10-23 12:57:35 +00:00
Mario Rodas
60cd55da08 pgmoneta: init at 0.7.0 2023-10-14 04:20:00 +00:00