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

Improving logic and extensibility #9

Merged
merged 50 commits into from
Sep 18, 2023
Merged

Improving logic and extensibility #9

merged 50 commits into from
Sep 18, 2023

Commits on Aug 15, 2018

  1. DB driver independent metadata fields implementation

    Allows extraction of search fields from dataset metadata without dependencies on
    db driver.
    Kirill888 authored and mergify[bot] committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    700db7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b64eb70 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2019

  1. Moved Field/Expression base classes

    To avoid circular dependency issues, `Field` is used as input to `MetadataType`
    constructor, `Expression` is output of `Field` methods, but then Field needs
    `Range` which is defined in `model`
    Kirill888 authored and mergify[bot] committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    792b43a View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2019

  1. Tests for datacube.utils.aws.*

    Kirill888 authored and mergify[bot] committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    4d6cc75 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. Configuration menu
    Copy the full SHA
    303ada1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d53679 View commit details
    Browse the repository at this point in the history
  3. More tests for .utils.aws.

    - Test supplying credentials from outside for session creation
    - Test failure to obtain credentials
    Kirill888 authored and mergify[bot] committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    3037849 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b036db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e309f60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d6c4443 View commit details
    Browse the repository at this point in the history
  7. Add s3_url_parse helper method

    Kirill888 authored and mergify[bot] committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    d1b2523 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    279df1c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6d64de7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    519aafd View commit details
    Browse the repository at this point in the history
  11. Add s3 client thread local cache

    This is needed for `s3_{dump|fetch}` running in "remote" mode, i.e. with dask
    Kirill888 authored and mergify[bot] committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    d4e1bbe View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f746086 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Cleanups: more mypy annotations remove more python2-isms

    no need to derive from object
    Kirill888 committed May 6, 2020
    Configuration menu
    Copy the full SHA
    99645b9 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

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

Commits on Aug 16, 2020

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

