cvs commit: projects/csup GNUmakefile Makefile config.c config.h globtree.h lister.c misc.c misc.h proto.c

Maxime Henrion mux at FreeBSD.org
Mon Feb 27 11:40:03 PST 2006


mux         2006-02-27 19:40:02 UTC

  FreeBSD projects repository

  Modified files:
    csup                 GNUmakefile Makefile config.c config.h 
                         globtree.h lister.c misc.c misc.h proto.c 
  Log:
  Add support for refuse files:
  - Connect globtree.c to the build.
  - Add a small pattlist API that is used to store pattern lists, such as
    the ones in the refuse files.
  - Create the pattern lists in config_init().  While I'm here, move the
    creation of the keyword object to this same place.  Finally, parse the
    refuse files in config_init() after the pattern lists are created.
  - Correctly set up the default ignored attributes.
  - Implement coll_statussuffix(), that returns the suffix for a status
    file; we use the same suffix for per-release and per-tag refuse files.
  - Rewrite coll_statuspath() in terms of coll_statussuffix().  Also, make
    coll_statuspath() and coll_statussuffix() work more similary to what
    is done in CVSup.  For instance, we we not handling the case where
    "collDir" is an absolute pathname correctly.
  - List our accept and refuse patterns to the server in proto_xchgcoll().
    For now, we don't support the -i option so we don't have accepts but
    that will come soon now.
  - Build two globtrees in proto_xchgcoll(), one to filter filenames and
    another one to filter directories.
  - Use these filters in the lister thread to only list files that don't
    match the patterns in the refuse files.
  
  Revision  Changes    Path
  1.5       +4 -4      projects/csup/GNUmakefile
  1.42      +2 -1      projects/csup/Makefile
  1.43      +124 -11   projects/csup/config.c
  1.32      +6 -1      projects/csup/config.h
  1.2       +3 -1      projects/csup/globtree.h
  1.26      +8 -1      projects/csup/lister.c
  1.27      +57 -1     projects/csup/misc.c
  1.24      +8 -1      projects/csup/misc.h
  1.81      +84 -7     projects/csup/proto.c


More information about the cvs-projects mailing list