omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Git support?

    Pythonista
    7
    7
    7308
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • crazyblob
      crazyblob last edited by

      Is there any way to get git support? If not will Pythonista have git support in the future?

      1 Reply Last reply Reply Quote 2
      • JonB
        JonB last edited by

        Stash has limited git support. See here

        The WorkingCopy app apparently works well with Pythonista.
        Search google for pythonista and workingcopy, and a few people have posted their workflows.

        1 Reply Last reply Reply Quote 0
        • omz
          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 1 Reply Last reply Reply Quote 3
          • victordomingos
            victordomingos @omz 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...

            1 Reply Last reply Reply Quote 0
            • comfortablynick
              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 1 Reply Last reply Reply Quote 1
              • mikael
                mikael @comfortablynick 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 1 Reply Last reply Reply Quote 1
                • bennr01
                  bennr01 @mikael 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.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors