Re: [rancid] Simple web-frontend for rancid files?

2018-10-10 Thread Andrew Biddle
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


[rancid] CASA SYSTEMS 100G with RANCID

2018-10-10 Thread Duay Julien
Hello,

We succeeded to use the clogin command to connect to our CMTS CASA 100G with 
the enable mode.

Unfortunately, when using the rancid-run command, the software can't save the 
configuration of the device.

Has anyone ever used RANCID with a CASA SYSTEMS equipment?

Did you create your own CASA SYSTEMS library ?

Regards

Julien Duay
from Switzerland
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Simple web-frontend for rancid files?

2018-10-10 Thread heasley
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?

2018-10-10 Thread Eric W. Bates
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* 

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





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] RANCID and gitweb - preventing the CVS repo path from showing

2018-10-10 Thread heasley
Tue, Oct 02, 2018 at 12:04:01AM +, Aaron Wasserott:
> Upgraded my old RANCID software to the latest, and switched from CVS to git. 
> I also installed gitweb as the WebUI interface for browsing RANCID files.
> 
> One minor annoyance I ran into was not only was every group folder being 
> displayed (e.g, switches, routers, firewalls, etc) but the CVS path of each 
> was displayed as well.
> 
> So the gitweb page would show something like this:
> 
> firewall/.git
> router/.git
> switch/.git
> CVS/firewall
> CVS/router
> CVS/switch

The one that i have uses
our $projects_list = "/path/rancid/etc/gitweb.conf";
that is built hourly with a list of groups,
/.git
/.git
...

CVS/* do not appear.

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss