Re: Post-review: How to specify the reviewboard repository in post-review comm
Thanks for the help... I ended up rebuilding my git repo to reference the old svn server the reivewboard is referencing. Now post-review works again. Really great help, Is there a donation jar somewhere? On Thu, Dec 12, 2013 at 1:31 PM, Christian Hammond wrote: > It's basically structured like a Python file. > > We have docs for this at > http://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/#repository > > (Note that we seem to have a docs bug where that's nested in the wrong > section -- it's not Subversion-specific.) > > If you go into the admin UI for Review Board and see the repository's Name > field, or access that API and look at the 'name' field instead of 'id', > those are the values you want to put into REPOSITORY. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > Beanbag, Inc. - http://www.beanbaginc.com > > > On Thu, Dec 12, 2013 at 9:03 AM, Mike Forsberg wrote: > >> Is there a place for the format of the ~/.reviewboardrc file. It appears >> that the REPOSITORY field might want to be the name of my git branch? (I'm >> unsure what it is asking.) >> >> While looking playing with some of the REST apis I found that performing >> a GET of /api/repositories gave me a list of our >> repositories. >> >> The one with id of 24 is the correct repository. It is using the old, >> still active, server. (But it is the replicated one.) >> >> I think I'm going to have to switch back to the old server. I don't >> think I can alias the server name too easily. I really just need to >> associated https://serverx.domain.com with https://servery.domain.comsome >> how in the code. >> >> >> On Wed, Dec 11, 2013 at 4:55 PM, Mike Forsberg wrote: >> >>> Thank you Christian... will let you know if that works. >>> >>> >>> On Wed, Dec 11, 2013 at 3:18 PM, Christian Hammond >>> wrote: >>> Hi Mike, The recommended setup is to have a .reviewboardrc file in the repository with: REPOSITORY = "" Where "" is the name assigned to that repository on Review Board. That way, it doesn't have to match the repository path, which it sounds like may have changed, and can instead do a direct lookup. I don't know if you already have this, but it sounded like it may have been a lookup problem, so starting there. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Wed, Dec 11, 2013 at 8:04 AM, Mike Forsberg wrote: > I'm having trouble specifying the review board repository to which my > changes are based. Using post-review, I can make diff by the command > "post-review -n >~/blah.diff" and post it using the GUI. However, I > think > post-review is having trouble identifying the reviewboard repository. > > Like I said, post-review -n works, I get a complete diff. Using the > ---debug option I can also see that the server is contacted and a review > is > made. Post-review is just having issues attaching the diff file. > > A little about my environment. > > I'm on Ubuntu using a git-svn client for a replicated subversion > repository. (By replicated subversion, I mean that IT is replicating the > subversion across multiple servers in different locations. Each should > mirror the master, it is a black box to me.) Just recently I switched > the > server my git client is using by using the script at: > http://minimalreadership.blogspot.com/2011/06/svn-switch-for-git-svn-repo.html > > > While I don't think these things are related, they are part of the > picture. I think the fact that I switched subversion servers is confusing > post-review about which review board repository to use. Thus, if I could > specify to post-review to use a specific repository for the submission, > then it might work I think. > > Thanks for the great product, > > Mike > > -- > 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. > -- 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 messag
Re: Post-review: How to specify the reviewboard repository in post-review comm
It's basically structured like a Python file. We have docs for this at http://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/#repository (Note that we seem to have a docs bug where that's nested in the wrong section -- it's not Subversion-specific.) If you go into the admin UI for Review Board and see the repository's Name field, or access that API and look at the 'name' field instead of 'id', those are the values you want to put into REPOSITORY. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Thu, Dec 12, 2013 at 9:03 AM, Mike Forsberg wrote: > Is there a place for the format of the ~/.reviewboardrc file. It appears > that the REPOSITORY field might want to be the name of my git branch? (I'm > unsure what it is asking.) > > While looking playing with some of the REST apis I found that performing a > GET of /api/repositories gave me a list of our > repositories. > > The one with id of 24 is the correct repository. It is using the old, > still active, server. (But it is the replicated one.) > > I think I'm going to have to switch back to the old server. I don't think > I can alias the server name too easily. I really just need to associated > https://serverx.domain.com with https://servery.domain.com some how in > the code. > > > On Wed, Dec 11, 2013 at 4:55 PM, Mike Forsberg wrote: > >> Thank you Christian... will let you know if that works. >> >> >> On Wed, Dec 11, 2013 at 3:18 PM, Christian Hammond >> wrote: >> >>> Hi Mike, >>> >>> The recommended setup is to have a .reviewboardrc file in the repository >>> with: >>> >>> REPOSITORY = "" >>> >>> Where "" is the name assigned to that repository on >>> Review Board. >>> >>> That way, it doesn't have to match the repository path, which it sounds >>> like may have changed, and can instead do a direct lookup. >>> >>> I don't know if you already have this, but it sounded like it may have >>> been a lookup problem, so starting there. >>> >>> Christian >>> >>> -- >>> Christian Hammond - chip...@chipx86.com >>> Review Board - http://www.reviewboard.org >>> Beanbag, Inc. - http://www.beanbaginc.com >>> >>> >>> On Wed, Dec 11, 2013 at 8:04 AM, Mike Forsberg wrote: >>> I'm having trouble specifying the review board repository to which my changes are based. Using post-review, I can make diff by the command "post-review -n >~/blah.diff" and post it using the GUI. However, I think post-review is having trouble identifying the reviewboard repository. Like I said, post-review -n works, I get a complete diff. Using the ---debug option I can also see that the server is contacted and a review is made. Post-review is just having issues attaching the diff file. A little about my environment. I'm on Ubuntu using a git-svn client for a replicated subversion repository. (By replicated subversion, I mean that IT is replicating the subversion across multiple servers in different locations. Each should mirror the master, it is a black box to me.) Just recently I switched the server my git client is using by using the script at: http://minimalreadership.blogspot.com/2011/06/svn-switch-for-git-svn-repo.html While I don't think these things are related, they are part of the picture. I think the fact that I switched subversion servers is confusing post-review about which review board repository to use. Thus, if I could specify to post-review to use a specific repository for the submission, then it might work I think. Thanks for the great product, Mike -- 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. >>> >>> -- >>> 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. >>> >> >> > -- > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > --- > Sign up for Review Board hosting at RBCommons: https:/
Re: Post-review: How to specify the reviewboard repository in post-review comm
Is there a place for the format of the ~/.reviewboardrc file. It appears that the REPOSITORY field might want to be the name of my git branch? (I'm unsure what it is asking.) While looking playing with some of the REST apis I found that performing a GET of /api/repositories gave me a list of our repositories. The one with id of 24 is the correct repository. It is using the old, still active, server. (But it is the replicated one.) I think I'm going to have to switch back to the old server. I don't think I can alias the server name too easily. I really just need to associated https://serverx.domain.com with https://servery.domain.com some how in the code. On Wed, Dec 11, 2013 at 4:55 PM, Mike Forsberg wrote: > Thank you Christian... will let you know if that works. > > > On Wed, Dec 11, 2013 at 3:18 PM, Christian Hammond wrote: > >> Hi Mike, >> >> The recommended setup is to have a .reviewboardrc file in the repository >> with: >> >> REPOSITORY = "" >> >> Where "" is the name assigned to that repository on >> Review Board. >> >> That way, it doesn't have to match the repository path, which it sounds >> like may have changed, and can instead do a direct lookup. >> >> I don't know if you already have this, but it sounded like it may have >> been a lookup problem, so starting there. >> >> Christian >> >> -- >> Christian Hammond - chip...@chipx86.com >> Review Board - http://www.reviewboard.org >> Beanbag, Inc. - http://www.beanbaginc.com >> >> >> On Wed, Dec 11, 2013 at 8:04 AM, Mike Forsberg wrote: >> >>> I'm having trouble specifying the review board repository to which my >>> changes are based. Using post-review, I can make diff by the command >>> "post-review -n >~/blah.diff" and post it using the GUI. However, I think >>> post-review is having trouble identifying the reviewboard repository. >>> >>> Like I said, post-review -n works, I get a complete diff. Using the >>> ---debug option I can also see that the server is contacted and a review is >>> made. Post-review is just having issues attaching the diff file. >>> >>> A little about my environment. >>> >>> I'm on Ubuntu using a git-svn client for a replicated subversion >>> repository. (By replicated subversion, I mean that IT is replicating the >>> subversion across multiple servers in different locations. Each should >>> mirror the master, it is a black box to me.) Just recently I switched the >>> server my git client is using by using the script at: >>> http://minimalreadership.blogspot.com/2011/06/svn-switch-for-git-svn-repo.html >>> >>> >>> While I don't think these things are related, they are part of the >>> picture. I think the fact that I switched subversion servers is confusing >>> post-review about which review board repository to use. Thus, if I could >>> specify to post-review to use a specific repository for the submission, >>> then it might work I think. >>> >>> Thanks for the great product, >>> >>> Mike >>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > > -- 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: Post-review: How to specify the reviewboard repository in post-review comm
Thank you Christian... will let you know if that works. On Wed, Dec 11, 2013 at 3:18 PM, Christian Hammond wrote: > Hi Mike, > > The recommended setup is to have a .reviewboardrc file in the repository > with: > > REPOSITORY = "" > > Where "" is the name assigned to that repository on > Review Board. > > That way, it doesn't have to match the repository path, which it sounds > like may have changed, and can instead do a direct lookup. > > I don't know if you already have this, but it sounded like it may have > been a lookup problem, so starting there. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > Beanbag, Inc. - http://www.beanbaginc.com > > > On Wed, Dec 11, 2013 at 8:04 AM, Mike Forsberg wrote: > >> I'm having trouble specifying the review board repository to which my >> changes are based. Using post-review, I can make diff by the command >> "post-review -n >~/blah.diff" and post it using the GUI. However, I think >> post-review is having trouble identifying the reviewboard repository. >> >> Like I said, post-review -n works, I get a complete diff. Using the >> ---debug option I can also see that the server is contacted and a review is >> made. Post-review is just having issues attaching the diff file. >> >> A little about my environment. >> >> I'm on Ubuntu using a git-svn client for a replicated subversion >> repository. (By replicated subversion, I mean that IT is replicating the >> subversion across multiple servers in different locations. Each should >> mirror the master, it is a black box to me.) Just recently I switched the >> server my git client is using by using the script at: >> http://minimalreadership.blogspot.com/2011/06/svn-switch-for-git-svn-repo.html >> >> >> While I don't think these things are related, they are part of the >> picture. I think the fact that I switched subversion servers is confusing >> post-review about which review board repository to use. Thus, if I could >> specify to post-review to use a specific repository for the submission, >> then it might work I think. >> >> Thanks for the great product, >> >> Mike >> >> -- >> 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. >> > > -- > 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. > -- 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: Post-review: How to specify the reviewboard repository in post-review comm
Hi Mike, The recommended setup is to have a .reviewboardrc file in the repository with: REPOSITORY = "" Where "" is the name assigned to that repository on Review Board. That way, it doesn't have to match the repository path, which it sounds like may have changed, and can instead do a direct lookup. I don't know if you already have this, but it sounded like it may have been a lookup problem, so starting there. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Wed, Dec 11, 2013 at 8:04 AM, Mike Forsberg wrote: > I'm having trouble specifying the review board repository to which my > changes are based. Using post-review, I can make diff by the command > "post-review -n >~/blah.diff" and post it using the GUI. However, I think > post-review is having trouble identifying the reviewboard repository. > > Like I said, post-review -n works, I get a complete diff. Using the > ---debug option I can also see that the server is contacted and a review is > made. Post-review is just having issues attaching the diff file. > > A little about my environment. > > I'm on Ubuntu using a git-svn client for a replicated subversion > repository. (By replicated subversion, I mean that IT is replicating the > subversion across multiple servers in different locations. Each should > mirror the master, it is a black box to me.) Just recently I switched the > server my git client is using by using the script at: > http://minimalreadership.blogspot.com/2011/06/svn-switch-for-git-svn-repo.html > > > While I don't think these things are related, they are part of the > picture. I think the fact that I switched subversion servers is confusing > post-review about which review board repository to use. Thus, if I could > specify to post-review to use a specific repository for the submission, > then it might work I think. > > Thanks for the great product, > > Mike > > -- > 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. > -- 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.