quicksilver / Quicksilver

Quicksilver Project Source
http://qsapp.com
Apache License 2.0
2.72k stars 283 forks source link

Repo cleanup? #2914

Closed n8henrie closed 1 year ago

n8henrie commented 1 year ago

Mind if I archive https://github.com/quicksilver/Template-qsplugin? Looks like hasn't been updated in 11y and has generally been superseded by https://github.com/quicksilver/plugin_template; archiving makes it read-only and preserves it for reference but serves as meaningful communication to users.

Might want to also look at a few others:

EDIT: Hmmm... looks like https://github.com/quicksilver/Quicksilver/issues/2707 messed up my plan for automatically looking at the last updated time ¯\_(ツ)_/¯

$ gh api --paginate --jq 'sort_by(.updated_at) | map([.updated_at, .html_url]).[] | sort | @tsv' orgs/quicksilver/repos | tee output.txt
$ cat output.txt
2013-01-03T16:49:53Z    https://github.com/quicksilver/DiffModule-qsplugin
2013-01-03T16:49:57Z    https://github.com/quicksilver/Indigo-qsplugin
2013-08-28T02:39:04Z    https://github.com/quicksilver/Bezel-qsplugin
2013-09-28T04:53:50Z    https://github.com/quicksilver/NetworkLocation-qsplugin
2013-09-28T09:08:54Z    https://github.com/quicksilver/GoogleCalendar-qsplugin
2013-10-03T15:33:58Z    https://github.com/quicksilver/PowerManagementPlugIn-qsplugin
2013-10-13T05:51:22Z    https://github.com/quicksilver/QSSherlockPlugIn-qsplugin
2013-10-14T07:54:09Z    https://github.com/quicksilver/NowContact-qsplugin
2013-10-14T09:13:18Z    https://github.com/quicksilver/ProcessSwitcherSupportPlugIn-qsplugin
2013-10-14T09:17:58Z    https://github.com/quicksilver/NimbusAppSwitcher-qsplugin
2013-10-15T01:00:09Z    https://github.com/quicksilver/AddressBookActionsPlugIn-qsplugin
2013-10-15T01:20:04Z    https://github.com/quicksilver/QSSlimInterfacePlugIn-qsplugin
2013-10-15T07:28:28Z    https://github.com/quicksilver/PrimerInterface-qsplugin
2013-10-20T11:44:32Z    https://github.com/quicksilver/SafariSearches-qsplugin
2013-10-20T21:57:50Z    https://github.com/quicksilver/RemoteDesktop-qsplugin
2013-10-23T15:55:07Z    https://github.com/quicksilver/Eudora-qsplugin
2013-10-27T09:12:49Z    https://github.com/quicksilver/Daemons-qsplugin
2013-11-03T13:13:14Z    https://github.com/quicksilver/DokuWiki-qsplugin
2013-11-16T08:26:05Z    https://github.com/quicksilver/StartupDisk-qsplugin
2013-11-21T09:13:25Z    https://github.com/quicksilver/Slideshow-qsplugin
2013-11-25T05:46:42Z    https://github.com/quicksilver/DesktopManager-qsplugin
2013-11-25T06:00:51Z    https://github.com/quicksilver/Teleflip-qsplugin
2013-12-17T16:07:56Z    https://github.com/quicksilver/Skype-qsplugin
2013-12-19T10:15:17Z    https://github.com/quicksilver/Stikkit-qsplugin
2013-12-19T10:53:35Z    https://github.com/quicksilver/CLIX-qsplugin
2013-12-22T15:59:22Z    https://github.com/quicksilver/Alarm-qsplugin
2013-12-23T06:19:05Z    https://github.com/quicksilver/BuddyPop-qsplugin
2013-12-24T19:20:28Z    https://github.com/quicksilver/Monolith-qsplugin
2014-01-17T01:37:35Z    https://github.com/quicksilver/QSWeatherPlugin-qsplugin
2014-01-18T14:54:08Z    https://github.com/quicksilver/FindModule-qsplugin
2014-01-29T10:21:32Z    https://github.com/quicksilver/BBEdit-qsplugin
2014-02-08T06:39:25Z    https://github.com/quicksilver/QSShiiraPlugIn-qsplugin
2014-02-18T14:30:47Z    https://github.com/quicksilver/DeliciousLibrary-qsplugin
2014-02-19T08:47:08Z    https://github.com/quicksilver/Printer-qsplugin
2014-02-22T17:40:56Z    https://github.com/quicksilver/Amazon-qsplugin
2014-02-26T22:07:19Z    https://github.com/quicksilver/SystemKeys-qsplugin
2014-03-03T15:43:37Z    https://github.com/quicksilver/DiskImage-qsplugin
2014-03-04T05:32:05Z    https://github.com/quicksilver/ColloquyPlugin-qsplugin
2014-03-09T10:25:32Z    https://github.com/quicksilver/Expert-qsplugin
2014-04-07T17:27:58Z    https://github.com/quicksilver/CalendarSupport-qsplugin
2014-04-09T06:59:01Z    https://github.com/quicksilver/Cyberduck-qsplugin
2014-05-01T20:21:39Z    https://github.com/quicksilver/QSPatchPlugIn-qsplugin
2014-09-08T22:40:23Z    https://github.com/quicksilver/Markdown-qsplugin
2016-09-26T03:20:52Z    https://github.com/quicksilver/QSCubeInterface-unused-qsplugin
2018-01-15T14:43:09Z    https://github.com/quicksilver/LegacyAudio-qsplugin
2020-12-11T21:14:03Z    https://github.com/quicksilver/Dock-qsplugin
2021-11-02T13:09:16Z    https://github.com/quicksilver/QSApp.com
2022-01-27T22:18:20Z    https://github.com/quicksilver/TextStartRanker-qsplugin
2022-02-05T02:03:41Z    https://github.com/quicksilver/CommandLineTool-qsplugin
2022-02-05T02:08:17Z    https://github.com/quicksilver/Compression-qsplugin
2022-02-05T02:21:10Z    https://github.com/quicksilver/Displays-qsplugin
2022-02-05T02:31:59Z    https://github.com/quicksilver/ImageManipulation-qsplugin
2022-02-05T02:34:39Z    https://github.com/quicksilver/Keychain-qsplugin
2022-02-05T02:37:43Z    https://github.com/quicksilver/Menu-qsplugin
2022-02-05T02:48:50Z    https://github.com/quicksilver/Nostromo
2022-02-05T02:50:14Z    https://github.com/quicksilver/NotificationHub-qsplugin
2022-02-05T02:52:26Z    https://github.com/quicksilver/PathFinder-qsplugin
2022-02-05T02:53:54Z    https://github.com/quicksilver/ProcessManipulationPlugIn-qsplugin
2022-02-05T02:57:22Z    https://github.com/quicksilver/ScreenCapture-qsplugin
2022-02-05T02:58:26Z    https://github.com/quicksilver/Services-qsplugin
2022-02-05T03:00:27Z    https://github.com/quicksilver/Shelf-qsplugin
2022-02-05T03:15:30Z    https://github.com/quicksilver/Terminal-qsplugin
2022-02-05T03:30:08Z    https://github.com/quicksilver/Viscosity-qsplugin
2022-02-05T03:36:11Z    https://github.com/quicksilver/QSWindowInterfacePlugIn-qsplugin
2022-02-11T01:02:02Z    https://github.com/quicksilver/Plugins
2022-02-19T18:39:10Z    https://github.com/quicksilver/QSOmniFocusPlugIn-qsplugin
2022-02-21T12:24:18Z    https://github.com/quicksilver/MiniInterface-qsplugin
2022-02-21T12:43:32Z    https://github.com/quicksilver/GrowlNotifier-qsplugin
2022-02-24T10:01:58Z    https://github.com/quicksilver/Firefox-qsplugin
2022-04-05T11:11:13Z    https://github.com/quicksilver/1Password-Plugin
2022-04-18T22:57:11Z    https://github.com/quicksilver/Flashlight-qsplugin
2022-04-30T02:56:41Z    https://github.com/quicksilver/DictPlugin-qsplugin
2022-05-01T05:19:51Z    https://github.com/quicksilver/AOL-qsplugin
2022-05-01T05:20:21Z    https://github.com/quicksilver/Bluetooth-qsplugin
2022-05-01T05:20:58Z    https://github.com/quicksilver/Camino-qsplugin
2022-05-01T05:20:58Z    https://github.com/quicksilver/Cl1p-qsplugin
2022-05-01T05:21:00Z    https://github.com/quicksilver/Deviant-qsplugin
2022-05-01T05:21:01Z    https://github.com/quicksilver/DiscInterface-qsplugin
2022-05-01T05:32:30Z    https://github.com/quicksilver/Editor-qsplugin
2022-05-01T05:43:20Z    https://github.com/quicksilver/Flickr-qsplugin
2022-05-01T05:43:26Z    https://github.com/quicksilver/Google-qsplugin
2022-05-01T05:43:59Z    https://github.com/quicksilver/MachineSource-qsplugin
2022-05-01T05:44:01Z    https://github.com/quicksilver/Mailsmith-qsplugin
2022-05-01T05:44:03Z    https://github.com/quicksilver/MusicArtwork-qsplugin
2022-05-01T05:44:04Z    https://github.com/quicksilver/NetNewsWire-qsplugin
2022-05-01T05:44:24Z    https://github.com/quicksilver/OrnateInterface-qsplugin
2022-05-01T05:44:25Z    https://github.com/quicksilver/OnMyCommand-qsplugin
2022-05-01T05:44:25Z    https://github.com/quicksilver/Phone-qsplugin
2022-05-01T05:44:27Z    https://github.com/quicksilver/QSAdiumPlugIn-qsplugin
2022-05-01T05:44:28Z    https://github.com/quicksilver/QSBezelInterfacePlugIn-qsplugin
2022-05-01T05:44:39Z    https://github.com/quicksilver/QSDesktopPictureAction-qsplugin
2022-05-01T05:44:40Z    https://github.com/quicksilver/QSFullscreenPlugIn-qsplugin
2022-05-01T05:44:41Z    https://github.com/quicksilver/QSHomestarRunnerPlugIn-qsplugin
2022-05-01T05:44:41Z    https://github.com/quicksilver/QSRSSPlugIn-qsplugin
2022-05-01T05:44:42Z    https://github.com/quicksilver/QSSpellcheckAction-qsplugin
2022-05-01T05:45:00Z    https://github.com/quicksilver/SoundSupport-qsplugin
2022-05-01T05:45:04Z    https://github.com/quicksilver/TSActionsPlugin-qsplugin
2022-05-01T05:46:39Z    https://github.com/quicksilver/QSOmniWebPlugIn-qsplugin
2022-05-01T05:47:58Z    https://github.com/quicksilver/Spotlight-qsplugin
2022-08-03T15:43:22Z    https://github.com/quicksilver/Quicksilver
2013-10-03T19:31:03Z    https://github.com/quicksilver/elements.trigger.gesture-qsplugin
2013-10-13T12:23:47Z    https://github.com/quicksilver/TextMate-qsplugin
2013-10-20T19:51:47Z    https://github.com/quicksilver/Translation-qsplugin
2013-10-24T18:06:09Z    https://github.com/quicksilver/XattrMetadataImporter-qsplugin
2013-11-23T14:29:28Z    https://github.com/quicksilver/elements.support.music-qsplugin
2013-12-04T11:07:33Z    https://github.com/quicksilver/Messages-qsplugin
2013-12-06T23:10:51Z    https://github.com/quicksilver/QuickTimePlayer-qsplugin
2013-12-18T21:18:29Z    https://github.com/quicksilver/FileTagging-qsplugin
2013-12-22T17:00:46Z    https://github.com/quicksilver/elements.survey-qsplugin
2013-12-23T05:11:06Z    https://github.com/quicksilver/elements.trigger.hotkey-qsplugin
2014-01-02T04:55:38Z    https://github.com/quicksilver/YouControlDesktopsPlugIn-qsplugin
2014-01-02T19:40:05Z    https://github.com/quicksilver/elements.webbridge-qsplugin
2014-01-09T20:28:54Z    https://github.com/quicksilver/elements.composerui-qsplugin
2014-01-13T14:51:26Z    https://github.com/quicksilver/Adium-qsplugin
2014-02-06T11:31:30Z    https://github.com/quicksilver/MailMate-qsplugin
2014-03-24T11:48:47Z    https://github.com/quicksilver/elements.trigger.time-qsplugin
2014-03-28T11:37:36Z    https://github.com/quicksilver/com.apple.spaces-qsplugin
2014-04-19T10:03:33Z    https://github.com/quicksilver/UserAccounts-qsplugin
2014-06-09T15:39:44Z    https://github.com/quicksilver/CloudApp-qsplugin
2014-09-08T22:40:23Z    https://github.com/quicksilver/iPhoto-qsplugin
2014-12-07T04:04:54Z    https://github.com/quicksilver/InternetExplorer-qsplugin
2014-12-08T20:25:14Z    https://github.com/quicksilver/CubeInterface-qsplugin
2015-02-10T21:53:04Z    https://github.com/quicksilver/remember-the-milk-qsplugin
2015-04-01T04:55:25Z    https://github.com/quicksilver/Deminimizer-qsplugin
2015-08-31T03:35:14Z    https://github.com/quicksilver/OpenMetaFileTagging
2018-01-18T02:16:36Z    https://github.com/quicksilver/SocialBookmarks-qsplugin
2018-12-11T05:07:07Z    https://github.com/quicksilver/com.apple.Mail-qsplugin
2018-12-11T05:07:26Z    https://github.com/quicksilver/com.apple.Xcode.devdocs-qsplugin
2019-02-09T04:27:55Z    https://github.com/quicksilver/elements.support.window-qsplugin
2019-08-13T15:07:54Z    https://github.com/quicksilver/Evernote-qsplugin
2022-01-23T18:20:28Z    https://github.com/quicksilver/manual
2022-02-03T01:51:26Z    https://github.com/quicksilver/RemoteHosts-qsplugin
2022-02-03T03:03:18Z    https://github.com/quicksilver/Audio-qsplugin
2022-02-03T03:15:44Z    https://github.com/quicksilver/BezelClassic-qsplugin
2022-02-04T02:59:57Z    https://github.com/quicksilver/Twitter-Plugin
2022-02-05T01:53:30Z    https://github.com/quicksilver/Calculator-qsplugin
2022-02-05T01:59:05Z    https://github.com/quicksilver/GoogleChrome-qsplugin
2022-02-05T02:01:26Z    https://github.com/quicksilver/elements.clipboard-qsplugin
2022-02-05T02:09:25Z    https://github.com/quicksilver/com.apple.AddressBook-qsplugin
2022-02-05T02:14:25Z    https://github.com/quicksilver/Dash-qsplugin
2022-02-05T02:23:12Z    https://github.com/quicksilver/elements.trigger.event-qsplugin
2022-02-05T02:26:08Z    https://github.com/quicksilver/FaceTime-qsplugin
2022-02-05T02:27:31Z    https://github.com/quicksilver/elements.hfsattributes-qsplugin
2022-02-05T02:39:19Z    https://github.com/quicksilver/elements.trigger.mouse-qsplugin
2022-02-05T02:44:51Z    https://github.com/quicksilver/Networking-qsplugin
2022-02-05T02:55:10Z    https://github.com/quicksilver/com.apple.Safari-qsplugin
2022-02-05T03:17:56Z    https://github.com/quicksilver/elements.textmanipulation-qsplugin
2022-02-05T03:28:37Z    https://github.com/quicksilver/UIAccess-qsplugin
2022-02-05T03:31:24Z    https://github.com/quicksilver/elements.websearch-qsplugin
2022-02-05T03:39:05Z    https://github.com/quicksilver/Yojimbo-qsplugin
2022-02-10T02:26:07Z    https://github.com/quicksilver/zoom.us
2022-02-13T12:02:52Z    https://github.com/quicksilver/ExtraScripts-qsplugin
2022-02-19T01:07:50Z    https://github.com/quicksilver/elements.support.mail-qsplugin
2022-02-21T11:48:01Z    https://github.com/quicksilver/com.google.mail-qsplugin
2022-02-21T12:24:41Z    https://github.com/quicksilver/QRCodePlugin-qsplugin
2022-02-21T12:29:10Z    https://github.com/quicksilver/MiniBezel-qsplugin
2022-02-22T06:37:06Z    https://github.com/quicksilver/PluginDevelopmentReference
2022-02-24T14:09:11Z    https://github.com/quicksilver/ndhotkeyevent
2022-03-11T05:35:51Z    https://github.com/quicksilver/MicrosoftOffice-qsplugin
2022-03-12T00:25:51Z    https://github.com/quicksilver/com.apple.Xcode.application-qsplugin
2022-03-14T13:06:52Z    https://github.com/quicksilver/Calendar-Reminders-qsplugin
2022-05-01T05:45:23Z    https://github.com/quicksilver/Template-qsplugin
2022-05-01T05:45:24Z    https://github.com/quicksilver/X10PlugIn-qsplugin
2022-05-01T05:45:25Z    https://github.com/quicksilver/Xattr-qsplugin
2022-05-01T05:45:26Z    https://github.com/quicksilver/com.facebook-qsplugin
2022-05-01T05:45:40Z    https://github.com/quicksilver/elements.update-qsplugin
2022-05-01T05:45:42Z    https://github.com/quicksilver/public.file.tags-qsplugin
2022-05-01T05:45:53Z    https://github.com/quicksilver/qsopera
2022-05-01T05:45:54Z    https://github.com/quicksilver/AirPort-qsplugin
2022-05-01T05:46:06Z    https://github.com/quicksilver/qs-update
2022-05-01T05:46:07Z    https://github.com/quicksilver/com.apple.Automator-qsplugin
2022-05-01T05:46:17Z    https://github.com/quicksilver/ChatSupport-qsplugin
2022-05-01T05:46:23Z    https://github.com/quicksilver/Transmit-qsplugin
2022-05-01T05:46:23Z    https://github.com/quicksilver/Abracadabra-qsplugin
2022-05-01T05:46:35Z    https://github.com/quicksilver/LaunchAtLoginController
2022-05-01T05:46:36Z    https://github.com/quicksilver/showcase
2022-05-01T05:46:37Z    https://github.com/quicksilver/iTerm2-qsplugin
2022-05-01T05:46:39Z    https://github.com/quicksilver/VDKQueue
2022-05-01T05:47:57Z    https://github.com/quicksilver/plugin_template
2022-05-01T05:47:59Z    https://github.com/quicksilver/iTunes-qsplugin
2022-06-18T17:17:59Z    https://github.com/quicksilver/server-scripts
2022-06-19T10:55:11Z    https://github.com/quicksilver/YosemiteInterface-qsplugin
2022-06-29T07:16:37Z    https://github.com/quicksilver/Documentation
2022-07-02T01:29:55Z    https://github.com/quicksilver/Emojis-qsplugin
pjrobertson commented 1 year ago

Sounds good to me. We can always un-archive if we really want. But certainly the 2014 and earlier ones should be archived.

n8henrie commented 1 year ago
n8henrie commented 1 year ago

Done for 2014 and earlier, gh api made quick work of it. Feel free to unarchive any that shouldn't have been.

#!/usr/bin/env bash

set -Eeuf -o pipefail
shopt -s inherit_errexit
set -x

main() {
  local slug url infile=$1
  awk '$1 ~ /201[0-4]/ { print $2 }' "${infile}" |
    while read -r url; do
      : "${url#https://github.com/}"
      slug="repos/${_}"
      gh api \
        --silent \
        --method PATCH \
        -H "Accept: application/vnd.github+json" \
        "${slug}" \
        --field archived=true
    done
}
main "$@"