jesus2099 / konami-command

power‐ups for various web sites
123 stars 26 forks source link

GF and OUJS: Abandon mirrors #396

Open jesus2099 opened 6 years ago

jesus2099 commented 6 years ago

Update 5/2/2019: I will eventually only keep my github repo as some others do.

Prerequisites

Removals


Some regular work is needed to ensure continuous availability of mirrors. Sometimes webhooks fail.


https://greasyfork.org/users/2206-jesus2099?sort=updated#user-script-list where all scripts now using GitHub libraries are no longer updated.

They have good security reasons for users for that.


Recently, https://openuserjs.org/users/jesus2099/scripts?orderBy=updated&orderDir=desc also stopped updating because of a new licence policy. I had to work in order to restore updates…

They have good licence reasons for authors for that (#358).

Nowadays it refuses my updates because it does not like my @grant GM_info any more:

@grant with value of GM_info is not valid or supported.

Good remove (rotten script) template

From https://github.com/jesus2099/konami-command/issues/572#issuecomment-1207524106 for mb_MASS-MERGE-RECORDINGS.user.js

GF: Turn off syncing first. Unlist.

// ==UserScript==
// @name         mb. MASS MERGE RECORDINGS
// @version      2021.7.31.666
// @description  musicbrainz.org: Merges selected or all recordings from release A to release B
// @namespace    https://github.com/jesus2099/konami-command
// @supportURL   https://community.metabrainz.org/t/merge-duplicate-recordings-between-two-editions-of-the-same-album-with-mb-mass-merge-recordings/203168?u=jesus2099
// @downloadURL  https://github.com/jesus2099/konami-command/raw/master/mb_MASS-MERGE-RECORDINGS.user.js
// @author       jesus2099
// @license      CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @license      GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// @since        2011-12-13; https://web.archive.org/web/20131103163401/userscripts.org/scripts/show/120382 / https://web.archive.org/web/20141011084015/userscripts-mirror.org/scripts/show/120382
// @include      /^https?:\/\/(\w+\.)?musicbrainz\.org\/release\/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(\/(disc\/\d+)?)?(\?tport=\d+)?(#.*)?$/
// @run-at       document-end
// ==/UserScript==
"use strict";

if (confirm("MASS MERGE RECORDINGS is no longer available outside its official repo. Please go to GitHub.com/jesus2099/konami-command to install the latest version, by clicking the RAW button.")) {
    location.assign("https://github.com/jesus2099/konami-command/blob/master/mb_MASS-MERGE-RECORDINGS.user.js");
}
jesus2099 commented 6 years ago

FTR https://community.metabrainz.org/t/centralised-musicbrainz-userscripts-repository/200167/23?u=jesus2099

jesus2099 commented 5 years ago

I will only keep my github repo as some others do.

jesus2099 commented 4 years ago

Today the webhook worked but I still had to force the update manually at https://greasyfork.org/scripts/2322-mb-super-mind-control-%E2%85%B1-x-turbo/diff?v1=872373&v2=870709

jesus2099 commented 3 years ago

Waiting for author, downloadURL, namespace and version are all aligned (#510).

jesus2099 commented 2 years ago

OK There are even new reasons now. I have started the removal, with the sensitive mb_MASS-MERGE-RECORDINGS.user.js.

jesus2099 commented 2 years ago

Now even cdn.jsdelivr.net, being a third party, makes it difficult to update userscripts on my company laptop (often github is reachable but not other websites) Replace references to //cdn.jsdelivr.net/gh/ by direct GitHub raw commit URL This way if GH is reachable, the script can update TOGETHER WITH its libraries on same GH server This will stop updates on GF

jesus2099 commented 1 year ago

GF webhook is not always working. It says ok but super turbo (at least) keeps reporting updated_failed and is staying in old September version.

It was because description is more than 500 characters.

OK, I removed this 3rd most downloaded script from there.

jesus2099 commented 1 year ago

I removed other obsolete or unsynced scripts from GF.