WikiWire v0.6.0 released
WikiWire v0.6.0 introduces new features and a substantial fix that should result in a noticeable improvement in QoL.
Exponential backoff
Failed requests with non-terminative errors are now retried with exponential backoff. This means that one-time and temporary errors don't stop a workflow from finishing.
And, if a terminative (or a fatal) error occurs, WikiWire will continue syncing the rest of the files that can be synced, before triggering the error so you know what's happened and can fix it.
Visual improvements on outputs
Speaking of errors and debugging, outputs are now drastically improved visually.
WikiWire: syncing edit 1/2 MediaWiki:Templatedata-doc-subpage on obbywiki└─ updated MediaWiki:Templatedata-doc-subpage on obbywikiWikiWire: syncing edit 2/2 Module:ObbyGameInfobox on obbywiki└─ updated Module:ObbyGameInfobox on obbywikiThis makes it much easier to keep track of what's happening. Please note that it is likely your client will not use colors.
Commits and attributions
WikiWire can now (optionally) include commit attributions when triggered from a push, including both the GitHub username of the account that caused the sync by pushing, as well as the first seven letters of the commit SHA.
"WikiWire: sync modules/example.com/ModuleName/ModuleName.module.lua (User, c177963)"To opt-in and enable this feature, you can add the following line into your wikiwire.toml file:
version = 1shared = truecommon = trueignore_content_model_errors = truedelete_removed = truepush_attribution = true
[[sites]]id = "obbywiki"host = "obby.wiki"api = "https://obby.wiki/api.php"default_branch = "main"css_content_model = "css"common = trueBetter support for nested files
Additionally, WikiWire v0.6.0 introduced better support for nested files. Files that are nested under each other should now resolve to paths consistently and correctly, allowing for support of complex files.
Related
WikiWire v0.5.0 releasedThis release contains multiple new features, such as supporting file deletions, grouping sites for syncing, performance improvements, and more.
WikiWire v0.4.0 releasedThis release contains multiple new features, such as syncing from the MediaWiki: namespace and more.
WikiWire v0.3.0 releasedThis release is a full refactor of WikiWire along with better documentation on how to use it.