monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 280779a51cbfc28b7c59f8fe84dd084035febb


From: monotone
Subject: [Monotone-commits-diffs] Revision 280779a51cbfc28b7c59f8fe84dd084035febb5d
Date: Sat, 13 Mar 2010 19:09:04 +0100

-----------------------------------------------------------------
Revision: 280779a51cbfc28b7c59f8fe84dd084035febb5d
Ancestor: 4a8f6e1a30fab9fdd3b56ec2e1ce5c7d03768bf8
Author: address@hidden
Date: 02/16/2010 07:23:45 AM
Branch: net.venge.monotone

Added files:
        tests/git_export_invalid_mapped_author/__driver__.lua
        tests/git_export_unmapped_authors/__driver__.lua
Added directories:
        tests/git_export_invalid_mapped_author
        tests/git_export_unmapped_authors
Modified files:
        NEWS cmd_othervcs.cc git_export.cc git_export.hh
        lua_hooks.cc lua_hooks.hh monotone.texi std_hooks.lua
        tests/git_export/__driver__.lua
        tests/git_export_rename_loop/__driver__.lua

ChangeLog: 

add git export author validation hooks

 * NEWS: add entries about the changes to git_export
 * cmd_othervcs.cc (git_export): validate author mappings after they are loaded;
   pass lua reference to export function
 * git_export.{cc,hh} (validate_author_mappings): new function to validate all
   entries in author mapping file witht he new validation hook
   (load_changes): update comment and fix a typo
   (export_changes): add lua reference to calling validation hooks; add map of
   valid authors to cache results of lua calls; set default author key and name
   to values that git considers valid; update comments for listing git authors;
   replace addition of < and > with calls to new hooks; cache validated authors
   to avoid redundant lua calls
 * lua_hooks.{cc,hh} (hook_unmapped_git_author): new hook for adjusting authors
   that don't come from the author map
   (hook_validate_git_author): new hook for validating authors before writing
   them
 * monotone.texi (Exporting to GIT): update details of author and committer
   validation; update unknown author value
   (GIT): update query for listing committers; upate unknown author value
   (GIT Export Hooks): add section describing new author validation hooks
 * std_hooks.lua (unmapped_git_author, validate_git_author): add default
   implementations of new hooks

 * tests/git_export_invalid_mapped_author/__driver__.lua: new test for invalid
   author mappings
 * tests/git_export_unmapped_authors/__driver__.lua: new test for authors that
   don't appear in the author mappings file
 * tests/git_export/__driver__.lua: add display names to author map
 * tests/git_export_rename_loop/__driver__.lua: add display name to author map


Attachment: txtU57LssLzdr.txt
Description: Diff [4a8f6e1a30fab9fdd3b56ec2e1ce5c7d03768bf8] -> [280779a51cbfc28b7c59f8fe84dd084035febb5d]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]