Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: allow to validate asset checksums only TDE-1134 #982

Merged
merged 1 commit into from
May 8, 2024

Conversation

paulfouquet
Copy link
Collaborator

Motivation

Current --checksum and --checksum-links flags overlap in the following case
--checksum --checksum-links, where --checksum will validate both asset and link checksums so --checksum-links becomes pointless and confusing in that case.

Modification

Allow to validate the asset checksums only.

  • To validate both asset and links checksums: --checksum-assets --checksum-links
  • To validate asset checksums only: --checksum-assets
  • To validate link checksums only: --checksum-links

Checklist

If not applicable, provide explanation of why.

  • Tests updated NA
  • Docs updated
  • Issue linked in Title

@paulfouquet paulfouquet added this pull request to the merge queue May 8, 2024
Merged via the queue into master with commit aca5939 May 8, 2024
2 checks passed
@paulfouquet paulfouquet deleted the feat/stac-validate-checksum-specific-tde-1134 branch May 8, 2024 23:50
github-merge-queue bot pushed a commit that referenced this pull request May 8, 2024
🤖 I have created a release *beep* *boop*
---


## [4.0.0](v3.7.0...v4.0.0)
(2024-05-08)


### ⚠ BREAKING CHANGES

* allow to validate asset checksums only TDE-1134
([#982](#982))

### Features

* allow to validate asset checksums only TDE-1134
([#982](#982))
([aca5939](aca5939))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit to linz/topo-workflows that referenced this pull request May 9, 2024
)

#### Motivation

`stac-validate` has changed its flags for checksum validation in
linz/argo-tasks#982 &
linz/argo-tasks#972

#### Modification

Use the `--checksum-assets` and `--checksum-links` flags

#### Checklist

_If not applicable, provide explanation of why._

- [ ] Tests updated NA
- [x] Docs updated
- [x] Issue linked in Title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants