• Login
sketchucation logo sketchucation
  • Login
⌛ Sale Ending | 30% Off Profile Builder 4 ends 30th September

BitBucket Basics / Git Tips

Scheduled Pinned Locked Moved Developers' Forum
6 Posts 2 Posters 583 Views 2 Watching
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.
  • D Offline
    Dan Rathbun
    last edited by 28 Jul 2012, 11:08

    BitBucket Basics / Git Tips

    Set up my first Git repo at BitBucket, (and although I am going through the Tutorial,) I'd like to create this topic here for tips on using Git and/or BitBucket, to develop a project specifically for SketchUp Ruby.

    💭

    I'm not here much anymore.

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dan Rathbun
      last edited by 28 Jul 2012, 11:14

      First question... what should the Wiki page be ?

      If I create a README at the top of the Git repo, is it displayed as the Wiki by default. (And conversely, if I edit the Wiki manually, is it saved as as the README file ??)


      I know there needs to be project introduction, and I'd also like somewhere to list the goals of the project for first release at v1.0.0, and it seems like this is a good place.

      But also... since this is a library project, .. we need a place to display the API (whether manually written, or RDoc generated. And the Wiki seems also to be a nice place for this, (but maybe I am missing some Documentation feature of BitBucket ??)

      I'm not here much anymore.

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dan Rathbun
        last edited by 28 Jul 2012, 13:25

        It seems the project / repos are missing a discussion feature, where general issues or strategy for the project can be discussed.

        I would not think we would wish to fill up the Issues List will this kind of general discussion.

        So we'd need to create either a GoogleGroup, or a Beta Forum here at SCF, for the project ??

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dan Rathbun
          last edited by 28 Jul 2012, 13:36

          Local Repo / Plugin Testing Syncronization

          OK, I followed the Tutorial and made my "repos" dir in my HOME dir.

          Created (cloned) the project in that dir, let's call it "repos/proj"

          Previously, I was working on my project in a subdir of SU's "Plugins" dir. This makes it handy for loading and debugging.

          So I manually copied the entire project dir hierarchy to "~/repos/proj" and used the Git GUI to commit and push the first version of the code to the online Git repo at BitBucket.

          All seems well so far.

          But now, I need to continue editing the code, testing it, and pushing updates.

          The question is... do I work on the set under the "SketchUp/Plugins" dir, and manually copy to the local repo, or reset my Notepad++ session to open files from the "~/repos/proj" dir instead ??

          I imagine that I can put a script in the "Plugins" dir, that appends the path File.expand_path("~/repos/proj") to Ruby's $LOAD_PATH array, so I can load and debug directly from there.

          Is this what others are doing when they use Git for SketchUp Ruby development ???

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 28 Jul 2012, 17:16

            I like to use the Issues BitBucket service on my repos - so I can mark issues as solved on push.
            https://confluence.atlassian.com/display/BITBUCKET/Setting+Up+the+Bitbucket+Issues+Service

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dan Rathbun
              last edited by 28 Jul 2012, 20:29

              Great Idea, I was wondering how to do that. Done.

              I'm not here much anymore.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/6
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement