Reviewboard 2.0.20: Clearcase Repository

2015-11-11 Thread Robert Bolen
Hello,

1) When using the repository clearcase with the path 
/view/testReviewBoardView in the Admin Dashboard for some reason Review 
Board is cutting off the forward slash for my filepath when uploading a 
diff file and trying to view the diff.

The error I received is below and the forward slash in front of vobs is 
missing
Error: The file 
'vobs/modules/stb_lightning/.@@/main/inv_stb_lightning_rel_100/2/source/main/inv_stb_lightning_rel_100/1'
 
could not be found in the repository

A solution I found that would fix this issue is adding a forward slash at 
the end of the repository path /view/testReviewBoardView/, and this 
resolved the error and allowed me to view the diff.

This caused another issue when try to view a diff where a findmerge, a 
specifc feature of clearcase, is needed.

2) When attempting to view a diff file I receive an error in the apache log 
file: 

Error: DeprecationWarning: SCMTool.file_exists() must take keyword 
arguments, signature for ClearCase is deprecated

Checking if file 
/view/testReviewBoardView//vobs/modules/stb_lightning/.@@/main/inv_stb_lightning_rel_100/2
 
exists 

This appears to be caused by there being a double slash in the file path 
(highlighted).

Attached is the diff file that I was using to test.

Thanks in advance,

Robert

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
findmerge indicator: /vobs/modules/stb_lightning/.@@/main/inv_stb_lightning_rel_100/2/source/main/inv_stb_lightning_rel_100/17/g_hopper/main/inv_stb_lightning_rel_100/1/source/main/inv_stb_lightning_rel_100/3/gcs_sling_api.c@@/main/inv_stb_lightning_rel_100/17
--- /vobs/modules/stb_lightning/.@@/main/inv_stb_lightning_rel_100/2/source/main/inv_stb_lightning_rel_100/17/g_hopper/main/inv_stb_lightning_rel_100/1/source/main/inv_stb_lightning_rel_100/3/gcs_sling_api.c@@/main/inv_stb_lightning_rel_100/16	2014-12-10 17:00:54.0 -0700
+++ /vobs/modules/stb_lightning/.@@/main/inv_stb_lightning_rel_100/2/source/main/inv_stb_lightning_rel_100/17/g_hopper/main/inv_stb_lightning_rel_100/1/source/main/inv_stb_lightning_rel_100/3/gcs_sling_api.c@@/main/inv_stb_lightning_rel_100/inv_stb_lightning_cr111504/1	2015-10-26 10:28:19.0 -0600
@@ -42,6 +42,7 @@
 //debug group
 #define MY_DEBUG_GROUP esosal_GCS_API_grp
 
+#define SECONDS_IN_ONE_HOUR  (3600)
 /** MACROS **/
 #define IPVOD_SERVER_NAME("Production")
 
@@ -68,6 +69,9 @@
RC_RESULT_E  rc_ret = RC_FAILURE;
GET_STB_PROFILE_IN_S   x_profile_in = {};
GET_STB_PROFILE_OUT_S x_profile_out = {0};
+   COMMON_HDR_XIP_S   x_common_xip_req = {};
+   RC_REQ_IP_S   x_host_ip = {0};
+   TIME_XIP_OUT_S  x_time_resp = {0};
intsnprintf_ret = -1;
char  rxid[GCS_STB_RECEIVER_ID_LEN] = {'\0'};
 



SCMError while posting review from clearcase repository; no setview found

2015-07-04 Thread Viney Yadav
Hi,

I was trying to integrate ReviewBoard with the Clearcase repository today. 

ReviewBoard version is 2.5 and it is hosted on an RHEL system while the 
Clearcase repository is on another RHEL. The view configured in the 
ReviewBoard admin page for this repository was mounted on the ReviewBoard 
system.

After some initial hiccups, I managed to reach the point where the rbt post 
was generating the diff and posting it to the server. But the diff upload 
was failing. I checked the ReviewBoard server logs and found that it was 
raising an exception. The SCMError exception was being raised from 
reviewboard/scmtools/clearcase.py file at line 166.

Unfortunately, I do not have the traceback right now. Will try to get that 
and post it too. But what I could see from the traceback was that an 
instance of class Clearcase was being created and in the __init__ function 
(clearcase.py: 57), it saves the repository path, calls the base class 
__init__ and then calls _get_view_type(). Now in this function, the first 
command executed is 'cleartool lsview -full -properties -cview' which 
fails. So it is trying to get the full properties of the current view. But 
that fails as there is no view set. I couldn't see a place where any view 
was being set. In fact, I looked up the whole reviewboard repository for a 
setview command and could not find it.

I hacked the clearcase.py file and in function _get_view_type() before the 
'lsview' command, I added another command to set the view (I got the view 
tag using _get_vobs_tag(repopath) ) and voila, the review got posted 
successfully.

I have seen very very limited amount of ReviewBoard code and I don't know 
if this really could be a bug. But my Clearcase knowledge tells me that any 
'cleartool lsview' command with a -cview option is going to fail without a 
view being set. And I can't seem to find any code with a 'setview' string. 
What am I missing here?

- Viney

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Clearcase Repository

2013-11-07 Thread Saar Netzer
The quickest way is to create a soft link under /usr/bin to cleartool

