Git Product home page Git Product logo

fsrpl's Introduction

fsrpl's People

Contributors

asny23 avatar dependabot[bot] avatar goreleaserbot avatar matsu0228 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fsrpl's Issues

リリースまでのTODO

機能面

  • 複製だけではなく、複製後に元のドキュメントを削除するモード
  • 異なるFirestore間での複製
  • ツール描画をリッチに(ログの見せ方、確認コマンド)
  • exportしたjsonからimportする (document keyをファイル名にしておく?)
  • wildcard指定時に、エラーがあっても、エラーが無いドキュメントに対しては処理完了できる
  • documentパスの指定で、末尾以外でも任意指定(*)できるようにする

  • testコード
  • CI(test & release)
  • badgeをつける(test / godoc)

アイディア

  • recurciveにドキュメント取得できる

mapを要素とするarrayで、map内にDocumentReferenceがあるとmapとして展開される

素敵なツールを作ってくださりありがとうございます。
一点バグが有ったので報告します。

たとえばこういったjsonだった場合、

{
  "operations": [
    {
      "staffFirstName": "Met",
      "staffLastName": "Mog",
      "staffReference": {
        "Parent": {
          "Parent": null,
          "Path": "projects/test/databases/(default)/documents/staffs",
          "ID": "staffs"
        },
        "Path": "projects/test/databases/(default)/documents/staffs/MogtFOEOZe9bRIgfpvlc",
        "ID": "MogtFOEOZe9bRIgfpvlc"
      }
    }
  ]
}

期待値としてはDocumentReferenceで展開されるのを期待していますが、スクショの通りMapとして展開されてしまいます。
image

mapの中にDocumentReferenceがある場合にも型を認識できるようになると幸いです。

bottle :unneeded is deprecatedのwarningが発生する

brewでfsrplをインストールしたのですが、brewでインストールを実行する度に下記warningが発生するようになりました。

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the matsu0228/fsrpl tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/matsu0228/homebrew-fsrpl/fsrpl.rb:6

環境は下記です。

MacBook Pro(16インチ、2021)
チップ Apple M1 Max
OS macOS Monterey version 12.1

brewの環境は下記です。

$ brew version
Homebrew 3.3.10
Homebrew/homebrew-core (git revision b7eb3433250; last commit 2022-01-14)
Homebrew/homebrew-cask (git revision 2aff786b45; last commit 2022-01-14)
brew-file v8.5.8 27/Nov/2021

ご対応いただけたら幸いです。

copy時にblob型(バイトの配列)のフィールドが文字列型に変化する

ちょうどこういったツールを探していたときにzennの記事経由で知り使ってみたところ、自分の用途では正常に動作しなかったためissueを残させていただきます。

症状はタイトルの通りで、fsrpl copyするコピー元のドキュメントにblob型のフィールドが含まれている場合に、そのフィールドがコピー先では文字列型に変化してしまうことを確認しました。

brew install fsrpl で wrong number of arguments Error

brew tap matsu0228/homebrew-fsrpl
brew install fsrpl

を実行すると、下記のようなエラーでインストールができませんでした。

Error: fsrpl: wrong number of arguments (given 1, expected 0)

環境:
macOS 13.0.1

最新のOSにしたばかりだったため、他のコマンドはインストールできるか試してみたのですが、
下記は成功しました。

brew install sl

そちらの環境では、現在もインストール可能でしょうか?
大変便利そうなツールなので、ぜひ使ってみたく…。
何かおわかりになりましたら、お力をお貸しいただけないでしょうか。
よろしくお願いいたします 🙇‍♂️

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.