| 4 Sep 2022 |
| NixOS Moderation Bot joined the room. | 01:20:00 |
| ryantm set the room topic to "Keeping nixpkgs up to date. r-ryantm bot. https://github.com/ryantm/nixpkgs-update and https://github.com/nix-community/infra/blob/master/build02/nixpkgs-update.nix". | 03:05:41 |
| Room Avatar Renderer. | 03:06:44 |
| Alyssa Ross joined the room. | 08:23:05 |
| @ronnypfannschmidt:matrix.org joined the room. | 13:49:22 |
| hexa joined the room. | 14:43:01 |
| Sandro 🐧 joined the room. | 15:01:23 |
| [0x4A6F] joined the room. | 19:25:34 |
| 5 Sep 2022 |
| Artturin joined the room. | 09:54:17 |
| ribosomerocker joined the room. | 11:42:14 |
| @teutat3s:pub.solar joined the room. | 15:40:55 |
| 6 Sep 2022 |
| j-k joined the room. | 12:18:22 |
| 7 Sep 2022 |
j-k | One thing I've been thinking about for a while is nix-update is nice but having fully automated process for multiple packages is super useful. Either making nixpkgs-update easier to run or another idea was adding nix update features to renovatebot which is already quite widely used
https://github.com/renovatebot/renovate/issues/8000 | 12:41:43 |
Sandro 🐧 | we do not want multiple people to run nixpkgs-update | 13:01:35 |
Sandro 🐧 | nix-update-auto() {
local args base_branch=master branch current_branch package package_name=() version versions
package="${*: -1}"
case $package in
python:*)
IFS=" " read -r -a package_name <<<"${package//:/ }"
package="python310Packages.${package_name[1]}"
set -- "${@:1:$#-1}" "$package"
;;
*) ;;
esac \
;
args=($(getopt --unquoted --options "hf:v:r:" --long "help,build,test,commit,version-regex:,run:,shell:,version:" -- "$@"))
(
set -e
for branch in master staging-next staging; do
versions+="$(nix eval --raw ".?ref=$branch#$package.version")\n"
done
if ! [[ $(echo -e "$versions" | sort -u | wc -l) != 1 ]]; then
echo "Package has different versions on master and different staging branches. Please check manually."
nix versions "$package"
read -r -n 1 -p "Continue? [any/Ctrl-C]"
echo
fi
current_branch="$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)"
if [[ $current_branch != "${args[*]: -1}" && $current_branch != python-updates ]]; then
if [[ ${*: -1} =~ (libva|python.*Packages.(asgiref|attrs|babel|certifi|cryptography|cython|ddt|httpbin|hypothesis|jsonschema|libcst|lxml|paramiko|pbr|pillow|pycares|pygments|pylint|requests|typed-ast|types-typed-ast|urllib3|xmltodict|zipp)|rust-cbindgen) ]]; then
echo "Targeting staging..."
base_branch="$(git merge-base upstream/master upstream/staging)"
export GIT_NEXT_PUSH_TARGET_BRANCH="$base_branch"
fi
git checkout -b "${args[@]: -1}" "$base_branch"
fi
nix-update --build --commit "${args[@]}"
if [[ $current_branch != python-updates ]]; then
git push
fi
)
}
| 13:01:40 |
hexa | pretty sure the idea was to make it reusable on other repos that nixpkgs as well | 13:02:25 |
| 11 Sep 2022 |
hexa | * pretty sure the idea was to make it reusable on other repos than nixpkgs as well | 02:15:34 |
| @ronnypfannschmidt:matrix.org changed their profile picture. | 21:27:03 |
| 15 Sep 2022 |
| @m_algery:leohoo.xyz joined the room. | 12:53:09 |
| @m_algery:leohoo.xyz left the room. | 12:53:10 |
| 17 Sep 2022 |
| @anderson_torres:matrix.org joined the room. | 11:36:06 |
| 18 Sep 2022 |
| @ronnypfannschmidt:matrix.org left the room. | 11:34:50 |
| 22 Sep 2022 |
| zonnebloem joined the room. | 20:34:24 |
zonnebloem | Hello | 20:34:29 |
zonnebloem | I saw a package which isn't up to date | 20:34:41 |
zonnebloem | The history of the package show it skips a few version each bump. | 20:35:10 |
ryantm | which package? | 20:35:30 |
zonnebloem | Is there some timer to limit the updates? | 20:35:30 |
zonnebloem | https://github.com/NixOS/nixpkgs/commits/dc61912099b6bfe4b9b8e88ae1b56d3b79f3772e/pkgs/development/web/flyctl/default.nix | 20:35:43 |
ryantm | Here's the logs for it https://r.ryantm.com/log/flyctl/ | 20:36:06 |