p5-app-duckpan icon indicating copy to clipboard operation
p5-app-duckpan copied to clipboard

Duckpan Console

Open killerfish opened this issue 11 years ago • 8 comments

@moollaza @mwmiller I wanted to discuss this idea with you guys before diving into this completely. Basically i want to add a CLI to duckpan, but i'd like your input if this is really necessary or overkilling it. The "issues" this would address are:

  • The transitioning between duckpan server/query and running tests, is a bit disjoint atm. Assuming a random sequence, I have run query then quit query, then run server, then quit server, run prove etc. I feel this could be improved.
  • Every time i have to make changes to a file, i have to switch dirs, then if i have to run/test it, i have to switch back to the root of repository.
  • Every time i make changes to a file (perl), i would have to quit query/server, and restart it.
  • We should be able to generate test files while testing under query.

For now these are the ones that come to mind, but these only involve duckpan query/server and prove. I have yet to explore the duckpan command(s) used for community platform though.

killerfish avatar Oct 20 '14 13:10 killerfish

@killerfish As someone who sometimes times out checking versions of the core modules, I would love for such a thing to exist. I think it will be quite an undertaking, but if you feel up to it, I, for one, would love to see it come together.

We should be able to generate test files while testing under query.

This, in particular, sounds both ambitious and awesome. :grin:

mwmiller avatar Oct 20 '14 14:10 mwmiller

@killerfish yes! I was just thinking about the annoying requirement that you need to be in the root of the repo to run the commands. Would be nice to resolve all those other annoyance too. Would be interested to hear your plan of attack :)

moollaza avatar Oct 20 '14 19:10 moollaza

@killerfish This would be awesome! I usually have 4-5 checkouts as I'm reviewing PR's and it's really slow running duckpan server/query all over the place atm

mintsoft avatar Oct 20 '14 19:10 mintsoft

@killerfish great ideas!

russellholt avatar Oct 20 '14 19:10 russellholt

Thanks for the feedback guys :bangbang: i had a design worked out for this, just needed your opinion on this, ill get cracking on this soon. :grin:

killerfish avatar Oct 21 '14 00:10 killerfish

Having played with this for a while now it would be nice to see query results on the server page, maybe where the search results should be. You could almost do away with query this way. Is there a need to keep query around, e.g. for people that run headless machines?

zachthompson avatar Dec 12 '14 21:12 zachthompson

@zachthompson Personally I find query is definitely useful for outputting debugging information; sometimes it's just not ideal to run server

mintsoft avatar Dec 12 '14 21:12 mintsoft

@mintsoft Yeah, there's certainly no harm in retaining it, for the quick terminal debug. In general, though, I don't think I would use it very often if the same results were on the server page.

zachthompson avatar Dec 12 '14 21:12 zachthompson