The Twinkle project uses a Perl script to sync from Github to on-wiki JS: <https://github.com/azatoth/twinkle/blob/master/dev/sync.pl>
IIRC it's run manually, but one could conceivably run something similar in a CI/CD pipeline. That would, of course, mean storing interface administrator credentials and the tools to use them on third-party servers, which has some security risks. Using something similar to <https://wikitech.wikimedia.org/wiki/Help:Toolforge/Auto-update_a_tool_from_GitHub> and handling the MW auth and deployment from WMCS servers may reduce some of those risks. ACN On Thu, Oct 29, 2020 at 11:09 AM Scott Bassett <sbass...@wikimedia.org> wrote: > > Hello Roy- > > I don't believe there is any release or deployment process for userJS on the > projects, certainly nothing formal or standardized. In some way, Gadgets > 2.0/3.0 was designed with these issues in mind, but that project is currently > stalled, as far as I know. What you're doing is likely what I and other WMF > folks would recommend (version control, tests if feasible, careful deployment > with an announcement to users if you have some channel of communication, > etc). If you'd ever like a quick security review of the code or possibly > some aggregated data on its usage, feel free to create a task in Phabricator. > > > On Mon, Oct 26, 2020 at 11:27 AM Roy Smith <r...@panix.com> wrote: >> >> I maintain spi-tools.js. The source is in github. At the moment, my >> "release process" (if you could call it that) is to edit >> User:RoySmith/spi-tools.js and copy-paste the new version. This works, but >> it's clunky. Is there some pre-existing tool for this? >> >> I could build some little tool to to do this, but if something already >> exists, no need to reinvent the wheel. >> >> _______________________________________________ >> Wikitech-l mailing list >> Wikitech-l@lists.wikimedia.org >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > > -- > Scott Bassett > sbass...@wikimedia.org > _______________________________________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l