rpm-ostree/docs
rfairley a20d10e3d5 libpriv/util: Add date field in auto-versioning
This adds an optional date field to the prefix
passed by automatic_version_prefix. An example of specifying
the field is as follows:

10.<date:%Y>

And the fields progress like:

10.2018.0
10.2018.1
10.2018.2
10.2019.0

The date format creates a new "current date" string using
valid date directives passed into g_date_time_format().

If there is a problem reading the given date format,
an error is given and the next version is returned as NULL.

If no <date:...> tag is detected in the auto version prefix,
the same behavior as before (appending .1 and incrementing) occurs.

This may be helpful to avoid writing glue code to auto-update
the version if a date string in the commit version is desired.
Otherwise, --add-metadata-string=version= is an alternative for
complete customization.

Fixes: #1712

Closes: #1721
Approved by: jlebon
2019-01-14 18:49:41 +00:00
..
manual libpriv/util: Add date field in auto-versioning 2019-01-14 18:49:41 +00:00
CONTRIBUTING.md docs: Update HACKING.md 2017-07-18 18:31:50 +00:00
index.md docs: update linked project names and minor tweaks 2017-05-15 15:47:39 +00:00
repo_structure.md doc: add repo_structure section 2018-07-11 20:40:59 +00:00