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

Merge develop into main, for release (2.0.0) #300

Merged
merged 30 commits into from
Aug 9, 2024
Merged

Merge develop into main, for release (2.0.0) #300

merged 30 commits into from
Aug 9, 2024

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    a9c6205 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3443483 View commit details
    Browse the repository at this point in the history
  3. Renamed doc -> docs

    pchakraborty committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    e2d253f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d513f89 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    277ba9d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a021d3 View commit details
    Browse the repository at this point in the history
  7. Some fixes

    1. module paths
    2. new version number in pyproject.toml
    3. location of test script
    pchakraborty committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    b9e8c71 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    6f9608d View commit details
    Browse the repository at this point in the history
  2. Fixed doc generation

    pchakraborty committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    749869c View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    4de9a14 View commit details
    Browse the repository at this point in the history
  2. Updated gitignore

    pchakraborty committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    4e250e1 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Update required Python version in bin/mepo

    Co-authored-by: Matthew Thompson <[email protected]>
    pchakraborty and mathomp4 authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9a043c4 View commit details
    Browse the repository at this point in the history
  2. Updated CHANGELOG

    pchakraborty committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    33017cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5027609 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Merge pull request #269 from GEOS-ESM/feature/pchakrab/py-project-pip…

    …-installable
    
    Make mepo a pip-installable Python project
    tclune authored Mar 23, 2024
    Configuration menu
    Copy the full SHA
    6b1cad4 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Fix small typo

    mathomp4 committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    809e58b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d54e5e View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

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