On Tuesday, January 24, 2012 10:27:20 PM UTC+2, thomas mwakibinga wrote:
>
> How do I accomplish this.  How do I modify *PATH* environment variable to 
> contain *cleartool* command?

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SCMError('Unsupported View Type') when adding Clearcase Repository

2013-02-27 Thread Jay Lawrence
I have debugged this problem and it is a fundamental Python issue with the 
use of subprocess.popen with cmdline as a sequence and shell=true. Because 
this appears fundamental and may attract more attention, I'm going to start 
a new thread on the topic.

Jay

On Tuesday, February 26, 2013 3:56:49 PM UTC-5, Jay Lawrence wrote:
>
> I've tried my best to setup ReviewBoard with Clearcase, but when I try to 
> add a Repository the logfile ends up with the message 'Unsupported View 
> Type'.
>
> I have created a Clearcase dynamic view local to the server as user 
> 'apache' (which is the user that runs httpd). I have ensured that the user 
> 'apache' can access the contents of that view with proper permissions.
>
> The connection of ReviewBoard and ClearCase is somewhat a mystery to me. 
> My most recent attempt to solve this was to set the environment variable 
> CLEARCASE_ROOT=apache_cc_view so that commands spawned by the server will 
> have this environment variable set.
>
> On the Add Repository page I set a name at the top, then choose Clearcase 
> as the repository type and use /vobs/ as the path.
>
> When I select Add, I get an Error 500 method (Something Broke), and the 
> Unsupported View Type stack trace is emailed to me and in the logfile.
>
> Please help figure out what is wrong with my configuration. I'm on Redhat 
> 6.0 with ReviewBoard 1.7 and Python 2.6.5.
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: SCMError('Unsupported View Type') when adding Clearcase Repository

2013-02-27 Thread Jay Lawrence
I've done some debug today by hacking inside the scmtools/clearcase.py 
file. I have 30 years of experience in C/C++/Perl, but my python is weak. I 
did manage to sprinkle enough logging.debug statements around to determine 
that the ClearCaseTool._get_view_type method is getting no output from the 
"cleartool lsview -full -properties -cview" command.

After the call to p.communicate and p.poll, I've inserted:
   logging.debug("failure is (" + str(failure) + ") result is (" + res 
+ ") error is (" + error + ")")

The resulting debug log shows
   DEBUG = failure is (0) result is () error is ()

So the Clearcase command is returning a 0 exit status, but no results were 
returned on the stdout or stderr pipes.

The results from there on out are catastrophic

Jay

On Wednesday, February 27, 2013 11:38:01 AM UTC-5, hitendra chauhan wrote:
>
> I also faced the same issue.. and struggling with it since 1 week..
>
>
>
> On Wednesday, 27 February 2013 02:26:49 UTC+5:30, Jay Lawrence wrote:
>>
>> I've tried my best to setup ReviewBoard with Clearcase, but when I try to 
>> add a Repository the logfile ends up with the message 'Unsupported View 
>> Type'.
>>
>> I have created a Clearcase dynamic view local to the server as user 
>> 'apache' (which is the user that runs httpd). I have ensured that the user 
>> 'apache' can access the contents of that view with proper permissions.
>>
>> The connection of ReviewBoard and ClearCase is somewhat a mystery to me. 
>> My most recent attempt to solve this was to set the environment variable 
>> CLEARCASE_ROOT=apache_cc_view so that commands spawned by the server will 
>> have this environment variable set.
>>
>> On the Add Repository page I set a name at the top, then choose Clearcase 
>> as the repository type and use /vobs/ as the path.
>>
>> When I select Add, I get an Error 500 method (Something Broke), and the 
>> Unsupported View Type stack trace is emailed to me and in the logfile.
>>
>> Please help figure out what is wrong with my configuration. I'm on Redhat 
>> 6.0 with ReviewBoard 1.7 and Python 2.6.5.
>>
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: SCMError('Unsupported View Type') when adding Clearcase Repository

2013-02-27 Thread hitendra chauhan
I also faced the same issue.. and struggling with it since 1 week..



On Wednesday, 27 February 2013 02:26:49 UTC+5:30, Jay Lawrence wrote:
>
> I've tried my best to setup ReviewBoard with Clearcase, but when I try to 
> add a Repository the logfile ends up with the message 'Unsupported View 
> Type'.
>
> I have created a Clearcase dynamic view local to the server as user 
> 'apache' (which is the user that runs httpd). I have ensured that the user 
> 'apache' can access the contents of that view with proper permissions.
>
> The connection of ReviewBoard and ClearCase is somewhat a mystery to me. 
> My most recent attempt to solve this was to set the environment variable 
> CLEARCASE_ROOT=apache_cc_view so that commands spawned by the server will 
> have this environment variable set.
>
> On the Add Repository page I set a name at the top, then choose Clearcase 
> as the repository type and use /vobs/ as the path.
>
> When I select Add, I get an Error 500 method (Something Broke), and the 
> Unsupported View Type stack trace is emailed to me and in the logfile.
>
> Please help figure out what is wrong with my configuration. I'm on Redhat 
> 6.0 with ReviewBoard 1.7 and Python 2.6.5.
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




SCMError('Unsupported View Type') when adding Clearcase Repository

2013-02-26 Thread Jay Lawrence
I've tried my best to setup ReviewBoard with Clearcase, but when I try to 
add a Repository the logfile ends up with the message 'Unsupported View 
Type'.

