summaryrefslogtreecommitdiff
path: root/tests/test-export.sh
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF license notices to use URL instead of addressJoseph Marrero2021-12-071-3/+1
|
* tests/export: Guard with check for libarchiveAlex Kiernan2019-10-241-0/+5
| | | | | | | | | | | If we are built without libarchive support, this test fails: error: This version of ostree is not compiled with libarchive support ... ERROR: tests/test-export.sh - too few tests run (expected 5, got 0) ERROR: tests/test-export.sh - exited with status 1 Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
* 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
* tree-wide: Replace archive-z2 with archiveColin Walters2017-09-011-1/+1
| | | | | | | | | | | | In almost all places. There are just a few exceptions; one tricky bit for example is that the repo config must still have `mode=archive-z2`, since `archive` used to mean something else. (We could very likely just get rid of that check, but eh, later). I also added a test that one can still do `ostree repo init --mode=archive-z2`. Closes: #1125 Approved by: jlebon
* ostree export: Add --prefix optionAlexander Larsson2016-04-191-2/+21
| | | | | | | | | This lets you set a prefix for the resulting archive patsh. Especially useful in combination with --subpath, for instance --subpath=subdir --prefix=subdir to extract just subdir. Closes: #265 Approved by: cgwalters
* ostree export: Add --subpath supportAlexander Larsson2016-04-191-2/+12
| | | | | | | This lets you export a subset of a commit. Closes: #265 Approved by: cgwalters
* Fix make syntax-checkGiuseppe Scrivano2016-03-011-3/+2
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Add an `export` builtin, and API to write to libarchiveColin Walters2016-02-141-0/+50
At the moment I'm looking at using rpm-ostree to manage RPM inputs which can then be converted into Docker images. It's most convenient if we can stream directly out of libostree rather than doing a checkout + tar combination. There are also backup/debugging etc. reasons to implement `export` as well.