Fabian Affolter
75c5ccabd2
cyclonedx-python: 7.3.0 -> 7.3.1
...
Diff: https://github.com/CycloneDX/cyclonedx-python/compare/v7.3.0...v7.3.1
Changelog: https://github.com/CycloneDX/cyclonedx-python/releases/tag/v7.3.1
2026-08-01 22:46:41 +02:00
Alexander Sieg
e85bdd372a
cyclonedx-python: fix build
2026-07-19 23:42:40 +02:00
R. Ryantm
3f24c318e9
cyclonedx-python: 7.2.2 -> 7.3.0
2026-03-31 12:27:12 +00:00
R. Ryantm
885f26d9b4
cyclonedx-python: 7.2.1 -> 7.2.2
2026-02-25 15:31:11 +00:00
quantenzitrone
18dc8a95fb
various: switch buildPythonApplication packages to use finalAttrs
...
this shouldn't create any rebuilds
the following script was used to generate this:
```fish
#!/usr/bin/env fish
# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}
set base (git rev-parse HEAD)
set scope pkgs/by-name
set builder buildPythonApplication
set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)
for file in $files
echo $file
sd -F "$builder rec {" "$builder (finalAttrs: {" $file
# version
sd -F 'version}' 'finalAttrs.version}' $file
sd -F '${version' '${finalAttrs.version' $file
sd -F '= version' '= finalAttrs.version' $file
sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
sd -F ' + version;' ' + finalAttrs.version;' $file
sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
# src
sd -F 'src}' 'finalAttrs.src}' $file
sd -F '${src' '${finalAttrs.src' $file
sd -F '= src' '= finalAttrs.src' $file
sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
# meta
sd -F '${meta' '${finalAttrs.meta' $file
sd -F '= meta' '= finalAttrs.meta' $file
sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
# pname (restored afterwards)
sd -F 'pname}' 'finalAttrs.pname}' $file
sd -F '${pname' '${finalAttrs.pname' $file
sd -F '= pname' '= finalAttrs.pname' $file
# combinations
sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
sd -F 'inherit version pname;' 'inherit (finalAttrs) version pname;' $file
sd -F 'inherit pname version;' 'inherit (finalAttrs) pname version;' $file
sd -F 'inherit pname src version;' 'inherit (finalAttrs) pname src version;' $file
sd -F 'inherit pname version src;' 'inherit (finalAttrs) pname version src;' $file
sd -F 'inherit src pname version;' 'inherit (finalAttrs) src pname version;' $file
sd -F 'inherit src version pname;' 'inherit (finalAttrs) src version pname;' $file
sd -F 'inherit version pname src;' 'inherit (finalAttrs) version pname src;' $file
sd -F 'inherit version src pname;' 'inherit (finalAttrs) version src pname;' $file
# other
sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
sd -F 'nativeBuildInputs}' 'finalAttrs.nativeBuildInputs}' $file
sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
sd -F 'propagatedBuildInputs}' 'finalAttrs.propagatedBuildInputs}' $file
sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
sd -F 'makePythonPath dependencies' 'makePythonPath finalAttrs.dependencies' $file
sd -F 'makePythonPath propagatedBuildInputs' 'makePythonPath finalAttrs.propagatedBuildInputs' $file
sd -F 'libPath}' 'finalAttrs.libPath}' $file
sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
sd -F 'runtimeDeps}' 'finalAttrs.runtimeDeps}' $file
sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
# close finalAttrs lambda
echo ')' >>$file
# catch some errors early
if ! nixfmt $file
git restore $file
continue
end
if ! nixf-diagnose -i sema-primop-overridden $file
git restore $file
continue
end
end
set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore
for file in $files
# file hasn't changed
if git diff --quiet $base $file
continue
end
# try to eval the package to definitely catch all errors
echo $file
set pname (string split / $file -f 4)
if ! nix eval .#$pname
set torestore $torestore $file
end
end
# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
git restore $torestore
end
```
after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 10:06:06 +01:00
Wolfgang Walther
2967d4ffe0
teams/ctrl-os: drop
2026-01-15 09:46:14 +01:00
Julian Stecklina
fc7a7d2772
cyclonedx-python: move ownership to ctrl-os team
2025-11-12 12:41:54 +01:00
R. Ryantm
0d3edca078
cyclonedx-python: 7.2.0 -> 7.2.1
2025-11-04 08:51:38 +00:00
R. Ryantm
bc1aae2c32
cyclonedx-python: 7.1.0 -> 7.2.0
2025-10-19 08:23:20 +00:00
R. Ryantm
d47b5bac5d
cyclonedx-python: 7.0.0 -> 7.1.0
2025-09-04 14:17:24 +00:00
R. Ryantm
297c4a41c5
cyclonedx-python: 6.1.2 -> 7.0.0
2025-07-20 14:49:53 +00:00
R. Ryantm
fb4ed560f2
cyclonedx-python: 6.1.1 -> 6.1.2
2025-07-02 18:12:23 +00:00
R. Ryantm
64ba3e270b
cyclonedx-python: 6.0.0 -> 6.1.1
2025-05-13 16:59:56 +00:00
R. Ryantm
c24e57adb8
cyclonedx-python: 5.5.0 -> 6.0.0
2025-04-28 22:06:07 +00:00
Fernando Rodrigues
05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
...
Follow-up to #394797 .
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net >
2025-04-25 22:20:17 -03:00
Fabian Affolter
5a9475bf05
cyclonedx-python: 5.3.0 -> 5.5.0
...
Diff: https://github.com/CycloneDX/cyclonedx-python/compare/refs/tags/v5.3.0...refs/tags/v5.5.0
Changelog: https://github.com/CycloneDX/cyclonedx-python/releases/tag/v5.5.0
2025-04-24 12:54:27 +02:00
R. Ryantm
9085b9b9de
cyclonedx-python: 5.2.0 -> 5.3.0
2025-03-08 05:35:33 +00:00
R. Ryantm
689fc132a0
cyclonedx-python: 5.1.2 -> 5.2.0
2025-02-22 21:03:13 +00:00
Fabian Affolter
ed5b492c7e
cyclonedx-python: 4.6.0 -> 5.1.2
...
Diff: https://github.com/CycloneDX/cyclonedx-python/compare/refs/tags/v4.6.0...v5.1.2
Changelog: https://github.com/CycloneDX/cyclonedx-python/releases/tag/v5.1.2
2025-02-14 00:41:32 +01:00
Peder Bergebakken Sundt
0cd04d3036
treewide: migrate fetchgit rev = "refs/tags/..." to tag
2025-01-04 00:19:17 +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
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