Commits on Nov 5, 2020

  1. Configuration menu
    Copy the full SHA
    8514929 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    354b426 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2020

  1. Simplify dependencies, use mock from stdlib

    Change to import mock from unittest.mock, which has been available in
    the standard library since Python 3.3, well below our minimum.
    omad committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    ddfccb7 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Update tests for new version of boto

    petewa authored and omad committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    f3c0e28 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. IAM authentication for Postgres (#1168)

    * Utility to function to obtain IAM auth token.
    
    * Hook IAM auth into engine instantiation.
    
    * Return last token if not getting a new one.
    
    * Cleanup coding style.
    
    * Cleanup coding style.
    
    * Cleanup coding style - how deep an indent does it want?
    
    * Pass region name in test.
    
    * s/region/region_name/  oops.
    
    * Pass region name when creating boto3 client.
    
    * Fix obtain_new_iam_auth_token() function signature.
    
    * Move iam config into config layer.
    
    * Make options and env var names more consistent.
    
    * Test environment parser.
    
    * Removed hard-to-test and unnecessary exception conversion.
    
    * Add documentation.
    
    * Update whats_new.rst
    
    Co-authored-by: phaesler <[email protected]>
    SpacemanPaul and phaesler authored Aug 5, 2021
    Configuration menu
    Copy the full SHA
    3d1545f View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

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

Commits on May 10, 2022

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

Commits on Jun 6, 2022

  1. Configuration menu
    Copy the full SHA
    f903134 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa2a94c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10d0bef View commit details
    Browse the repository at this point in the history
  4. Fix regressions.

    SpacemanPaul committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    841d76b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1266 from opendatacube/typehint_compliance

    Typehint cleanup - mypy compliance
    SpacemanPaul authored Jun 6, 2022
    Configuration menu
    Copy the full SHA
    f5640d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Porting recent develop (1.8.x) changes forward into develop-1.9 branc…

    …h. (#1459)
    
    * GitHub actions fixes (#1433)
    
    * Github action fixes, backported from develop-1.9
    
    * Updates to whats_new.rst
    
    * Capitalise "Dependabot" in whats_new.rst
    
    * Remove duplicate GHA Workflow for docs
    
    We used to deploy to netlify for docs previews, but now that's done to
    Read The Docs. The old Workflow should be removed.
    
    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/adrienverge/yamllint.git: v1.30.0 → v1.31.0](https://github.com/adrienverge/yamllint.git/compare/v1.30.0...v1.31.0)
    
    * Display error message instead of help message if a required argument isn't provided
    
    * update whats_new
    
    * print error message as well as usage info
    
    * add license hook to pre-commit
    
    * update license template and instructions, and whats_new
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * add > and < to lark grammar
    
    * refine logic
    
    * use timestamp 0 as lowest bound instead of hardcoded date
    
    * update whats_new
    
    * update doco
    
    * update whats_new
    
    * Allow open date range in dc load and find_datasets (#1443)
    
    * support open ended date range in query init
    
    * allow open ended time ranges in load() and find_datasets(), also simplify logic for cli
    
    * update doco and whats_new
    
    * get end of datetime.now() to avoid failing tests due to second mismatches
    
    * Minor update to documentation
    
    Even with open bounds, dates are still inclusive of the start and end dates. Minor update to wording to make this clearer
    
    ---------
    
    Co-authored-by: Ariana Barzinpour <[email protected]>
    Co-authored-by: Robbi Bishop-Taylor <[email protected]>
    
    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/adrienverge/yamllint.git: v1.31.0 → v1.32.0](https://github.com/adrienverge/yamllint.git/compare/v1.31.0...v1.32.0)
    
    * add archive_less_mature option to add and update
    
    * update whats_new
    
    * add warning message in memory driver
    
    * Pass X and Y Scale factors through to rasterio.warp.project. (#1450)
    
    * Pass X and Y Scale factors through to rasterio.warp.project. Update whats_new
    
    * Update PR number in whats_new.rst
    
    * Remove unused import.
    
    * Cleanup.
    
    * Cleanup.
    
    * Should probably just add it to the dictionary tbh.
    
    * Respond to Kirill's comments.
    
    * remove lineage from docs
    
    * move archive_less_mature to abstract and allow for postgres
    
    * move find dupes logic into a separate function
    
    * update whats_new
    
    * allow for a bit of leniency in datetime comparison when searching for less mature, add test case
    
    * update whats_new
    
    * properly add new files
    
    * fix failing tests
    
    * refactor doc_to_ds without adding dataset logic
    
    * Add missing PR's to whats_new.rst and prepare for 1.8.13 release. (#1453)
    
    * Fix gha pypi publishing condition (#1454)
    
    * fix gha pypi publishing condition
    
    * update whats_new
    
    ---------
    
    Co-authored-by: Ariana Barzinpour <[email protected]>
    
    * update ubntu installation instructions
    
    * update wordlist
    
    * update readme
    
    * update wordlist again
    
    * add a bit more info on db env variables; other misc improvements
    
    * update barebones metadata type requirements
    
    * fix typos, update wordlist
    
    * fix some wording
    
    * update integration db names
    
    * rename agdcintegration.conf
    
    * Always use XSCALE=1,YSCALE=1 in warp. (#1457)
    
    * Use SCALEX=1,SCALEY=1 in both warp code-paths.
    
    * remove data preparation page, add links to indexing guide
    
    * fix typo, del data preparation scripts page
    
    * increase buffer to 500ms
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: Damien Ayers <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Ariana Barzinpour <[email protected]>
    Co-authored-by: Ariana-B <[email protected]>
    Co-authored-by: Robbi Bishop-Taylor <[email protected]>
    6 people authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    4299e9b View commit details
    Browse the repository at this point in the history
  2. Porting recent develop (1.8.x) changes forward into develop-1.9 branc…

    …h. (#1459)
    
    * GitHub actions fixes (#1433)
    
    * Github action fixes, backported from develop-1.9
    
    * Updates to whats_new.rst
    
    * Capitalise "Dependabot" in whats_new.rst
    
    * Remove duplicate GHA Workflow for docs
    
    We used to deploy to netlify for docs previews, but now that's done to
    Read The Docs. The old Workflow should be removed.
    
    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/adrienverge/yamllint.git: v1.30.0 → v1.31.0](https://github.com/adrienverge/yamllint.git/compare/v1.30.0...v1.31.0)
    
    * Display error message instead of help message if a required argument isn't provided
    
    * update whats_new
    
    * print error message as well as usage info
    
    * add license hook to pre-commit
    
    * update license template and instructions, and whats_new
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * add > and < to lark grammar
    
    * refine logic
    
    * use timestamp 0 as lowest bound instead of hardcoded date
    
    * update whats_new
    
    * update doco
    
    * update whats_new
    
    * Allow open date range in dc load and find_datasets (#1443)
    
    * support open ended date range in query init
    
    * allow open ended time ranges in load() and find_datasets(), also simplify logic for cli
    
    * update doco and whats_new
    
    * get end of datetime.now() to avoid failing tests due to second mismatches
    
    * Minor update to documentation
    
    Even with open bounds, dates are still inclusive of the start and end dates. Minor update to wording to make this clearer
    
    ---------
    
    Co-authored-by: Ariana Barzinpour <[email protected]>
    Co-authored-by: Robbi Bishop-Taylor <[email protected]>
    
    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/adrienverge/yamllint.git: v1.31.0 → v1.32.0](https://github.com/adrienverge/yamllint.git/compare/v1.31.0...v1.32.0)
    
    * add archive_less_mature option to add and update
    
    * update whats_new
    
    * add warning message in memory driver
    
    * Pass X and Y Scale factors through to rasterio.warp.project. (#1450)
    
    * Pass X and Y Scale factors through to rasterio.warp.project. Update whats_new
    
    * Update PR number in whats_new.rst
    
    * Remove unused import.
    
    * Cleanup.
    
    * Cleanup.
    
    * Should probably just add it to the dictionary tbh.
    
    * Respond to Kirill's comments.
    
    * remove lineage from docs
    
    * move archive_less_mature to abstract and allow for postgres
    
    * move find dupes logic into a separate function
    
    * update whats_new
    
    * allow for a bit of leniency in datetime comparison when searching for less mature, add test case
    
    * update whats_new
    
    * properly add new files
    
    * fix failing tests
    
    * refactor doc_to_ds without adding dataset logic
    
    * Add missing PR's to whats_new.rst and prepare for 1.8.13 release. (#1453)
    
    * Fix gha pypi publishing condition (#1454)
    
    * fix gha pypi publishing condition
    
    * update whats_new
    
    ---------
    
    Co-authored-by: Ariana Barzinpour <[email protected]>
    
    * update ubntu installation instructions
    
    * update wordlist
    
    * update readme
    
    * update wordlist again
    
    * add a bit more info on db env variables; other misc improvements
    
    * update barebones metadata type requirements
    
    * fix typos, update wordlist
    
    * fix some wording
    
    * update integration db names
    
    * rename agdcintegration.conf
    
    * Always use XSCALE=1,YSCALE=1 in warp. (#1457)
    
    * Use SCALEX=1,SCALEY=1 in both warp code-paths.
    
    * remove data preparation page, add links to indexing guide
    
    * fix typo, del data preparation scripts page
    
    * increase buffer to 500ms
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: Damien Ayers <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Ariana Barzinpour <[email protected]>
    Co-authored-by: Ariana-B <[email protected]>
    Co-authored-by: Robbi Bishop-Taylor <[email protected]>
    6 people authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    589adcc View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. updates to properties, rename DatasetDocBase for consistency, some ti…

    …nkering in validation
    Ariana Barzinpour committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    1166fd2 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Copy model/fields into eo3

    Ariana Barzinpour committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    47b1586 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. initial design for DatasetMetadata

    Ariana Barzinpour committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    43fbd76 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. fix some linting, add more properties to model

    Ariana Barzinpour committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    b0ed625 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. further refine model and update tests

    Ariana Barzinpour committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    0f8da0a View commit details
    Browse the repository at this point in the history
  2. Copy aws tests into eo3

    Ariana Barzinpour committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    e1eeb50 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. undo stac-extension version change

    Ariana Barzinpour committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f5908dd View commit details
    Browse the repository at this point in the history
  2. copy over aws tests

    Ariana Barzinpour committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f8e4561 View commit details
    Browse the repository at this point in the history
  3. add moto to tests requirements

    Ariana Barzinpour committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    9fca71d View commit details
    Browse the repository at this point in the history
  4. remove unused aws functions

    Ariana Barzinpour committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    49d983e View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    ecdaa4e View commit details
    Browse the repository at this point in the history
  2. add Range to public objects

    Ariana Barzinpour committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    f16bcab View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. facilitate core integration, resolve some todos

    Ariana Barzinpour committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    af6e900 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. put back _is_json_array, put utils into a module, copy over tests fro…

    …m core
    Ariana Barzinpour committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    92fc204 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    005c491 View commit details
    Browse the repository at this point in the history
  3. pin jsonschema to >=4.18 and <4.19 to avoid RefResolver error

    Ariana Barzinpour committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    a684adc View commit details
    Browse the repository at this point in the history
  4. pin jsonschema to 4.18.0

    Ariana Barzinpour committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    d8f8bce View commit details
    Browse the repository at this point in the history