Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Create override maps for broken locator links from section

オープン
#191 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

まず、スクレイピングした教科書セクションのデータを処理するパーサーを見つけ、リンクがどのように表現されているかを確認してください。提案されているoverride mapをUTDRooms' src/lib/buildingInfo.tsと比較し、既知のconcept3d対応リンクがある壊れたlocatorリンクをどのように収集して置き換えるべきかを判断してください。生成されたデータを通じてそれらのリンクが解決されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Type: Bug Report

Overview

The scraped section data from coursebook have https://locator.utdallas.edu hyperlink. When you click on it, it auto-resolves to an equivalent https://map.concept3d.com. However, some links are broken, which means they do not resolve although there is an existing concept3d link.

Trends' issue: https://github.com/UTDNebula/utd-trends/issues/557

My proposed solution: Initially add a logic in the parser to collect all the broken links, then create an overrideMap to map the broken link to the concept3d link if they exist. Then modify the parser so in the later parse, it will replace the broken link directly with concept3d link in the map.

The process of creating the overriding map is manual and it will be annoying. If you have an idea, feel free to share it in the comment. UTDRooms has a similar overrideMap https://github.com/UTDNebula/utd-rooms/blob/develop/src/lib/buildingInfo.ts

Note

@AbhiramTadepalli has an idea of creating a github actions to check the validity of the links and I think it can be potentially useful. If the pipeline gets triggered daily or weekly, we will be able to see if there's any new broken links or some links have been fixed so we can update the override map accordingly.

主要言語
Go
スター
12
フォーク
54
平均マージ
2分
マージ済み PR(30日)
1

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UTDNebula/api-tools のほかの issue

UTDNebula/api-tools の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。