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

Added 'add' command to add an item to a catalog/collection #153

Merged
merged 21 commits into from
Sep 14, 2021
Merged

Added 'add' command to add an item to a catalog/collection #153

merged 21 commits into from
Sep 14, 2021

Conversation

volaya
Copy link
Contributor

@volaya volaya commented Jun 29, 2021

[WIP] The functionality is there, but the PR is missing a better collection of tests to test all options. I will work on adding them ASAP

This PR fixes #148

@gadomski gadomski added the enhancement New feature or request label Jun 29, 2021
@gadomski gadomski added this to the v0.2.1 milestone Jun 29, 2021
@gadomski
Copy link
Member

@volaya checking in on this PR, is this WIP or is it ready for review?

@volaya
Copy link
Contributor Author

volaya commented Jul 23, 2021

@gadomski I added new tests and this should be ready for review

Copy link
Member

@gadomski gadomski left a comment

Choose a reason for hiding this comment

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

Thanks for adding the tests! I have one change requested in the unit tests (checking to make sure the item was added to the correct collection), and then a couple musing thoughts that aren't really change requests, just questions. Once the test change is made and CI is passing this looks good to go!

src/stactools/core/add.py Outdated Show resolved Hide resolved
src/stactools/core/add.py Outdated Show resolved Hide resolved
src/stactools/core/add.py Outdated Show resolved Hide resolved
tests/cli/commands/test_add.py Outdated Show resolved Hide resolved
@gadomski gadomski removed this from the v0.2.1 milestone Jul 28, 2021
@volaya
Copy link
Contributor Author

volaya commented Sep 13, 2021

CI is failing, but it seems to fail in something not related to this PR.

@gadomski gadomski mentioned this pull request Sep 13, 2021
4 tasks
@gadomski
Copy link
Member

CI is failing, but it seems to fail in something not related to this PR.

I've got a fix queued up in #198.

src/stactools/core/add.py Show resolved Hide resolved
@gadomski gadomski merged commit 7aa3ae0 into stac-utils:main Sep 14, 2021
gadomski added a commit that referenced this pull request Sep 16, 2021
Also add changelog entry for #153
@gadomski gadomski mentioned this pull request Sep 16, 2021
5 tasks
gadomski added a commit that referenced this pull request Sep 16, 2021
Also add changelog entry for #153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an Item to a collection / catalog
3 participants