crazyblob last edited by
Is there any way to get git support? If not will Pythonista have git support in the future?
JonB last edited by
omz last edited by omz
Working Copy (a third-party Git client) should work well with Pythonista. Since this is a little hard to discover, here's how you'd open an entire Working Copy repository (folder) in Pythonista:
- Tap "Open" in Pythonista's file browser
- Select "Working Copy" in the document picker
- Tap the "Select" button in the toolbar (to enable multi-select mode)
- Select the folder/repository you want to open
- Tap "Open" (in the toolbar)
You can then just edit the files in Pythonista, and commit the changes in Working Copy.
victordomingos last edited by
@omz I know that Pythonista works with Working Copy, yet I am still not convinced that it is a good enough solution.
In my opinion, an up to date StaSh fully compatible with Python 3 and preferably integrated in Pythonista itself, an integrated and more stable git command (or even a visual git interface) and proper pip package management would be great additions to this wonderful app.
We currently have some powerful tools, but some of them don’t work well with each other. We can use StaSh to pip install some packages, but it’s a bit cumbersome as there are frequently cryptic messages that a less knowledgeable user may not understand that they mean those are not compatible with Pythonista. We can use working copy for git, but then we can’t use StaSh to manage those files and run scripts without going back to the side panels...
comfortablynick last edited by
I love being able to use Working Copy and Pythonista together. Is there any way to execute scripts from Working Copy via appex or callback URL (e.g., from Workflow)?
It's great that we can open the scripts from Working Copy, but it would be a lot more useful if we could execute them without saving a local copy in Pythonista.
mikael last edited by
@comfortablynick, agree, the ”magic trick” would be to be able to execute code (not just a single file) that is on iCloud or Working Copy, in place and without copying files around. I don’t if this is inherently impossible with Python.
bennr01 last edited by
@mikael Running scripts in pythonista withot saving a local copy seems possible. StaSh already supports running scripts directly from dropbox, so all needed to do would be implementing something like this for iCloud and working copy. IIRC, working copy contains some sort of WebDAV (or am i wrong?), so we could use this.
Well, this still would not be built-in support for pythonista, but it may be a good alternative.