Skip to content

examples/sync-rebuild: use aur-fetch#1209

Merged
AladW merged 1 commit intomasterfrom
fetch-rebuild
Aug 28, 2025
Merged

examples/sync-rebuild: use aur-fetch#1209
AladW merged 1 commit intomasterfrom
fetch-rebuild

Conversation

@AladW
Copy link
Member

@AladW AladW commented Aug 27, 2025

This update fixes several bugs in sync-rebuild, and replaces the aur-sync invocation with aur-fetch.

  • Fix wrongly indented return statement in rebuild_packages(), causing at most one target to be handled
  • Print package bases in diagnostic messages
  • Use aur-fetch so that dependency order can be specified manually on the command-line, and no unneeded requests are spent on computing dependencies for repeated calls
  • Update documentation

An alternative is to support both aur-sync and aur-fetch, replacing --no-fetch (previously --no-sync) with --sync and --fetch, respectively.

Since new dependencies need to be retrieved manually, this commit solves issue #1139.

This update fixes several bugs in sync-rebuild, and replaces the
aur-sync invocation with aur-fetch.

* Fix wrongly indented return statement in rebuild_packages(), causing
  at most one target to be handled
* Print package bases in diagnostic messages
* Use aur-fetch so that dependency order can be specified manually on
  the command-line, and no unneeded requests are spent on computing
  dependencies for repeated calls
* Update documentation

An alternative is to support both `aur-sync` and `aur-fetch`, replacing
`--no-fetch` (previously `--no-sync`) with `--sync` and `--fetch`,
respectively.

Since new dependencies need to be retrieved manually, this commit solves
issue #1139.
@AladW AladW added the examples label Aug 27, 2025
@AladW AladW merged commit c4ad5dd into master Aug 28, 2025
2 checks passed
@AladW AladW deleted the fetch-rebuild branch August 28, 2025 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant