Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Working Copy How To?

Search isn’t helping me find anything about how to connect my Codea project to Working Copy. Links or hints please? Thanks!

Comments

  • OK I managed to "Save to Working Copy" using Export Zip (not entirely obvious but Working Copy has some limited help). I see there is a possibility Process in Working Copy but that did nothing.

    The 2.6.1 writeup seems to say that I can simultaneously edit in Working Copy and Codea. That would be interesting to try. How is it done?

    Is there a users' guide for Codea somewhere that I've missed?

    Thanks!

  • dave1707dave1707 Mod
    Posts: 7,924

    The users guide for Codea is the built in documentation and whatever you find in the forum. As for Working Copy, I haven’t the slightest idea. Never used it.

  • The docs on functions and such are great. Things like this, not so much. I wish Simeon would video his tests or something. :)

    Dave, what, if anything, do you use for code versioning?

  • dave1707dave1707 Mod
    Posts: 7,924

    @RonJeffries I don’t do anything for versioning other than making a copy of the project before I make changes. I don’t write anything so big that I can't take the copy and redo what I want if I mess things up.

  • SimeonSimeon Admin Mod
    edited December 2018 Posts: 5,054

    @RonJeffries

    1. Open up working copy and Codea side-by-side (you don't have to do this, but it helps)
    2. Under Repositories in Working Copy hit + to add a new one
    3. Choose Setup Synced Directory
    4. Navigate to On My iPad -> Codea
    5. Tap the project you want to keep synced to git
    6. Working Copy will show the syncing pane, press Done when it's done

    Now you probably want to do an initial commit in working copy

    1. In your repo (named something like My Project.codea tap the first item in the list named "Repository"
    2. Press Commit Changes
    3. Type a commit message, select all files to commit, then press Commit

    Now start editing your project in Codea, you'll see the state of the repository in Working Copy update as you edit files in Codea. You can now commit these changes in Working Copy as you edit.

    Any time you revert or switch branches in Working Copy the Codea project will update too.

    The Twitter video I posted about this shows the same steps:

  • Super, I'll try that. Please go paste that somewhere into the docs where folks can find it. :)

  • I hear that, dave. same for me, really, but my religion requires me to try these things and possibly use them even if only in the small. :)

  • OK, learned some things. First, Files On my iPad / Codea has all my Codea stuff in it. I probably missed some memos, so I'm probably worse than a newbie, but I don't know how I was supposed to find that out.

    Second, the video goes super fast. I had to pause it and try to slowly drag the slider to see what was going on.

    Third, when I finally opened the right folder and did the sync, it (of course) worked fine.

    I'd like to help make things like this easier. I can write and learn. I'm not sure I have much time to put into it, but maybe there's some way I can help.

  • SimeonSimeon Admin Mod
    Posts: 5,054

    Sorry about the video speed, it was originally for twitter, which means short attention spans.

    You're right that putting it in the docs is needed. But sometimes I feel like putting it in the docs is also burying it.

    My personal preference for learning tends to be those "Tip of the day" / "Did you know" style messages that come up every so often. I wonder if this is more suited to something like that.

  • Well, what are the odds that the tip of the day will answer the question the user has at that moment? I'd guess low. Of course a giant manual would bury things too. Possibly some better organization here would be useful, maybe a How To section or something. I've tried writing stuff elsewhere and linking here, to little avail. But something might be done, if we could think of it.

  • SimeonSimeon Admin Mod
    Posts: 5,054

    Yeah that's true, I often don't find out about an interesting feature until I've seen quite a few tips. But then I probably wouldn't have been open to reading through anything to find them.

    I'm thinking about including a quick start style page in the new code editor. Using 5 - 10 second looping videos to show how to perform common actions. Then I can include more in-depth pieces at the bottom of that area such as managing projects with Git.

Sign In or Register to comment.