I have created a Clearcase dynamic view local to the server as user 
'apache' (which is the user that runs httpd). I have ensured that the user 
'apache' can access the contents of that view with proper permissions.

The connection of ReviewBoard and ClearCase is somewhat a mystery to me. My 
most recent attempt to solve this was to set the environment variable 
CLEARCASE_ROOT=apache_cc_view so that commands spawned by the server will 
have this environment variable set.

On the Add Repository page I set a name at the top, then choose Clearcase 
as the repository type and use /vobs/ as the path.

When I select Add, I get an Error 500 method (Something Broke), and the 
Unsupported View Type stack trace is emailed to me and in the logfile.

Please help figure out what is wrong with my configuration. I'm on Redhat 
6.0 with ReviewBoard 1.7 and Python 2.6.5.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: issue in listing clearcase repository in new review request

2013-02-19 Thread Jan Koprowski
Hi

  You must use post-review to submit diffs. Each clearcase diff must 
contain oids which are generated by post-review (part of rbtools).

W dniu piątek, 15 lutego 2013 19:30:23 UTC+1 użytkownik hitendra chauhan 
napisał:
>
> It seems that the clearcase repository is not added correctly.
> These repository are not getting listed in new review request.
>
> Review board is on the same host where clearcase vobs are registered.
>
> repository paths are same as vob tag as below:-
> /vob/code/src
> /vob/code/ui
> /vob/code/bin
> /vob/code/ucmvob
>
> below are the vob details:- 
>
> [root@rhel5 ~]# ct lsvob
> * /vob/code/ucmvob /net/rhel5/vobstore/ucmvob.vbs public (ucmvob)
> * /vob/code/ui /net/rhel5/vobstore/ui.vbs public (ucmvob)
> * /vob/code/src/net/rhel5/vobstore/src.vbs public (ucmvob)
> * /vob/code/bin/net/rhel5/vobstore/bin.vbs public (ucmvob)
> [root@rhel5 ~]#
>
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Getting Error "The executable "cleartool" is not in the path." while adding ClearCase Repository

2012-02-27 Thread Sanjay Lal
Thanks. Sorry to ask very basic question - How/Where should I edit the
PATH for the web server ? Would it be somehwre in /usr/loacl/
apache/... httpf.conf by any chance?

thanks
sanjay

On Feb 27, 2:30 am, David Trowbridge  wrote:
> Make sure that your web server's PATH is configured similarly.
>
>
>
>
>
>
>
>
>
> On Sun, Feb 26, 2012 at 11:16 PM, Sanjay Lal  wrote:
> > Hi,
> > I am trying to add a ClearCase vob as a repositoy in Review Board 1.6
> > and getting the error "The executable "cleartool" is not in the
> > path." . Any idea where am I supposed to provide the path to
> > cleartool? In the shell PATH it is already added in PATH. Here are the
> > details -
> > RB version - 1.6
> > OS - RHEL 5.5 (Tikanga)
>
> > While adding ClearCase vob, i am using the following value in path - /
> > /vobs/.
>
> > ClearCase details -
> > ClearCase version = 7.1
> > CearCase works fine from command promt
>
> > thanks
> > sanjay
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://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 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: Getting Error "The executable "cleartool" is not in the path." while adding ClearCase Repository

2012-02-26 Thread David Trowbridge
Make sure that your web server's PATH is configured similarly.

-David


On Sun, Feb 26, 2012 at 11:16 PM, Sanjay Lal  wrote:

> Hi,
> I am trying to add a ClearCase vob as a repositoy in Review Board 1.6
> and getting the error "The executable "cleartool" is not in the
> path." . Any idea where am I supposed to provide the path to
> cleartool? In the shell PATH it is already added in PATH. Here are the
> details -
> RB version - 1.6
> OS - RHEL 5.5 (Tikanga)
>
> While adding ClearCase vob, i am using the following value in path - /
> /vobs/.
>
> ClearCase details -
> ClearCase version = 7.1
> CearCase works fine from command promt
>
> thanks
> sanjay
>
>
>
>
>
> --
> 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

Getting Error "The executable "cleartool" is not in the path." while adding ClearCase Repository

2012-02-26 Thread Sanjay Lal
Hi,
I am trying to add a ClearCase vob as a repositoy in Review Board 1.6
and getting the error "The executable "cleartool" is not in the
path." . Any idea where am I supposed to provide the path to
cleartool? In the shell PATH it is already added in PATH. Here are the
details -
RB version - 1.6
OS - RHEL 5.5 (Tikanga)

While adding ClearCase vob, i am using the following value in path - /
/vobs/.

ClearCase details -
ClearCase version = 7.1
CearCase works fine from command promt

thanks
sanjay





-- 
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: Clearcase Repository

2012-01-26 Thread thomas mwakibinga
How do I accomplish this.  How do I modify *PATH* environment variable to 
contain *cleartool* command?

-- 
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: Clearcase Repository

2011-07-11 Thread Jan Koprowski
Marcel,

  Everything what I can tell You was written in this document:
http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
I was trying configure ReviewBoard alias like You but I did not make
it. I gave up and configure ReviewBoard as '/'.
There was someone who successfully configure ReviewBoard in Your
configuration - search on group.
I can not help You with this.

Greetings from Poland,

Jan


2011/7/11 Marcel Skalický :
> 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 :
>> * "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  
>> 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ý :
 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 :
