Removed archived repositories (#1375)

* Removed archived repositories

* Update URL
This commit is contained in:
Joakim Sørensen
2022-05-28 12:13:31 +02:00
committed by GitHub
parent 0adcbeb81a
commit d435ba1d6f
5 changed files with 88 additions and 12 deletions
+12
View File
@@ -35,19 +35,28 @@
"custom-cards/button-entity-row",
"custom-cards/camera-card",
"custom-cards/custom-card-helpers",
"custom-cards/ext-weblink",
"custom-cards/favicon-counter",
"custom-cards/home-setter",
"custom-cards/information",
"custom-cards/marquee-state-element",
"custom-cards/monster-card",
"custom-cards/muuri-grid",
"custom-cards/state-attribute-element",
"custom-cards/state-element",
"custom-cards/text-element",
"custom-cards/timer-card",
"custom-cards/tracker-card",
"custom-cards/upcoming-media-card",
"custom-cards/username-element",
"custom-components/binary_sensor.hadockermon",
"custom-components/blueprint",
"custom-components/breaking_changes",
"custom-components/camera.multisource",
"custom-components/cloudflare",
"custom-components/combined",
"custom-components/complimentr",
"custom-components/config_check",
"custom-components/custom_cards",
"custom-components/custom_components",
"custom-components/custom_updater",
@@ -71,9 +80,12 @@
"custom-components/sensor.tautulli",
"custom-components/sensor.versions",
"custom-components/sensor.wifi-scanner",
"custom-components/sensor.yandex_maps",
"custom-components/sickchill",
"custom-components/switch.hadockermon",
"custom-components/templatesensor",
"custom-components/uilogs",
"custom-components/unsplash",
"custom-components/usps_mail",
"DavidFW1960/bom_forecast",
"doudz/homeassistant-zigate",
-6
View File
@@ -122,12 +122,9 @@
"custom-components/alexa_media_player",
"custom-components/authenticated",
"custom-components/ble_monitor",
"custom-components/breaking_changes",
"custom-components/brewdog",
"custom-components/climate.e_thermostaat",
"custom-components/climate.programmable_thermostat",
"custom-components/combined",
"custom-components/config_check",
"custom-components/fedex",
"custom-components/feedparser",
"custom-components/gpodder",
@@ -154,11 +151,8 @@
"custom-components/sensor.trakt",
"custom-components/sensor.unifigateway",
"custom-components/sensor.untappd",
"custom-components/sensor.yandex_maps",
"custom-components/srp_energy",
"custom-components/sytadin",
"custom-components/templatesensor",
"custom-components/unsplash",
"custom-components/ups",
"custom-components/weatheralerts",
"custom-components/wienerlinien",
-6
View File
@@ -45,8 +45,6 @@
"custom-cards/decluttering-card",
"custom-cards/dual-gauge-card",
"custom-cards/entity-attributes-card",
"custom-cards/ext-weblink",
"custom-cards/favicon-counter",
"custom-cards/flex-table-card",
"custom-cards/gauge-card",
"custom-cards/group-card",
@@ -59,13 +57,9 @@
"custom-cards/secondaryinfo-entity-row",
"custom-cards/spotify-card",
"custom-cards/stack-in-card",
"custom-cards/state-attribute-element",
"custom-cards/state-element",
"custom-cards/surveillance-card",
"custom-cards/text-action-element",
"custom-cards/text-element",
"custom-cards/unused-card",
"custom-cards/username-element",
"CyrisXD/love-lock-card",
"danimart1991/pvpc-hourly-pricing-card",
"DarkFox/rejseplanen-card",
+72
View File
@@ -795,5 +795,77 @@
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1373"
},
{
"repository": "custom-components/combined",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-components/breaking_changes",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-components/unsplash",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-components/templatesensor",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-components/sensor.yandex_maps",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-components/config_check",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-cards/favicon-counter",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-cards/text-element",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-cards/state-attribute-element",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-cards/state-element",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-cards/username-element",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
},
{
"repository": "custom-cards/ext-weblink",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/1375"
}
]
+4
View File
@@ -73,6 +73,10 @@ with open("blacklist", "r") as blacklist_file:
with open("removed", "r") as removed_file:
removedcontent = json.loads(removed_file.read())
if remove["repository"] in blacklistcontent:
print(f"{remove['repository']} has already been removed")
exit(0)
blacklistcontent.append(remove["repository"])
if remove["repository"].split("/")[0] not in orgs: