Re: how to list the reviewboard sites
Hi, Thanks for the reply ! It may be silly, but just to confirm - what is the manual way of finding the "reviewboard sites" ?. The sites I see in admin login of web app Home › Sites › Sites are the only sites available in this current installation ?! Or are there any other sites or are there any other method to find ? Kindly confirm, thanks. On Nov 16, 8:26 pm, Stephen Gallagher wrote: > On Wed, 2011-11-16 at 12:09 -0800, Christian Hammond wrote: > > On Nov 16, 2011, at 8:06, Stephen Gallagher > > wrote: > > > > One thing I've been toying with writing a patch for: have 'rb-site > > > install' maintain a file /var/lib/reviewboard/sites.list that would be > > a > simple list of paths on the filesystem into which Review Board > > sites > have been created. > > > If you do this, I'll take it. > > > We'll need to figure out the details of it. > > I'm not sure what details you mean. I was thinking just a simple "one > line per site path" file, with a simple set of python routines to read > it in and write it back out. > > I'd modify 'rb-site install' to append a new path to this file, then > probably also add a new option to 'rb-site upgrade' like -a/--all that > would read in the file and apply upgrades to all configured sites. > > A simple file like that would make it easy to maintain with something > like puppet as well. > > Question: are there any issues we might need to be aware of around > multiple RB servers pointing at the same DB instance (such as failover > machines)? In my limited experience, it's been safe to call 'rb-site > upgrade' on two such machines, but I would like to know if you have any > warnings about that. -- 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: how to list the reviewboard sites
On Wed, 2011-11-16 at 12:09 -0800, Christian Hammond wrote: > On Nov 16, 2011, at 8:06, Stephen Gallagher > wrote: > > > One thing I've been toying with writing a patch for: have 'rb-site > > install' maintain a file /var/lib/reviewboard/sites.list that would be > a > simple list of paths on the filesystem into which Review Board > sites > have been created. > > If you do this, I'll take it. > > We'll need to figure out the details of it. I'm not sure what details you mean. I was thinking just a simple "one line per site path" file, with a simple set of python routines to read it in and write it back out. I'd modify 'rb-site install' to append a new path to this file, then probably also add a new option to 'rb-site upgrade' like -a/--all that would read in the file and apply upgrades to all configured sites. A simple file like that would make it easy to maintain with something like puppet as well. Question: are there any issues we might need to be aware of around multiple RB servers pointing at the same DB instance (such as failover machines)? In my limited experience, it's been safe to call 'rb-site upgrade' on two such machines, but I would like to know if you have any warnings about that. -- 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: how to list the reviewboard sites
On Nov 16, 2011, at 8:06, Stephen Gallagher wrote: > One thing I've been toying with writing a patch for: have 'rb-site > install' maintain a file /var/lib/reviewboard/sites.list that would be a > simple list of paths on the filesystem into which Review Board sites > have been created. If you do this, I'll take it. We'll need to figure out the details of it. Another thing I'd love is to store all config data necessary to regenerate server config files. Christian -- 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: how to list the reviewboard sites
On Wed, 2011-11-16 at 07:12 -0800, SathiyaMoorthy wrote: > Hi, > > I am new to reviewboard, I would like to know how to list the > reviewboard sites in the system that is installed by someone else. > > Actually am trying to upgrade the reviewboard system here, and I found > in the instruction - each site should be upgraded ! > > My question is how to find out how many sites are there in this > current installation, and what is the path of those? There isn't any system-wide mechanism for determining where sites have been installed. Right now it's the responsibility of the administrator of the machine to know this information and manually update each site. One thing I've been toying with writing a patch for: have 'rb-site install' maintain a file /var/lib/reviewboard/sites.list that would be a simple list of paths on the filesystem into which Review Board sites have been created. This would make life easier on RPM installs and upgrades as well, as we could read through this file and call 'rb-site upgrade' for all affected sites. -- 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