> 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ý :
>> 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 :
>>> marcel,
>>>
>>> 2011/7/7 Marcel Skalický :
 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 :
> marcel,
>
>  It is good news: path is good, and www-user can read it but Apache
> 

Re: Clearcase Repository

2011-07-11 Thread Marcel Skalický
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 :
> * "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  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ý :
>>> 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 :
 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ý :
> 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 :
>> marcel,
>>
>> 2011/7/7 Marcel Skalický :
>>> 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 :
 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 

Re: Clearcase Repository

2011-07-08 Thread Jan Koprowski
* "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  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ý :
>> 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 :
>>> 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ý :
 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 :
> marcel,
>
> 2011/7/7 Marcel Skalický :
>> 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 :
>>> 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ý :
 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.


Re: Clearcase Repository

2011-07-08 Thread Jan Koprowski
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ý :
> 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 :
>> 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ý :
>>> 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 :
 marcel,

 2011/7/7 Marcel Skalický :
> 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 :
>> 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ý :
>>> 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"  napsal(

Re: Clearcase Repository

2011-07-08 Thread Marcel Skalický
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 :
> 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ý :
>> 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 :
>>> marcel,
>>>
>>> 2011/7/7 Marcel Skalický :
 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 :
> 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ý :
>> 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"  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/rev

Re: Clearcase Repository

2011-07-08 Thread Jan Koprowski
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ý :
> 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 :
>> marcel,
>>
>> 2011/7/7 Marcel Skalický :
>>> 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 :
 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ý :
> 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"  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 
>>

Re: Clearcase Repository

2011-07-08 Thread Marcel Skalický
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 :
> marcel,
>
> 2011/7/7 Marcel Skalický :
>> 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 :
>>> 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ý :
 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"  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/gr

Re: Clearcase Repository

2011-07-07 Thread Jan Koprowski
marcel,

2011/7/7 Marcel Skalický :
> 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 :
>> 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ý :
>>> 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"  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


Re: Clearcase Repository

2011-07-07 Thread Marcel Skalický
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?

i have found in reviewboard server logs it can see size of diff.

i think there is standard cgi used. i will focus on this tomorrow. it
seems like loaded friday...

-- marcel

2011/7/7 Jan Koprowski :
> 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ý :
>> 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"  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


Re: Clearcase Repository

2011-07-07 Thread Jan Koprowski
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ý :
> 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"  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


Re: Clearcase Repository

2011-07-07 Thread Marcel Skalický
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"  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

Re: Clearcase Repository

2011-07-07 Thread Jan Koprowski
2011/7/7 Marcel Skalický :
> Hello Jan,
>
> could you tell me where diffs are stored? because it seems diff can be
> created but it is not stored.
>
> i have found option --tracking for finding chages on given branch but
> it uses "cleartool get", which i have found as function for static
> views, so it didn't work. am i on right way?

No :) This is not the case and I do not use 'cleartool get' command anywhere :)

> greetings from czech.
>
> marcel
>
> 2011/7/6 marcel :
>> hello jan,
>>
>> i had this though yesterday so i have added apache user into proper
>> group. now i have tried su'ed to apache enviroment, start view i used
>> for post-review and list file. It is working. i have tried to start
>> post-review ad apache user. there was problem about extracting egg,
>> but it is resolved now. and even apache user has same problem - error
>> 207, file not found in repository.
>>
>> actually there is another issue. currently i am trying to get diff for
>> checkedout file, which is, as i understand it, pre-checkin review. but
>> our developers are used to do post-checkin reviews. they have their
>> own branch for every change. it would be great if i could add to
>> review all changes on such branch from parent branch to latest. i have
>> found --parent parameter which "is not valid for the current scm
>> client", i was told. and there is --branch too, but i got errors with
>> it.
>>
>> thanks,
>> marcel
>>
>> On 6 čnc, 13:45, Jan Koprowski  wrote:
>>> Hi marcel,
>>>
>>>   Repository path set in Review Board's admin panel should be
>>> /vobs/VOBNAME. In current implementation ConfigSpec is not the case.
>>> You can not change it - that is all. On server where Review Board is
>>> running You need different, dynamic view. I do not know Your
>>> configuration but it looks like http server user does not have
>>> privileges to read VOB content. Is it fit to Your situation?
>>>
>>> Greetings in Poland!
>>> --
>>> Jan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Jul 6, 2011 at 1:23 PM, marcel  wrote:
>>> > hello jan,
>>>
>>> > i have repository named by vobtag. hosting service is custom,
>>> > repository type clearcase and path same as vobtag.
>>>
>>> > rb is in 1.6rc1 with rbtools 0.3.2-py2.4. clearcase in version
>>> > 7.0.1.1, hosted on rhel5.2
>>>
>>> > i have found your hint about configspec differences between
>>> > reviewboard's view and user's view. i am not sure which view
>>> > reviewboard is using. it is different from view in which i am running
>>> > post-review?
>>>
>>> > thank you,
>>> > marcel
>>>
>>> > On 6 čnc, 06:07, Jan Koprowski  wrote:
>>> >> Hi Marcel,
>>>
>>> >>   I'm happy that first problem was solved. Path to file looks
>>> >> perfectly fine. This must be something else. How looks Your repository
>>> >> configuration on ReviewBoard side?
>>>
>>> >> On Tue, Jul 5, 2011 at 3:52 PM, Marcel  wrote:
>>> >> > hello,
>>>
>>> >> > i am kries'es collegue and i am now trying to get reviewboard working.
>>>
>>> >> > we got over this path problem and it is working now. i have created
>>> >> > repository and I can start post-review. requests are created but "207
>>> >> > error" appears. i am not sure about repository config because it seems
>>> >> > file couldn't be found. in "error data" there is file path with
>>> >> > clearcase version for directory and for file. something like /vobs/
>>> >> > our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
>>> >> > supposed /vobs/our_vob/test.txt?
>>>
>>> >> > many thanks,
>>> >> > marcel
>>>
>>> >> > On 27 čvn, 11:39, Jan Koprowski  wrote:
>>> >> >> Hi Krles,
>>>
>>> >> >> You are perfectly right.
>>> >> >> When You starting Your HTTP server - Apache/Lighttpd or anything else
>>> >> >> variable *PATH* does not contain command *cleartool* which is 
>>> >> >> necessery.
>>> >> >> You must modify *PATH* environment variable to contain *cleartool* 
>>> >> >> command
>>> >> >> and restart Your web-serwer.
>>>
>>> >> >> Good luck!
>>>
>>> >> >> Jan
>>>
>>> >> > --
>>> >> > 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
>>>
>>> >> --
>>>
>>> >> ><> Jan Koprowski
>>>
>>> > --
>>> > 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
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ><> Jan Koprowski
>>
>

