Fixed diff width
Hi, I have searched the group's archives and haven't really found and answer to my question. In the diff viewer I am getting quite wide diffs for some files. The diff in question does not contain any text that is not breakable (e.g. we are using spaces to separate words, no long strings such as '-'*120, etc.). Is there a way to make sure the diff stays on the 100% of the screen width? We do not have a strict 80 characters margin policy, so forcing this is not a solution for me. I wonder what is causing this? Can I force the text to be broken to fit the screen? Thanks, Bartek -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Installing ReviewBoard on latest Ubuntu
I thought I'll share my way of installing RB on Ubuntu. What I normally do when installing django projects is install everything via virtualenv script. On Ubuntu you can apt-get install python-pip and python-virtualenv, then: # Create Python virtual environments directory mkdir -p /srv/pve # Specific project dir mkdir /srv/pve/project-name # Create python virtual env, do not inherit any site-packages (clean python) virtualenv --no-site-packages --distribute /srv/pve/project-name # You can source the /srv/pve/project-name/bin/activate file to switch to your virtualenv: source /srv/pve/project-name/bin/activate # now you are free to install whatever python packages (and versions) you like # install RB pip install ReviewBoard # NOTE: pip supports installing things from the repositories. You can use the pip freeze option to save the installed packages' versions. (source and more info for the required modifications to the server setup: http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/) I like the way this keeps my setup independent from the distribution's site-packages. HTH Regards, Bartek PS. Not sure if it has been fixed but PIL package did not compiled correctly in Ubunut 11.04 (the lib locations were not as it expected). I had to grab it manually and fix the lib's location in the setup.py. On Dec 14, 4:54 am, mmn...@gmail.com mmn...@gmail.com wrote: Finally! Went to the Django site, manually downloaded 1.3.1 and installed manually in the normal way. Then I have atleast progressed forward. Thanks for your pointers. MMN On Dec 14, 8:23 am, Christian Hammond chip...@chipx86.com wrote: The choice of pip vs. easy_install doesn't actually matter here. Personally, I use easy_install. You're hitting some very strange issues that are not at all common on a system. I'm a bit stuck as to where you are in this. What exactly is failing? What version of Ubuntu is this? Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Dec 13, 2011 at 7:03 PM, mmn...@gmail.com mmn...@gmail.com wrote: I might have hit on the issue. I think pip is expected to be the replacement for easy_install? I used pip to first remove ReviewBoard and then tried to reinstall in verbose mode. From this it looks like there is a timeout, but on easy_install even with verbose option nothing is getting printed as error. Other than this I cannot think of any reason why Django is not found. mmn@mmn-hp-workstation-xw4100://$ sudo pip -v install ReviewBoard Downloading/unpacking ReviewBoard Running setup.py egg_info for package ReviewBoard running egg_info writing requirements to pip-egg-info/ReviewBoard.egg-info/ requires.txt writing pip-egg-info/ReviewBoard.egg-info/PKG-INFO writing top-level names to pip-egg-info/ReviewBoard.egg-info/ top_level.txt writing dependency_links to pip-egg-info/ReviewBoard.egg-info/ dependency_links.txt writing entry points to pip-egg-info/ReviewBoard.egg-info/ entry_points.txt warning: manifest_maker: standard file '-c' not found reading manifest file 'pip-egg-info/ReviewBoard.egg-info/ SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'locale' no previously-included directories found matching 'docs/*/_build' no previously-included directories found matching 'reviewboard/ htdocs/media/uploaded/images' writing manifest file 'pip-egg-info/ReviewBoard.egg-info/ SOURCES.txt' Downloading/unpacking Django=1.3.1 (from ReviewBoard) Ignoring link http://pypi.python.org/packages/source/D/Django/Django-1.2.1.tar.gz#m... (fromhttp://pypi.python.org/simple/Django/), version 1.2.1 doesn't match =1.3.1 Ignoring link http://pypi.python.org/packages/source/D/Django/Django-1.2.7.tar.gz#m... (fromhttp://pypi.python.org/simple/Django/), version 1.2.7 doesn't match =1.3.1 Ignoring link http://pypi.python.org/packages/source/D/Django/Django-1.2.5.tar.gz#m... (fromhttp://pypi.python.org/simple/Django/), version 1.2.5 doesn't match =1.3.1 Ignoring link http://pypi.python.org/packages/source/D/Django/Django-1.2.6.tar.gz#m... (fromhttp://pypi.python.org/simple/Django/), version 1.2.6 doesn't match =1.3.1 Ignoring link http://pypi.python.org/packages/source/D/Django/Django-1.2.4.tar.gz#m... (fromhttp://pypi.python.org/simple/Django/), version 1.2.4 doesn't match =1.3.1 Ignoring link http://pypi.python.org/packages/source/D/Django/Django-1.2.tar.gz#md5... (fromhttp://pypi.python.org/simple/Django/), version 1.2 doesn't match =1.3.1 Ignoring link http://pypi.python.org/packages/source/D/Django/Django-1.1.3.tar.gz#m... (fromhttp://pypi.python.org/simple/Django/), version 1.1.3 doesn't match =1.3.1 Ignoring link
Re: Fixed diff width
Are you using IE? If so, you're a bit out of luck. The problem should largely go away with Firefox/Chrome, though depending on content it's still possible to hit. It's up to the browser to decide when to wrap. We already provide hints telling it to be liberal with its wrapping. Christian On Dec 16, 2011, at 6:38, Bart Celary bartlomiej.cel...@gmail.com wrote: Hi, I have searched the group's archives and haven't really found and answer to my question. In the diff viewer I am getting quite wide diffs for some files. The diff in question does not contain any text that is not breakable (e.g. we are using spaces to separate words, no long strings such as '-'*120, etc.). Is there a way to make sure the diff stays on the 100% of the screen width? We do not have a strict 80 characters margin policy, so forcing this is not a solution for me. I wonder what is causing this? Can I force the text to be broken to fit the screen? Thanks, Bartek -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Fixed diff width
Tried already on Chromium and Firefox under latest Ubuntu as well as Chrome/Firefox on Windows... Most files show well but some produce a diff table to be 2000px wide. Are there any views that in the future (css3?) this could work as expected in all the cases? Bartek On 16 Gru, 18:44, Christian Hammond chip...@gmail.com wrote: Are you using IE? If so, you're a bit out of luck. The problem should largely go away with Firefox/Chrome, though depending on content it's still possible to hit. It's up to the browser to decide when to wrap. We already provide hints telling it to be liberal with its wrapping. Christian On Dec 16, 2011, at 6:38, Bart Celary bartlomiej.cel...@gmail.com wrote: Hi, I have searched the group's archives and haven't really found and answer to my question. In the diff viewer I am getting quite wide diffs for some files. The diff in question does not contain any text that is not breakable (e.g. we are using spaces to separate words, no long strings such as '-'*120, etc.). Is there a way to make sure the diff stays on the 100% of the screen width? We do not have a strict 80 characters margin policy, so forcing this is not a solution for me. I wonder what is causing this? Can I force the text to be broken to fit the screen? Thanks, Bartek -- Want to help the Review Board project? Donate today athttp://www.reviewboard.org/donate/ Happy user? Let us know athttp://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Fixed diff width
What's the offending line? Christian On Dec 16, 2011, at 13:59, Bart Celary bartlomiej.cel...@gmail.com wrote: Tried already on Chromium and Firefox under latest Ubuntu as well as Chrome/Firefox on Windows... Most files show well but some produce a diff table to be 2000px wide. Are there any views that in the future (css3?) this could work as expected in all the cases? Bartek On 16 Gru, 18:44, Christian Hammond chip...@gmail.com wrote: Are you using IE? If so, you're a bit out of luck. The problem should largely go away with Firefox/Chrome, though depending on content it's still possible to hit. It's up to the browser to decide when to wrap. We already provide hints telling it to be liberal with its wrapping. Christian On Dec 16, 2011, at 6:38, Bart Celary bartlomiej.cel...@gmail.com wrote: Hi, I have searched the group's archives and haven't really found and answer to my question. In the diff viewer I am getting quite wide diffs for some files. The diff in question does not contain any text that is not breakable (e.g. we are using spaces to separate words, no long strings such as '-'*120, etc.). Is there a way to make sure the diff stays on the 100% of the screen width? We do not have a strict 80 characters margin policy, so forcing this is not a solution for me. I wonder what is causing this? Can I force the text to be broken to fit the screen? Thanks, Bartek -- Want to help the Review Board project? Donate today athttp://www.reviewboard.org/donate/ Happy user? Let us know athttp://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en