Skip to content

Remove processing datetime from ids#88

Merged
gadomski merged 5 commits intomainfrom
issues/87-no-processing-time-in-ids
Sep 14, 2022
Merged

Remove processing datetime from ids#88
gadomski merged 5 commits intomainfrom
issues/87-no-processing-time-in-ids

Conversation

@gadomski
Copy link
Copy Markdown
Contributor

@gadomski gadomski commented Sep 13, 2022

Related Issue(s):

Description:

There's three spots I had to change to strip the processing datetime off of the item ids. Not great, but not worth a refactor IMO (effort required to make it cleaner would be way more than is appropriate for this small of a fix #techdebt).

@TomAugspurger in this repo, we have static "example" JSON files that we use for our unit tests. This leads to a lot of noise in every PR, which is why I've moved away from this pattern for later stactools-packages. The *.py files and one example item should be enough for a review.

We never released a v0.3.0 (we stayed in pre-release) so IMO once this PR is merged, we could release v0.3.0 as a breaking change from v0.2.0.

PR checklist:

  • Code is formatted (run scripts/format).
  • Code lints properly (run scripts/lint).
  • Tests pass (run scripts/test).
  • Documentation has been updated to reflect changes, if applicable.
  • Example STAC Catalog has been updated to reflect changes, if applicable.
  • Changes are added to the CHANGELOG.

@gadomski gadomski force-pushed the issues/87-no-processing-time-in-ids branch from b7ad12a to 883d70e Compare September 13, 2022 22:23
Copy link
Copy Markdown
Member

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked through the changes to the .py files and they look good, thanks. CI doesn't seem happy though :/

Copy link
Copy Markdown
Contributor

@pjhartzell pjhartzell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gadomski gadomski force-pushed the issues/87-no-processing-time-in-ids branch from 061ae4a to f4655fe Compare September 14, 2022 15:00
Not sure why this worked before, but now this _doesn't_ work for cli plugin registry
This gets is a different to_wkt signature for CRSes
@gadomski gadomski force-pushed the issues/87-no-processing-time-in-ids branch from f4655fe to 80d4850 Compare September 14, 2022 15:21
@gadomski gadomski merged commit 2c15f8f into main Sep 14, 2022
@gadomski gadomski deleted the issues/87-no-processing-time-in-ids branch September 14, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Item IDs shouldn't include the production date.

3 participants