OER-WEB-TEAM / design-system--drupal-theme

1 stars 0 forks source link

Push updates to Drupal #33

Closed AlexVanK closed 6 months ago

AlexVanK commented 6 months ago

Provide a way to inform Drupal sites about project status and available updates. This way users don't have to do anything on GitHub, everything can be done through Drupal interface.

Related resources: Custom module versioning public function UpdateFetcher::buildFetchUrl public function UpdateFetcher::getFetchBaseUrl Use "current" in update URLs instead of CORE_COMPATIBILITY to retrieve all future updates Update Status XML

AlexVanK commented 6 months ago

Workflow

Upon any new release GitHub releases API returns a json format of all that comes with the release. Problem is: we need XML.

Figure out a way to generate XML upon a new release being created.

Options:

AlexVanK commented 6 months ago

Done. Steps to make this work:

Image

Document this in internal documentation

AlexVanK commented 6 months ago

Drupal new recognizes the needs for updates, and points to the right changelog history:

Image