Advertisement:

Author Topic: Using Github???  (Read 14744 times)

Offline BUGHUNTER

  • Newbie
  • *
  • Posts: 6
Using Github???
« on: April 17, 2012, 09:36:19 AM »
Hi,

readig about forks of smf here I wonder, if there is no official smf account at github? Git would make it easy to integrate forks back into the main code base, so github could be a good thing for code evolution - what do developers of smf think about git and using github?

Also handling of mods could be made much easier using git - if I am not totally wrong smf mods are "raw" code changes - so gaining the benefits of git plus the option of integrating forks would make sense to me.

What do you think?

Thanks,
Bughunter

Offline Kryzen

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,679
  • Gender: Male
Re: Using Github???
« Reply #1 on: April 17, 2012, 09:37:08 AM »
Actually there is, but it is not ready yet. I guess the team is still busy with making the change from SVN to Git. ;)

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,515
  • 戦場ヶ原、蕩れ!
    • motokochan on GitHub
    • @motokochan on Twitter
    • Animeneko Network
Re: Using Github???
« Reply #2 on: April 18, 2012, 12:30:24 AM »
readig about forks of smf here I wonder, if there is no official smf account at github?

https://github.com/simplemachines/


Git would make it easy to integrate forks back into the main code base, so github could be a good thing for code evolution - what do developers of smf think about git and using github?

Git is not github.

Work is ongoing at converting from subversion to git. There is an internal version right now, and when things are ready and the development process is worked out, I'm sure there will be an announcement on it.


Also handling of mods could be made much easier using git - if I am not totally wrong smf mods are "raw" code changes - so gaining the benefits of git plus the option of integrating forks would make sense to me.

Nothing has stopped this from being done previously in private repositories.
Motoko-chan
Director, Simple Machines

Just like... making of enemies / 負ける気しない やめるきない / You are cool but fool - Charisma.com 『HATE』

Note: I am not a member of the Simple Machines Forum project.


Offline BUGHUNTER

  • Newbie
  • *
  • Posts: 6
Re: Using Github???
« Reply #3 on: April 19, 2012, 06:23:39 AM »
Ok, this reads well!

Yes, the switch from svn to git can take a few days, so think carefully about everything and just review things twice, there might be some pitfalls. BTW if you do not know it - smartgit is really a nice client! (no, not affiliated with them, it is really good software and free for non-commercial use!).

How are your plans for integrating mods into the repo? Are you integrating them at all?

Would be interesting to read about what strategy you are planning for this - the absence of any plugin api will make every installed mod actually a new branch - leading to an infinite number of branches with random combinations of mods...

Ok, I just found hxxp:github.com/SimpleMachines/smCore [nonactive] - also http://www.simplemachines.org/community/index.php?topic=469381.0 reads like SMF is finally becoming a good modular design that enables better extendibility, very nice! Maybe it is better to look forward and get that 3.0 realized as fast as possible ;)

I will follow!

Bughunter

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,515
  • 戦場ヶ原、蕩れ!
    • motokochan on GitHub
    • @motokochan on Twitter
    • Animeneko Network
Re: Using Github???
« Reply #4 on: April 19, 2012, 12:32:37 PM »
I can't speak for the team as I don't know their plans. I can, however, mention a few things in response.

Yes, the switch from svn to git can take a few days, so think carefully about everything and just review things twice, there might be some pitfalls.

In my personal experience, if the Subversion repository has been well-managed, it will import well. The main SMF repository has been fairly well managed.

Also, I believe things have been going on for a few months as it's a big workflow change, so it's more getting the flow down than any technical issues.


BTW if you do not know it - smartgit is really a nice client! (no, not affiliated with them, it is really good software and free for non-commercial use!).

The team knows about it and many other clients. Personally, I just use the CLI interface, with gitk if I need to see something visually.


How are your plans for integrating mods into the repo? Are you integrating them at all?

I do not know their plans on this. I don't think it is under consideration as nearly all modifications are by third parties, most licensed in ways that you can't just take the code.


Would be interesting to read about what strategy you are planning for this - the absence of any plugin api will make every installed mod actually a new branch - leading to an infinite number of branches with random combinations of mods...

The developers have implemented a "hook" system since the late 2.0 RC stages. I believe this is the encouraged system to use for all 2.x modifications currently, and it avoids 90% of direct code edits.


Ok, I just found https://github.com/SimpleMachines/smCore - also http://www.simplemachines.org/community/index.php?topic=469381.0 reads like SMF is finally becoming a good modular design that enables better extendibility, very nice! Maybe it is better to look forward and get that 3.0 realized as fast as possible ;)

Old news. smCore was announced on February 24 over in the News and Updates board topic Simple Machines is expanding and in the development blog post The future of SMF

If you want to follow things currently, watch the News and Updates board and the development blog.
Motoko-chan
Director, Simple Machines

Just like... making of enemies / 負ける気しない やめるきない / You are cool but fool - Charisma.com 『HATE』

Note: I am not a member of the Simple Machines Forum project.


Offline JXDavise

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • WordPress form plugin
Re: Using Github???
« Reply #5 on: October 17, 2012, 08:30:02 AM »
A lot of time goes on . Are they still busy with making the change from SVN to Git or they finish it ?

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,589
Re: Using Github???
« Reply #6 on: October 17, 2012, 09:40:35 AM »
From SMF 2.1, the developers are using Git.
For more information, see the developers blog, especially http://blogs.simplemachines.org/dev/480457/Barriers+to+contributions.html
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,824
  • Gender: Male
    • i30 Owners Club
Re: Using Github???
« Reply #7 on: October 17, 2012, 09:45:24 AM »
Careful not to feed the trolls, Ms Belle. I believe JXDavise is simply rephrasing what Evil Vamp posted above  :o