summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-file.h
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF license notices to use URL instead of addressJoseph Marrero2021-12-071-3/+1
|
* 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: Remove Emacs modelinesColin Walters2017-09-211-2/+1
| | | | | | | | | We added a `.dir-locals.el` in commit: 9a77017d87b74c5e2895cdd64ad098018929403f There's no need to have it per-file, with that people might think to add other editors, which is the wrong direction. Closes: #1206 Approved by: jlebon
* lib: Remove ostree_repo_file_make_empty_treeColin Walters2016-04-171-3/+0
| | | | | | | | | | | This was removed in 14d682305b9c8d65e46f0aaf31e6851cf2042193 - long before we had a stable library. I again claim removing unimplemented symbols from the header is not an API/ABI break. Closes: #263 Approved by: giuseppe
* lib: Introduce versioned symbolsColin Walters2016-03-011-0/+14
| | | | | | | | | | | | | | | | | | | | As rpm-ostree evolves, it keeps driving API additions to libostree. This creates a relatively tight coupling. However, if delivering via e.g. RPM, unless one manually remembers to increment the `Requires:` in the spec file, it's possible for the two to become desynchronized. RPM handles versioned symbols and will ensure a dependency if the application starts using a newer version. To implement this, switch to `-fvisibility=hidden`, along with an annotation in the header, and finally add a `.sym` file. This matches what other projects like systemd and libvirt do. Although rather than attempting to retroactively version symbols, glom them all onto the current one.
* syntax-check: Remove empty lines at the end of fileGiuseppe Scrivano2015-02-021-1/+0
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* repo-file: Base OstreeRepoFile on trees instead of commitsJasper St. Pierre2013-09-091-12/+2
| | | | | | | | | | | We want an OstreeRepoFile to be the way to represent a filesystem tree inside an ostree repository. In order to do this, we need to drop the commit from an OstreeRepoFile, and make that go to callers. Switch all current users of ostree_repo_file_new_root to ostree_repo_read_commit, and make the actual constructor private. https://bugzilla.gnome.org/show_bug.cgi?id=707727
* core: Delete unused OstreeRepoFile APIColin Walters2013-09-081-2/+0
| | | | Was just unused, and it was using further API i want to remove.
* builtin-commit: Don't parse the parent's GVariant by handJasper St. Pierre2013-09-081-0/+1
| | | | | | | | Instead, use OstreeRepoFile as a handle for the parent commit. We need to add an accessor for the metadata checksum, as that hasn't been exposed before. https://bugzilla.gnome.org/show_bug.cgi?id=707727
* repo-file: s/content_checksum/contents_checksum/Jasper St. Pierre2013-09-081-3/+1
| | | | | | | This is what we call it everywhere else, so just be consistent. It also lines up with metadata_checksum better. https://bugzilla.gnome.org/show_bug.cgi?id=707727
* Switch to #pragma once for headersColin Walters2013-07-091-3/+1
| | | | It's just less tedious, and we're GCC/LLVM specific anyways.
* core: Drop wrapping of metadata variantsColin Walters2012-04-111-3/+3
|
* core: Add ostree-types.hColin Walters2012-03-061-2/+1
| | | | This allows us to have circular references between the headers.
* core: Change compose to operate purely in-memoryColin Walters2011-12-211-0/+2
| | | | | This is *significantly* faster than checking out each branch into the real filesystem, then importing it again.
* core: Make OstreeRepoFile "public"Colin Walters2011-12-211-19/+19
| | | | | | * "ls" used it * It's not like our internal API is 100% stable anyways * The _ is ugly
* core: Remove dead code from OstreeRepoFileColin Walters2011-12-211-14/+0
| | | | | Originally I thought it would make sense for OstreeRepoFile to be mutable, and it probably does, but we should do it in a different way.
* core: Flesh out diff a bit moreColin Walters2011-11-161-4/+1
| | | | | Now correctly notices changes to directory metadata (not just contents).
* core: Implement diff commandColin Walters2011-11-161-2/+2
|
* build: Move sources into src/ againColin Walters2011-11-141-0/+115
This is necessary if we want to build when srcdir == builddir, otherwise we blow up because "ostree" is a source directory and a binary.