yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08218
Re: [Question #235867]: How can I get source for certain yade version
Question #235867 on Yade changed:
https://answers.launchpad.net/yade/+question/235867
Status: Open => Answered
Anton Gladky proposed the following answer:
2013/9/17 Alexander Eulitz [Eugen] <question235867@xxxxxxxxxxxxxxxxxxxxx>:
> Question #235867 on Yade changed:
> I downloaded the trunk some time ago using the "git clone https://github.com/yade/trunk.git" command.
> If I open a terminal and navigate to that folder,
> typing "git checkout -b version_you_want_to_get f721426" in console switches to a new branch called "version_you_want_to_get".
> I can see changes to the current local version in terminal now. But I don't think that any file is downloaded.
I do not clearly understand, what you mean. After "checkout" command
you will be in the state,
according to commit f721426.
> According to [1] git pull should "update" files now. But this doesn't
> work for me.
>
> I tried all this things without using a github account.
???
> The next question is:
> How can I get the corresponding hash code of a commit. For example for yade version
> Yade 3+3463+44~precise1
> according to [2] I can list all the past commits. But there is no entry for the yade version:
> git log --pretty=format:"%h - %an, %ar : %s"
3463 means a "bzr-version" of the trunk [1]. This number is used only
for yade-daily version.
You can find the commit-message on bzr-branch and then search for a
corresponding
git-hash-commit. Not straightforward, but your task is really specific.
[1] https://code.launchpad.net/~yade-pkg/yade/git-trunk
Anton
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.