Re: [rancid] Simple web-frontend for rancid files?
Two Cents: LibreNMS generates my router.db but kept wigging out & deleting everything out of Rancid. Hence, I switched back to CVS and CVSWeb. Hideous 70's orange, but I got my attic back - perfectly happy with it. On Wed, Oct 10, 2018 at 12:34 PM Andrew Biddle wrote: > I ended up switching over to git and using GitList. > > Send like it has a nice interface and does mostly what I need. > > Thanks everyone. > > On Wed, Oct 10, 2018 at 8:36 AM heasley wrote: > >> Wed, Oct 10, 2018 at 11:30:54AM -0400, Eric W. Bates: >> > - add a post-commit hook to the repository on RANCiD such that it >> pushes >> > to gitlab: >> >> that should not be necessary, if the remote is added to the origin. >> >> http://www.shrubbery.net/pipermail/rancid-discuss/2018-August/010348.html >> >> ___ >> Rancid-discuss mailing list >> Rancid-discuss@shrubbery.net >> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >> > ___ > Rancid-discuss mailing list > Rancid-discuss@shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > -- E-Mail to and from me, in connection with the transaction of public business, is subject to the Wyoming Public Records Act and may be disclosed to third parties. ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] Simple web-frontend for rancid files?
I ended up switching over to git and using GitList. Send like it has a nice interface and does mostly what I need. Thanks everyone. On Wed, Oct 10, 2018 at 8:36 AM heasley wrote: > Wed, Oct 10, 2018 at 11:30:54AM -0400, Eric W. Bates: > > - add a post-commit hook to the repository on RANCiD such that it pushes > > to gitlab: > > that should not be necessary, if the remote is added to the origin. > > http://www.shrubbery.net/pipermail/rancid-discuss/2018-August/010348.html > > ___ > Rancid-discuss mailing list > Rancid-discuss@shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] Simple web-frontend for rancid files?
Wed, Oct 10, 2018 at 11:30:54AM -0400, Eric W. Bates: > - add a post-commit hook to the repository on RANCiD such that it pushes > to gitlab: that should not be necessary, if the remote is added to the origin. http://www.shrubbery.net/pipermail/rancid-discuss/2018-August/010348.html ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] Simple web-frontend for rancid files?
We have a copy of Gitlab CE which we use for a lot of git repositories. It's got a nice front end. So we do a git push from RANCiD to Gitlab every time RANCiD commits. I stole this idea from the book: "5 Unsung Tools of DevOps" We already use ssh public key authentication on most of our switching gear; so the RANCiD user (rancid) already has keys set up. We added an account for rancid on gitlab and added its public key for authentication. - set up a repository on gitlab writable by your RANCiD user - add the gitlab repository URL as a second remote so your remotes look something like: # git remote -v gitlab g...@gitlab.foobar.com:cns/RANCiD.git (fetch) gitlab g...@gitlab.foobar.com:cns/RANCiD.git (push) origin /usr/local/rancid3/var/gitroot/cns (fetch) origin /usr/local/rancid3/var/gitroot/cns (push) - add a post-commit hook to the repository on RANCiD such that it pushes to gitlab: # cat .git/hooks/post-commit #!/bin/sh # this just pushes a copy of this repo to gitlab everytime there's a commit /usr/bin/git push gitlab It's a little elaborate, but we had Gitlab already. I also want to add another git push to our Observium server. On 10/9/18 2:22 PM, Gauthier, Chris wrote: I loved CVSweb in previous installations. Now that I use Git for the VCS, there really is no “nice” and simple implementation (like CVSweb is). I’m open to suggestions, as I do have to follow KISS for some of my colleagues who are not Linux experts (nor should they necessarily need to be). --Chris Chris Gauthier Senior Network Engineer | comScore, Inc. t +1 *(503) 331-2704* | *cgauth...@comscore.com* <mailto:cgauth...@comscore.com> 317 SW Alder Street, Suite 700 | Portland, OR 97204 United States *comscore.com* <http://www.comscore.com/> This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other privilege. If you received this e-mail in error, please delete it from your system and notify sender. *From: *Rancid-discuss on behalf of Andrew Biddle *Date: *Monday, October 8, 2018 at 3:16 PM *To: *"rancid-discuss@shrubbery.net" *Subject: *[rancid] Simple web-frontend for rancid files? I just installed rancid and found WebSVN to front-end it. (About 5 years ago this is the setup I used, so it's what I'm sort of familiar with.) I have rancid working, but I need a better front-end. WebSVN is a little clunky (perhaps it's the way I've built it?) and doesn't have a simple way to just download a file. It does a good job of displaying configs and comparing two versions. But it I want to copy the file locally, I'm copy and pasting... It also appears to be a dropped project, so it doesn't look like I should ever expect improvements. Anything better out there? I can switch over to git if there's a better interface in that direction. The front-end needs to be web-based so that I can just point people to a URL. It should have a means to compare various revisions... and of course a means to pull the files down to your local system. It doesn't need to support any sort of push from client to repository since that's something that I only want rancid doing... Thought? What are you all using? Thanks in advance! ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss smime.p7s Description: S/MIME Cryptographic Signature ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] Simple web-frontend for rancid files?
I loved CVSweb in previous installations. Now that I use Git for the VCS, there really is no “nice” and simple implementation (like CVSweb is). I’m open to suggestions, as I do have to follow KISS for some of my colleagues who are not Linux experts (nor should they necessarily need to be). --Chris Chris Gauthier Senior Network Engineer | comScore, Inc. t +1 (503) 331-2704 | cgauth...@comscore.com 317 SW Alder Street, Suite 700 | Portland, OR 97204 United States comscore.com This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other privilege. If you received this e-mail in error, please delete it from your system and notify sender. From: Rancid-discuss on behalf of Andrew Biddle Date: Monday, October 8, 2018 at 3:16 PM To: "rancid-discuss@shrubbery.net" Subject: [rancid] Simple web-frontend for rancid files? I just installed rancid and found WebSVN to front-end it. (About 5 years ago this is the setup I used, so it's what I'm sort of familiar with.) I have rancid working, but I need a better front-end. WebSVN is a little clunky (perhaps it's the way I've built it?) and doesn't have a simple way to just download a file. It does a good job of displaying configs and comparing two versions. But it I want to copy the file locally, I'm copy and pasting... It also appears to be a dropped project, so it doesn't look like I should ever expect improvements. Anything better out there? I can switch over to git if there's a better interface in that direction. The front-end needs to be web-based so that I can just point people to a URL. It should have a means to compare various revisions... and of course a means to pull the files down to your local system. It doesn't need to support any sort of push from client to repository since that's something that I only want rancid doing... Thought? What are you all using? Thanks in advance! ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
[rancid] Simple web-frontend for rancid files?
I just installed rancid and found WebSVN to front-end it. (About 5 years ago this is the setup I used, so it's what I'm sort of familiar with.) I have rancid working, but I need a better front-end. WebSVN is a little clunky (perhaps it's the way I've built it?) and doesn't have a simple way to just download a file. It does a good job of displaying configs and comparing two versions. But it I want to copy the file locally, I'm copy and pasting... It also appears to be a dropped project, so it doesn't look like I should ever expect improvements. Anything better out there? I can switch over to git if there's a better interface in that direction. The front-end needs to be web-based so that I can just point people to a URL. It should have a means to compare various revisions... and of course a means to pull the files down to your local system. It doesn't need to support any sort of push from client to repository since that's something that I only want rancid doing... Thought? What are you all using? Thanks in advance! ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss