Skip to content

Commit

Permalink
docs: update weekly packages update process instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Feb 16, 2024
1 parent e6ca685 commit 878c648
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,24 @@ nix why-depends .#<PACKAGE> .#<DEPENDENCY>

#### Packages update process

* Create a `pkgs-weekly-update` branch and collect all package updates
in this branch (Monday)
* Create a `pkgs-weekly-update` branch to collect all package updates
in this branch and create PR (Monday)
```bash
git checkout -b pkgs-weekly-update-$(date "+%Y-%U")
git checkout -b pkgs-weekly-update-$(date "+%Y-%V")

git push --set-upstream origin pkgs-weekly-update-$(date "+%Y-%V")
```

* Merge automatically created flake update PR (`flake-update-action-pr` branch)
in to `pkgs-weekly-update` branch

* Submit `pkgs-weekly-update` PR
```
git pull
gh pr create --title "pkgs: weekly update $(date "+%Y-%V")"
```

* Pull from the latest Nixpkgs master (Thursday - Friday)
```bash
utils/pull-nixpkgs.sh <NIXPKGS-DIR>
Expand All @@ -175,9 +184,4 @@ nix build --json .\#test-qgis.x86_64-linux | jq -r '.[].outputs | to_entries[].
nix build --json .\#test-qgis-ltr.x86_64-linux | jq -r '.[].outputs | to_entries[].value' | cachix push geonix
```

* Submit PR (Friday)
```
gh pr create --title "pkgs: weekly update $(date "+%Y-%U")"
```

* Merge PR (Friday or Saturday)
* Merge `pkgs-weekly-update` PR (Friday, Saturday)

0 comments on commit 878c648

Please sign in to comment.