Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stac-utils/pgstac
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.1
Choose a base ref
...
head repository: stac-utils/pgstac
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Choose a head ref
  • 5 commits
  • 56 files changed
  • 4 contributors

Commits on Apr 28, 2022

  1. Allow versions to be returned as bytes. (#104)

    This fixes an issue experienced during pypgstac migrate,
    which causes failures due to the version being
    returned is "bytes" and not a string.
    lossyrob authored Apr 28, 2022
    Configuration menu
    Copy the full SHA
    8c36fef View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Add hydration and dehydration methods loading and nohydrate mode (#107)

    * Point commit for hydration work.
    
    Trying to get pip installable
    
    * pip installable with setup.py
    
    * Get tests running with new configuration
    
    * Dehydration checkpoint
    
    * Hydrate accounts for do-not-merge marker
    
    * Remove incorrect copy values
    
    * Remove extra print
    
    * Alternate package install technique
    
    Fixing CI issues
    
    * Install psycopg as an extra
    
    * Publish with twine
    
    * Remove poetry lock update script
    
    * Remove poetry from staging process
    
    Requires that the user explicitly state the updated version.
    
    * Require local install of pypgstac.
    
    This is required because the dev docker-compose mounts the entire source
    tree into the container. This overwrites the local python egg
    for the package, and causes failures.
    
    * Run install on cibuild
    
    Co-authored-by: Rob Emanuele <rdemanuele@gmail.com>
    mmcfarland and lossyrob authored May 3, 2022
    Configuration menu
    Copy the full SHA
    5263ac0 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Include pgstac migrations in pypgstac package (#108)

    * Include pgstac migrations in pypgstac package
    
    * Add tests for specific invalid asset regression
    
    We've had both db and api regressions where assets would be included in
    the hydrated item without an href causing validation errors. Adding
    specific tests for this case to make sure the general do-no-merge key
    solution address this problem, and the api-fix can be removed from
    stac-fastapi backend.
    
    * Clarify comments and variable names
    
    * On the recursive portion of the dehydrate function, base_item and
    full_item are not actual items, but sub-keys from root. Move to a
    private inner function with clearer names, similar to hydrate.
    * Update comments to be more precise with respect to leaving items on
    the item or not.
    mmcfarland authored May 5, 2022
    Configuration menu
    Copy the full SHA
    c1e227b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Configuration menu
    Copy the full SHA
    98ac920 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Bug fixes for 0.5.1 (#106)

    * Remove Stable declaration from delete_items function
    
    * Python dehydrate marks top-level base_keys as DNM
    
    Fixes and tests that dehydration is aware of top-level keys on the base
    item which should be marked as do-not-merge on the dehydrated item.
    
    * Fix test class to use hydration module
    
    * update changelog
    
    
    * update tests for changes in fields extension, add simpler testing for sql queries
    
    * update version to 0.6.0, update changelog
    
    * add triggers to allow deleting collections and cleaning up partitions
    
    Co-authored-by: Rob Emanuele <rdemanuele@gmail.com>
    Co-authored-by: Matt McFarland <mmcfarland@microsoft.com>
    3 people authored May 12, 2022
    Configuration menu
    Copy the full SHA
    ed77040 View commit details
    Browse the repository at this point in the history
Loading