1 .TH AUR-REPO 1 2022-03-12 AURUTILS
3 aur\-repo \- manage local repositories
23 repositories. In particular, it serves to parse repository contents
24 .RI ( \-\-list ", " \-\-table ),
25 compare package versions to the AUR
27 and list local repository file paths
28 .RI ( \-\-list\-path ).
32 contains only a single local repository,
34 selects it automatically. If multiple local repositories are
35 configured, they must specified explicitly with the
42 Print status information to a standard output, in the following format:
47 repo:<repository name>
48 root:<root of repository>
49 path:<path of repository>
58 must be existing paths. This is the default operation.
62 .BI \-f " FORMAT" "\fR,\fP \-\-format=" FORMAT
63 Transform the contents of the local repository with
67 .BI \-F " FIELD" "\fR,\fP \-\-field=" FIELD "\fR,\fP \-\-attr=" FIELD
70 for all packages in the local repository. May be one of
86 or any other valid fields generated by
91 List the contents of a local repository in the following format:
93 .BI pkgname \et pkgver \en
97 List valid fields in a local repository generated by
104 List the paths of configured local repositories.
108 is specified, all paths must exist.
112 List the resolved path of the selected
118 is specified, the path must exist.
122 List the names of configured local repositories.
125 .BR \-t ", " \-\-table
126 List the contents of a local repository in the following format:
128 .BI pkgname \et depends \et pkgbase \et pkgver \en\c
131 If a package has no dependencies
135 otherwise missing values are represented by
143 .BR \-u ", " \-\-upgrades
144 Check package updates with
148 .BR \-J ", " \-\-json
149 Output repository contents as JSON.
150 .RB ( aur\-repo\-parse \-\-json ).
154 Output repository contents as JSON Lines.
155 .RB ( aur\-repo\-parse \-\-jsonl ).
159 .BI \-c " FILE" "\fR,\fP \-\-config=" FILE
165 .BI \-d " NAME" "\fR,\fP \-\-database=" NAME
170 The repository should have a
172 location, or any other location when using
176 .BI \-r " PATH" "\fR,\fP \-\-root=" PATH
177 The path to the root of a local
183 The delimiter for expanding arrays with
187 .BI \-s " REGEXP" "\fR,\fP \-\-search=" REGEXP
188 Limit results to matches specified by
192 .BI \-\-search\-by= FIELD
201 corresponds to an array value such as
203 at least one value in the array should match.
206 .BI \-i " PATTERN" "\fR,\fP \-\-ignore=" PATTERN
207 Ignore results with matches specified by
211 .BI \-\-ignore\-by= FIELD
212 The field matched on witch
220 .B "aur\-vercmp \-\-all"
221 when checking for upgrades. Implies
225 .BR \-q ", " \-\-quiet
226 Only print package names when listing the repository
228 or checking for upgrades
229 .RB ( \-\-upgrades ).
232 .BR \-S ", " \-\-sync
233 Query repositories in
236 .BR /var/lib/pacman/sync )
242 .BR \-m ", " \-\-missing
243 Do not require paths to exist with
251 List information on configured local repositories:
254 $ aur repo --repo-list | while read -r repo; do
255 printf '[%s]\\n' "$repo"
256 pacconf --repo="$repo"
264 The name of a pacman repository, see
269 The path to the root of a local repository, see
274 The extension of the local repository. Defaults to
281 .BR aur\-depends (1),
287 .MT https://github.com/AladW
291 .\" vim: set textwidth=72: