Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 15:41:06 +0100
From:      =?ISO-8859-1?Q?Ga=EBl_Vittu?= <gael.vittu@cnqd.cnamts.fr>
To:        freebsd-cvsweb@freebsd.org
Subject:   CVSWeb improvement: per profile CVSroots display
Message-ID:  <43ECA602.5010101@cnqd.cnamts.fr>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--=_Boundary_KF8enygvY8o3MyWfnBFx
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"


   Hello,
   Due to the number of CVSRoots contained in our organization, I'm
   actually working on cvsweb to add a per-profile selection
   functionality for displayed CVSroots.
   The aim is to permit a user to see *all* CVSRoots displayed in a
   default file (see below) and to choose CVSRoots the user wants to add
   in his profile
   For the client, there's just a new text box (Profile) on the right of
   'Module Path or Alias' where he can:
       - put the name of the profile he wishes to use
       - use the default profile
       - link to a new page to select the CVSRoots and the name of the
   profile to save
   What I've done is:
       - add in the cvsweb.conf file a DEFAULTVALUE "profile" =>
   "default",
       - add the functionality to read the text box "profile" and then
   read a secondary "cvsweb.conf" file where the variable
   @CVSrepositories only contains what the user selected.
   I've somes questions to you, masters of CVSWeb:
       1/ Do you guys think such a functionality could be included in
   CVS?
       2/ How should I manage my users profile? creating a secondary conf
   file as I've already did it or using a proprietary format?
       3/ Can I use another program than *cvsweb* to display all the
   cvsroots or should I include a case in the main program?
   I'm a rookie in Perl and trying to do my best, but if this
   functionality is included in the official cvsweb, please, do not be
   too cruel with me ;-)
-- 
Gaël VITTU - ATOS-Origin/CNAMTS-CNQD
 +33 (0)4.76.69.43.91

--=_Boundary_KF8enygvY8o3MyWfnBFx
Content-Type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

*****************************************************
"Le contenu de ce courriel et ses eventuelles pi=E8ces jointes sont
confidentiels. Ils s'adressent exclusivement =E0 la personne destinataire.
Si cet envoi ne vous est pas destin=E9, ou si vous l'avez re=E7u par=
 erreur,
et afin de ne pas violer le secret des correspondances, vous ne devez pas
le transmettre =E0 d'autres personnes ni le reproduire. Merci de le=
 renvoyer
=E0 l'=E9metteur et de le d=E9truire.

Attention : L'Organisme de l'=E9metteur du message ne pourra =EAtre tenu=
 responsable de l'alt=E9ration
du pr=E9sent courriel. Il appartient au destinataire de v=E9rifier que les
messages et pi=E8ces jointes re=E7us ne contiennent pas de virus.
Les opinions contenues dans ce courriel et ses =E9ventuelles pi=E8ces
jointes sont celles de l'=E9metteur. Elles ne refl=E8tent pas la position=
 de l'Organisme
sauf s'il en est dispos=E9 autrement dans le pr=E9sent courriel."
******************************************************
--=_Boundary_KF8enygvY8o3MyWfnBFx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43ECA602.5010101>