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

mots: create initial prototype (bug 1733956) #1

Merged
merged 27 commits into from
Feb 8, 2022

Commits on Oct 4, 2021

  1. mots: create initial prototype (bug 1733956)

    This includes:
    - makefile to assist with development environment
    - support for basic commands to parse and validate mots.yaml
    - support for modules and submodules
    - support for a directory and searchable index
    - cli interface
    - tests
    
    TODOs:
    - add more environment-specific variables to be by mots internally
    - add circleci and readthedocs configuration
    - improve documentation
    - improve readability of fixtures
    zzzeid committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    b7d1a7f View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Additional improvements (to be squashed with previous commit)

    NOTE: could also break this into different branches and facilitate code
    review that way.
    
    Includes:
    - PMO and BMO thin clients that were used to parse and validate users
    - bug fix to return rejected paths when querying
    - cli command to add module (already obsolete?) and helper function
    - bug fix when determining repo path in config (was fetching bad index)
    - Directory class improvements, including:
        - new People and Person helper classes
        - load people into Directory.people
        - serialize people and rewrite yaml when needed
        - validate people against BMO user IDs
    - improvement to yaml config format including using named anchors
    - improved logging
    - helper function to parse user string (used in import, but reusable)
    - fixed serialization of modules
    - fixed references to people in yaml (uses nick-named anchors now)
    
    TODO:
    - improve PMO/BMO client implementation
    - clean up helper functions
    - refactor/clean up module.py to have less repetition in submodules
    - move `extract_people` to utils
    - add more tests and mock BMO client
    zzzeid committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    eeb823c View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

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

Commits on Nov 29, 2021

  1. Additional improvements

    - fix bug with BMO token input
    - fix bug with `module add` command
    zzzeid committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    645fb9a View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. Configuration menu
    Copy the full SHA
    26bd5b3 View commit details
    Browse the repository at this point in the history
  2. Additional improvements

    - add readthedocs config
    - update directory query response to use QueryResponse class
    - conftest bug fix
    zzzeid committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    8e0165d View commit details
    Browse the repository at this point in the history
  3. Additional improvements:

    - update QueryResult.__add__ to return a QueryResult object
    - minor fixes to documentation
    - add test for QueryResult
    - update command line usage in docs
    - temporarily move readme to readthedocs link
    zzzeid committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    16ed62e View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Additional improvements:

    - fix QueryResult.rejected_paths sum to find intersection only
    - add wiki export functionality (bug 1743476)
    zzzeid committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    e5c31c6 View commit details
    Browse the repository at this point in the history
  2. Additional improvements:

    - add hashes to requirements file + make command
    zzzeid committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    9dfac7e View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Additional improvements:

    - use isoformat for timestamps
    - add parse_real_name method to parse bmo data into name and info
    zzzeid committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    15373df View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Small fixes:

    - fix typo in command help
    - fix query command output
    - fix FileConfig default argument when loading config
    zzzeid committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    ec11d39 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Small fixes:

    - fix peers attribute on module
    - fix description attribute on module
    - return submodules and parent when serializing
    zzzeid committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    2c7b567 View commit details
    Browse the repository at this point in the history
  2. Code review feedback

    zzzeid committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    fa5d48f View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Additional improvements:

    - add export to rst functionality; deprecate wiki export
    zzzeid committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    c08f758 View commit details
    Browse the repository at this point in the history
  2. Code review feedback + bug fixes

    - Fixes bug 1750200 (yaml_set_anchor issue)
    zzzeid committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    efcb8f5 View commit details
    Browse the repository at this point in the history
  3. update .gitignore

    zzzeid committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    b8fa8b5 View commit details
    Browse the repository at this point in the history
  4. Bug fixes + dog fooding

    - Fix `mots module add` command so that it adds bmo_id key
    - Fix `mots init` command to include "people" key
    zzzeid committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    857f82b View commit details
    Browse the repository at this point in the history
  5. Minor change

    zzzeid committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    9c72723 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Configuration menu
    Copy the full SHA
    97cee66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a918a37 View commit details
    Browse the repository at this point in the history
  3. Minor changes

    zzzeid committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    38e3490 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa9258f View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Additional improvements:

    - generate separate requirement files for each supported python
    - update requirements to latest versions where applicable
    - update make commands to auto-generate requirements and environments
    zzzeid committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    271dbbe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    898fa78 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. remove extra line in Makefile

    zzzeid committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    5ef6ce2 View commit details
    Browse the repository at this point in the history
  2. update copyright

    zzzeid committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    56d380f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fb36034 View commit details
    Browse the repository at this point in the history