# Kopia versions within Velero project
### Problem
https://github.com/vmware-tanzu/velero/issues/8136
### How the findings were performed
```shell
KOPIA_GIT=$(mktemp -d --suffix=kopiagit)
pushd "$KOPIA_GIT"
git clone https://github.com/kopia/kopia.git
git clone https://github.com/project-velero/kopia.git velero-kopia
```
## Velero versions
### - 1.14.0
### Conclusion:
#### 1) Commits different between Upstream And Velero
Only two patches for the Velero 1.14.0 differs between and they are carried in Veler's Kopia only:
- Upstream Kopia **v0.17.0** tag (hash 89c8eb47)
- Velero's Kopia **v0.17.0-velero.1** tag
#### Details
```shell
pushd kopia
git log v0.17.0 --oneline > upstream_v0.17.0_last_hash_89c8eb4
popd
pushd velero-kopia
git log v0.17.0-velero.1 --oneline > velero_v0.17.0-velero.1
popd
```
```shell
$ diff -uNr kopia/upstream_v0.17.0_last_hash_89c8eb4 velero-kopia/velero_v0.17.0-velero.1
--- kopia/upstream_v0.17.0_last_hash_89c8eb4 2024-08-28 12:15:23.549759624 +0200
+++ velero-kopia/velero_v0.17.0-velero.1 2024-08-28 12:12:24.081259397 +0200
@@ -1,3 +1,5 @@
+e07d5b7d Add a new function to create the Azure backend storage with the provided client
+192233d1 add allow-index-write-on-load to open options
89c8eb47 build(deps): bump github.com/klauspost/compress from 1.17.7 to 1.17.8 (#3802)
57039f11 build(deps): bump github/codeql-action in the github-actions group (#3803)
d4b50cff build(deps): bump the common-golang-dependencies group with 2 updates (#3801)
```
## Velero versions
### - 1.13.0
### - 1.13.1
### - 1.13.2
### Conclusion:
#### 1) Commits different between Upstream And Velero
There are 7 commits for the Velero 1.13.* differs between:
- Upstream Kopia **v0.15.0** tag (hash dd1ebb11)
- Velero's Kopia **v0.15.0-velero-patch** branch
- The following are Velero's Kopia patches ony:
```
+8b6dabff Merge pull request #7 from Lyndon-Li/disable-index-write-on-read-only-and-load-01
+c56e8e31 add allow-index-write-on-load to open options
+cf7bbc7f Add a new function to create the Azure backend storage with the provided client
```
- Some of the commits are cherry-picked from Upstream
```
+365fcaaa refactor(general): allow disabling writes on index index loads (#3645)
+d8a288c7 refactor(general): move index cleanup out to refreshAttempt (#3603)
+5c842a1d refactor(general): minor cleanups related to index managers (#3518)
+b3d51b96 refactor(general): minor cleanups (#3495)
```
#### 2) Commits between Velero 0.13.* and 0.14.*
There are ***196 commits*** difference between Velero's 0.14.* and 0.13.* version's of Kopia
#### Details
```shell=
pushd kopia
$ git log v0.15.0 --oneline > upstream_v0.15.0_last_hash_dd1ebb11
$ popd
$ pushd velero-kopia
$ git checkout v0.15.0-velero-patch
branch 'v0.15.0-velero-patch' set up to track 'origin/v0.15.0-velero-patch'.
Switched to a new branch 'v0.15.0-velero-patch'
$ git log --oneline > velero_v0.15.0-branch
$ popd
```
```shell=
$ diff -uNr kopia/upstream_v0.15.0_last_hash_dd1ebb11 velero-kopia/velero_v0.15.0-branch
--- kopia/upstream_v0.15.0_last_hash_dd1ebb11 2024-08-28 12:38:34.023790335 +0200
+++ velero-kopia/velero_v0.15.0-branch 2024-08-28 12:33:42.083684797 +0200
@@ -1,3 +1,10 @@
+8b6dabff Merge pull request #7 from Lyndon-Li/disable-index-write-on-read-only-and-load-01
+c56e8e31 add allow-index-write-on-load to open options
+365fcaaa refactor(general): allow disabling writes on index index loads (#3645)
+d8a288c7 refactor(general): move index cleanup out to refreshAttempt (#3603)
+5c842a1d refactor(general): minor cleanups related to index managers (#3518)
+b3d51b96 refactor(general): minor cleanups (#3495)
+cf7bbc7f Add a new function to create the Azure backend storage with the provided client
dd1ebb11 fix(ui): fixed hint text visibility in dark mode (#3393)
3eff91a4 fix(ui): Fixing colors in dark theme (#3392)
8735474d build(deps): bump github.com/chromedp/chromedp from 0.9.2 to 0.9.3 (#3391)
```
## Velero versions
### - 1.12.0
### - 1.12.1
### - 1.12.2
### - 1.12.3
### - 1.12.4
### Conclusion:
#### 1) Commits different between Upstream And Velero
There is only 1 commit difference between:
- Upstream Kopia **v0.13.0** tag (hash 7f69502b)
- Velero's Kopia **v0.13.0-velero.1** tag
#### 2) Commits between Velero 0.12.* and 0.13.*
- There are ***190 commits*** difference between Velero's 0.12.* and 0.13.* version's of Kopia
#### Details
```shell=
pushd kopia
git checkout master
git log v0.13.0 --oneline > upstream_v0.13.0_last_hash_7f69502b
popd
pushd kopia
$ git log v0.15.0 --oneline > upstream_v0.15.0_last_hash_dd1ebb11
$ popd
$ pushd velero-kopia
$ git checkout master
$ git log v0.13.0-velero.1 --oneline > velero_v0.13.0-velero.1
$ popd
```
```shell=
$ diff -uNr kopia/upstream_v0.13.0_last_hash_7f69502b velero-kopia/velero_v0.13.0-velero.1
--- kopia/upstream_v0.13.0_last_hash_7f69502b 2024-08-28 13:28:42.934844699 +0200
+++ velero-kopia/velero_v0.13.0-velero.1 2024-08-28 13:25:58.475319256 +0200
@@ -1,3 +1,4 @@
+42cd86ac fix issue velero 6391
```