← Back to team overview

yade-dev team mailing list archive

Re: YADE on GitHub. Moving main repository. Janek moves too ; )

 

Welcome Janek!
Bruno

On 18/09/14 19:50, Anton Gladky wrote:
> Hi Janek, good to see you again here! Hope you will
> contribute to the project very useful stuff.
>
> As we discussed during the conference, we will probably fix
> a new Yade version within the next few weeks before next
> Debian Jessie freeze. So we are trying now not to break
> too many things.
>
> Please read this nice git-tutorial from Jerome [1] first.
> "Forking" a repo is a really nice technique to test new
> changes before they will be merged to the main branch.
>
> [1] https://www.yade-dem.org/doc/github.html?highlight=github
>
> Best regards
>
>
> Anton
>
>
> 2014-09-18 19:30 GMT+02:00 Janek Kozicki <janek_listy@xxxxx>:
>> Hi,
>>
>> two years passed since you moved to github and finally I am ready to
>> move with you and do some development :) And so I request now access
>> to yade/trunk.git as currently I have this:
>>
>>   $ git push
>>   ERROR: Permission to yade/trunk.git denied to cosurgi.
>>
>> Also please accept my apologies for not attending this summer conference
>> where I wanted to share my plans with you. It happened that just a
>> few days before the conference we have moved with whole family and it
>> was very difficult to get things sorted out so quickly in a new
>> place. And so I could not prepare anything. I expected that we will
>> move faster, well before the conference, but it took longer than
>> expected.
>>
>> So, for now we will have to resort to this mailing list
>> communications, but I hope to attend the next conference :)
>>
>> As some of you already know I was studying physics in past 5 years.
>> I was so busy with notebooks and books that I was contributing very
>> little to yade during that time. But I learned a lot :) Now I am
>> starting my (third) master thesis: it will focus on quantum
>> mechanics. I plan to defend it on summer 2015.
>>
>> I think that I already understand Schrodinger's equation. But solving
>> this, and solving Dirac's equation will be great to learn more about
>> how it really works :) I'm not sure though if that could be
>> interesting for other yade folks :) But if it works then maybe
>> in the future we will see new yade users from the area of quantum
>> mechanics!
>>
>> So currently I am working on implementing quantum mechanics in /pkg/qm/
>> package for yade.
>>
>> I just wanted to make a first small commit, where I added
>> std::complex<Real> to possible types in qt4 inspect, because QM uses
>> complex numbers everywhere. In the future I hope to use quaternions
>> too, for example based on book by S.Adler "Quaternionic quantum
>> mechanics and quantum fields" :)
>>
>> best regards
>> Janek Kozicki
>>
>>
>> Janek Kozicki said:     (by the date of Tue, 13 Mar 2012 14:11:42 +0100)
>>
>>> Good move.
>>>
>>> I hope this will not make additional mess in wiki and/or documentation.
>>>
>>> best regards
>>> Janek Kozicki
>>>
>>> Anton Gladky said:     (by the date of Mon, 12 Mar 2012 22:08:46 +0100)
>>>
>>>> Dear yade users and developers,
>>>>
>>>> I'm trying to make some changes on yade repository to allow new
>>>> contributors to push their changes into the yade main branch without
>>>> breaking it.
>>>>
>>>> We (me and Bruno) are on a stage of transition the yade main trunk to
>>>> git. The new project was created on github.com [1].
>>>>
>>>> Many open-source project are moving on git, because it has a lot of
>>>> positive sides, especially branching. You can find tons of information
>>>> on your own language on this topic. I will just shortly give some main
>>>> commands to start to use new yade git-branch.
>>>>
>>>> Please, note, all the history of the yade was saved and migrated onto
>>>> git. Also all names of committers were fixed to escape different names
>>>> of the same person. About 12 committs were not identified, they marked
>>>> as "unknown".
>>>>
>>>> Yade releases were tagged and subscribed by GPG-key (even historical
>>>> 0.08.x versions!) [6].
>>>>
>>>> Steps to start to work with git-branch of yade:
>>>>
>>>> 1. Register on github.com
>>>>
>>>> 2. Add your SSH key to GitHub [2]:
>>>>       On the GitHub site Click “Account Settings” >
>>>>       Click “SSH Public  Keys” > Click “Add another public key”
>>>>
>>>> 3. Set your username and email:
>>>>       git config --global user.name "Firstname Lastname"
>>>>       git config --global user.email "your_email@xxxxxxxxxxxxx"
>>>>
>>>> 4. Fork A Repo [3]:
>>>>       click the “Fork” button on the https://github.com/yade/trunk
>>>>
>>>> 5. Set Up Your Local Repo:
>>>>       git clone git@xxxxxxxxxx:username/trunk.git
>>>>
>>>> 6. Configure remotes:
>>>>       git remote add upstream git@xxxxxxxxxx:yade/trunk.git
>>>>       git fetch upstream
>>>>
>>>> All these steps should be done just once.
>>>> After that you can make changes on your working branch.
>>>> To commit changes:
>>>>       git add .
>>>>       git commit -am'Commit message'
>>>>       git push origin master
>>>>
>>>> "git push" can be performed once per several commits.
>>>>
>>>> Changes will be pushed to your personal "fork", If you have tested your
>>>> changes and ready to push them into the main trunk, just do a "pull
>>>> request" [4]. After reviewing your changes they will be added to the
>>>> main trunk.
>>>>
>>>> To pull new updates from the upstream:
>>>>       git fetch upstream
>>>>
>>>>
>>>> It looks a little difficult. But after some practice, you will probably
>>>> find it pretty useful and handy.
>>>> There are a lot of additional commands in git, which can be very useful.
>>>>
>>>> For those, who used git already, it should not cause any problems
>>>> with new repo. The short instruction on using Yade on GitHub can be
>>>> found on wiki-page [5].
>>>>
>>>> Please, note, all other services like a bug-tracker, question-section,
>>>> download files etc will remain on Launchpad.
>>>> Please, do not make direct commits to the lp:yade, this branch
>>>> automatically imports all changes from git.
>>>>
>>>> I want to ask you to test this new repo and give a feedback. The
>>>> git-branch is now importing back to the branch lp:yade
>>>>
>>>> If you have any questions/problems, do not hesitate to ask them.
>>>> I hope this migration will have a positive impact on the YADE development.
>>>>
>>>> If we find this change too complicated, unreliable etc. we will easily
>>>> return back to our bzr-branches.
>>>>
>>>> Thank you.
>>>>
>>>> Anton
>>>>
>>>> [1] https://github.com/yade
>>>> [2] http://help.github.com/linux-set-up-git/
>>>> [3] http://help.github.com/fork-a-repo/
>>>> [4] http://help.github.com/send-pull-requests/
>>>> [5] https://yade-dem.org/wiki/Yade_on_github
>>>> [6] https://github.com/yade/trunk/tags
>>>>
>>>
>>> --
>>> Janek Kozicki                               http://janek.kozicki.pl/  |
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~yade-dev
>>> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~yade-dev
>>> More help   : https://help.launchpad.net/ListHelp
>>
>> --
>> Janek Kozicki                               http://janek.kozicki.pl/  |
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help   : https://help.launchpad.net/ListHelp
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


-- 
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________



Follow ups

References