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

Outputs a log of updated features #947

Merged
merged 6 commits into from
Dec 19, 2023

Conversation

ChrisC
Copy link
Contributor

@ChrisC ChrisC commented Dec 13, 2023

Generates a json file listing updates made during a run of updated-bcd. Primarily for further use in BCD update automation.

We're initially just capturing the BCD path, browser and updated support statements in the log file, but there's a lot of additional data from the UpdateLog object that we can add as needed.

cc @teoli2003 @foolip

Closes #946

Sample output from a recent run:

[
  {
    "browser": "firefox_android",
    "path": "api.AudioProcessingEvent",
    "statements": [
      {
        "version_added": false
      }
    ]
  },
  {
    "browser": "firefox_android",
    "path": "api.AudioProcessingEvent.inputBuffer",
    "statements": [
      {
        "version_added": false
      }
    ]
  },
  {
    "browser": "firefox_android",
    "path": "api.AudioProcessingEvent.outputBuffer",
    "statements": [
      {
        "version_added": false
      }
    ]
  },
  ...
]

Copy link
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good to me, but I'd like @teoli2003 to confirm this will work for the updating workflow.

@teoli2003
Copy link
Member

Looks good for me too!

@teoli2003 teoli2003 merged commit b3d0512 into openwebdocs:main Dec 19, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log results from update-bcd-file
4 participants