aquariumbio / pfish

Scripts for pulling/pushing protocols/libraries to/from Aquarium.
2 stars 1 forks source link

push library source or report that it hasn't been pushed #73

Closed dvnstrcklnd closed 3 years ago

dvnstrcklnd commented 3 years ago

pfish does not push the source file for libraries that aren't already on the server. Version 1.0.0 used to report on the status of the push in a way that one could tell whether the source had been pushed.

Devins-MBP:protocol-base devin$ pfish push -c 'Standard Libs' -l 'TestMetrics'
INFO:AqHTTP@http://localhost:REQUEST: (t=0.012007s)  POST http://localhost/json
INFO:AqHTTP@http://localhost:REQUEST: (t=0.006966s)  POST http://localhost/json
INFO:AqHTTP@http://localhost:REQUEST: (t=0.021527s)  POST http://localhost/libraries.json  <<< NO SOURCE PUSH
INFO:AqHTTP@http://localhost:REQUEST: (t=0.008333s)  POST http://localhost/json
Devins-MBP:protocol-base devin$ pfish push -c 'Standard Libs' -l 'TestMetrics'
INFO:AqHTTP@http://localhost:REQUEST: (t=0.012262s)  POST http://localhost/json
INFO:AqHTTP@http://localhost:REQUEST: (t=0.010941s)  POST http://localhost/json
INFO:root:writing file TestMetrics                                                        <<< SOURCE PUSH
INFO:AqHTTP@http://localhost:REQUEST: (t=0.013533s)  POST http://localhost/libraries/code

This appears to have been lost in v 1.2.0, but the source still is not pushed.

I would appreciate it if pfish either pushed the source or tells me it has't been pushed.