You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2020/01/02 13:48:38 UTC
[couchdb-helm] branch publish_dates updated (7575421 -> 6b8e616)
This is an automated email from the ASF dual-hosted git repository.
willholley pushed a change to branch publish_dates
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git.
discard 7575421 Fix overwriting publish dates of old chart versions
new 6b8e616 Fix overwriting createdDate for old chart versions
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (7575421)
\
N -- N -- N refs/heads/publish_dates (6b8e616)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
[couchdb-helm] 01/01: Fix overwriting createdDate for old chart
versions
Posted by wi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
willholley pushed a commit to branch publish_dates
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git
commit 6b8e61619d6130368dcdf6a6dc3ca7d0baa08311
Author: Will Holley <wi...@gmail.com>
AuthorDate: Thu Jan 2 13:44:07 2020 +0000
Fix overwriting createdDate for old chart versions
By default, `helm repo index` will update all `created` date fields
in the index to the current date. This results in us losing the
creation dates for old chart versions.
One workaround is to create an index with only the new chart version
and merge this with the existing index. This commit updates
`make publish` to do that.
---
Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index bf58f7e..02865b8 100644
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,12 @@ lint:
.PHONY: publish
publish: lint
- @helm package couchdb -d docs
- @helm repo index docs --url https://apache.github.io/couchdb-helm
+ @mkdir -p new_charts
+ @helm package -u -d new_charts couchdb
+ @helm repo index --url "https://apache.github.io/couchdb-helm" --merge docs/index.yaml new_charts
+ @mv new_charts/couchdb*.tgz docs
+ @mv new_charts/index.yaml docs/index.yaml
+ @rm -rf new_charts
# Run end to end tests using KinD
.PHONY: test