Peder Bergebakken Sundt
293c772518
ubi_reader: 0.8.9 -> 0.8.10 ( #381211 )
2025-05-01 20:31:03 +02: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
László Vaskó
2c280cbd17
ubi_reader: 0.8.9 -> 0.8.10
2025-04-23 16:59:30 +02:00
László Vaskó
d7441a1328
ubi_reader: add update script
2025-04-23 16:59:30 +02:00
Nick Cao
7c08950c0a
ubports-pdk: 0-unstable-2024-08-28 -> 0-unstable-2025-04-06 ( #400506 )
2025-04-21 17:17:58 -04:00
awwpotato
fd8bf4519b
treewide: move to by-name
2025-04-21 09:02:01 -07:00
R. Ryantm
05ba300fbf
ubports-pdk: 0-unstable-2024-08-28 -> 0-unstable-2025-04-06
2025-04-21 10:22:28 +00:00
Winter
a19cd4ffb1
Revert "treewide: replace rev
with tag
"
...
This reverts commit 65a333600d
.
This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.
It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).
A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.
[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d
treewide: replace rev
with tag
2025-04-07 16:57:22 +02:00
José Romildo Malaquias
5344a07283
ubuntu-themes: 20.10 -> 24.04 ( #388418 )
2025-03-13 07:47:37 -03:00
Peder Bergebakken Sundt
357d2530e5
treewide: substitute pname for strings
...
Inspired by https://github.com/NixOS/nixpkgs/pull/387725#issuecomment-2704943777 , script is based on https://github.com/NixOS/nixpkgs/pull/336172 using what i learned in https://github.com/NixOS/nixpkgs/pull/386865 , part of https://github.com/NixOS/nixpkgs/issues/346453
Should be zero rebuilds.
All candidates were made using:
```shell
export NIXPKGS_ALLOW_UNFREE=1
export NIXPKGS_ALLOW_INSECURE=1
export NIXPKGS_ALLOW_BROKEN=1
git-wait restore .
test -s packages.json || ( set -x;
time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages.json
)
list_attrpath_fname_col() {
jq <packages.json 'to_entries[] | select(.value.meta.position==null|not) | "\(.key)\t\(.value.meta.position)"' -r |
sed -e "s#\t$(realpath .)/#\t#" |
sed -e 's#:\([0-9]*\)$#\t\1#' |
grep . |
grep -iv haskell |
grep -iv /top-level/ |
grep -iv chicken |
grep pkgs/by-name/ |
grep -iv build |
grep -E '/(package|default)\.nix'
}
FLOCKDIR="$(mktemp -d)"
N_WORKERS=4
while read attrpath fname col; do
grep -qE 'repo *= *("\$\{pname\}"|pname);' "$fname" || continue
echo | (
# mutex on fname
flock --nonblock 200 || {
>&2 echo "failed to aquire lock for $fname"
exit 1
}
echo "$attrpath"
data="$(nix eval --impure --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)" || exit
test -n "$data" || exit
pname="$(jq <<<"$data" .pname -r)"
test -n "$pname" || exit
(set -x
sd -F '${pname}' "$pname" "$fname"
sd -F ' = pname;' " = \"$pname\";" "$fname"
)
data2="$(nix eval --impure --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)"
if [[ "$data" = "$data2" ]]; then
(set -x; git-wait add "$fname")
else
(set -x; git-wait restore "$fname")
exit
fi
(set -x
sd -F ' rec {' ' {' "$fname"
)
data3="$(nix eval --impure --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json 2>/dev/nul)"
if [[ "$data" = "$data3" ]]; then
(set -x; git-wait add "$fname")
else
(set -x; git-wait restore "$fname")
fi
) 200>"$FLOCKDIR"/"$(sha256sum - <<<"$fname" | cut -d' ' -f1)".lock &
while [[ $(jobs -p | wc -l) -ge $N_WORKERS ]]; do
wait -n < <(jobs -p) || true
done
done < <(list_attrpath_fname_col)
wait
git restore .
time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages2.json
```
`diff packages{,2}.json` is empty, indicating that no package nor src derivation has changed.
I checked and cherry-picked the changes using `GIT_DIFF_OPTS='-u15' git -c interactive.singleKey=true add --patch`
2025-03-11 23:55:31 +01:00
emaryn
c3bcd95161
ubuntu-themes: 20.10 -> 24.04
2025-03-09 19:54:59 +08:00
Nick Cao
a9b96f5dce
ubports-click: add missing dependency on chardet
2025-03-01 15:37:48 -05:00
Cosima Neidahl
c124839df0
ubports-pdk: init at 0-unstable-2024-08-28 ( #357719 )
2025-02-11 11:30:13 +01:00
Vladimír Čunát
1d15050d3e
ubuntu-themes: dontCheckForBrokenSymlinks = true
2025-02-05 13:02:22 +01:00
Peder Bergebakken Sundt
0cd04d3036
treewide: migrate fetchgit rev = "refs/tags/..."
to tag
2025-01-04 00:19:17 +01:00
OPNA2608
dba1cb7d78
ubports-click: nixfmt
2024-12-24 11:15:09 +01:00
OPNA2608
5f3da539cc
ubports-click: Get rid of externally-supplied self
2024-12-24 11:11:45 +01:00
OPNA2608
65121a8080
ubports-click: Migrate to by-pkgs
2024-12-24 10:43:21 +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
OPNA2608
5302d519f9
ubports-pdk: init at 0-unstable-2024-08-28
2024-11-21 01:05:40 +01:00
KSJ2000
590c145570
ubi_reader: 0.8.5 -> 0.8.9
2024-11-12 10:26:49 +02: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
Anthony ROUSSEL
f29ed88f30
ubridge: add anthonyroussel to maintainers
2024-09-22 20:21:33 +02:00
Anthony ROUSSEL
bab6df353c
ubridge: 0.9.18 -> 0.9.19
...
https://github.com/GNS3/ubridge/compare/v0.9.18...v0.9.19
2024-09-22 20:21:32 +02:00
Anthony ROUSSEL
f04bdba527
ubridge: add passthru.updateScript
2024-09-22 20:21:32 +02:00
Anthony ROUSSEL
69ed950c46
ubridge: migrate to pkgs/by-name, format with nixfmt-rfc-style
2024-09-22 20:21:29 +02:00
R. Ryantm
c19c3c3927
ubuntu-sans: 1.004 -> 1.006
2024-08-09 00:40:21 +00:00
R. Ryantm
46f73389ca
ubuntu-sans-mono: 1.004 -> 1.006
2024-07-28 04:07:34 +00:00
Sigmanificient
61fe0c0416
pkgs/by-name: remove unused arguments
2024-07-26 10:11:07 +02:00
jopejoe1
03f1e5833a
ubuntu-classic: init at 0.83-6ubuntu2
2024-06-07 19:53:29 +02:00
jopejoe1
c5fac65484
ubuntu-sans-mono: init at 1.004
2024-06-07 19:53:29 +02:00
jopejoe1
73edf6a87f
ubuntu-sans: init at 1.004
2024-06-07 19:53:28 +02:00