Re: Clearcase Repository

2011-07-07 Thread Jan Koprowski
Hi,

  I'm still thinking where the problem is. The most important thing for me is:

1. Switch to apache user,
2. Run 'groups' and check is apache user is member of group needed to access VOB
3. Run 'cat /vobs/our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6'
where '/vobs/our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6'
is file returned in error message
If this does not work try: 'cat cat
/vobs/our_vob/.@@/main/our_branch/2/test.txt@@/main/our_branch/6'.
4. Is any of this two works?


2011/7/7 Marcel Skalický :
> Hello Jan,
>
> could you tell me where diffs are stored? because it seems diff can be
> created but it is not stored.
>
> i have found option --tracking for finding chages on given branch but
> it uses "cleartool get", which i have found as function for static
> views, so it didn't work. am i on right way?
>
> greetings from czech.
>
> marcel
>
> 2011/7/6 marcel :
>> hello jan,
>>
>> i had this though yesterday so i have added apache user into proper
>> group. now i have tried su'ed to apache enviroment, start view i used
>> for post-review and list file. It is working. i have tried to start
>> post-review ad apache user. there was problem about extracting egg,
>> but it is resolved now. and even apache user has same problem - error
>> 207, file not found in repository.
>>
>> actually there is another issue. currently i am trying to get diff for
>> checkedout file, which is, as i understand it, pre-checkin review. but
>> our developers are used to do post-checkin reviews. they have their
>> own branch for every change. it would be great if i could add to
>> review all changes on such branch from parent branch to latest. i have
>> found --parent parameter which "is not valid for the current scm
>> client", i was told. and there is --branch too, but i got errors with
>> it.
>>
>> thanks,
>> marcel
>>
>> On 6 čnc, 13:45, Jan Koprowski  wrote:
>>> Hi marcel,
>>>
>>>   Repository path set in Review Board's admin panel should be
>>> /vobs/VOBNAME. In current implementation ConfigSpec is not the case.
>>> You can not change it - that is all. On server where Review Board is
>>> running You need different, dynamic view. I do not know Your
>>> configuration but it looks like http server user does not have
>>> privileges to read VOB content. Is it fit to Your situation?
>>>
>>> Greetings in Poland!
>>> --
>>> Jan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Jul 6, 2011 at 1:23 PM, marcel  wrote:
>>> > hello jan,
>>>
>>> > i have repository named by vobtag. hosting service is custom,
>>> > repository type clearcase and path same as vobtag.
>>>
>>> > rb is in 1.6rc1 with rbtools 0.3.2-py2.4. clearcase in version
>>> > 7.0.1.1, hosted on rhel5.2
>>>
>>> > i have found your hint about configspec differences between
>>> > reviewboard's view and user's view. i am not sure which view
>>> > reviewboard is using. it is different from view in which i am running
>>> > post-review?
>>>
>>> > thank you,
>>> > marcel
>>>
>>> > On 6 čnc, 06:07, Jan Koprowski  wrote:
>>> >> Hi Marcel,
>>>
>>> >>   I'm happy that first problem was solved. Path to file looks
>>> >> perfectly fine. This must be something else. How looks Your repository
>>> >> configuration on ReviewBoard side?
>>>
>>> >> On Tue, Jul 5, 2011 at 3:52 PM, Marcel  wrote:
>>> >> > hello,
>>>
>>> >> > i am kries'es collegue and i am now trying to get reviewboard working.
>>>
>>> >> > we got over this path problem and it is working now. i have created
>>> >> > repository and I can start post-review. requests are created but "207
>>> >> > error" appears. i am not sure about repository config because it seems
>>> >> > file couldn't be found. in "error data" there is file path with
>>> >> > clearcase version for directory and for file. something like /vobs/
>>> >> > our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
>>> >> > supposed /vobs/our_vob/test.txt?
>>>
>>> >> > many thanks,
>>> >> > marcel
>>>
>>> >> > On 27 čvn, 11:39, Jan Koprowski  wrote:
>>> >> >> Hi Krles,
>>>
>>> >> >> You are perfectly right.
>>> >> >> When You starting Your HTTP server - Apache/Lighttpd or anything else
>>> >> >> variable *PATH* does not contain command *cleartool* which is 
>>> >> >> necessery.
>>> >> >> You must modify *PATH* environment variable to contain *cleartool* 
>>> >> >> command
>>> >> >> and restart Your web-serwer.
>>>
>>> >> >> Good luck!
>>>
>>> >> >> Jan
>>>
>>> >> > --
>>> >> > 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
>>>
>>> >> --
>>>
>>> >> ><> Jan Koprowski
>>>
>>> > --
>>> > Want to help the Review Board project? Donate today 
>>> 

