Skip to content

Commit

Permalink
Remove inactive mailing lists
Browse files Browse the repository at this point in the history
  • Loading branch information
urvishp80 committed Nov 12, 2024
1 parent e2c31a8 commit 394055d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions generate_homepage_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ def page_data_handling(data_list: list, get_unique_per_dev=False):
xml_gen = GenerateXML()
elastic_search = ElasticSearchClient()
dev_urls = [
["https://lists.linuxfoundation.org/pipermail/bitcoin-dev/",
"https://gnusha.org/pi/bitcoindev/",
["https://gnusha.org/pi/bitcoindev/",
"https://mailing-list.bitcoindevs.xyz/bitcoindev/"],
"https://lists.linuxfoundation.org/pipermail/lightning-dev/",
"https://delvingbitcoin.org/"
]

Expand Down
4 changes: 1 addition & 3 deletions generate_weekly_newsletter_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@
xml_gen = GenerateXML()
elastic_search = ElasticSearchClient()
dev_urls = [
["https://lists.linuxfoundation.org/pipermail/bitcoin-dev/",
"https://gnusha.org/pi/bitcoindev/",
["https://gnusha.org/pi/bitcoindev/",
"https://mailing-list.bitcoindevs.xyz/bitcoindev/"],
"https://lists.linuxfoundation.org/pipermail/lightning-dev/",
"https://delvingbitcoin.org/"
]

Expand Down
2 changes: 0 additions & 2 deletions push_summary_to_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
elastic_search = ElasticSearchClient()

dev_urls = [
"https://lists.linuxfoundation.org/pipermail/bitcoin-dev/",
"https://lists.linuxfoundation.org/pipermail/lightning-dev/",
"https://delvingbitcoin.org/",
"https://gnusha.org/pi/bitcoindev/",
"https://mailing-list.bitcoindevs.xyz/bitcoindev/"
Expand Down
4 changes: 2 additions & 2 deletions src/xml_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ def read_xml_file(self, full_path):

link = root.findall(".//atom:entry/atom:link", namespaces)[0].get('href')
if "bitcoin-dev" in link:
domain = "https://lists.linuxfoundation.org/pipermail/bitcoin-dev/"
domain = "https://gnusha.org/url/https://lists.linuxfoundation.org/pipermail/bitcoin-dev/"
elif "bitcoindev" in link:
# domain = "https://gnusha.org/pi/bitcoindev/"
domain = "https://mailing-list.bitcoindevs.xyz/bitcoindev/"
elif "lightning-dev" in link:
domain = "https://lists.linuxfoundation.org/pipermail/lightning-dev/"
domain = "https://gnusha.org/url/https://lists.linuxfoundation.org/pipermail/lightning-dev/"
elif "delvingbitcoin" in link:
domain = "https://delvingbitcoin.org/"
else:
Expand Down
2 changes: 0 additions & 2 deletions xmls_generator_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
gen = GenerateXML()
elastic_search = ElasticSearchClient()
dev_urls = [
"https://lists.linuxfoundation.org/pipermail/bitcoin-dev/",
"https://lists.linuxfoundation.org/pipermail/lightning-dev/",
"https://delvingbitcoin.org/",
"https://gnusha.org/pi/bitcoindev/",
"https://mailing-list.bitcoindevs.xyz/bitcoindev/"
Expand Down

0 comments on commit 394055d

Please sign in to comment.