hello jan, I would like to ask you again about wsgi configuration.
i have changed following: SITE_ROOT = '/' FORCE_SCRIPT_NAME = '/reviewboard' it makes reviewboard partly working, but sometimes it loses reviewboard directory in redirection. Of course because it is missing in site_root. but if i leave force_script_name empty and fill reviewboard in site_root, there is not working redirection at all, because the only pattern is ^reviewboard/, but i think site_root is removed from patern recognition (it is missing in request url). do you know any working solution for this? many thanks, marcel 2011/7/8 Jan Koprowski <jan.koprow...@gmail.com>: > * "for clearcase and You should contact with Your IT department to ask > about details." > > sorry :) > > On Fri, Jul 8, 2011 at 5:52 PM, Jan Koprowski <jan.koprow...@gmail.com> wrote: >> Marcel, >> >> I do not have any idea how it is possible. In my configuration >> cleartool does not ask about files because dynamic view provide all >> files, branches, labels "just like that". My knwoledge about clearcase >> told me this is very strange behaviour for clearcase and You. I >> suspect this can be some configuration/administration detail but I am >> not aware this far in clearcase so I can not help You. Maybe IT guys >> will be able to help You. >> It looks like (which is strange) view You are using does not have >> knowledge about all files and try to fetch missing files but as far as >> i know dynamic views always know everything :| so it is strange and >> defienitly different then behaviour I see in my dynamic view. >> >> Sorry but I can not help You in this case. >> >> Greetings! >> >> Jan >> >> 2011/7/8 Marcel Skalický <marcel.skali...@gmail.com>: >>> jan, >>> >>> it was in dynamic view. i suppose it is used for copy version of file >>> for doing diff. >>> >>> i have tried --tracking because my goal is to get all changes made on >>> one branch. if it is possible to do this without checkout, because >>> some changes are done on another site and such checkouts will >>> complicate process. >>> >>> do you have any advice for me how to get there? >>> >>> thanks >>> marcel >>> >>> >>> 2011/7/8 Jan Koprowski <jan.koprow...@gmail.com>: >>>> Marcel, >>>> >>>> Fantastic :) I'm so glad it works. >>>> >>>> I'm confused. Where do You use --tracking. In dynamic or in snapshot view? >>>> >>>> >>>> 2011/7/8 Marcel Skalický <marcel.skali...@gmail.com>: >>>>> Hello Jan, >>>>> >>>>> good news! with wsgi we made it work. i can now upload diff for >>>>> checkouted file! many thanks for your great help. >>>>> >>>>> now i need to get back to my --tracking option question. i got error >>>>> for cleartool get. i am pretty sure it is because it is trying to get >>>>> copy of directory, but cleartool get is working only for files. >>>>> >>>>> regards >>>>> marcel >>>>> >>>>> 2011/7/7 Jan Koprowski <jan.koprow...@gmail.com>: >>>>>> marcel, >>>>>> >>>>>> 2011/7/7 Marcel Skalický <marcel.skali...@gmail.com>: >>>>>>> jan, >>>>>>> >>>>>>> i am not sure what do you mean with "context of one group". does this >>>>>>> mean apache must have proper group as its primary? >>>>>> >>>>>> It is quite complicated. It is not must be primary group but process >>>>>> in unix system can be deprived of some groups which could be possible >>>>>> in theory because this user is member of this group but they are not >>>>>> part of process working in operating system. >>>>>> >>>>>> I will suggest You to set this by "supplemetary-groups" option in >>>>>> mod_wsgi and leave primary group in peace but this option was not >>>>>> release yet and will be released with mod_wsgi 4.0. >>>>>> >>>>>> There is hope changing primary group for mod_wsgi application helps. >>>>>> >>>>>>> i have found in reviewboard server logs it can see size of diff. >>>>>> >>>>>> I do not have idea what does it mean. Is this diff very big? You can >>>>>> try do something very simple and send something small using >>>>>> >>>>>> post-review >>>>>> --revision-range="vobs/vob/file.c@@/main/5;vobs/vob/file.c@@/main/6" >>>>>> and check it works or not. >>>>>> >>>>>>> i think there is standard cgi used. i will focus on this tomorrow. it >>>>>>> seems like loaded friday... >>>>>> >>>>>> Standard CGI should have option to change group too but by default >>>>>> this group is inherited from Apache process as far as i know. >>>>>> >>>>>> Good luck! >>>>>> -- >>>>>> Jan >>>>>> >>>>>>> -- marcel >>>>>>> >>>>>>> 2011/7/7 Jan Koprowski <jan.koprow...@gmail.com>: >>>>>>>> marcel, >>>>>>>> >>>>>>>> It is good news: path is good, and www-user can read it but Apache >>>>>>>> or Python can't. >>>>>>>> As far as I know Apache server process run only in context of one >>>>>>>> group - not more. >>>>>>>> >>>>>>>> Did You restart Apache server after You add appropriate groups to >>>>>>>> www-user? I am only checking :) >>>>>>>> >>>>>>>> I hope You are using mod_wsgi because it looks like this can be the >>>>>>>> only way to run clearcase properly. >>>>>>>> There is >>>>>>>> http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess >>>>>>>> property which allow you to choose different user and different group >>>>>>>> for python application run by mod_wsgi. Try to set appropriate group >>>>>>>> setting this inside your Review Board VirtualHost. I hope this help. >>>>>>>> >>>>>>>> Run post-review with --debug option and put whole output - without >>>>>>>> this further help can be very hard. >>>>>>>> >>>>>>>> P.S. Weather is not bad right now but last days it raining all the >>>>>>>> time. >>>>>>>> >>>>>>>> Greetings from Poland! >>>>>>>> -- >>>>>>>> Jan >>>>>>>> >>>>>>>> 2011/7/7 Marcel Skalický <marcel.skali...@gmail.com>: >>>>>>>>> hello jan, >>>>>>>>> >>>>>>>>> i am now off (is there so bloody hot weather in poland too?), but i am >>>>>>>>> pretty sure, i already tested all these things except double cat. >>>>>>>>> >>>>>>>>> apache is added into proper group, cat on long clearcase-like path to >>>>>>>>> file >>>>>>>>> works. >>>>>>>>> >>>>>>>>> now i have an idea, kries did checkout for test.txt file and i think >>>>>>>>> he has >>>>>>>>> another primary group... but if cat works... i need to check this >>>>>>>>> tomorrow. >>>>>>>>> >>>>>>>>> many thanks for now, >>>>>>>>> marcelmarcel >>>>>>>>> >>>>>>>>> Dne 7.7.2011 18:35 "Jan Koprowski" <jan.koprow...@gmail.com> >>>>>>>>> napsal(a): >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>>><> Jan Koprowski >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>>><> Jan Koprowski >>>>>> >>>>>> -- >>>>>> 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 >>>> >>>> >>>> >>>> -- >>>>><> Jan Koprowski >>>> >>>> -- >>>> 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 >> >> >> >> -- >>><> Jan Koprowski >> > > > > -- >><> Jan Koprowski > > -- > 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