summarylogtreecommitdiffstats
path: root/aurutils.changelog
blob: 2109fb9c3dc539d24933e8240410e4627063ecbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
## 20.3

* `perl`
  + recursively remove targets with `Depends::prune` (#1184)

## 20.2

* `aur-build`
  + add `AUR_MAKEPKG_GNUPGHOME`, `--makepkg-gnupghome`
  + propagate `LOGDEST` to `aur-chroot`

* `aur-sync`
  + add `--auto-key-retrieve`
    - retrieve PGP keys to `AUR_SYNC_GNUPGHOME` keyring
    - keyring defaults to `$XDG_DATA_HOME/aurutils/sync/gnupg`
  + add diagnostic for tsort failure (#1039)
 
## 20.1

* `aur-chroot`
  + avoid triggering `--status` when `--path` is given (#1181)

## 20

* `aur-chroot`
  + run `--status` if no modes are specified

* `aur-sync`
  + move git `orderFile` to `XDG_CONFIG_HOME/aurutils/view/orderfile` (#1167)

* `aur-view`
  + define missing `XDG_CONFIG_HOME` (#1177)

* `perl`
  + move `AUR::Repo` to `aur-repo-parse`
  + move `AUR::Depends::get` to `aur-depends::solve`
  + move `AUR::Depends::vercmp` to `AUR::Vercmp`

## 19.9

* `aur-repo`
  + warn if a local repository is not configured in pacman.conf (instead of exiting)

## 19.8

* `aur-graph`
  + fix for "add `-REVERSE`" in 19.6

## 19.7

* `perl`
  + `AUR::Depends`: revert broken refactoring (#1166)

## 19.6

* `aur-graph`
  + add `REVERSE`

* `aur-sync`
  + fix `--optdepends` dependency order (#1164)

* `aur-view`
  + diff from `/dev/null` on invalid revision (#1162)

* `perl`
  + `AUR::Depends`: warn about targets that are not found (#1165)

## 19.5

* `aur-repo`
  + print `[]` for no matches with `-Js` (#1153)

* `aur-repo-parse`
  + do not emit repo filename suffix for `Repository` key (#1158)

* `man1`
  + `ccache` with `aur-chroot` needs `--bind-rw` (#1156)

## 19.4

* `aur-sync`
  + add error if `aur-build --status` fails

* `aur-build`
  + add error if `aur-repo --status` or `aur-chroot --status` fails

* `perl`
  + `AUR::Repo`: add `parse_db_file()`

## 19.3

* Revert 19.2

## 19.2

* `aur-chroot`
  + add diagnostic when devtools is not installed

## 19.1

* `aur-sync`
  + pass `--root` to `aur-build` (#1148, #1149)

## 19

* `aur-build`
  + add `--cleanbuild`
  + do not shell quote `--status` paths
  + early check for buildscript

* `aur-chroot`
  + do not shell quote `--status` paths

* `aur-depends`
  + only include `Self` targets for command-line arguments (`--table`, #1136)
  + verify dependency version requirements (`--verify`)

* `aur-graph`
  + prevent unwanted matches in certain URLs (#1134)

* `aur-repo`
  + add `-m` / `--missing`
  + add `--ignore`, `--ignore-by`
  + do not shell quote `--status` paths
  + fix invalid output with `--json --search` (#1126)

* `aur-sync`
  + document `aur-view` options
  + detect local repositories with `--chroot` configuration (#1135)
  + add `--clean` / `-C`, `--cleanbuild`
    - default build command changed to `aur build --syncdeps`
  + add `aur-sync--filter` helper (#1136, #1140)

* `aur(1)`
  + use `git-clean -ixd` to clean directories with `aur-gc`

* `perl`
  + add `Depends.pm`, `Repo.pm`

## 18.5

* `aur-repo`
  + prefix pacman.conf in error messages (#1118)

* `aur-build`
  + propagate `--pacman-conf` to local repository upgrade

## 18.4

* `aur-repo`
  + fix incomplete output with `--search` (`--json`, #1120)

## 18.3

* `aur-build--pkglist`
  + do not source `PKGBUILD` in `$PATH` (#1115)

* `aur-repo`
  + use pacman `DBPath` as `root` (`--sync`)

* `aur-depends`
  + skip lines with equal `pkgbase` (`--pkgbase`)

## 18.2

* `aur-repo`
  + do not require `file://` path for specified repository (#1113)

* `aur-depends`
  + fix regression introduced in v18 (#1112)

* `aur-build`
  + fix `--temp` (#1111)

## 18.1

* `aur-chroot`
  + remove `/usr/share/devtools/pacman.conf.d/aurutils.conf` path introduced in v18

## 18

* `aur-build`
  + add `--dbext`
  + shell escape file paths in diagnostics

* `aur-chroot`
  + take file paths in `/etc/aurutils` into account
  + add `--build` options (`-A`, `--nocheck`, `--namcap`, `--checkpkg`, `--temp`, `--user`)
  + add `--status`
    + `--path` is now deprecated
  + `--suffix` no longer defaults to `extra`

* `aur-depends`
  + `RequiredBy` is now a flat dictionary (`--json`, `--jsonl`)

* `aur-fetch`
  + only run git-rebase/merge on new upstream commits

* `aur-repo`
  + shell escape printed file paths
  + add `--dbext`
  + require a configured pacman repository (`--database`)

## 17.3

* `aur-build`
  + use `printf` instead of `warning` (#1101)

## 17.2

* `aur-sync`
  + remove repository write check

* `examples`
  + rename `sync-rebuild --vcs` to `--pkgver`

## 17.1

* `examples`
  + add `--vcs` for `sync-rebuild`

## 17

* `aur-sync`
  + `--no-build` now prints `AURDEST` paths regardless of `AUR_SYNC_USE_NINJA` (#1096)

* `examples`
  + remove `python-pyxdg` dependency (#1096)
  + fixes for `sync-rebuild` (#1096)

## 16.5

* `examples`
  + add `--chroot`, `--user` for `sync-rebuild`

## 16.4

* `aur-repo-parse`
  + improve `Repository` field
  + check database extension

* `examples`
  + add AUR dependency resolution for `sync-rebuild`

## 16.3
* `aur-sync`
  + only print queue with `--no-build` to standard output

## 16.2

* `aur-sync`
  + `--save` now applies when building packages

## 16.1

* `examples`
  + fixes for `sync-rebuild`

## 16

* `aur-repo`
  + `--status` is now the default
  + add `Repository` to `--json` / `--jsonl` output

* `aur-format`
  + add `%R` format option

* `perl`
  + `write_json()` now returns a string

* `aur`
  `--env` now prints `PERL5LIB`

## 15.7

* `aur-repo`
  + add `--search`, `--search-by` (#1057)

* `aur-sync`
  + `--save`: do not use `/dev/stdout` (#1083)

## 15.6

* `examples`
  + remove `AUR_EXEC_PATH` from `sync-asroot` [fixup]

## 15.5

* `aur-build`
  + support makepkg configuration in `/etc/aurutils` (#1076)

* `aur-depends`
  + add `--jsonl`

## 15.4

* `aur-sync`
  + add `--save`

* `examples`
  + `sync-asroot` now works with `AUR_PAGER=ranger` (#1077)
  + `sync-rebuild` python rewrite

## 15.3

* `aur-pkglist`, `aur-view`, `aur-search`
  + prefix errors with command name

## 15.2

* `aur-chroot`
  + adjust default `makepkg`, `pacman` paths depending on `devtools` version (#1072)

## 15.1

* `aur-pkglist`
  + remove deprecated options (`-J` (`--json`), `-I`, `-S`) [fixup]

## 15

* `aur-repo`
  + add `--format` (`-f`), `--delim`

* `aur-format`
  + support `aur-repo-parse --jsonl` input (`AUR::Json.pm`)

* `aur-pkglist`
  + remove deprecated options (`-J` (`--json`), `-I`, `-S`)
  + update documentation

* `examples`
  + `sync-rebuild` now respects package `epoch`

## 14.1

* `aur-sync`
  + fix exit codes for `tsort`, `aur-repo-parse`

## 14

* `aur-depends`
  + add `Self` dependency for every target (#1065)

* `aur-sync`
  + `--rebuild-tree` now implies `--no-provides` (#1068)
  + add `--no-sync` (`aur-build --no-sync`) (#1064)

## 13.8

* `aur-depends`
  + add `--show-all` (alias for `--all`)
  + prune virtual targets with `--all`

## 13.7

* `aur-depends`
  + fix regression in 13.6

## 13.6

* `aur-depends`
  + fix output when non-AUR targets are specified on the command-line (#1062)

## 13.5

* `aur-build`
  + use /etc/aurutils/pacman-<db_name>.conf only with `--database` or `AUR_REPO` set

## 13.4

* `aur-fetch`
  + exit 0 on empty stdin (`-`, `/dev/stdin`)

* `aur-depends`
  + exit 0 on empty stdin (`-`, `/dev/stdin`)

* `aur-query`
  + exit 0 on empty stdin (`-`, `/dev/stdin`)

* `aur-view`
  + evaluate `AUR_CONFIRM_PAGER`

## 13.3

* `Makefile`
  + correctly install to `AUR_LIB_DIR`

* `aur-build`
  + get local repository state before `--chroot` configuration

* `aur-graph`
  + add `PRINTALL`

* `aur.1`
  + fixes for `aur-format`

## 13.2

* `build--pkglist`
  + set `pkgname` as fallback for `pkgbase` (#1058)

## 13.1

* `aur-fetch`
  + fix regression for `aur-fetch--mirror`

## 13

* `aur-build`
  + add `--null` (`-z`)
  + add `AUR_BUILD_PKGLIST` environment variable

* `aur-build--pkglist`
  + remove `--user` (`-U`)
  + only run as root with `AUR_ASROOT` set

* `aur-depends`
  + add `--assume-installed`

* `aur-srcver`
  + accept arbitrary source directories as arguments
  + add `--arg-file` (`-a`), `--null` (`-z`), `--margs`
  + add `AUR_MAKEPKG` environment variable
  + only run as root with `AUR_ASROOT` set
  + exit 1 if any `makepkg` job failed

* `aur-sync`
  + `--ignore` now removes dependencies of ignored targets

* `examples`
  + update `sync-asroot` to use `AUR_BUILD_PKGLIST`

## 12.1

* `AUR.pm`
  + call `urlencode()` when retrieving URIs with `AUR::Query` (#1053)

* `aur-depends`
  + documentation updates

## 12

* `aur-build`
  + merge helper `aur-build--sync` back to `aur-build`
  + avoid errors with PKGBUILDs that fail to source with `set -e`

* `aur-repo-filter`
  + `unbuffer` is now optional (#1052)

* `aur-view`
  + use null seperated lists as input to vifm(1)

* `examples`
  + add `sync-rebuild`

* `lib`
  + unset `CDPATH` where needed
  + use `getopt` instead of `parseopts.sh` from libmakepkg

* `man1`
  + documentation updates

## 11

* `aur-build`
  + add `aur-build--sync` helper for local repository upgrades
    - `sudo pacman -Syu --config` is replaced by `sudo pacsync <repo>` and `sudo pacman -S <repo>/<pkg>`
    - local repository upgrades are now unaffected by `--pacman-conf`
  + add `exist:` to `--results` output
    - remove `--dry-run`
  + fallback to `/etc/aurutils/pacman-<machine>.conf` if `pacman-<database>.conf` does not exist
  + rename `MAKEPKG` environment variable to `AUR_MAKEPKG`
  + replace experimental `AUR_ASROOT` functionality (#1023)
    - add `examples/sync-asroot`
    - add `--user` to `aur-build--pkglist`
    - add `AUR_GPG`, `AUR_REPO_ADD`, `AUR_MAKEPKG` environment variables

* `aur-chroot`
  + remove `--packagelist` (deprecated in v8)
  + run `sudo --preserve-env` when `AUR_PACMAN_AUTH` is empty or `sudo`

* `aur-depends`
  + perl rewrite
  + add `--json`, `--reverse`
  + take provides on the command-line into account (#837)
    - add `--no-provides`
  + default output changed to `--graph --pkgbase`
    - ordered output with `aur-depends --reverse | tsort`

* `aur-fetch`
  + add `aur-fetch--mirror` helper for `aur.git` mirrors
    - defaults to `github.com/archlinux/aur`
    - enable with `AUR_FETCH_USE_MIRROR=1`
  + run flock(1) when modifying existing repositories
  + run git-checkout(1) when using `--sync=rebase` with `--discard` (#1006)

* `aur-graph`
  + selectively disable/enable depends with `aur graph -v <TYPE>=[0|1]`
    - supported types: `DEPENDS`, `MAKEDEPENDS`, `CHECKDEPENDS`, `OPTDEPENDS`
    - forwarded by `aur-sync` (`--optdepends`, `--no-check`)

* `aur-repo`
  + add `--json`, `--jsonl`

* `aur-query`
  + perl rewrite
  + remove support for parallel (`AUR_QUERY_PARALLEL`) and `GET` requests
  + set operations (union, intersection) are moved to `aur-search`
    - remove `--any`, `--exit-if-empty`
    - `--raw` is noop
  + remove `--dump-curl-config`
    - print command-lines with `AUR_DEBUG=1`
  + `-t` / `--type` is now a required parameter

* `aur-search`
  + perl rewrite
  + add `--reverse`
    - `-r` is now an alias to `--reverse`
  + add `--submitter`, `--provides`, `--conflicts`, `--replaces`, 
    `--keywords`, `--comaintainers`
  + exit 4 on AUR response errors such as `query too small` (was: exit 2)

* `aur-sync`
  + add diagnostic for missing packages with `--continue`
  + save `ninja.build` files in `XDG_STATE_HOME/aurutils/sync`
  + add `--columns`

* `aur-view`
  + add `--exclude`, `--prefix`

* `aur-format`
  + new helper

* `aur-repo-parse`
  + new helper

* `completion`
  + support extending `zsh` completion for third party commands (#1016)

* `examples`
  + add `view-delta` (requires: `bat`, `git-delta`)
  + add `sync-asroot`

## 10

* `aur`
  + support environment files (`$AUR_ENV`, defaults to `$XDG_CONFIG_HOME/aurutils/env`)
  + add `--env`

* `aur-build`
  + use `AUR_PACMAN_AUTH` as elevation command (prior: `PACMAN_AUTH`)
  + use `$PWD` as default value for `$LOGDEST`
  + bug fixes for gpg signing (`--sign`)

* `aur-chroot`
  + use `AUR_PACMAN_AUTH` as elevation command (prior: `PACMAN_AUTH`)

* `aur-fetch`
  + `--sync=auto`: run `git-merge` instead of `git-reset`
    - add `--ff`, `--ff-only`, `--no-ff`, `--no-commit` options
    - fix a bug where setting `aurutils.rebase` affected unrelated targets
    - set default author for merge commits to `aurutils@localhost`
  + `--sync=auto` now preserves local changes by default
    - `--discard` (`-f`) resets the branch on new upstream commits
  + add `--reset`, `--rebase`, `--auto` (`--sync=reset`, `--sync=rebase`, `--sync=auto`)
  + support multiple branches, with commits merged from `origin/master`

* `aur-pkglist`
  + output is now independent of command-line argument order
  + deprecate `-I`, `-S`, `-u`
    - renamed to: `-i` (`--info`), `-s` (`--search`) `-q` (`--quiet`)
  + deprecate `-J` (`--json`)
    - behaves like `--plain`, remove pretty-printing with `jq`
  + add `--systime`

* `aur-repo`
  + `-q` now applies to `--list` and `--upgrades`
  + add `--list-attr`
  + deprecate `--status-file`

* `aur-search`
  + add `--color` (`auto`, `always`, `none`)

* `aur-srcver`
  + remove `-E`, `--env` (deprecated in v8)

* `aur-sync`
  + use pkgspec `<REPOSITORY>/<PACKAGE>` format for `--ignore-file`
    - support for sections (introduced with v6.3) is removed (#880)
    - <PACKAGE> ignores apply to all local repositories
  + add `--rebase`, `--reset` options for `aur-fetch`
  + exit 22 on dependency cycles (v7 regression)
  + filter dependency graph by pkgname, not depends (v7 regression)
  + store `build.ninja` files in `$XDG_RUNTIME_DIR/aurutils`

* `completions`
  + major overhaul of zsh completions (#990)

## 9.6

* `aur-pkglist`
  + add `AUR_METADEST` (directory where metadata archives are stored)
  + add `--quiet`

* `aur-fetch`
  + write `git-merge` to `results_file` if the command is run

## 9.5

* `aur-build`
  + add `--results-append`
  + write results file as build user

* `aur-query`
  + support `--type=suggest`

## 9.4

* `aur-build`
  + revert "retrieve local repository before setting --chroot paths"

## 9.3

* `examples`
  + rework `sync-list`

## 9.2

* `aur-build`
  + deprecate `--results`
  + retrieve local repository before setting `--chroot` paths
  + unset `PKGEXT` when using `--chroot`

* `aur-search`
  + use OSC8 terminal hyperlinks (#849)

## 9.1

`aur-build` now uses `setpriv(1)` to run unprivileged commands (`makepkg`, `gpg`,
`repo-add`) when `AUR_ASROOT` is combined with `--user`. This change has no
effect when running `aur-build` as a regular user.

Usage:

  $ sudo env AUR_ASROOT=1 aur build --chroot --user <build_user> ...

The above works with `--chroot` (`makechrootpkg -U`). Environment variables in
the root environment are preserved for user commands, similar to `runuser -c`.
Host builds using `makepkg --syncdeps` to install dependencies require further
configuration.

┌──────────────────────────────────────────────────────────────────────────────┐
│ WARNING!                                                                     │
│                                                                              │
│ Running `aur-build` as root is experimental and disabled by default. If your │
│ install breaks, you get to keep both pieces.                                 │
└──────────────────────────────────────────────────────────────────────────────┘

## 9

* `examples`
  + add `chroot-batch`

* `lib`
  + add `aur-build--pkglist`

* `aur-build`
  + add `--dry-run`
  + redirect `makepkg -od` output (`--pkgver`) to stderr
  + sign existing packages (#967)

* `aur-fetch`
  + add `--no-pager` to the `git log` command (#969)
  + `--existing`: clone instead of skip targets if they exist

* `aur-sync`
  + redirect `aur-fetch` output to stderr (#974)

## 8.3

* `aur-fetch`
  + add `--revision`
  + add `--no-patch`

* `aur-repo`
  + add `--field`

* `examples`
  + add `vercmp-devel`, `sync-list`
  + rename `aur-sync-devel` to `sync-devel`

## 8.2

* `aur-srcver`
  + add separator before first failed package

* `aur-fetch`
  + handle empty `git` repositories (#959)

* `man7`
  + remove `aurvcs.7`, move `aur-sync-devel` to `examples`

## 8.1

* `aur-srcver`
  + fix directory to source the build script from (#958)

## 8

* `aur-chroot`

The `aur-chroot` command-line was changed so that `--create`, `--build` and
`--update` can be used in a single command. Command-line arguments are now
exclusively used for packages passed to `mkarchroot` and `arch-nspawn`.
To set `makechrootpkg` options, the new `--margs` and `--cargs` options are
available. As `aur-build --margs`, these take a comma-delimited string and
can be specified multiple times. (Issues: #950, #807)

The `--packagelist` command is now deprecated. The container path can be
retrieved with the `--path` option, e.g for use with `makepkg --config`.

* `aur-build`
  + Consider all repositories (`Usage = Install`) for local repository upgrade (#956)

* `aur-srcver`
  + add `--buildscript`
  + deprecate `-E` / `--env`
    - `get_full_version` from `libmakepkg` is now used after running `makepkg`
  + take arguments from `stdin` if `-` is specified

* `aurvcs.7`
  + run `aur-fetch` and `aur-view` before `aur-srcver`
  + sample code remaned to `aur-sync-devel`

## 7.2

* `aur-search`
  + add `OptDepends` to `--info` output (#945)
  + handle empty keywords in `--info` output (#946)

* `aur-depends`
  + add `--optdepends` (#945)

* `aur-sync`
  + add `--optdepends` (#945)

## 7.1

* `aur-build`
  + pass --nocheck to chroot (#942)

* `aur-sync`
  + avoid off-by-one in ninja build summary (#940)

* `aur-query`
  + do not abort if `-t` is unspecified (#938)

## 7

This release adds optional support for the `ninja` build system. If the
`AUR_SYNC_USE_NINJA` environment variable is set to a positive value,
`aur-sync` will generate `build.ninja` where each target has an `aur-build`
command-line. This allows to continue building a series of packages when
several failed, with the maximum of failed targets controlled by the `-k` /
`--keep-going` option.  On failure, a summary of successful ("OK") and failed
("FAIL") package builds is printed. The `--no-build` option in turn only
generates `build.ninja`, and prints the corresponding directory to `stdout`.

The logic to generate `build.ninja` files is exposed in the `aur-sync--ninja`
script. It can be used with other `aur` programs that output `pkgbase
depends_pkgbase` pairs, for example:

  $ aur depends --graph "$@" | aur sync--ninja "$PWD" -- aur build

When running `ninja` on the resulting file, each successfully built `pkgbase`
will result in a `pkgbase.stamp` file. If the corresponding `PKGBUILD` is
modified, it will be marked for rebuilding by `ninja`. This can for example be
used for a git repository which hosts multiple `PKGBUILD` directories.

## 6.4

* `aur-depends`
  - add `--graph`
  - checkdepends are now removed during dependency resolution, not afterwards (#882)

## 6.3

* `aur-sync`
  - `--ignore-file` now supports per-repository sections (INI-style)
  - do not ignore targets when specified on the command-line

## 6.2

* `aur-pkglist`
  - add `-v` / `--verify` (verifies published sha256sums)

* `aur-repo-filter`
  - add repository to dependency messages ("dependency foo satisfied by repo/bar")
  - deduplicate results on stdout

## 6.1

* `aur-search`
  - do not print additional messages on errors or no results

* `aur-query`
  - add `-a` alias for `--any`
  - add missing newline in case of errors (`jq -r`)

## 6

In previous versions, `aur search` would display an intersection of search
results, the symmetric difference with `-a` (bug), and the concatenation with
`-r`. (#918)

`aur search -a` now correctly returns the union, and the `-r` output is
processed with jq(1) to return the intersection by default, or the union (with
duplicates removed) with `-a`. This processing is done because the RPC
interface as of aurweb 6.0.11 does not expose set operations, and so
`aur-search` performs one search for each argument. `aur search --json` was
added as an alias to `--raw`, and the latter option is now deprecated.

The implementation is done in `aur-query`, which now takes the intersection of
search results by default. The union can be taken with `aur query --any`, or
unprocessed results shown with `-r` or `--raw`. In each case, the output is
newline delimited (JSON Lines, `jq -r`). If the search completed without
results, `aur-query` will either exit with status 0 (if no request resulted in
an error), 1 (if the `-e` option was specified), or 2 (if at least one request
resulted in an error).

`AUR_QUERY_RPC_SPLITNO_POST` received bug fixes (#920), and the default has
been reduced to 500 after experiencing issues with a larger number of
arguments. Users looking to use `aur-query -t info` with a very large number
of arguments should instead consider `aur pkglist --info`.
`AUR_QUERY_RPC_PARALLEL` also received several bugfixes.

## 5

* `aur-srcver`
  + add `-E` / `--env` (#898)

* `aur-query`
  + support HTTP POST for info-type requests
  + use `aurutils` user agent (`curl -A`)

* `aur-pkglist`
  + use `aurutils` user agent (`curl -A`)

* `aur-repo-filter`
  + add `--config` to set pacman configuration

## 4.4

* `aur-sync`
  + fix regressions with `--ignore` from 4.3 release

## 4.3

* `aur-build`
  + wordsplit MAKEPKG and PACMAN_AUTH

* `aur-sync`
  + improve error handling

## 4.2

* `aur-build`
  + support PACMAN_AUTH environment variable for custom elevation command

* `aur-repo`
  + improve error handling
  + remove extraneous `--` on `--path` output

## 4.1

* `aur-build`
  + handle absolute paths in `--arg-file`

* `aur-pkglist`
  + add `--users` (`-U`) to retrieve a list of AUR users
  + update aur-pkglist(1) man page

* `aur-repo`
  + fix formatting for `--table` and packages with no dependencies

## 4

* `aur-build`
  + add `--no-check` (`makepkg --nocheck`)

* `aur-search`
  + add `--table`

* `aur-fetch`
  + add compatibility options (`--recurse`)

* `aur-repo`
  + add compatibility options (`--path`, `--path-list`, `--repo-list`)
  + fix regression with `AUR_QUERY_PARALLEL`

* `aur-sync`
  + add `--no-check` (short for `--no-checkdepends`)
    - implies `aur-build --no-check`
  + apply `--ignore` to local repository targets
  + `--ignore-file` now works with process substitution (#880)
  + remove `--no-depends`, `--no-makedepends`

## 3.3.0

`aur-query` and `aur-fetch` now take arguments from the command-line
by default. If `-` or `/dev/stdin` is the first (and only) arguments,
they are taken from `stdin` instead. In particular, `aur fetch --recurse`
is now written as `aur depends --pkgbase ... | aur fetch -`, and the
explicit `--recurse` option was removed.

The `-` argument propagates to `aur-depends` and `aur-search`
transparently. Additionally, `aur-sync` no longer calls `aur-depends`
and `aur-fetch` with `xargs`, avoiding the 123 exit code on failure of
these commands.

## 3.2.1

* `aur-query`
  + support AUR_LOCATION
  + preserve `curl --parallel` exit codes (requires curl >=7.77.0)
  + complete aur-query(1) man page

* `aur-pkglist`
  + support multiinfo and search dumps (`--info`, `--search`)
  + support HTTP Last-Modified

* `aur-fetch`
  + add `--existing`

* `aur-view`
  + new script that includes the package inspection logic from `aur-sync`

## 3.2.0

* `aur-build`
  + retrieve database extension from `AUR_DBEXT` (defaults to .db) (#700)
  + resolve path argument to `--results`
  + use `aur repo --status` for repository selection
    - allows specifying `--root` without `--database`
  + print diagnostic if packages were not moved to local repository (#794)
  + merge `--config` and `--pacman-conf` (#808, #824)
  + fallback to /etc/aurutils/pacman-<arch>.conf if --chroot is used without --database (#846)
  + add diagnostic if chroot pacman.conf is non-existing (#783)

* `aur-depends`
  + add `--no-depends`, `--no-makedepends`, `--no-checkdepends` (#826)
  + add dependency kind column to `--table` output

* `aur-chroot`
  + preserve `SSH_AUTH_SOCK` to support ssh-based operations (#832)

* `aur-repo`
  + retrieve database extension from `AUR_DBEXT` (defaults to .db) (#700)
  + add `--status`
    - `repo:<NAME>\nroot:<PATH>\npath:<PATH/NAME.DBEXT>` output format
    - replaces `--path`
  + rename `--repo-list` to `--list-repo`
  + rename `--path-list` to `--list-path`

* `aur-repo-filter`
  + run `pacsift` with `unbuffer` (#804)

* `aur-vercmp`
  + remove colon from `checkupdates` and `equal_or_newer` format (#833)

## 3.1.2 - 2020-11-09

This releases fixes a regression in 3.1.1 where `AUR_LIB_DIR` was not
subsituted in `aur`.

## 3.1.1 - 2020-11-09

* `aur`
  + add `--version`

## 3.1.0 - 2020-11-09

* `aur`
  + fix example `aur-remove` script (#785)

* `aur-build`
  + change default pacman-conf for chroot builds to /etc/aurutils/pacman-<dbname>.conf
  + clarify conditions on pacman-conf for chroot builds in `aur-build.1`

* `aur-chroot`
  + add `--create`
    - seperate mode which runs `mkarchroot` with packages taken from the command-line
    - defaults to base-devel (and multilib-devel, if applicable) if no packages are specified
    - `--update` no longer runs `mkarchroot`
  + `--packagelist` now uses `makepkg.conf` inside the container
  + add `Devtools limitations` section to `aur-chroot.1` (#782)
  + add additional error messages for missing pacman configuration

* `aur-repo`
  + add `--path-list`
  + update man page for new arguments (#784)
  + remove `--ini` (only offered pacman.conf information)

## 3.0.3 - 2020-11-02

* fix broken `zsh` completion (#776)
* use `/tmp/aurutils-$UID` as default temporary directory (#775)

## 3.0.2 - 2020-10-30

* `aur-sync`
  + add missing `--suffix` option (#773)

## 3.0.1 - 2020-10-29

The commits:

+ aur-sync: use XDG_RUNTIME_DIR for view directory (5341c059736d3eff59daea5cb52b7d35c98d0824)
+ aur-repo: simplify command line (57c1b2157806e645e7de85bf24e2c28b7d5f4458)

were part of the 3.0.0 release tarball, but not the 3.0.0 tag. The 3.0.1 tag now includes these commits.

## 3.0.0 - 2020-10-29

* `aur`
  + add `AUR_EXEC_PATH` environment variable
  + add example `aur-gc`, `aur-remove` scripts to `aur.1`

* `aur-build`
  + add `AUR_DEBUG`, `NO_COLOR`, `MAKEPKG` environment variables
  + add mollyguard for running as the `root` user
  + add `build:` prefix to `--results` output
    - `build:file:///path/to/package.tar.xz`
  + add `--new`, `--prevent-downgrade` (`repo-add` options)
  + add `Running` message for all `makepkg` invocations
  + replace `--build-command` with `--margs` and `$MAKEPKG`
  + remove default `makepkg` arguments (#635)
    - specify common `makepkg` options as `aur-build` arguments (`--syncdeps`, `--rmdeps`, `--ignorearch`, `--log`, `--noconfirm`)
    - pass `--syncdeps`, `--rmdeps` to `--pkgver` makepkg command (#716)
    - make `-r` an alias for `--rmdeps` (was: alias for `--root`)
    - make `-S` an alias for `--sign` (was: `-s`)
  + use `--margs` to set makepkg options instead of EOF seperator (`--`)
  + `--makepkg-conf` now sets the makepkg configuration for host builds (avoid quoting issues with setting `--config` in `--margs`)
  + use `makepkg --noextract` if `--pkgver` is specified (#708)
  + use `print_all_package_names` (`/usr/share/makepkg/util/pkgbuild.sh`) instead of `makepkg --packagelist` (#755)
  + pass pacman.conf (`--config`) to `aur-repo` (#654)
  + only remove intermediary package directory if empty (#602)
  + remove `--delta`
  + use `PKGDEST` instead of `makepkg.conf` to set package destination

* `aur-chroot`
  + add `AUR_DEBUG` environment variable
  + add `--packagelist`
    - use `print_all_package_names` (`/usr/share/makepkg/util/pkgbuild.sh`)
  + replace `--no-prepare` and `--no-build` (disable steps) with `--update` and `--build` (enable steps) respectively
  + remove `--database`
  + use static pacman configuration (defaults to `/usr/share/devtools/pacman-extra.conf`)
    - `--suffix` to override `extra` in the default path
    - if `--suffix` begins in `multilib`, install `multilib-devel` (instead of `base-devel`)

* `aur-fetch`
  + add `AUR_DEBUG`, `NO_COLOR` environment variables
  + add `--results` (colon-delimited output)
  + add `--sync`
    - only run `git fetch` by default;
    - run `git reset` if `--sync=reset` is specified;
    - run `git rebase` if `--sync=rebase` is specified;
    - run either `git reset` or `git rebase` if `--sync=auto` is specified
  + exit `1` if `git clone` or `git fetch` failed
  + remove support for `tar` archives
  + remove diff output (`--log-dir`, `--verbose`, `--format`)
    - diffs can be generated from the extended --results output (done in `aur-sync`)
  + remove setting `orderfile` (done in `aur-sync`)
  + use `git -C` for `git` calls

* `aur-jobs` (removed)
  - remove script

* `aur-pkglist`
  + add `AUR_DEBUG` environment variable
  + use `curl` for transfers instead of `wget`

* `aur-rpc` (`aur-query`)
  + add `AUR_DEBUG`, `AUR_QUERY_RPC`, `AUR_QUERY_RPC_SPLITNO`, `AUR_QUERY_PARALLEL`, `AUR_QUERY_PARALLEL_MAX` environment variables
  + rename to `aur-query`
  + set AUR RPC address with `AUR_QUERY_RPC` instead of a combination of `--rpc-url`, `--rpc-ver` and `AUR_LOCATION`
  + set number of packages for splitting URIs with `AUR_QUERY_RPC_SPLITINFO`
  + set `AUR_QUERY_RPC_SPLITNO` to set of number of packages for splitting URIs
  + use `curl` for transfers instead of `wget`
    - enable parallel transfers (`curl --parallel`) with `AUR_QUERY_PARALLEL=1`
    - set maximum amount of parallel transfers (`curl --parallel-max`) with `AUR_QUERY_PARALLEL_MAX`
  + exit `1` if a transfer failed

* `aur-repo-filter`
  + add `AUR_DEBUG` environment variable
  + add `--sysroot` (`pacsift --sysroot`, `pacinfo --sysroot`)
  + use `pacinfo` for package information instead of `expac`

* `aur-repo`
  + add `AUR_DEBUG` environment variable
  + add `--config`
  + add `--ini`
  + add `--quiet`/`-q` (`aur-vercmp -q`)
  + add `--table`
  + add pacman configuration to `--status-format` (colon-delimited)
  + print fully resolved path to local repository
  + require `--path` to print the local repository path
  + remove `expac` dependency

* `aur-search`
  + add `AUR_DEBUG`, `NO_COLOR` environment variables
  + unset `LC_ALL` when printing `Popularity`

* `aur-srcver`
  + add `AUR_DEBUG` environment variable
  + add `--jobs`
  + do not use `makepkg --log`
  + remove `parallel` dependency

* `aur-sync`
  + add `AUR_DEBUG`, `NO_COLOR`, `AUR_CONFIRM_PAGER` environment variables
    - use confirmation prompt after package review if `AUR_CONFIRM_PAGER` is set
  + add `--rebuild-all`
  + add mollyguard for running as the `root` user
  + add default ignore file in `$XDG_CONFIG_HOME/aurutils/sync/ignore`
  + do not fallback to `PAGER` or `less` (`AUR_PAGER` must be set or `vifm` installed)
  + enable `--provides` by default
    - disable with `--no-provides`
    - specify repositories with `--provides-from` (comma-delimited)
  + remove additional `aur-build` arguments after EOF separator (`--`) (#678)
  + remove `parallel` dependency
  + remove `AURDEST_SNAPSHOT` environment variable
  + remove `--git`, `--tar`
  + rename `--print` to `--no-build`/`-o`
  + rename `--no-ver-shallow` to `--no-ver-argv`
  + store commits viewed by the user (#379, #711)
  + use `aur-fetch --sync=auto`

* `aur-vercmp`
  + add `AUR_DEBUG`, `NO_COLOR` environment variables

* `Makefile`
  + allow overriding `AUR_LIB_DIR` at build time

## 2.3.7

## 2.3.6

## 2.3.5

## 2.3.4

## 2.3.3

## 2.3.2

## 2.3.1 - 2019-02-21

* `aur-build`
  + add `--results`
* `aur-sync`
  + documentation updates (#350, #507)
  + ask for confirmation if `PAGER` is set (#530)
* `aur-repo-filter`
  + documentation updates (#438)

## 2.3.0 - 2019-02-18

* `aur-build`
  + add `--holdver` to makepkg with `--pkgver`
  + exit 2 if `db_path` is not found
* `aur-repo-filter`
  + support versioned packages (#404)
  + remove `--repo` alias to `--database`
* `aur-srcver`
  + remove `--noprepare` from default makepkg options
  + add `--noprepare` option (#523)
* `aur-sync`
  + wrap repo-add `-R` (#521)
  + add `--no-graph` (workaround for #516)
* `aur-vercmp`
  + add `-q`/`--quiet`
  + rename `--equal` to `--current`
* `completions`
  + group options by type (#520)
  + complete `aur-depends` options (#526)

## 2.2.1 - 2019-01-25

* `aur-build`
  + add `--holdver` to `makepkg` options if `--pkgver` is enabled
* `aur-repo`
  + do not include `repo:` in error messages
  + `--all` implies `--upgrades`
* `aur-sync`
  + `cd` before invoking `$PAGER` (#518)
* `aur-repo-filter`
  + if `stdin` is connected to a terminal, mention this on `stderr`
* `aur-rpc`
  + if `stdin` is connected to a terminal, mention this on `stderr`
* `aur-vercmp`
  + if `stdin` is connected to a terminal, mention this on `stderr`

## 2.2.0 - 2019-01-22

* `aur`
  + update `CacheDir` instructions in `aur(1)`
* `aur-build`
  + rename `--run-pkgver` to `--pkgver`, remove `LANG=C` from `makepkg -od`
  + remove `~` package backup on `--force` (#444)
  + propagate `--pacman-conf` to `pacman-conf` (local builds)
  + unset `PKGDEST` prior to running `makepkg` (#513)
  + remove `--rmdeps` from default options (#508)
* `aur-fetch`
  + expose AUR URL through `AUR_LOCATION` environment variable
* `aur-pkglist`
  + do not require `-P` for regex match
  + Expose AUR URL through `AUR_LOCATION` environment variable
* `aur-rpc`
  + add `--rpc-ver`, `--rpc-url`
  + Expose AUR URL through `AUR_LOCATION` environment variable
* `aur-search`
  + exit 1 on no results
  + exit 2 on AUR error (e.g. "too many results")
  + Expose AUR URL through `AUR_LOCATION` environment variable
* `aur-sync`
  + add `--pkgver` (`aur-build --pkgver`)
  + remove `--rmdeps` from default options (#508)
* `completion`
  + allow `zsh run-help` to display the correct man page (#506)

## 2.1.0 - 2019-01-16

* `aur-build` 
  + `--build-command` now works correctly
  + add `--run-pkgver` to run `makepkg -od` before `makepkg --pkglist` (relevant to VCS packages)
* `aur-depends`
  + now takes input as arguments, instead from `stdin`
  + add `--table`, `--pkgbase`, `--pkgname` and `--pkgname-all` (defaults to `--pkgname`)
* `aur-search`
  + add `--raw` to display JSON output
* `aur-sync`
  + add `--ignore-file` (same as `aursync --ignore`)
  + check the (`.SRCINFO`) dependency graph before file inspection
* `aur-fetch-git` and `aur-fetch-snapshot` were removed and merged to `aur-fetch`

## 2.0.1 - 2019-01-11

* `aur-build`
  + do not export PKGDEST for non-chroot builds (#498)                               
  + add --build-command (#498)
  + man page updates (#217)
* `aur-sync`
  + add --keep-order for parallel aur-fetch

## 2.0.0 - 2019-01-10

* `aur` *(new)*
  + wrapper for the new `git(1)` based design
* `aur-build`
  + remove `repose` support, see https://bbs.archlinux.org/viewtopic.php?pid=1707649#p1707649
  + abort if updating a signed database without `-s` (#246)
  + add `AUR_REPO`, `AUR_DBROOT` environment variables (#302)
  + add `--makepkg-conf`, `--pacman-conf` (#242)
  + use `pacman-conf` instead of `pacconf`
* `aur-chroot` *(new)*
  + new tool containing the functionality of `aur-build -c`
  + support container builds without using a local repository
  + support multiple repositories
  + preserve `GNUPGHOME` (#427)
  + use `pacman-conf` instead of `pacconf`
* `aur-fetch`
  + use `HEAD@{upstream}` instead of `HEAD` for `git reset` (#349)
  + use `wget` instead of `aria2c` or `curl`
  + support diffs for `tar` snapshots (requires: `diffstat`)
* `aur-graph`
  + rewrite in awk (#361)
  + add support for virtual and versioned dependencies (#10)
* `aur-repo` *(new)*
  + manage local repositories
* `aur-rpc` *(new)*
  + send `GET` requests to `aurweb`
  + use `wget` instead of `aria2c` or `curl`
* `aur-search` 
  + add `License`, `Keyword`, `Depends`, `MakeDepends` and `CheckDepends` fields
  + add `depends`, `makedepends` search (#432)
  + add popularity to `brief` output (#420)
  + colorize if `stdout` is a terminal (#473)
  + use intersection of results for multiple terms (#328)
  + use `aur-rpc` to query `aurweb`
* `aur-sync`
  + add `AUR_PAGER` environment variable (file review, #51)
  + add `--bind-rw` (#428)
  + add `--ignore-arch` (`makepkg -A`, #309)
  + add `--nover-shallow` (only check versions for depends, #374)
  + add `--provides` (virtual dependencies, #452)
  + add `--rebuild`, `--rebuildtree` aliases (#424)
  + rename `--repo` to `--database` (#353)
  + the `--ignore` option now takes a comma-separated list of packages
  + fetch sources in parallel
  + set the default value for `AURDEST` to `$XDG_CACHE_HOME/aurutils/sync`
* `aur-srcver` *(new)*
  + print latest revision of VCS packages
* `aur-vercmp-devel` *(new)*
  + compare latest revision of VCS packages to a local repository
* `officer` *(removed)*
  + removed in favor of `pacman --config`
* `completion`
  + add `bash` completion (requires: `bash-completion`)
  + add `zsh` completion in a later release (#458)
* Fixes for known issues in `1.5.3`.