Re: Clearcase Repository

2011-07-07 Thread Marcel Skalický
Hello Jan,

could you tell me where diffs are stored? because it seems diff can be
created but it is not stored.

i have found option --tracking for finding chages on given branch but
it uses "cleartool get", which i have found as function for static
views, so it didn't work. am i on right way?

greetings from czech.

marcel

2011/7/6 marcel :
> hello jan,
>
> i had this though yesterday so i have added apache user into proper
> group. now i have tried su'ed to apache enviroment, start view i used
> for post-review and list file. It is working. i have tried to start
> post-review ad apache user. there was problem about extracting egg,
> but it is resolved now. and even apache user has same problem - error
> 207, file not found in repository.
>
> actually there is another issue. currently i am trying to get diff for
> checkedout file, which is, as i understand it, pre-checkin review. but
> our developers are used to do post-checkin reviews. they have their
> own branch for every change. it would be great if i could add to
> review all changes on such branch from parent branch to latest. i have
> found --parent parameter which "is not valid for the current scm
> client", i was told. and there is --branch too, but i got errors with
> it.
>
> thanks,
> marcel
>
> On 6 čnc, 13:45, Jan Koprowski  wrote:
>> Hi marcel,
>>
>>   Repository path set in Review Board's admin panel should be
>> /vobs/VOBNAME. In current implementation ConfigSpec is not the case.
>> You can not change it - that is all. On server where Review Board is
>> running You need different, dynamic view. I do not know Your
>> configuration but it looks like http server user does not have
>> privileges to read VOB content. Is it fit to Your situation?
>>
>> Greetings in Poland!
>> --
>> Jan
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Jul 6, 2011 at 1:23 PM, marcel  wrote:
>> > hello jan,
>>
>> > i have repository named by vobtag. hosting service is custom,
>> > repository type clearcase and path same as vobtag.
>>
>> > rb is in 1.6rc1 with rbtools 0.3.2-py2.4. clearcase in version
>> > 7.0.1.1, hosted on rhel5.2
>>
>> > i have found your hint about configspec differences between
>> > reviewboard's view and user's view. i am not sure which view
>> > reviewboard is using. it is different from view in which i am running
>> > post-review?
>>
>> > thank you,
>> > marcel
>>
>> > On 6 čnc, 06:07, Jan Koprowski  wrote:
>> >> Hi Marcel,
>>
>> >>   I'm happy that first problem was solved. Path to file looks
>> >> perfectly fine. This must be something else. How looks Your repository
>> >> configuration on ReviewBoard side?
>>
>> >> On Tue, Jul 5, 2011 at 3:52 PM, Marcel  wrote:
>> >> > hello,
>>
>> >> > i am kries'es collegue and i am now trying to get reviewboard working.
>>
>> >> > we got over this path problem and it is working now. i have created
>> >> > repository and I can start post-review. requests are created but "207
>> >> > error" appears. i am not sure about repository config because it seems
>> >> > file couldn't be found. in "error data" there is file path with
>> >> > clearcase version for directory and for file. something like /vobs/
>> >> > our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
>> >> > supposed /vobs/our_vob/test.txt?
>>
>> >> > many thanks,
>> >> > marcel
>>
>> >> > On 27 čvn, 11:39, Jan Koprowski  wrote:
>> >> >> Hi Krles,
>>
>> >> >> You are perfectly right.
>> >> >> When You starting Your HTTP server - Apache/Lighttpd or anything else
>> >> >> variable *PATH* does not contain command *cleartool* which is 
>> >> >> necessery.
>> >> >> You must modify *PATH* environment variable to contain *cleartool* 
>> >> >> command
>> >> >> and restart Your web-serwer.
>>
>> >> >> Good luck!
>>
>> >> >> Jan
>>
>> >> > --
>> >> > 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
>>
>> >> --
>>
>> >> ><> Jan Koprowski
>>
>> > --
>> > 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
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>> ><> 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

Re: Clearcase Repository

2011-07-06 Thread marcel
hello jan,

i had this though yesterday so i have added apache user into proper
group. now i have tried su'ed to apache enviroment, start view i used
for post-review and list file. It is working. i have tried to start
post-review ad apache user. there was problem about extracting egg,
but it is resolved now. and even apache user has same problem - error
207, file not found in repository.

actually there is another issue. currently i am trying to get diff for
checkedout file, which is, as i understand it, pre-checkin review. but
our developers are used to do post-checkin reviews. they have their
own branch for every change. it would be great if i could add to
review all changes on such branch from parent branch to latest. i have
found --parent parameter which "is not valid for the current scm
client", i was told. and there is --branch too, but i got errors with
it.

