simvue-io / simvue-io/python-api

Support for storage system of type `file` broken

オープン 初心者向け
#538 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

bug
主要言語
Python
スター
4
フォーク
1
平均マージ
5日 8時間
マージ済み PR(30日)
4

説明

In simvue/factory/proxy/remote.py it tries to upload a file if url is in the JSON response to the POST to /api/artifacts. However, for the case of a storage system of type file, where you just store references to files, the client shouldn't try to upload a file.

If the url is None the upload shouldn't be attempted. Currently the client tries to upload a file to None which fails of course.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

simvue/factory/proxy/remote.py から開始し、/api/artifacts への POST に対するレスポンスを追跡してください。返された url が None でない場合にのみファイルアップロードのパスが実行されることを確認してください。url が None のファイルストレージシステムでは、done はアップロードが試行されず、artifact reference が保持されることを意味します。

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

評価

技術スタック
python
領域
api
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
68/100

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

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