Yii Framework Forum: Yii moved to GitHub - Yii Framework Forum

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Yii moved to GitHub Rate Topic: ***** 1 Votes

#21 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,017
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 20 February 2012 - 02:27 AM

This article may help, to get a better understanding of how git works behind the scenes:

http://nfarina.com/p.../git-is-simpler
0

#22 User is offline   CeBe 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 538
  • Joined: 16-July 10
  • Location:Berlin. Germany

Posted 20 February 2012 - 06:10 AM

View PostMike, on 20 February 2012 - 02:27 AM, said:

This article may help, to get a better understanding of how git works behind the scenes:

http://nfarina.com/p.../git-is-simpler

Great article! Added it to the wiki page.
0

#23 User is offline   intel352 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 196
  • Joined: 05-February 10
  • Location:Southport, NC

Posted 20 February 2012 - 02:14 PM

I'd suggest dropping the SVN repo entirely, as Github already provides SVN-read support, and committers should ideally migrate to using Git for new submissions. It doesn't seem there should be any need to fragment the community between Google Code and Github.

Just my opinion of course :-)
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

#24 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 22 February 2012 - 08:23 AM

@CeBe: Can you check on my master branch again? I think I'm in sync with upstream now.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#25 User is offline   CeBe 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 538
  • Joined: 16-July 10
  • Location:Berlin. Germany

  Posted 24 February 2012 - 07:37 PM

View PostDa:Sourcerer, on 22 February 2012 - 08:23 AM, said:

@CeBe: Can you check on my master branch again? I think I'm in sync with upstream now.


Your branch is not realy "in sync" it is only merged into somehow. Since you once have broken you master branch by committing changes that you did yourself (seems to be some kind of rebase) you cannot use your master branch anymore. Even if the files are the same and the commits look the same they have a differen hash because they depend on other commits than the ones in the yii original repo. the commit hash is generated by the whole content of a commit and though is unique. If you have the same commit hash you really have the same commit with same changes, same author, same parent commit etc...
The problem is that once you have pushed to github you are not able to revert/change history of a branch anymore, github does not allow that (for good reasons btw).

One thing you can do is set up a new branch, call it master2 or something like that and use it instead of master.
But you do not need to do that you can simply start new branches for pull requests with the following commands:
(I asume that your own fork is the 'origin' remote and the yiisoft/yii repo is the 'upstream' remote like it's in the github tutorial on forking)
git fetch upstream
git checkout upstream/master
git checkout -b name-of-your-new-branch


If you want to setup your master2, do the same with branch name master2.
Everything clear? Ask if there are questions :)
0

#26 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 25 February 2012 - 06:12 AM

Oh snap, I really thought I got it right now. Very well, I'll set up a new master branch then. To all others new to git: Do not fall for the same mistakes I did. Don't trust treacherous GUIs, just fall back to the console and spare yourself from a lot of trouble (and broken keyboards).
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#27 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,698
  • Joined: 10-October 10
  • Location:Denmark

Posted 25 February 2012 - 06:24 AM

Gotta love Git.:lol:
Quite simply the most unforgiving VCS there is.

Good thing is that there is tons of good docs.
"Less noise - more signal"
0

#28 User is offline   巡洋艦 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 316
  • Joined: 18-December 09
  • Location:Beijing, China

Posted 29 February 2012 - 01:25 AM

very good!
0

#29 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,391
  • Joined: 12-October 09
  • Location:Croatia

Posted 05 March 2012 - 02:46 AM

Hmmm... can't believe there where a bug like this on GitHub - https://github.com/r...72b1aa393e6dc57

And they even banned that guy account as "he was trolling"... when in fact he was showing his point that GitHub is bugged big time....
Find more about me.... btw. Do you know your WAN IP?
1

#30 User is offline   phpnode 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 141
  • Joined: 18-April 11

Posted 05 March 2012 - 04:08 AM

The bug/feature is really in rails which github is built on, they should have used Yii style validation rules to prevent this kind of thing :)

Github have unsuspended the guy's account now, I think they dealt with it pretty reasonably to be honest, at least it wasn't a permanent ban.
1

#31 User is offline   Rangel Reale 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 68
  • Joined: 14-January 10

Posted 07 March 2012 - 03:24 PM

Rails models properties are all safe by default? If I saw this in Yii I would never started using it.
1

#32 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,391
  • Joined: 12-October 09
  • Location:Croatia

Posted 07 March 2012 - 04:13 PM

There is a thread about Rails/Yii mass assignement - http://www.yiiframew...nt-yii-is-safe/
Find more about me.... btw. Do you know your WAN IP?
0

#33 User is offline   luc 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 211
  • Joined: 22-June 10
  • Location:france

Posted 20 March 2012 - 09:16 AM

Just a noob question:
On this website, the Yii download link http://yii.googlecod...10.r3566.tar.gz points to googlecode and his date is Feb 12, 2012.
If I want a more updated version of Yii (saying the one with that issue fix or that absolutely must have gii feature, can I get them by simply downloading the zip tarball from Github or have I to deal with some git commands ?
Thanks.
Hey Ho !
Let's go !
0

#34 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,391
  • Joined: 12-October 09
  • Location:Croatia

Posted 20 March 2012 - 09:54 AM

The version on the download page is the "release" version... the tarball is the development version...

To get a version with the issue fixed you can use the github zip file... but you need to understand that this is a development version... it can happen that an another issue is possibly under development and not functional...

If you want just the fix for a specific issue then you can get just those files fixed with that issue and replace the one in the release version.
Find more about me.... btw. Do you know your WAN IP?
0

#35 User is offline   luc 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 211
  • Joined: 22-June 10
  • Location:france

Posted 20 March 2012 - 10:00 AM

Ok, thank you mdomba
Hey Ho !
Let's go !
0

#36 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 20 March 2012 - 12:35 PM

Related news: PHP moved to github.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#37 User is offline   Rangel Reale 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 68
  • Joined: 14-January 10

Posted 03 April 2012 - 03:55 PM

I think the svn-sync routine is not working, the last commit on the svn server is Feb 19.
0

#38 User is offline   intel352 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 196
  • Joined: 05-February 10
  • Location:Southport, NC

Posted 03 April 2012 - 05:37 PM

View PostRangel Reale, on 03 April 2012 - 03:55 PM, said:

I think the svn-sync routine is not working, the last commit on the svn server is Feb 19.


Not needed, Github has built-in SVN support: https://github.com/b...-client-support
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

#39 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 27 April 2012 - 03:17 AM

Fun fact: I'm listed ahead of qiang in the list of contributers. This should really be sorted differently :lol:
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#40 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 03 May 2012 - 05:46 AM

I didn't want to litter the github bugtracker or open a new thread, but: The source code links in the API documentation are still pointing at Google Code. Could this be changed so everything is linked to the code on github?
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

Share this topic:


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users