pidgin/plugins-ansible

4bca9901be27
Parents f9e78a668ea2
Children
Add a task for checking home pages and update the broken home pages
--- a/plugins.json Sat Jul 09 01:01:07 2022 -0500
+++ b/plugins.json Tue Jul 12 04:48:14 2022 -0500
@@ -658,6 +658,7 @@
"type": "Security and Privacy"
},
{
+ "broken": true,
"heading": "Off-the-Record Messaging (OTR)",
"homepage": "https://otr.cypherpunks.ca/",
"info": "Encrypts conversations and provides security even when keys are compromised",
@@ -704,11 +705,11 @@
},
{
"heading": "Pidgin-privacy-please",
- "homepage": "http://freshmeat.sourceforge.net/projects/pidgin-pp/",
+ "homepage": "https://github.com/hwms/pidgin-privacy-please",
"info": "Stop spam bots",
- "maintainer": "cockroach",
- "repo_type": "source",
- "repo_url": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pidgin-privacy-please/pidgin-privacy-please-0.7.1.tar.gz",
+ "maintainer": "hwms",
+ "repo_type": "git",
+ "repo_url": "https://github.com/hwms/pidgin-privacy-please",
"type": "Security and Privacy"
},
{
@@ -1002,7 +1003,7 @@
},
{
"heading": "Pidgin-Identica-Status",
- "homepage": "https://code.google.com/p/pidgin-identica-status/",
+ "homepage": "https://code.google.com/archive/p/pidgin-identica-status/",
"info": "Use a feed from identi.ca as your Pidgin status.",
"repo_type": "source",
"repo_url": "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/pidgin-identica-status/source-archive.zip",
@@ -1092,7 +1093,7 @@
},
{
"heading": "Status to Twitter",
- "homepage": "https://code.google.com/p/pidgin-status-to-twitter/",
+ "homepage": "https://code.google.com/archive/p/pidgin-status-to-twitter/",
"info": "Update Twitter with your Pidgin Status",
"repo_type": "source",
"repo_url": "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/pidgin-status-to-twitter/source-archive.zip",
@@ -1100,7 +1101,7 @@
},
{
"heading": "Twitter in your Profile",
- "homepage": "https://code.google.com/p/pidgin-twitter-profile/",
+ "homepage": "https://code.google.com/archive/p/pidgin-twitter-profile/",
"info": "Insert your Twitter history into your profile. It gets updated periodically.",
"repo_type": "source",
"repo_url": "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/pidgin-twitter-profile/source-archive.zip",
@@ -1126,7 +1127,7 @@
},
{
"heading": "Music Tracker",
- "homepage": "https://code.google.com/p/pidgin-musictracker/",
+ "homepage": "https://code.google.com/archive/p/pidgin-musictracker/",
"info": "Displays the music track currently playing in the status message. Supports a wide range of audio players.",
"repo_type": "source",
"repo_url": "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/pidgin-musictracker/source-archive.zip",
@@ -1166,7 +1167,7 @@
},
{
"heading": "Adium to Pidgin themes converter",
- "homepage": "https://code.google.com/p/adium2pidgin-themes/",
+ "homepage": "https://code.google.com/archive/p/adium2pidgin-themes/",
"info": "Allows to convert themes from www.adiumxtras.com",
"repo_type": "source",
"repo_url": "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/adium2pidgin-themes/source-archive.zip",
@@ -1234,7 +1235,7 @@
},
{
"heading": "Guiops",
- "homepage": "https://code.google.com/p/pidgin-guiops/",
+ "homepage": "https://code.google.com/archive/p/pidgin-guiops/",
"info": "GUIOps plugin provides more GUI customization options",
"type": "Interface Tweaks",
"repo_type": "source",
@@ -1316,7 +1317,7 @@
},
{
"heading": "pidgin-cmds",
- "homepage": "https://code.google.com/p/pidgin-cmds/",
+ "homepage": "https://code.google.com/archive/p/pidgin-cmds/",
"info": "Various conversation commands",
"type": "Interface Tweaks",
"repo_type": "source",
@@ -1349,11 +1350,11 @@
},
{
"heading": "pidgin-nudge",
- "homepage": "https://code.google.com/p/pidgin-nudge/",
+ "homepage": "https://code.google.com/archive/p/pidgin-nudge/",
"info": "Shakes your conversation window when you receive a nudge/buzz/zap",
"type": "Interface Tweaks",
"repo_type": "source",
- "repo_url": "https://code.google.com/p/pidgin-nudge/"
+ "repo_url": "https://code.google.com/archive/p/pidgin-nudge/"
},
{
"heading": "Pidgin PBar",
@@ -1365,11 +1366,11 @@
},
{
"heading": "Pidgin Personal Bar",
- "homepage": "https://code.google.com/p/pidgin-personalbar/",
+ "homepage": "https://code.google.com/archive/p/pidgin-personalbar/",
"info": "Adds a section at the top of your buddy list to change your display name and personal message.",
"type": "Interface Tweaks",
"repo_type": "source",
- "repo_url": "https://code.google.com/p/pidgin-personalbar/"
+ "repo_url": "https://code.google.com/archive/p/pidgin-personalbar/"
},
{
"heading": "Pidgin Windows Position Manager",
@@ -1406,7 +1407,7 @@
},
{
"heading": "Quickadd",
- "homepage": "https://code.google.com/p/pidgin-quickadd/",
+ "homepage": "https://code.google.com/archive/p/pidgin-quickadd/",
"info": "This a simple plugin for pidgin. The idea is to alter the context menu of email addresses in conversations and add option to add the address as a buddy",
"type": "Interface Tweaks",
"repo_type": "source",
@@ -1547,7 +1548,7 @@
},
{
"heading": "Auto Authorization",
- "homepage": "https://code.google.com/p/pidgin-autoauthorization-plugin/",
+ "homepage": "https://code.google.com/archive/p/pidgin-autoauthorization-plugin/",
"info": "Automatic handling of request of remote user who wants to appear in your buddy list",
"type": "Accounts and Logs",
"repo_type": "source",
@@ -1555,11 +1556,11 @@
},
{
"heading": "forward2mobile",
- "homepage": "https://code.google.com/p/forward2mobile/",
+ "homepage": "https://code.google.com/archive/p/forward2mobile/",
"info": "Forwards and sends your IM messages to/from your existing account that you already use on your mobile with your favorite mobile IM client",
"type": "Accounts and Logs",
"repo_type": "source",
- "repo_url": "https://code.google.com/p/forward2mobile/"
+ "repo_url": "https://code.google.com/archive/p/forward2mobile/"
},
{
"broken": true,
@@ -1590,7 +1591,7 @@
},
{
"heading": "Logviewer",
- "homepage": "https://code.google.com/p/pidgin-logviewer/",
+ "homepage": "https://code.google.com/archive/p/pidgin-logviewer/",
"info": "Logsearch for all chat logs",
"type": "Accounts and Logs",
"repo_type": "source",
@@ -1598,7 +1599,7 @@
},
{
"heading": "Office Hours",
- "homepage": "http://www.orenet.co.uk/opensource/pidgin-oo/",
+ "homepage": "https://www.orenet.co.uk/opensource/pidgin-oo/",
"info": "A plugin that logs you out if you go idle outside your 'office hours' so you can log in the same account(s) at home. In perl so may not work on MS Windows",
"repo_type": "source-file",
"repo_url": "https://www.orenet.co.uk/opensource/pidgin-oo/pidgin-office-hours.pl",
@@ -1798,7 +1799,7 @@
},
{
"heading": "Hide Inactive Buddies",
- "homepage": "https://code.google.com/p/pidgin-plugins",
+ "homepage": "https://code.google.com/archive/p/pidgin-plugins",
"info": "Plugin to hide inactive buddies in buddy list. Determine inactive buddy by status.",
"type": "Miscellaneous",
"repo_type": "source",
@@ -1838,7 +1839,7 @@
},
{
"heading": "Language Translator",
- "homepage": "https://code.google.com/p/pidgin-plugins",
+ "homepage": "https://code.google.com/archive/p/pidgin-plugins",
"info": "Plugin to translate outgoing text from English language to selected language.",
"type": "Miscellaneous",
"repo_type": "source",
@@ -1879,7 +1880,7 @@
},
{
"heading": "PaintBoard",
- "homepage": "https://code.google.com/p/pidgin-paintboard/",
+ "homepage": "https://code.google.com/archive/p/pidgin-paintboard/",
"info": "This plugin allows you to draw with your friend on common board.",
"type": "Miscellaneous",
"repo_type": "source",
@@ -1919,7 +1920,7 @@
},
{
"heading": "Pidgin-google-contact",
- "homepage": "https://code.google.com/p/pidgin-google-contact/",
+ "homepage": "https://code.google.com/archive/p/pidgin-google-contact/",
"info": "Syncs the buddy list with google contacts",
"type": "Miscellaneous",
"repo_type": "source",
@@ -1927,7 +1928,7 @@
},
{
"heading": "Pidgin-googledesktop",
- "homepage": "https://code.google.com/p/pidgin-googledesktop/",
+ "homepage": "https://code.google.com/archive/p/pidgin-googledesktop/",
"info": "Google Desktop Indexing Plugin for Pidgin",
"type": "Miscellaneous",
"repo_type": "source",
@@ -1960,7 +1961,7 @@
},
{
"heading": "Pidglet",
- "homepage": "https://code.google.com/p/pidglet/",
+ "homepage": "https://code.google.com/archive/p/pidglet/",
"info": "A Windows Vista Sidebar Gadget that displays your buddy list.",
"type": "Miscellaneous",
"repo_type": "source",
@@ -2010,7 +2011,7 @@
{
"broken": true,
"heading": "Send Screenshot",
- "homepage": "https://code.google.com/p/pidgin-sendscreenshot/",
+ "homepage": "https://code.google.com/archive/p/pidgin-sendscreenshot/",
"info": "Take a screenshot and send it to a buddy.",
"repo_type": "source",
"repo_url": "https://code.google.com/p/pidgin-sendscreenshot/",
@@ -2027,11 +2028,11 @@
},
{
"heading": "URL Scout",
- "homepage": "https://code.google.com/p/urlscout/",
+ "homepage": "https://code.google.com/archive/p/urlscout/",
"info": "This plugin will lookup a url and display a web page title when you receive a link in a chat",
"type": "Miscellaneous",
"repo_type": "source",
- "repo_url": "https://code.google.com/p/urlscout/"
+ "repo_url": "https://code.google.com/archive/p/urlscout/"
},
{
"heading": "URL Shorten",
@@ -2043,7 +2044,7 @@
},
{
"heading": "What's my IP",
- "homepage": "http://www.siorarina.net/whats-my-ip/",
+ "homepage": "https://www.siorarina.net/whats-my-ip/",
"info": "Allows buddies to get your external IP by writing 'ip' on IM chat",
"repo_type": "source",
"repo_url": "https://siorarina.net/wmi/src/whats-my-ip-0.0.1.src.tar.gz",
--- a/roles/plugins/tasks/main.yml Sat Jul 09 01:01:07 2022 -0500
+++ b/roles/plugins/tasks/main.yml Tue Jul 12 04:48:14 2022 -0500
@@ -33,3 +33,12 @@
vars:
clean_repo: "{{ item.repo_url | regex_replace('\/+$', '') }}"
checkout_dir: "{{ clean_repo | regex_replace('\/trunk$', '') | regex_replace('\/code$', '') }}"
+
+- name: check home pages
+ ansible.builtin.uri:
+ url: "{{ item.homepage }}"
+ loop: "{{ lookup('file', 'plugins.json') | from_json }}"
+ loop_control:
+ label: "{{ item.heading }}"
+ when: "('broken' in item)|ternary(not item.get('broken'), true)"
+