-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote development workflow needs some serious TLC #691
Comments
Way out of date but... https://github.com/cclauss/Pythonista-and-Working-Copy |
@cclauss Thanks! I actually have that open in another tab right now! This seems to be the only way to use external repos as shortcuts since the deep link expects to be in the local/iCloud root, so definitely helpful. |
@palmin Do you have any comments/suggestions on this issue? Do you have access to the current Pythonista beta version? Thanks massively for Working Copy which continues to make us productive! |
I have access to the Pythonista TestFlight but am not using Pythonista in my daily work. When trying I don’t need to close Pythonista before pulling down changes in Working Copy to avoid getting conflicts.
You are very welcome to e-mail me at anders@workingcopy.app with specifics about this problem. Note that Working Copy is able to manage repositories in iCloud Drive which should make it possible to keep your python stuff in the regular documents folder for Pythonista while still having Git support: |
First, I know this app is designed to allow one to build apps/scripts in python on our devices, however, for larger apps, developing the bulk of the code remotely (e.g. on a laptop) is very much preferred.
I have spent quite a bit of time trying to learn how others accomplish this, and it seems to be based around another app called Working Copy. To bootstrap remote dev, the following is performed:
a. In the "External Files" section of the main menu, tap "Open"
b. Select "Folder"
c. Choose the Working Copy "location"
d. Pick the desired repo
Once this has been done, the files from WC will now be present and editible in Pythonista. From here, a single development iteration looks like:
This has to happen every time one wishes to test a change in Pythonista.
I'm sure many of us would like to iterate on a program as fast as possible, and get real-time feedback about what we're building without needing to run the above process every time. I know I would.
There are three things I believe would help support this process, in order of least to most complicated:
canvas
,cb
,clipboard
,sound
). Alternatively, there might be a way to speak to the app directly via LLDB when running the remote simulator to allow for any iOS-specific calls to actually run on the device in question. I haven't tried using a remote debugger on a published iOS app before, so I'm not actually sure if this is possible.For #3 above, at a minimum, being able to run a UI designer and preview app on a remote device like a laptop would be amazing. I very much like Pythonista for prototyping simple apps when I don't feel like busting out Xcode. It would be extremely helpful to be able to see real-time what my code-based UI would look like (even if it can't be interacted with), and it would also be pretty nice to be able to use something similar to the Pythonista UI builder to generate
pyui
files.If there is interest in this, I'd love to discuss things in more detail (or hell, even help implement them!).
Thanks for an awesome app!
It's definitely possible I've missed something that would really help with the above issues. If anyone reads this and knows of a better way of doing this, please leave a comment!
The text was updated successfully, but these errors were encountered: