Re: [viewvc-users] How to add a comments field to CVS_Roots
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Tracking this in issue #462: http://viewvc.tigris.org/issues/show_bug.cgi?id=462 On 07/16/2010 01:38 PM, C. Michael Pilato wrote: > There's currently not a way to do this easily. You can make it happen by > tweaking your roots.ezt template. The quick and dirty way would be to > replace the line that says: > > [roots.name]</a> > > With something like this: > > [roots.name]</a> > [is roots.name "repo 1"]- This is for project A[end] > [is roots.name "repo 2"]- This is for project B[end] > ... > > (just continuing the list down the line of your roots and descriptions). It > won't create tabular output, but if you know a little HTML you can probably > figure out how to make that happen. > > This has been requested several times over the past few years, though. I'll > make sure there's a proper issue to track it, and consider a less painful > solution for future ViewVC releases. > > On 07/13/2010 03:47 AM, chris bridges wrote: >> Hi, >> >> Using viewvc-1.1.6 I would like to be able to add a comment to each >> repository so that it is displayed in the top level repository listing page >> viewvc.cgi like : >> >> Name Comment >> repo 1 this is for project A >> repo 2 this is for project B >> >> Adding the comment could be added to the CVS_Roots in viewvc.conf like : >> cvs_roots = repo1: k:/CVSREPO/repo1 "this is for project A", >> repo2: k:/CVSREPO/repo2 "this is for project B" >> >> Would this be simple to get the webpage to display this information?. >> >> Unfortunately my Python is not very good, and if someone was able to point >> me in the right direction that would be appreciated. >> >> regards >> chris >> >> ------------------------------------------------------ >> http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2632611 >> >> To unsubscribe from this discussion, e-mail: [[email protected]]. > > -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2634133 To unsubscribe from this discussion, e-mail: [[email protected]].