thanks,
marcel

On 6 čnc, 13:45, Jan Koprowski  wrote:
> Hi marcel,
>
>   Repository path set in Review Board's admin panel should be
> /vobs/VOBNAME. In current implementation ConfigSpec is not the case.
> You can not change it - that is all. On server where Review Board is
> running You need different, dynamic view. I do not know Your
> configuration but it looks like http server user does not have
> privileges to read VOB content. Is it fit to Your situation?
>
> Greetings in Poland!
> --
> Jan
>
>
>
>
>
>
>
>
>
> On Wed, Jul 6, 2011 at 1:23 PM, marcel  wrote:
> > hello jan,
>
> > i have repository named by vobtag. hosting service is custom,
> > repository type clearcase and path same as vobtag.
>
> > rb is in 1.6rc1 with rbtools 0.3.2-py2.4. clearcase in version
> > 7.0.1.1, hosted on rhel5.2
>
> > i have found your hint about configspec differences between
> > reviewboard's view and user's view. i am not sure which view
> > reviewboard is using. it is different from view in which i am running
> > post-review?
>
> > thank you,
> > marcel
>
> > On 6 čnc, 06:07, Jan Koprowski  wrote:
> >> Hi Marcel,
>
> >>   I'm happy that first problem was solved. Path to file looks
> >> perfectly fine. This must be something else. How looks Your repository
> >> configuration on ReviewBoard side?
>
> >> On Tue, Jul 5, 2011 at 3:52 PM, Marcel  wrote:
> >> > hello,
>
> >> > i am kries'es collegue and i am now trying to get reviewboard working.
>
> >> > we got over this path problem and it is working now. i have created
> >> > repository and I can start post-review. requests are created but "207
> >> > error" appears. i am not sure about repository config because it seems
> >> > file couldn't be found. in "error data" there is file path with
> >> > clearcase version for directory and for file. something like /vobs/
> >> > our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
> >> > supposed /vobs/our_vob/test.txt?
>
> >> > many thanks,
> >> > marcel
>
> >> > On 27 čvn, 11:39, Jan Koprowski  wrote:
> >> >> Hi Krles,
>
> >> >> You are perfectly right.
> >> >> When You starting Your HTTP server - Apache/Lighttpd or anything else
> >> >> variable *PATH* does not contain command *cleartool* which is necessery.
> >> >> You must modify *PATH* environment variable to contain *cleartool* 
> >> >> command
> >> >> and restart Your web-serwer.
>
> >> >> Good luck!
>
> >> >> Jan
>
> >> > --
> >> > 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
>
> >> --
>
> >> ><> Jan Koprowski
>
> > --
> > 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
>
> --
>
>
>
>
>
>
>
> ><> 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


Re: Clearcase Repository

2011-07-06 Thread Jan Koprowski
Hi marcel,

  Repository path set in Review Board's admin panel should be
/vobs/VOBNAME. In current implementation ConfigSpec is not the case.
You can not change it - that is all. On server where Review Board is
running You need different, dynamic view. I do not know Your
configuration but it looks like http server user does not have
privileges to read VOB content. Is it fit to Your situation?

Greetings in Poland!
--
Jan

On Wed, Jul 6, 2011 at 1:23 PM, marcel  wrote:
> hello jan,
>
> i have repository named by vobtag. hosting service is custom,
> repository type clearcase and path same as vobtag.
>
> rb is in 1.6rc1 with rbtools 0.3.2-py2.4. clearcase in version
> 7.0.1.1, hosted on rhel5.2
>
> i have found your hint about configspec differences between
> reviewboard's view and user's view. i am not sure which view
> reviewboard is using. it is different from view in which i am running
> post-review?
>
> thank you,
> marcel
>
> On 6 čnc, 06:07, Jan Koprowski  wrote:
>> Hi Marcel,
>>
>>   I'm happy that first problem was solved. Path to file looks
>> perfectly fine. This must be something else. How looks Your repository
>> configuration on ReviewBoard side?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jul 5, 2011 at 3:52 PM, Marcel  wrote:
>> > hello,
>>
>> > i am kries'es collegue and i am now trying to get reviewboard working.
>>
>> > we got over this path problem and it is working now. i have created
>> > repository and I can start post-review. requests are created but "207
>> > error" appears. i am not sure about repository config because it seems
>> > file couldn't be found. in "error data" there is file path with
>> > clearcase version for directory and for file. something like /vobs/
>> > our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
>> > supposed /vobs/our_vob/test.txt?
>>
>> > many thanks,
>> > marcel
>>
>> > On 27 čvn, 11:39, Jan Koprowski  wrote:
>> >> Hi Krles,
>>
>> >> You are perfectly right.
>> >> When You starting Your HTTP server - Apache/Lighttpd or anything else
>> >> variable *PATH* does not contain command *cleartool* which is necessery.
>> >> You must modify *PATH* environment variable to contain *cleartool* command
>> >> and restart Your web-serwer.
>>
>> >> Good luck!
>>
>> >> Jan
>>
>> > --
>> > 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
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>> ><> 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



-- 
><> 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


Re: Clearcase Repository

2011-07-06 Thread marcel
hello jan,

i have repository named by vobtag. hosting service is custom,
repository type clearcase and path same as vobtag.

rb is in 1.6rc1 with rbtools 0.3.2-py2.4. clearcase in version
7.0.1.1, hosted on rhel5.2

