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

Complete roundtrip of PL <--> OPB MD conversion #87

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Commits on Aug 11, 2023

  1. First pass at parsing prairielearn question files

    Does not try to retain assets, or defined asset values, and loses the types of non string customizations currently.
    Bluesy1 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    16bdafb View commit details
    Browse the repository at this point in the history
  2. Expand implementation

    - Add missing section to md result we cannot roundtrip right now
    - Move imports to a dedicated sections with a comment
    - Using `ast.literal_eval`, customizations that are literals are parsed back from strings to their native type
    Bluesy1 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    f1ddfe2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    945d294 View commit details
    Browse the repository at this point in the history
  4. Add basic asset handling

    now attempts to list assets found in the 4 key folders from prairielearn
    Bluesy1 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    4858bc9 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Adjust inspect usage from 945d294

    Need to flatten the namedtuple to a list
    Bluesy1 committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    27723fd View commit details
    Browse the repository at this point in the history
  2. Expand pl_to_md implementation

    - Now copies asset files
    - Allows for an output directory and filename to be passed
    - Validates input paths are directories and not files
    - Improves argument checking
    Bluesy1 committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    ffe2818 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Fix implementation based on testing

    - Need to prevent `"..."` from being evaled to the `Ellipses` literal
    - Remove the `__pycache__` directory created by importing and executing the `server.py` file
    - Fix `server.py` parsing
    - Fix asset copying
    - Add `pl-rich-text-editor` to list of supported pl inputs
    Bluesy1 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    7f3d995 View commit details
    Browse the repository at this point in the history
  2. Add tests

    Also minor updates to overall test layout to make round trip testing work nicer
    Bluesy1 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    ad373ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6777d87 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Update tests action

    Now should upload md generated from pl files on failure
    Bluesy1 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    4badf4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc79dbf View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    4f70d46 View commit details
    Browse the repository at this point in the history
  2. Cleanup Formatting

    Bluesy1 committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    0519f9a View commit details
    Browse the repository at this point in the history
  3. Update pbs to write extra keys needed for roundtrip to object inside …

    …metadata field of the comment object in `info.json`
    Bluesy1 committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    c293cd9 View commit details
    Browse the repository at this point in the history
  4. Update tests

    Bluesy1 committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    1dc545c View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

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

Commits on Jun 2, 2024

  1. Configuration menu
    Copy the full SHA
    d049514 View commit details
    Browse the repository at this point in the history
  2. Initial Changes after updated from main

    Start fixing bugs/issues in tests causing failures
    Bluesy1 committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    a75a4ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    629270f View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    f00adf9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5d24e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa52f2c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e1f421 View commit details
    Browse the repository at this point in the history
  5. Update dep versions, use subtests to check every generated file even …

    …if one on a question already fails.
    Bluesy1 committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    0c1890b View commit details
    Browse the repository at this point in the history
  6. Fix CI

    Bluesy1 committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    d9a4512 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f028d55 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

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

Commits on Sep 5, 2024

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

Commits on Sep 6, 2024

  1. lxml

    Bluesy1 committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    cf653b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    073a32d View commit details
    Browse the repository at this point in the history