How to find versions from ostree repo
- From: Cristian Falcas <cristi falcas gmail com>
- To: ostree-list gnome org
- Subject: How to find versions from ostree repo
- Date: Mon, 6 Aug 2018 16:43:44 +0300
Hello,
Where is the version for a specific commit kept in the repo?
I can see the commit at $REPONAME/refs/heads/fedora/27/x86_64/atomic-host-kubernetes, but I can't find the version. For me it's something like this:
```
# rpm-ostree status
State: idle; auto updates disabled
Deployments:
* ostree://our_custom_repo:fedora/27/x86_64/atomic-host-kubernetes
Version: 27.20180801_1740.0 (2018-08-03 15:00:29)
Commit: 86370353a42b9dc68acab17a4b950a23af4ac1eb63af10bb162ff3c00a4ff210
GPGSignature: Valid signature by 3A362F3C67B04FEBF704CDA84F34A4152F54FEF1
```
Also, I'm trying to keep the repo in s3, and for this I'm doing something like:
```
rpm-ostree compose tree --cachedir=/srv/cache --repo=$REPONAME /srv/fedora-atomic//fedora-atomic-kubernetes.json
aws s3 sync $REPONAME s3://$S3BUCKET/$REPONAME --acl public-read
```
But this always keeps only the latest version. Is there a way to make rpm-ostree keep all versions built? I copied the file $REPONAME/refs/heads/fedora/27/x86_64/atomic-host-kubernetes to a new build, but the content is overwritten.
Thank you,
Cristian Falcas
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]