Large number of examples use interfaces that have been removed

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

メンテナーはふだん 1 日以内に返信

@deinst がすでに取り組んでいます。

2019年1月30日 から。

  • #159 @deinst による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
tooling

調査の方向性

一覧にあるサンプルファイルから始め、削除された GraphvizGraph インターフェースを調査します。これには、長い間動作していないという注記も含まれます。次に strong_components.cpp と、変更された Graphviz API の動作を調べます。影響を受けるサンプルがサポートされているインターフェースを使用するか削除され、strong_components.cpp がファイル名を Graphviz データとして誤って解釈しなくなれば完了です。

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

説明

docs

The following files:

kruskal-telephone.cpp ;
loops_dfs.cpp ;
scc.cpp ;
reachable-loop-head.cpp ;
cc-internet.cpp ;
reachable-loop-tail.cpp ;
prim-telephone.cpp ;
dfs-parenthesis.cpp ;
edge_connectivity.cpp ;
edge-connectivity.cpp ;

All use GraphvizGraph and related interfaces which have been removed from the library - actually they are commented out with the note:

  // This interface has not worked for a long time

So either we need to remove these examples altogether, or better, figure out what interface they should be using.

In addition strong_components.cpp calls an old Graphviz API whose meaning has changed - as a result it chokes interpreting a filename as Graphviz data. Replacing the filename with a std::ifstream just moves the error elsewhere :(

主要言語
C++
スター
402
フォーク
251
平均マージ
1日 9時間
マージ済み PR(30日)
38

環境構築

はじめの一歩

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

boostorg/graph のほかの issue

boostorg/graph の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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