Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/man/pkgctl-version-upgrade.1.asciidoc
blob: 68e63690f1706f17d7fd6b23a699fcf3c56b8733 (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
pkgctl-version-upgrade(1)
=========================

Name
----
pkgctl-version-upgrade - Adjust the PKGBUILD to match the latest upstream version

Synopsis
--------
pkgctl version upgrade [OPTIONS] [PKGBASE...]

Description
-----------

Streamlines the process of keeping PKGBUILD files up-to-date with the latest
upstream versions.

Upon execution, it automatically adjusts the PKGBUILD file, ensuring that the
pkgver field is set to match the latest version available from the upstream
source. In addition to updating the pkgver, this command also resets the pkgrel
to 1.

Outputs a summary of upgraded packages, up-to-date packages, and any check
failures.

This simplifies the maintenance of PKGBUILD files, reducing the manual effort
required to track and implement version changes from upstream sources.

Configuration
-------------

Uses linkman:nvchecker[1] and a `.nvchecker.toml` file located alongside the
PKGBUILD. Refer to the configuration section in linkman:pkgctl-version[1].

Options
-------

*-v, --verbose*::
	Display results including up-to-date versions

*-h, --help*::
	Show a help text

See Also
--------

linkman:pkgctl-version[1]
linkman:nvchecker[1]

include::include/footer.asciidoc[]