i have found your hint about configspec differences between
reviewboard's view and user's view. i am not sure which view
reviewboard is using. it is different from view in which i am running
post-review?

thank you,
marcel

On 6 čnc, 06:07, Jan Koprowski  wrote:
> Hi Marcel,
>
>   I'm happy that first problem was solved. Path to file looks
> perfectly fine. This must be something else. How looks Your repository
> configuration on ReviewBoard side?
>
>
>
>
>
>
>
>
>
> On Tue, Jul 5, 2011 at 3:52 PM, Marcel  wrote:
> > hello,
>
> > i am kries'es collegue and i am now trying to get reviewboard working.
>
> > we got over this path problem and it is working now. i have created
> > repository and I can start post-review. requests are created but "207
> > error" appears. i am not sure about repository config because it seems
> > file couldn't be found. in "error data" there is file path with
> > clearcase version for directory and for file. something like /vobs/
> > our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
> > supposed /vobs/our_vob/test.txt?
>
> > many thanks,
> > marcel
>
> > On 27 čvn, 11:39, Jan Koprowski  wrote:
> >> Hi Krles,
>
> >> You are perfectly right.
> >> When You starting Your HTTP server - Apache/Lighttpd or anything else
> >> variable *PATH* does not contain command *cleartool* which is necessery.
> >> You must modify *PATH* environment variable to contain *cleartool* command
> >> and restart Your web-serwer.
>
> >> Good luck!
>
> >> Jan
>
> > --
> > 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
>
> --
>
>
>
>
>
>
>
> ><> 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


Re: Clearcase Repository

2011-07-05 Thread Jan Koprowski
Hi Marcel,

  I'm happy that first problem was solved. Path to file looks
perfectly fine. This must be something else. How looks Your repository
configuration on ReviewBoard side?

On Tue, Jul 5, 2011 at 3:52 PM, Marcel  wrote:
> hello,
>
> i am kries'es collegue and i am now trying to get reviewboard working.
>
> we got over this path problem and it is working now. i have created
> repository and I can start post-review. requests are created but "207
> error" appears. i am not sure about repository config because it seems
> file couldn't be found. in "error data" there is file path with
> clearcase version for directory and for file. something like /vobs/
> our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
> supposed /vobs/our_vob/test.txt?
>
> many thanks,
> marcel
>
> On 27 čvn, 11:39, Jan Koprowski  wrote:
>> Hi Krles,
>>
>> You are perfectly right.
>> When You starting Your HTTP server - Apache/Lighttpd or anything else
>> variable *PATH* does not contain command *cleartool* which is necessery.
>> You must modify *PATH* environment variable to contain *cleartool* command
>> and restart Your web-serwer.
>>
>> Good luck!
>>
>> Jan
>
> --
> 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


Re: Clearcase Repository

2011-07-05 Thread Marcel
hello,

i am kries'es collegue and i am now trying to get reviewboard working.

we got over this path problem and it is working now. i have created
repository and I can start post-review. requests are created but "207
error" appears. i am not sure about repository config because it seems
file couldn't be found. in "error data" there is file path with
clearcase version for directory and for file. something like /vobs/
our_vob/@@/main/our_branch/2/test.txt@@/main/our_branch/6. isn't there
supposed /vobs/our_vob/test.txt?

many thanks,
marcel

On 27 čvn, 11:39, Jan Koprowski  wrote:
> Hi Krles,
>
> You are perfectly right.
> When You starting Your HTTP server - Apache/Lighttpd or anything else
> variable *PATH* does not contain command *cleartool* which is necessery.
> You must modify *PATH* environment variable to contain *cleartool* command
> and restart Your web-serwer.
>
> Good luck!
>
> Jan

-- 
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: Clearcase Repository

2011-06-27 Thread Jan Koprowski
Hi Krles,

You are perfectly right.
When You starting Your HTTP server - Apache/Lighttpd or anything else 
variable *PATH* does not contain command *cleartool* which is necessery.
You must modify *PATH* environment variable to contain *cleartool* command 
and restart Your web-serwer.

Good luck!

Jan

-- 
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: Clearcase Repository

2011-06-23 Thread Krles
Hi all

I guess cleartool in RB (scmtools) does not have path to Clearcase
cleartool on system.

Is my idea correct ?
If so, how can I edit path ... ( clearcase.py in scmtools ? )

Thank you



On Jun 23, 12:10 pm, Krles  wrote:
> Greetings,
>
> I have problem with clearse case repository. I can't add repository on
> development installation  1.6 beta2 via admin UI.
>
> I get the following error The executable "cleartool" is not in the
> path.
>
> Mine setup is:
>
> Hosting service: Custom
> Repository type: Clearcase
> Path: /vobs/testing
>
> What Am I doing wrong ?
>
> Any ideas on how to resolve this error?
>
> OS RHEL
> Clearcase 7.0.1
>
> Thank you

-- 
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


Clearcase Repository

2011-06-23 Thread Krles
Greetings,

I have problem with clearse case repository. I can't add repository on
development installation  1.6 beta2 via admin UI.

I get the following error The executable "cleartool" is not in the
path.

Mine setup is:

Hosting service: Custom
Repository type: Clearcase
Path: /vobs/testing


What Am I doing wrong ?

Any ideas on how to resolve this error?


OS RHEL
Clearcase 7.0.1

Thank you



-- 
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