[git-users] Git Pro: PDF versions in English and other languages
Hello! On the Git documentation page only the English version can be of Pro Git can be downloaded as PDF. I'd like to read it in German. Herehttp://blog.nevalon.de/en/woher-bekomme-ich-das-pro-git-buch-als-pdf-where-can-i-get-pro-git-book-as-pdf-20100208is an approach described, how can be done: # git clone git://github.com/progit/progit.git # apt-get install ruby pandoc texlive-xetex texlive-latex-recommended # cd progit # ruby latex/makepdf de Error: # ruby latex/makepdf en en: Parsing markdown... done Creating main.tex for en... done Running XeTeX: Pass 1... failed with: ! I can't find file `Helvetica'. Consider running this again with --debug. I've already tired some other fonts out over the config file latex/config.yml (Arial, Verdana, Ubuntu...), but it cannot find these fonts. It would be great, if someone could help me to make it work! Thanks! Ilya --
Re: [git-users] Git Pro: PDF versions in English and other languages
On 28 January 2013 16:08, automatix khanat...@gmail.com wrote: Hello! [...] I've already tired some other fonts out over the config file latex/config.yml (Arial, Verdana, Ubuntu...), but it cannot find these fonts. It worked for me when I changed to Verdana. Try deleting this directory latex/de and run makepdfs de again. If you still have problems, just send me a private email and I will can email the german version to you. Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
Thank you for response! No, it doesn't work: # ruby makepdf de de: Parsing markdown... done Creating main.tex for de... done Running XeTeX: Pass 1... failed with: ! I can't find file `Verdana'. Consider running this again with --debug. Am Montag, 28. Januar 2013 18:05:46 UTC+1 schrieb Martin Møller Skarbiniks Pedersen: On 28 January 2013 16:08, automatix khan...@gmail.com javascript: wrote: Hello! [...] I've already tired some other fonts out over the config file latex/config.yml (Arial, Verdana, Ubuntu...), but it cannot find these fonts. It worked for me when I changed to Verdana. Try deleting this directory latex/de and run makepdfs de again. If you still have problems, just send me a private email and I will can email the german version to you. Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
What is the folder, you start the makepdf script from? Am Montag, 28. Januar 2013 18:05:46 UTC+1 schrieb Martin Møller Skarbiniks Pedersen: On 28 January 2013 16:08, automatix khan...@gmail.com javascript: wrote: Hello! [...] I've already tired some other fonts out over the config file latex/config.yml (Arial, Verdana, Ubuntu...), but it cannot find these fonts. It worked for me when I changed to Verdana. Try deleting this directory latex/de and run makepdfs de again. If you still have problems, just send me a private email and I will can email the german version to you. Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] What is the best way to use GIT for versioning Java Website
From: gaug...@gmail.com 1) Each developer having his own contetnts in a separate directory is not able to test the code before pushing it to the bare repo which would update the Work Directory- Coz of these steps even for say one jsp file change I end up doing 20 commits until it starts working properly without bugs since we have tomcat pointing to only the original work directory. It seems to me that the problem isn't the Git workflow itself, but that you have no way of testing a Dev version of the Website without installing the change into the live Website. (Or perhaps I am misunderstanding your situation.) Since you clearly don't want to install the change into the live Website before you have tested it, you need some sort of testing facility. Dale -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
On 28 January 2013 20:04, automatix khanat...@gmail.com wrote: Thank you for response! No, it doesn't work: # ruby makepdf de de: Parsing markdown... done Creating main.tex for de... done Running XeTeX: Pass 1... failed with: ! I can't find file `Verdana'. OK. You don't have Verdana on your system. Can you install it ? Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
On 28 January 2013 20:11, automatix khanat...@gmail.com wrote: What is the folder, you start the makepdf script from? Can you please reply under the question ? Then it is much easier to read and follow. http://en.wikipedia.org/wiki/Posting_style#Bottom-posting I run the makepdfs from the same directory as it is placed. ./makepdfs de However it seems there is a problem currently with the german edition. $ ./makepdfs de Will generate pdf for the following languages: de The generation process will start now. de: Parsing markdown... done Creating main.tex for de... done Running XeTeX: Pass 1... failed with: ! Unable to load picture or PDF file 'figures/7.4.png'. Consider running this again with --debug. Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: What is the best way to use GIT for versioning Java Website
In addition to what Dale said, I have some basic questions. Do the developers have a unique UNIX UID which is tracked as the owner of the files in the JEE subdirectory? If so, then perhaps the simpliest thing to do is to stop using a git add ., but instead do something like: git add $(find . -uid $(id -u) -type f | egrep -v '^\.\.git/') You could simplify the above by enclosing it in a shell script. What it does is scan the directory looking for file (-type f) belonging to the executing user ( -user $(id -u) ). It puts all those files into the add. Which is overkill, but doesn't cause any problems. Doing this means that the git add is only done on files owned by the executing user. Then do the git commit as you currently do. === Note that I agree with Dale that this is not goodness. But it does directly address the question asked. What you might do is more like what you indicated you wanted. Make a bare repo which is your production repo. Have each developer do a git clone from it. Now, instead of doing their thing in the master branch, have each do something like: git clone url-to-production-bare-repo git checkout -b my-name #Replace my-name with the user's real name or logon id maybe # develop in the my-name branch. # # Now I want to commit! git fetch #get any updates in the bare repo. git checkout master #switch to the master branch git merge my-name #merge in my changes into master git branch -d my-name #wipe out my-name branch #git tag some-unique-name #may want to do this so you know where you're at git push #push updated master up to the bare repo git branch -b my-name #and reinstate my-name branch We don't use Tomcat, but we have a test / quality assurance / production level of testing. At this point, someone, perhaps the developer, would go into the test subdirectory and do a git pull to merge in your just pushed changes. I don't know your environment, but you might even want to do a git tag before you do the git push. Once things are checked out in test, then you could do a git pull or git pull some-unique-name to move your changes to QA. This allows someone to git push into test and you can still only merge in your changes to QA. Repeat for production from QA. You could have 3 Tomcat instances running on the same box simply by using different ports for each. You could even allow each developer to have a Tomcat instance on their desktop (Linux or Windows) by pointing that Tomcat instance to their individual developer subdirectory (whether local to the desktop or NFS/Samba mounted from the Linux server). I can't think of any reason not to have a Tomcat for each developer for their own testing. I would hope you don't upgrade Tomcat often. And they could even run using the same Tomcat run-time directory so they don't need to maintain their own Tomcat executables. Just some weird thoughts on how I would approach the problem. Not necessarily the best, but I think workable. On Sunday, January 27, 2013 2:18:18 AM UTC-6, gau...@gmail.com wrote: I have a git repo installed in my unix for version tracking our JEE website. I have currently run into issues not in the usage of git but the way in which I am suppose to use it which is explained below. I work in a team of 3 developers which contribute to the website development. Initially when I installed Git in our server I directly created a repo of our webapps directory which contains the actual work files and ran into the foll problems. 1)While committing the changes into the repo one of us would genrally do a git add . and commit it to the repository which would commit not only the files the commiter changed but would also commit the changes of other developers. When we faced this issue we decided that we needed to create separate non-bare repos for each one of us in the same server in different directories which would house the entire code.The basic work stucture we are following is hown below: https://lh4.googleusercontent.com/-qKXGpVl_8Uc/UQTiLE0LvgI/AAY/Q-H-TU0WtKA/s1600/git_arch.png As shown above in the image we have created a bare repo which would have the website contents pushed by the webapps which in the image is the Work Directory. The basic workflow here is: 1) Create n number of non-bare repos for each and every developer. 2) Get the entire website work files from pulling from that bare repo 3) After making changes to our own repo push to the bare repo 4) The bare repo being configured with a post-receive hook would actually update the Work Directory. This setup is working fine but we are facing a lot of issues as shown below: 1) Each developer having his own contetnts in a separate directory is not able to test the code before pushing it to the bare repo which would update the Work Directory- Coz of these steps even for say one jsp file change I end up doing 20 commits until it starts working properly without bugs
[git-users] Re: What is the best way to use GIT for versioning Java Website
Slight goof in the previous message. Said: # Now I want to commit! git fetch #get any updates in the bare repo. git checkout master #switch to the master branch git merge my-name #merge in my changes into master Meant: # Now I want to commit! git checkout master #switch to master branch git pull #get any updates in the bare repo. git merge my-name #merge in my changes into master Needed to checkout/pull, not fetch/checkout. I shouldn't do thing off the top of my head. It no longer has much hair to slow things down, just slips off without hinderance. grin/ -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Re: What is the best way to use GIT for versioning Java Website
From: John McKown john.archie.mck...@gmail.com You could have 3 Tomcat instances running on the same box simply by using different ports for each. You could even allow each developer to have a Tomcat instance on their desktop (Linux or Windows) by pointing that Tomcat instance to their individual developer subdirectory (whether local to the desktop or NFS/Samba mounted from the Linux server). You may want to configure the company's router to the outside world to prevent outside access to the Tomcat ports that are used for testing. That ensures that no outsider can see the test versions of the system. Dale -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
On 28 January 2013 22:59, Martin Møller Skarbiniks Pedersen traxpla...@gmail.com wrote: However it seems there is a problem currently with the german edition. $ ./makepdfs de Will generate pdf for the following languages: de [...] Pass 1... failed with: ! Unable to load picture or PDF file 'figures/7.4.png'. Issue reported: https://github.com/progit/progit/issues/360 Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
I installed Arial and Courier New from my Windows PCto my Ubuntu server and after I've cleared the font cache (# fc-cache -v) the issue doen't occure anymore. But now I'm getting another error: ~/progit/latex# ruby makepdf de de: Parsing markdown... done Creating main.tex for de... done Running XeTeX: Pass 1... failed with: ! Extra }, or forgotten $. Consider running this again with --debug. The same result for ru, es etc... Am Montag, 28. Januar 2013 22:52:53 UTC+1 schrieb Martin Møller Skarbiniks Pedersen: On 28 January 2013 20:04, automatix khan...@gmail.com javascript: wrote: Thank you for response! No, it doesn't work: # ruby makepdf de de: Parsing markdown... done Creating main.tex for de... done Running XeTeX: Pass 1... failed with: ! I can't find file `Verdana'. OK. You don't have Verdana on your system. Can you install it ? Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
Not for me. I find bottomposting not so good readable. IMHO the main information should be placed directly on the top. The replied message just supplies additional information. Am Montag, 28. Januar 2013 22:59:25 UTC+1 schrieb Martin Møller Skarbiniks Pedersen: On 28 January 2013 20:11, automatix khan...@gmail.com javascript: wrote: What is the folder, you start the makepdf script from? Can you please reply under the question ? Then it is much easier to read and follow. http://en.wikipedia.org/wiki/Posting_style#Bottom-posting I run the makepdfs from the same directory as it is placed. ./makepdfs de However it seems there is a problem currently with the german edition. $ ./makepdfs de Will generate pdf for the following languages: de The generation process will start now. de: Parsing markdown... done Creating main.tex for de... done Running XeTeX: Pass 1... failed with: ! Unable to load picture or PDF file 'figures/7.4.png'. Consider running this again with --debug. Regards Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
On 29 January 2013 00:48, automatix khanat...@gmail.com wrote: I installed Arial and Courier New from my Windows PCto my Ubuntu server and after I've cleared the font cache (# fc-cache -v) the issue doen't occure anymore. But now I'm getting another error: ~/progit/latex# ruby makepdf de Please not toppost. Write under instead then it is much easier to read and understand the thread. Did you remember to delete the latex/de directory first ? And why are you not using the makepdfs script ? $ rm -rf latex/de/ $ ./makepdfs de /Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
On 29 January 2013 00:54, automatix khanat...@gmail.com wrote: Not for me. I find bottomposting not so good readable. IMHO the main information should be placed directly on the top. The replied message just supplies additional information. OK. Then I will not continue to reply to your emails. /Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
Yes, I delete the generated folders every time. I've just tried makepdfs out. The same error. Am Dienstag, 29. Januar 2013 00:55:07 UTC+1 schrieb Martin Møller Skarbiniks Pedersen: On 29 January 2013 00:48, automatix khan...@gmail.com javascript: wrote: I installed Arial and Courier New from my Windows PCto my Ubuntu server and after I've cleared the font cache (# fc-cache -v) the issue doen't occure anymore. But now I'm getting another error: ~/progit/latex# ruby makepdf de Please not toppost. Write under instead then it is much easier to read and understand the thread. Did you remember to delete the latex/de directory first ? And why are you not using the makepdfs script ? $ rm -rf latex/de/ $ ./makepdfs de /Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Git Pro: PDF versions in English and other languages
I find it silly (hope, it the right english word, and not abusive). But it's your free decision. I wish you all the best! Am Dienstag, 29. Januar 2013 00:58:10 UTC+1 schrieb Martin Møller Skarbiniks Pedersen: On 29 January 2013 00:54, automatix khan...@gmail.com javascript: wrote: Not for me. I find bottomposting not so good readable. IMHO the main information should be placed directly on the top. The replied message just supplies additional information. OK. Then I will not continue to reply to your emails. /Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Why do git log and git diff show different things on same two SHA's?
I would think that when I run a git diff on two specific SHA's it would have the same output as a git log with the same two SHA's when run with the --name-status. How did the file get changed if it wasn't done as part of the commit and that should show in the log! git diff b504ef5 29aa66f8 --name-status M src/DbLibrary/BatchTable.cpp M src/DbSchema/pkg/data_extracts.pkb M src/DbSchema/schema/raise_mr_db.sql [/home/luke/rridpath/work/git/RAISEInvestigate/src/DbLibrary] git log b504ef5..29aa66f8 --name-status commit 29aa66f83dfdcfc80670a6e125456b5db6a2c59a Author: Removed For Security Date: Thu Jan 24 19:58:39 2013 -0700 Remove Unique Key of Sending_sid, Receiveing_sid of BATCH_SEQUENCE table; Fix threshold level on DUSGE refactoring M src/DbSchema/pkg/data_extracts.pkb M src/DbSchema/schema/raise_mr_db.sql -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: Why do git log and git diff show different things on same two SHA's?
The diff of these SHA's shows a real difference on the BatchTable.cpp file: git diff b504ef5 29aa66f8 diff --git a/src/DbLibrary/BatchTable.cpp b/src/DbLibrary/BatchTable.cpp index dc59973..ab328ed 100755 --- a/src/DbLibrary/BatchTable.cpp +++ b/src/DbLibrary/BatchTable.cpp @@ -233,8 +233,6 @@ int BatchTable::populateColumns(BatchEntry targetEntry) getNullOrValue(targetEntry.getOriginalTotalChargesAndTaxesInTrailerAsDBF , BATCH_CONTENTS = getNullOrValue(targetEntry.getBatchContentsAsDB , IS_RHUB = q'[ targetEntry.getIsRoamingHub() ]' - , RAW_HEADER = q'[ targetEntry.getRawHeader().getBufferAsString() - , RAW_TRAILER = q'[ targetEntry.getRawTrailer().getBufferAsString() , MODIFIED_BY = q'[ targetEntry.getModifiedBy().getBufferAsString() , MODIFICATION_NOTES = q'[ targetEntry.getModificationNotes().getBu On Monday, January 28, 2013 11:46:06 PM UTC-7, rrid...@transydian.com wrote: I would think that when I run a git diff on two specific SHA's it would have the same output as a git log with the same two SHA's when run with the --name-status. How did the file get changed if it wasn't done as part of the commit and that should show in the log! git diff b504ef5 29aa66f8 --name-status M src/DbLibrary/BatchTable.cpp M src/DbSchema/pkg/data_extracts.pkb M src/DbSchema/schema/raise_mr_db.sql [/home/luke/rridpath/work/git/RAISEInvestigate/src/DbLibrary] git log b504ef5..29aa66f8 --name-status commit 29aa66f83dfdcfc80670a6e125456b5db6a2c59a Author: Removed For Security Date: Thu Jan 24 19:58:39 2013 -0700 Remove Unique Key of Sending_sid, Receiveing_sid of BATCH_SEQUENCE table; Fix threshold level on DUSGE refactoring M src/DbSchema/pkg/data_extracts.pkb M src/DbSchema/schema/raise_mr_db.sql -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] How to contribute to documentation translation?
If you are interested in translating the error messages (portable objects - po, pot - 'po' templates) then here's a note form the Localization maintainer Dear l10n team members, New git.pot is generated from v1.8.1-476-gec3ae6e in the master branch. l10n: Update git.pot (11 new, 7 removed messages) Generate po/git.pot from v1.8.1-476-gec3ae6e, and there are 11 new and 7 removed messages. Signed-off-by: Jiang Xin worldhello@gmail.com This update is for the l10n of upcoming git 1.8.2. You can get it from the usual place: https://github.com/git-l10n/git-po/ -- Jiang Xin -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html - Philip - Original Message - From: Philip Oakley To: Tamer Shlash ; git-users@googlegroups.com Sent: Saturday, January 26, 2013 3:48 PM Subject: Re: [git-users] How to contribute to documentation translation? It liiks like it needs a link here - https://github.com/progit/progit/tree/master/ar for the book's source file (rather than the code that creates the web pages) - Original Message - From: Philip Oakley To: Tamer Shlash ; git-users@googlegroups.com Sent: Saturday, January 26, 2013 11:55 AM Subject: Re: [git-users] How to contribute to documentation translation? Tamer, If you look bottom left of the page you linked it indicates it is hosted on Gitbub at https://github.com/github/gitscm-next Browse through it to locate the Arabic version and do the Git thing [fork - update - push - Pull request].. If you are thinking of significant improvements, do contact Scott Chacon, or the GitHub contact page. Philip - Original Message - From: Tamer Shlash To: git-users@googlegroups.com Sent: Saturday, January 26, 2013 8:10 AM Subject: [git-users] How to contribute to documentation translation? Greetings, I've seen that there is an incomplete Arabic translation for the book docs here. My question is that if I wanted to contribute that translation, where do I get the source and commit to it? Thanks in advance :) -- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.2890 / Virus Database: 2639/6056 - Release Date: 01/25/13 No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.2890 / Virus Database: 2639/6056 - Release Date: 01/25/13 -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.