[Yanel-dev] put sources outside yanel tree

chanceline chanceline.linux at gmail.com
Thu Oct 13 12:24:24 CEST 2011


hi michi,


we have done a little docu how to

put sources outside yanel tree 
<https://support.cronopios.org/index.php/Wyona2011#put_sources_outside_yanel_tree>

<https://support.cronopios.org/index.php/Wyona2011#put_sources_outside_yanel_tree>chanceline 
/michel

On 10/13/2011 11:11 AM, yanel-development-request at wyona.com wrote:
> Send Yanel-development mailing list submissions to
> 	yanel-development at wyona.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
> or, via email, send a message with subject or body 'help' to
> 	yanel-development-request at wyona.com
>
> You can reach the person managing the list at
> 	yanel-development-owner at wyona.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Yanel-development digest..."
>
>
> Today's Topics:
>
>     1. Re: Yanel-development Digest, Vol 60, Issue 2 (kamerun at immerda.ch)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 13 Oct 2011 11:10:08 +0200
> From: "kamerun at immerda.ch"<kamerun at immerda.ch>
> To: yanel-development at wyona.com,  "kamerun at immerda.ch"
> 	<kamerun at immerda.ch>
> Subject: Re: [Yanel-dev] Yanel-development Digest, Vol 60, Issue 2
> Message-ID:<4E96AAF0.6080005 at immerda.ch>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> On 10/12/2011 09:21 PM, Michael Wechner wrote:
>> Hi Chanceline
>> Hi Michel
>>
>> Am 12.10.11 13:14, schrieb ngainku chanceline:
>>> Hello,
>>> a woman from senegal who lives in switzerland need a website,
>>> please we have started to develop it , she will like to know how much
>>> it would cost to put on the server
>> you mean a monthly/yearly fee to host Yanel/Website on a server?
> yes and if we want to buy a dns name does wyona do it ?
>
>>> three days now we have not seen you, we hope you are ok
>> I am currently on vacation, but will be back at the office on Tuesday
>> Oct 18.
>>>
>>> we tried to put a poject outside yanel, but yanel came with a mistake
>>>
>>> WARNING: Configuration Exception
>>> '/home/michel/Downloads/yanel/wyona-yanel-1.0-dev-r60079-src/src/realms/chance-test/realm.xml
>>> (No such file or directory)' for realm chance-test
>>>
>>> what is true because we move chance-test to yanel-sites. we stop and
>>> start yanel, but after changing configuration
>>>
>>>
>>>
>>> <realm id="chance-test" mount-point="/chanceline1/">
>>> <config src="/home/michel/yanel-websites/chance-test/"/>
>>> </realm>
>> where exactly did you change this?
> conf/local/local.realms.xml
>
>> If you changed it inside
>>
>> /home/michel/Downloads/yanel/wyona-yanel-1.0-dev-r60079-src/conf/...
>>
>> then you need to first rebuild yanel.
>>
>> If you changed it inside
>>
>> /home/michel/Downloads/yanel/wyona-yanel-1.0-dev-r60079-src/local/apache-tomcat-5.5.20/webapps/yanel/WEB-INF/classes/realms.xml
>>
>> then you don't need to rebuild Yanel, but just restart it.
> ok we have done like the line above and it works
>
>
>
>
>> Please be aware that if you change it directly inside Tomcat and if
>> you rebuild Yanel later, then you might loose these changes, because
>> the configuration of
>>
>> /home/michel/Downloads/yanel/wyona-yanel-1.0-dev-r60079-src/conf/...
>>
>> will overwrite the configuration of
>>
>> /home/michel/Downloads/yanel/wyona-yanel-1.0-dev-r60079-src/local/apache-tomcat-5.5.20/webapps/yanel/WEB-INF/classes/realms.xml
>>
>> while building Yanel.
>>>
>>> may be we must not only restart build again?
>> Please describe the steps you did one by one in order to find the root
>> of the problem.
>>
> see above
>
>
> what is not clear:
>
> when we have a project like sokolo, why we cannot see directly the
> pages, which are done we see it in admin/browse
>
> github: we will try it
>
>
>> HTH
>>
>> Michael
>>> the best we meet us...
>>>
>>>
>>> thanks
>>> chanceline / michel
>>>
>>>
>>>
>>> On Thu, Oct 6, 2011 at 12:21 PM, ngainku chanceline
>>> <chanceline.linux at gmail.com<mailto:chanceline.linux at gmail.com>>  wrote:
>>>
>>>      we will not be there tomorrow because we have a work shop at REVAMP
>>>      thanks
>>>      chanceline
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>      On Wed, Oct 5, 2011 at 12:00 PM,
>>>      <yanel-development-request at wyona.com
>>>      <mailto:yanel-development-request at wyona.com>>  wrote:
>>>
>>>          Send Yanel-development mailing list submissions to
>>>          yanel-development at wyona.com<mailto:yanel-development at wyona.com>
>>>
>>>          To subscribe or unsubscribe via the World Wide Web, visit
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>          or, via email, send a message with subject or body 'help' to
>>>          yanel-development-request at wyona.com
>>>          <mailto:yanel-development-request at wyona.com>
>>>
>>>          You can reach the person managing the list at
>>>          yanel-development-owner at wyona.com
>>>          <mailto:yanel-development-owner at wyona.com>
>>>
>>>          When replying, please edit your Subject line so it is more
>>>          specific
>>>          than "Re: Contents of Yanel-development digest..."
>>>
>>>
>>>          Today's Topics:
>>>
>>>            1. Re: Yanel-development Digest, Vol 60, Issue 1 (ngainku
>>>          chanceline)
>>>
>>>
>>>          ----------------------------------------------------------------------
>>>
>>>          Message: 1
>>>          Date: Tue, 4 Oct 2011 14:35:14 +0200
>>>          From: ngainku chanceline<chanceline.linux at gmail.com
>>>          <mailto:chanceline.linux at gmail.com>>
>>>          To: yanel-development at wyona.com
>>>          <mailto:yanel-development at wyona.com>
>>>          Subject: Re: [Yanel-dev] Yanel-development Digest, Vol 60,
>>>          Issue 1
>>>          Message-ID:
>>>          <CAM4EOPv8b=pKHWq-4OfkUmqnnq9qULVyhRN9YP77O29PFH6uQw at mail.gmail.com
>>>          <mailto:pKHWq-4OfkUmqnnq9qULVyhRN9YP77O29PFH6uQw at mail.gmail.com>>
>>>          Content-Type: text/plain; charset="iso-8859-1"
>>>
>>>          hello
>>>          we where on monday in Lugano to present our project in
>>>          kongresszentrum
>>>          Lugano
>>>          then today we were in your office . but we saw no body
>>>          tomorrow we  to collect grape
>>>
>>>          ok
>>>          bye
>>>          chanceline / michel
>>>
>>>
>>>
>>>          On Sat, Oct 1, 2011 at 12:00 PM,
>>>          <yanel-development-request at wyona.com
>>>          <mailto:yanel-development-request at wyona.com>>wrote:
>>>
>>>          >  Send Yanel-development mailing list submissions to
>>>          >  yanel-development at wyona.com
>>>          <mailto:yanel-development at wyona.com>
>>>          >
>>>          >  To subscribe or unsubscribe via the World Wide Web, visit
>>>          >
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>          >  or, via email, send a message with subject or body 'help' to
>>>          >  yanel-development-request at wyona.com
>>>          <mailto:yanel-development-request at wyona.com>
>>>          >
>>>          >  You can reach the person managing the list at
>>>          >  yanel-development-owner at wyona.com
>>>          <mailto:yanel-development-owner at wyona.com>
>>>          >
>>>          >  When replying, please edit your Subject line so it is more
>>>          specific
>>>          >  than "Re: Contents of Yanel-development digest..."
>>>          >
>>>          >
>>>          >  Today's Topics:
>>>          >
>>>          >    1. Re: Yanel with git and Eclipse: Tip for build directory
>>>          >       (Michael Wechner)
>>>          >    2. Yanel source is now hosted at Github (Michael Wechner)
>>>          >    3. Re: Yanel with git and Eclipse: Tip for build
>>>          directory (basZero)
>>>          >    4. Re: Yanel source is now hosted at Github (basZero)
>>>          >    5. showing git branch in command prompt (Michael Wechner)
>>>          >
>>>          >
>>>          >
>>>          ----------------------------------------------------------------------
>>>          >
>>>          >  Message: 1
>>>          >  Date: Fri, 30 Sep 2011 13:51:53 +0200
>>>          >  From: Michael Wechner<michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>>
>>>          >  To: yanel-development at wyona.com
>>>          <mailto:yanel-development at wyona.com>
>>>          >  Subject: Re: [Yanel-dev] Yanel with git and Eclipse: Tip
>>>          for build
>>>          >         directory
>>>          >  Message-ID:<4E85AD59.6030608 at wyona.com
>>>          <mailto:4E85AD59.6030608 at wyona.com>>
>>>          >  Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>>>          >
>>>          >  Hi Balz
>>>          >
>>>          >  Thanks for your feedback. Now I remember: it's mainly about
>>>          >
>>>          >  src/build
>>>          >
>>>          >  right?
>>>          >
>>>          >  I just improved the .gitignore slightly:
>>>          >
>>>          >
>>>          >
>>>          https://github.com/wyona/yanel/commit/1808e32978e4f9cbbeefb05df640fbeac809e713
>>>          >
>>>          >  but I will think some more about it later on
>>>          >
>>>          >  Thanks
>>>          >
>>>          >  Michael
>>>          >
>>>          >
>>>          >
>>>          >  Am 30.09.11 08:10, schrieb basZero:
>>>          >  >  Hi Michael,
>>>          >  >  maybe you didn't read my full mail. At the end I
>>>          explained what you
>>>          >  >  can put into the .gitignore file so that it works.
>>>          >  >  My explanation in the beginning was more to think about
>>>          the yanel
>>>          >  >  build, I still think it is not totally ideal to use "build"
>>>          >  >  directories as part of real sources. Maybe they should be
>>>          called
>>>          >  >  "buildsrc" or something like that.
>>>          >  >
>>>          >  >  btw: .gitignore is the same as /.git/info/exclude
>>>          >  >
>>>          >  >  Cheers
>>>          >  >  Balz
>>>          >  >
>>>          >  >  On Fri, Sep 30, 2011 at 12:22 AM, Michael Wechner
>>>          >  >  <michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>
>>>          <mailto:michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>>>  wrote:
>>>          >  >
>>>          >  >      Hi Balz
>>>          >  >
>>>          >  >      What about using a ".gitignore" file?
>>>          >  >      (http://help.github.com/ignore-files/)
>>>          >  >
>>>          >  >      Thanks
>>>          >  >
>>>          >  >      Michael
>>>          >  >
>>>          >  >      Am 06.09.11 09:35, schrieb basZero:
>>>          >  >>      Hi,
>>>          >  >>
>>>          >  >>      Since a few days, my realm's code is now in a git
>>>          repository on
>>>          >  >>  github.com<http://github.com>  <http://github.com>  .
>>>          >  >>      Yanel is still fetched from SVN of course.
>>>          >  >>      On top of this, I work with Eclipse and the target
>>>          directory for
>>>          >  >>      built class files is<realmroot>/build:
>>>          >  >>      - /build/classes
>>>          >  >>      - /build/lib
>>>          >  >>
>>>          >  >>      As you don't want to commit all classes into git, I
>>>          initially
>>>          >  >>      configured "build" into the ignore list at
>>>          >  >>      -<realmroot>/.git/info/exclude
>>>          >  >>
>>>          >  >>      But today I noticed, that also the "build" directory
>>>          inside
>>>          >  >>      resources, e.g.<root of a resource>/src/build/* ,
>>>          are NOT commited.
>>>          >  >>
>>>          >  >>      A small change solves this issue, just tell git to
>>>          ignore the
>>>          >  >>      build directory in the realm's root folder:
>>>          >  >>      So, this is now in the exclude file:
>>>          >  >>      .DS_Store
>>>          >  >>      .svn
>>>          >  >>      /build
>>>          >  >>
>>>          >  >>      Cheers
>>>          >  >>      Balz
>>>          >  >>
>>>          >  >>
>>>          >  >
>>>          >  >
>>>          >  >      --
>>>          >  >      Yanel-development mailing list
>>>          Yanel-development at wyona.com<mailto:Yanel-development at wyona.com>
>>>          >  >  <mailto:Yanel-development at wyona.com
>>>          <mailto:Yanel-development at wyona.com>>
>>>          >  >
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>          >  >
>>>          >  >
>>>          >  >
>>>          >  >
>>>          >
>>>          >  -------------- next part --------------
>>>          >  An HTML attachment was scrubbed...
>>>          >  URL:<
>>>          >
>>>          http://lists.wyona.org/pipermail/yanel-development/attachments/20110930/4dc84974/attachment-0001.html
>>>          >  >
>>>          >
>>>          >  ------------------------------
>>>          >
>>>          >  Message: 2
>>>          >  Date: Fri, 30 Sep 2011 14:03:57 +0200
>>>          >  From: Michael Wechner<michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>>
>>>          >  To: yanel-development at wyona.com
>>>          <mailto:yanel-development at wyona.com>
>>>          >  Subject: [Yanel-dev] Yanel source is now hosted at Github
>>>          >  Message-ID:<4E85B02D.2020803 at wyona.com
>>>          <mailto:4E85B02D.2020803 at wyona.com>>
>>>          >  Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>>>          >
>>>          >  Dear All
>>>          >
>>>          >  I am very happy to announce that Yanel source is now hosted
>>>          at Github
>>>          >
>>>          >  https://github.com/wyona/yanel/
>>>          >
>>>          >  There are still a couple of issues to be resolved
>>>          (.gitignore, commit
>>>          >  notifications, Jenkins/Hudson Hooks, etc.)
>>>          >  , but otherwise it seems to work very fine.
>>>          >
>>>          >  I will send later on another email to give some more
>>>          details, but for
>>>          >  those who have git not installed yet, please install it ;-)
>>>          >
>>>          >  Thanks
>>>          >
>>>          >  Michael
>>>          >
>>>          >
>>>          >  ------------------------------
>>>          >
>>>          >  Message: 3
>>>          >  Date: Fri, 30 Sep 2011 14:13:25 +0200
>>>          >  From: basZero<baszero at gmail.com<mailto:baszero at gmail.com>>
>>>          >  To: yanel-development at wyona.com
>>>          <mailto:yanel-development at wyona.com>
>>>          >  Subject: Re: [Yanel-dev] Yanel with git and Eclipse: Tip
>>>          for build
>>>          >         directory
>>>          >  Message-ID:
>>>          >
>>>          <CAOXzDSEdTcm5=NunQhvURkeJ17n-B8YX3N8stKT3uiwKM-5XTw at mail.gmail.com
>>>          <mailto:NunQhvURkeJ17n-B8YX3N8stKT3uiwKM-5XTw at mail.gmail.com>
>>>          >  >
>>>          >  Content-Type: text/plain; charset="iso-8859-1"
>>>          >
>>>          >  Hi Michael,
>>>          >  yes exactly, it was about the src/build directory.
>>>          >  cheers
>>>          >  balz
>>>          >
>>>          >  On Fri, Sep 30, 2011 at 1:51 PM, Michael Wechner
>>>          >  <michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>>wrote:
>>>          >
>>>          >  >   Hi Balz
>>>          >  >
>>>          >  >  Thanks for your feedback. Now I remember: it's mainly about
>>>          >  >
>>>          >  >  src/build
>>>          >  >
>>>          >  >  right?
>>>          >  >
>>>          >  >  I just improved the .gitignore slightly:
>>>          >  >
>>>          >  >
>>>          >  >
>>>          >
>>>          https://github.com/wyona/yanel/commit/1808e32978e4f9cbbeefb05df640fbeac809e713
>>>          >  >
>>>          >  >  but I will think some more about it later on
>>>          >  >
>>>          >  >  Thanks
>>>          >  >
>>>          >  >  Michael
>>>          >  >
>>>          >  >
>>>          >  >
>>>          >  >  Am 30.09.11 08:10, schrieb basZero:
>>>          >  >
>>>          >  >  Hi Michael,
>>>          >  >  maybe you didn't read my full mail. At the end I
>>>          explained what you can
>>>          >  put
>>>          >  >  into the .gitignore file so that it works.
>>>          >  >  My explanation in the beginning was more to think about
>>>          the yanel build,
>>>          >  I
>>>          >  >  still think it is not totally ideal to use "build"
>>>          directories as part of
>>>          >  >  real sources. Maybe they should be called "buildsrc" or
>>>          something like
>>>          >  that.
>>>          >  >
>>>          >  >   btw: .gitignore is the same as /.git/info/exclude
>>>          >  >
>>>          >  >   Cheers
>>>          >  >  Balz
>>>          >  >
>>>          >  >   On Fri, Sep 30, 2011 at 12:22 AM, Michael Wechner<
>>>          >  >  michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>>  wrote:
>>>          >  >
>>>          >  >>   Hi Balz
>>>          >  >>
>>>          >  >>  What about using a ".gitignore" file? (
>>>          >  >>  http://help.github.com/ignore-files/)
>>>          >  >>
>>>          >  >>  Thanks
>>>          >  >>
>>>          >  >>  Michael
>>>          >  >>
>>>          >  >>  Am 06.09.11 09:35, schrieb basZero:
>>>          >  >>
>>>          >  >>  Hi,
>>>          >  >>
>>>          >  >>   Since a few days, my realm's code is now in a git
>>>          repository on
>>>          >  >>  github.com<http://github.com>  .
>>>          >  >>  Yanel is still fetched from SVN of course.
>>>          >  >>  On top of this, I work with Eclipse and the target
>>>          directory for built
>>>          >  >>  class files is<realmroot>/build:
>>>          >  >>  - /build/classes
>>>          >  >>  - /build/lib
>>>          >  >>
>>>          >  >>   As you don't want to commit all classes into git, I
>>>          initially
>>>          >  configured
>>>          >  >>  "build" into the ignore list at
>>>          >  >>  -<realmroot>/.git/info/exclude
>>>          >  >>
>>>          >  >>   But today I noticed, that also the "build" directory
>>>          inside resources,
>>>          >  >>  e.g.<root of a resource>/src/build/* , are NOT commited.
>>>          >  >>
>>>          >  >>   A small change solves this issue, just tell git to
>>>          ignore the build
>>>          >  >>  directory in the realm's root folder:
>>>          >  >>  So, this is now in the exclude file:
>>>          >  >>   .DS_Store
>>>          >  >>  .svn
>>>          >  >>  /build
>>>          >  >>
>>>          >  >>   Cheers
>>>          >  >>  Balz
>>>          >  >>
>>>          >  >>
>>>          >  >>
>>>          >  >>
>>>          >  >>  --
>>>          >  >>  Yanel-development mailing list
>>>          Yanel-development at wyona.com<mailto:Yanel-development at wyona.com>
>>>          >  >>
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>          >  >>
>>>          >  >
>>>          >  >
>>>          >  >
>>>          >  >
>>>          >  >
>>>          >  >  --
>>>          >  >  Yanel-development mailing list
>>>          Yanel-development at wyona.com<mailto:Yanel-development at wyona.com>
>>>          >  >
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>          >  >
>>>          >  -------------- next part --------------
>>>          >  An HTML attachment was scrubbed...
>>>          >  URL:<
>>>          >
>>>          http://lists.wyona.org/pipermail/yanel-development/attachments/20110930/c71b332e/attachment-0001.html
>>>          >  >
>>>          >
>>>          >  ------------------------------
>>>          >
>>>          >  Message: 4
>>>          >  Date: Fri, 30 Sep 2011 14:14:28 +0200
>>>          >  From: basZero<baszero at gmail.com<mailto:baszero at gmail.com>>
>>>          >  To: yanel-development at wyona.com
>>>          <mailto:yanel-development at wyona.com>
>>>          >  Subject: Re: [Yanel-dev] Yanel source is now hosted at Github
>>>          >  Message-ID:
>>>          >
>>>          <CAOXzDSHquT5Wc4cebLks292tO019W_y5oEpodytuNjZ2KRKOGg at mail.gmail.com
>>>          <mailto:CAOXzDSHquT5Wc4cebLks292tO019W_y5oEpodytuNjZ2KRKOGg at mail.gmail.com>
>>>          >  >
>>>          >  Content-Type: text/plain; charset="iso-8859-1"
>>>          >
>>>          >  Hurrrayyy!
>>>          >  Finally... :-)
>>>          >
>>>          >  Cheers form the new office,
>>>          >  Balz.
>>>          >
>>>          >  On Fri, Sep 30, 2011 at 2:03 PM, Michael Wechner
>>>          >  <michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>>wrote:
>>>          >
>>>          >  >  Dear All
>>>          >  >
>>>          >  >  I am very happy to announce that Yanel source is now
>>>          hosted at Github
>>>          >  >
>>>          >  >  https://github.com/wyona/**yanel/
>>>          <https://github.com/wyona/yanel/>
>>>          >  >
>>>          >  >  There are still a couple of issues to be resolved
>>>          (.gitignore, commit
>>>          >  >  notifications, Jenkins/Hudson Hooks, etc.)
>>>          >  >  , but otherwise it seems to work very fine.
>>>          >  >
>>>          >  >  I will send later on another email to give some more
>>>          details, but for
>>>          >  those
>>>          >  >  who have git not installed yet, please install it ;-)
>>>          >  >
>>>          >  >  Thanks
>>>          >  >
>>>          >  >  Michael
>>>          >  >  --
>>>          >  >  Yanel-development mailing list
>>>          Yanel-development at wyona.com<mailto:Yanel-development at wyona.com>
>>>          >  >
>>>          http://lists.wyona.org/cgi-**bin/mailman/listinfo/yanel-**development<
>>>          >
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development>
>>>          >  >
>>>          >  -------------- next part --------------
>>>          >  An HTML attachment was scrubbed...
>>>          >  URL:<
>>>          >
>>>          http://lists.wyona.org/pipermail/yanel-development/attachments/20110930/c7a9e0d4/attachment-0001.html
>>>          >  >
>>>          >
>>>          >  ------------------------------
>>>          >
>>>          >  Message: 5
>>>          >  Date: Fri, 30 Sep 2011 14:28:28 +0200
>>>          >  From: Michael Wechner<michael.wechner at wyona.com
>>>          <mailto:michael.wechner at wyona.com>>
>>>          >  To: yanel-development at wyona.com
>>>          <mailto:yanel-development at wyona.com>
>>>          >  Subject: [Yanel-dev] showing git branch in command prompt
>>>          >  Message-ID:<4E85B5EC.9050102 at wyona.com
>>>          <mailto:4E85B5EC.9050102 at wyona.com>>
>>>          >  Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>>>          >
>>>          >  Hi
>>>          >
>>>          >  A friend of mine pointed out me how to show the git branch
>>>          in the
>>>          >  command prompt:
>>>          >
>>>          >  https://duckduckgo.com/?q=show+git+branch+command+prompt
>>>          >
>>>          >  whereas I am currently doing it as follows on a Mac. Add
>>>          the following
>>>          >  lines to /Users/MY_NAME/.profile
>>>          >
>>>          >  function parse_git_branch () {
>>>          >         git branch 2>  /dev/null | sed -e '/^[^*]/d' -e 's/*
>>>          \(.*\)/ (\1)/'
>>>          >  }
>>>          >
>>>          >  RED="\[\033[0;31m\]"
>>>          >  YELLOW="\[\033[0;33m\]"
>>>          >  GREEN="\[\033[0;32m\]"
>>>          >  NO_COLOUR="\[\033[0m\]"
>>>          >
>>>          >
>>>          PS1="$GREEN\u at macbook$NO_COLOUR:\w$YELLOW\$(parse_git_branch)$NO_COLOUR\$
>>>          >  "
>>>          >
>>>          >  and start a new terminal window and then you should see
>>>          something like:
>>>          >
>>>          >  michaelwechner at macbook:~/src/yanel (master)$
>>>          >
>>>          >  which is more convenient than typing "git branch" ;-)
>>>          >
>>>          >  HTH
>>>          >
>>>          >  Michael
>>>          >
>>>          >
>>>          >
>>>          >  ------------------------------
>>>          >
>>>          >  _______________________________________________
>>>          >  Yanel-development mailing list
>>>          >  Yanel-development at wyona.com
>>>          <mailto:Yanel-development at wyona.com>
>>>          >
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>          >
>>>          >
>>>          >  End of Yanel-development Digest, Vol 60, Issue 1
>>>          >  ************************************************
>>>          >
>>>          -------------- next part --------------
>>>          An HTML attachment was scrubbed...
>>>          URL:
>>>          <http://lists.wyona.org/pipermail/yanel-development/attachments/20111004/b46ea85a/attachment-0001.html>
>>>
>>>          ------------------------------
>>>
>>>          _______________________________________________
>>>          Yanel-development mailing list
>>>          Yanel-development at wyona.com<mailto:Yanel-development at wyona.com>
>>>          http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>
>>>
>>>          End of Yanel-development Digest, Vol 60, Issue 2
>>>          ************************************************
>>>
>>>
>>>
>>>
>>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:<http://lists.wyona.org/pipermail/yanel-development/attachments/20111013/acdfdf3e/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>
> End of Yanel-development Digest, Vol 60, Issue 11
> *************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20111013/2a5e2250/attachment-0001.html>


More information about the Yanel-development mailing list