Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Github repository  (Read 4191 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Github repository
« on: March 25, 2011, 09:44:49 am »
Hi

I've created the github repository and uploaded the latest SVN revision:
https://github.com/SFML/SFML

Important
- "trunk" is now branch "sfml1" on Git
- "branches/sfml2" is now "master" on Git

I'll probably need some time to finalize everything, setup the wiki and task tracker etc. so please use everything as read-only for now (ie. don't add/modify anything).

I'll let you know when everything's ready.

As long as the SVN repository is there you can still commit to it, I'll sync the latest modifications after I close it, so that nothing is lost.
Laurent Gomila - SFML developer

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Github repository
« Reply #1 on: April 02, 2011, 09:29:46 am »
I have found out something that may be interesting for everyone who can not / does not want to install TortoiseGit on Windows: You can access the Github repository also with SVN.
URL: http://svn.github.com/LaurentGomila/SFML

xazax

  • Guest
Github repository
« Reply #2 on: April 02, 2011, 10:31:31 am »
Wow. That is awesome. Thanks Mr. X. Altough it seems there are some limitations, so it is only possible to check out/update but I wasn't able to check the diffs in changes.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Github repository
« Reply #3 on: April 03, 2011, 10:23:14 pm »
By the way, are we able to update to a specific revision in Git? It seems like there are no revision numbers, only the hashes one can never memorize. I've come across tags, is that the only option?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Github repository
« Reply #4 on: April 03, 2011, 10:42:09 pm »
Quote
By the way, are we able to update to a specific revision in Git?

Yes of course. Use "git checkout <name>" where <name> is a commit, branch or tag.

Quote
It seems like there are no revision numbers, only the hashes one can never memorize. I've come across tags, is that the only option?

Git can't have revision numbers, due to its decentralized nature. One developer may have a very different history than another one, that's why commits can only be identified by unique hashes. But you don't have to remember them; why would you?

There's also git describe which can give a human readable name for a commit, but that works only when you have at least one tag (which is not the case for SFML).
Laurent Gomila - SFML developer

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Github repository
« Reply #5 on: April 03, 2011, 11:12:12 pm »
Ah, thanks a lot, and sorry for the stupid question :)

I have already tried checkout, however I was a little bit confused at first, because the log showed no newer revisions than mine (so I thought the checkout of an older version had no effect). This behaves not like SVN, which makes sense since the newer revisions are only part of another, decentral repository.

In fact, I also tried git describe, but as you say, no names appeared.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Github repository
« Reply #6 on: April 04, 2011, 04:53:57 pm »
You can also use "git log --pretty=oneline" to get a short listing of commits to find the one you want to checkout. Or use gitg or gitk (however I'm not sure if those are distributed with the Windows version).

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Github repository
« Reply #7 on: April 04, 2011, 05:13:04 pm »
TortoiseGit (or msysGit? I don't know) comes with a history viewer similar to gitk.
Laurent Gomila - SFML developer

 

anything