Updating repository catalogue should be more resilient to offline repositories

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
c
領域
cli

調査の方向性

まず、設定されたリポジトリに到達できず、FreeBSD リポジトリが利用可能な状態で pkg install mtr-nox11 を再現します。リポジトリカタログの更新とパッケージ選択の動作を追跡します。設定されたリポジトリがオフラインであることをユーザーに通知しつつ、更新を無効にせずに公開パッケージをインストールできれば完了です。

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

説明

I have a repository configured at work, inside of a corporate VPN, which contains some of our internal and privately built packages.

When I'm off the VPN, I cannot install public packages without specifying a -r FreeBSD or disabling updating with -U

[21:36:30] tyler:~ $ sudo pkg install mtr-nox11
Updating repository catalogue
digests.txz                                                                                  100% 1045KB  69.6KB/s 184.7KB/s   00:15    
pkg: http://10.10.3.103/10amd64-default//digests.txz: Operation timed out
pkg: Unable to find catalogs
[21:40:41] tyler:~ $ 

I'm not sure what the right behavior is, but if the package I'm installing is available in one of the available repositories, it would make sense to me that pkg might notify the user to the offline repository, and install it from the repo that is available.

主要言語
C
スター
835
フォーク
313
平均マージ
3日 7時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

freebsd/pkg のほかの issue

freebsd/pkg の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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