summaryrefslogtreecommitdiff
path: root/tests/test-summary-update.sh
Commit message (Collapse)AuthorAgeFilesLines
* bin/summary: Add options to show metadataDan Nicholson2023-02-071-0/+4
|
* Update FSF license notices to use URL instead of addressJoseph Marrero2021-12-071-3/+1
|
* tests/gpg: fix GPG-dependent shell tests if no GPG supportDenis Pynkin2019-08-011-2/+8
| | | | | | | | | | Skip tests or run them without GPG-related functionality if GPGME wasn't enabled in a build time. Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com> Closes: #1889 Approved by: cgwalters
* tests: Escape periods when appropriateMatthew Leeds2019-04-111-3/+3
| | | | | | | | Don't match any character in a regular expression when we only want to match a period. Closes: #1834 Approved by: rfairley
* tests: Don't skip collection-based summary testMatthew Leeds2019-02-111-6/+1
| | | | | | | | | | OSTree's P2P support used to be a compile time option but is now always enabled. One of the tests was still checking for the old feature flag, "experimental", which has been renamed to "p2p" and skipping for that reason. Delete the check so the test always runs. Closes: #1804 Approved by: pwithnall
* Add SPDX-License-Identifier to source filesMarcus Folkesson2018-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | SPDX License List is a list of (common) open source licenses that can be referred to by a “short identifier”. It has several advantages compared to the common "license header texts" usually found in source files. Some of the advantages: * It is precise; there is no ambiguity due to variations in license header text * It is language neutral * It is easy to machine process * It is concise * It is simple and can be used without much cost in interpreted environments like java Script, etc. * An SPDX license identifier is immutable. * It provides simple guidance for developers who want to make sure the license for their code is respected See http://spdx.org for further reading. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Closes: #1439 Approved by: cgwalters
* ostree/summary: Generate an ostree-metadata ref when updating summaryPhilip Withnall2017-10-021-0/+19
| | | | | | | | | | | | | | | | | | | | | This is the new way of publishing repository metadata, rather than as additional-metadata in the summary file. The use of an ostree-metadata ref means that the metadata from multiple upstream collections is not conflated when doing P2P mirroring of many repositories. The new ref is only generated if the repository has a collection ID set. The old summary file continues to be generated for backwards compatibility (and because it continues to be the canonical ref → checksum map for the repository). The new code is only used if configured with --enable-experimental-api. Includes unit tests. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #1158 Approved by: cgwalters
* ostree/summary: Add support for adding additional metadataPhilip Withnall2017-06-271-0/+94
When updating a summary file, parse additional arguments to the `ostree summary` command as additional metadata to be put into the summary. Add some tests for this. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #961 Approved by: cgwalters