Commits on May 1, 2024

  1. Configuration menu
    Copy the full SHA
    809d1ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1afb682 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Python package with expanded testing (#278)

    * Code reorganization to address #273
    
    * Fixed issues with renaming config_file as registry
    
    * Removed a print statement left in by mistake
    
    * On our way to more robust testing
    
    * Added nocolor option to 'git branch list'
    
    * It's enough to chdir to the fixture dir at the beginning of a test
    
    * Added 'mepo branch' tests
    
    * Added tests for mepo tag, fetch, pull, pull-all
    
    * multiprocessing library supports the context management protocol
    
    * Added tests for mepo push, diff, whereis and reset
    
    * component.py - using Python3's relative import
    
    * Suppressing test outputs to terminal
    
    * Turning off testing 'mepo reset' and checking why 'mepo diff' is failing
    
    Maybe 'mepo reset' is causing issues with testing 'mepo tag create'
    
    * For testing 'mepo diff', ignore the last line '---'
    
    * Ignore the last line of both stdout and saved outputs
    
    * Escaping the string message of 'git tag create'
    
    * Create regular (non-annotated) tag instead
    
    * Testing 'mepo reset' is back on - this was not the issue
    
    * Code from src/mepo/command/command.py included in src/mepo/__main__.py
    
    * Small edits
    
    * Updated GEOSfvdycore version for testing
    
    * Minor quote changes
    
    * Using SimpleNamespace to construct arguments to mepo commands
    
    * Multiprocessing lib supports context manager protocol
    
    * Removed tests/input/args.py - using SimpleNamespace now
    
    * Updated README and CHANGELOG
    
    * Moved duplicate code to get GIT_EDITOR, in commit.py and tag_create.py, to git.py
    
    * Lint code as part of GitHub actions workflow
    
    only for the case where OS is ubuntu-latest and Python version is 3.9
    
    * Added __init__.py in cmdline, command and utilities directories
    
    * Linting updates
    
    1. Linting is a separate job now
    2. Disabling some error codes, for now
    3. Always return a zero status code
    
    * Hardcoding Python version
    
    * Renaming
    
    * Adding ability to create a mepo binary that can uploaded as an artifact of a Github actions workflow. Pyinstaller requires that the top level script not use relative imports
    
    * Added fix for reading mepo1 state
    
    * Added a mepo command, update-state, to permanently update mepo1 state to mepo2
    
    * Formatting changes to update-state.py
    
    * Slightly different printable representation of component
    
    * Added an optional argument one-per-line for 'list'
    
    * component.py::MepoComponent - renamed to_dict to to_registry_format. Added to_dict
    
    * Fixed test test_list
    
    * Fixed a bug in update-state - need to switch to the fixture dir first
    
    * Implemented a context manager for os.chdir
    
    * Reformatted using black
    
    * Separate GitHub workflows for running linter and formatter
    
    * Added black to requirements
    
    * Using poetry to manage dependencies and packaging
    
    * Added creation of a top level script to build
    
    * Added pylint as (poetry) dependency
    
    * Added pylint to requirements.txt
    
    * Updated pyproject.toml
    
    * Small changes to the test script for consistency in mepo commands
    
    * Enabled previously disabled Pylint (C)onvention and (E)rror codes
    
    * Added directory containing mepo to PYTHONPATH
    
    * Using contextlib.redirect_stdout instead
    
    * Can't switch to contextlib.chdir as this exists only in 3.11+
    
    * Run 'black --check' instead. Non-zero return code indicates that some files need to be formatted
    
    * Formatted using black
    
    * Config file is now called registry
    
    * Moved fixture/component validation from MepoComponent to Registry
    
    * Reformat using black
    
    * Switched from pkl state file to json
    
    * print() has a flush argument
    
    * Trivial changes
    
    * If mepo1 style state, print warning to run 'mepo update-state'. Updated update-state code.
    
    * Removing hashes from requirements.txt
    
    * Fixed bug in string formatting
    
    * Update comment in registry.py
    
    * Store full path to the fixture dir in state file
    
    * Revert "Store full path to the fixture dir in state file". We want relocability.
    
    This reverts commit 1bc8330.
    
    * Local path saved to state file is relative to fixture directory
    pchakraborty authored May 15, 2024
    Configuration menu
    Copy the full SHA
    53ffe8a View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

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

Commits on May 21, 2024

  1. Switch from Poetry to Rye for dependency management and packaging (#290)

    * Switch from poetry to rye (#287)
    
    * mdutils is a production requirement
    
    * pyproject.toml - packages for sdist and wheel builds
    
    * Getting hatch to build mepo wheel correctly
    
    * Updated CHANGELOG.md
    
    * Added colorama as a dependency. Updated tests
    
    * Made linter a little happier
    pchakraborty authored May 21, 2024
    Configuration menu
    Copy the full SHA
    d4eab4d View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Some engineering (#292)

    * Added pre-commit hook to run Black
    * Removed unused imports etc.
    pchakraborty authored May 31, 2024
    Configuration menu
    Copy the full SHA
    e6dd2f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Fixed a bug in mepo state creation during 'mepo update-state' was fol…

    …lowing the codepath for the case when mepo state does not exist. (#295)
    pchakraborty authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    fe56955 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42989f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. A bug fix and '--serial' option for status and restore-state commands (

    …#296)
    
    * Another, hopefully last, bug with old-style state fixed - Convert the local path of the repos from relative to absolute after reading the state, in case of old-style state as well
    
    * Running 'mepo status' on a mac seems to cause issues for the case of an old style state. Somehow the patch to read the old style state, modification of sys.modules, does not percolate down to the processes spawned by multiprocessing. To work around this issue, added a '--serial' option to the status command.
    
    * Same issue with 'mepo restore-state' as we experienced with 'mepo status' earlier (81020ef). To work around this issue, added a '--serial' option.
    
    * Updated test to account for new option (--serial) for status and restore-state
    pchakraborty authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    eb1eab4 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Version 2.0.0rc4 (#297)

    pchakraborty authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    eb4fea3 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    d2585a1 View commit details
    Browse the repository at this point in the history
  2. Ready to release 2.0.0 (#298)

    * Ready to release 2.0.0
    
    * Updated CHANGELOG.md
    
    ---------
    
    Co-authored-by: Matt Thompson <[email protected]>
    pchakraborty and mathomp4 authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    0da5ef4 View commit details
    Browse the repository at this point in the history