Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Github or GoogleCode — Gideros Forum

Github or GoogleCode

ar2rsawseenar2rsawseen Maintainer
edited July 2012 in Relax cafe
Hello all,

today I received a suggestion to add all code from examples, etc to repository, so it would be easier for developers to get it and also submit changes.

I haven't used Git hub, I'm an SVN user so I used GoogleCode before. But what do you developer's vote for? Where should I better submit code, where do you want to see examples, classes, frameworks?

Basically what do you use?

Comments

  • gorkemgorkem Maintainer
    Basically I see that ppl here tend to use Github. I saw someone use bitbucket, and noone using Google Code. I think there's a tendency to leave SVN and related services, and use Git and friends.
  • I am voting for github.
  • ______ Member
    Github Github Github

    I wonder if I sent you that suggestion >:)
    People call me "underscore".
  • ar2rsawseenar2rsawseen Maintainer
    Ok migrating ;)

    @___ then it means I know your real name :D
  • ______ Member
    Feel free to post here or email if you want any help with git :)
    People call me "underscore".
  • gorkemgorkem Maintainer
    @ar2rsawseen either ___ is real shy, or he's secretly migrating Electronic Arts to Gideros Studio :P >:)
  • ______ Member
    I'm migrating Val...

    o I shouldn't have said that. 8-}
    People call me "underscore".
  • ar2rsawseenar2rsawseen Maintainer
    edited July 2012
    @___ Ok then, you can try to explain the concept of branches. Is it like different parallel versions of the same project?
    For example I have Ace.Slide as lua module and Slider as instantaniable Gideros class. Should I create them as separate branches of same repo or create new repo for each of them?

    And how should I create a new branch in Github?
  • ______ Member
    edited July 2012
    Yes, parallel versions. But, they are normally used for different versions (like a stable branch, a 1.0 branch, etc - used in almost all svn based projects I've seen).

    No, not branches, not at all. They should be in separate folders, or repos. I'd choose one of those 2. Probably folders...

    What could be branches is - you've written Ace.Slide as a package, and now you're rewriting Ace.Slide as Classes. You should create a new branch, something like "oop-version", and work on it. When it's done, and you want it in the main repo, merge it with the master branch.

    There's no "how to create in Github". It's done locally from your git repo. You just need to push that branch manually*.

    All this goes something like:
    cd dir
    git init
    # add files
    git add .
    git commit -m "Initial commit."
    git checkout -b oop-version # create and switch to a new branch
    # add oop files
    git commit -m "Something..."
    # add & commit until it's done
    # master = trunk in svn; switch to master branch
    git checkout master
    # if you haven't made any changes to master after you created a new branch, this should work fine.
    git merge oop-version
    # oop-version IS master now
    git push origin master
    #done!
    And if you just want to push a separate branch to Github
    git push origin that-branchs-name
    PS: Which OS are you on?
    People call me "underscore".
  • ar2rsawseenar2rsawseen Maintainer
    edited July 2012
    I'm using Windows 7 and just installed Github app. ;)

    Well it's exactly like that. Slider is an OOP version of Ace.Slide.
    Ok I'll try it
  • ______ Member
    This looks interesting. I didn't try it because I know most of these concepts, but it should help you :)
    People call me "underscore".
  • ______ Member
    I'm using Windows 7 and just installed Github app. ;)
    git GUI [-(
    People call me "underscore".
  • ar2rsawseenar2rsawseen Maintainer
    Yeah I'm more of a GUI fan than a CLI :D
  • ______ Member
    Yeah I'm more of a GUI fan than a CLI :D
    Then you are not a real programmer I'm afraid :(.
    People call me "underscore".
  • ar2rsawseenar2rsawseen Maintainer
    Hmm, no, just pretty young programmer :D
  • ______ Member
    Hmm, if you do want to use a GUI, also try out Smart Git. I used it when I started out, had many good features.
    People call me "underscore".
  • ar2rsawseenar2rsawseen Maintainer
    That looks awesome and has SVN support. Nice ;)
  • ar2rsawseenar2rsawseen Maintainer
    Ok so here they are, my Gideros projects, including unreleased and unfinished GameTemplate :)

    https://github.com/ar2rsawseen
  • When i see all the tutorials and libraries in one place i am really impressed again for all the hard work. Thanks again @ar2rsawseen for all your contributions. I, myself is a huge fan of your work.
    Take care.
    +1 -1 (+3 / -0 )Share on Facebook
Sign In or Register to comment.