From: Raphael A. <rap...@gm...> - 2008-01-22 10:20:17
|
I've updated all the files in src/ with the exception of src/images and src/data to use svn properties. For the keyword property, only Id is necessary, as it includes Autor, Date and Revision. I've updated the wiki accordingly. Next steps needed will be to check that all the *.py files have an $Id:$ update the files in src/images and src/data according to their filetype remove __author__ and __revision__ variables. (if agreement is reached on = that) Please speak up if you know what __author__ and __revision__ are used for and if you think that we should keep them and add them to all of the python files. Raphael On Jan 22, 2008 12:15 AM, St=E9phane Charette <ste...@gm...> = wrote: > The $Id$ only gets updated automatically by SVN if the source file is > marked for keyword replacement. > > The wiki briefly mentions this here: > > http://www.gramps-project.org/wiki/index.php?title=3DBrief_introduction_t= o_SVN#Official_committing_policies > > Basically, all developers should be using the method described here > (~/.subversion/config): > > http://www.gramps-project.org/wiki/index.php?title=3DBrief_introduction_t= o_SVN#Official_committing_policies > > ...or should remember to update the keyword expansion when creating > new source files. > > Obviously that isn't happening right now. > > St=E9phane > > > > On Jan 21, 2008 2:35 PM, Raphael Ackermann <rap...@gm...> = wrote: > > There are 67 files that have a __author__ and 93 files that have a > > __revision__ variable. Can somebody enlight me what they are used for > > and what the policy/guide line is for them. > > > > Wouldn't the # Copyright (C) 2000-2006 Donald N. Allingham in a file > > contain the same information as the __author__? Who is the author? Can > > there be several? And isn't the revision included in the # $Id: > > location.py 9101 2007-10-08 16:41:39Z dallingham $ line just below the > > license text? > > > > 598 files have a $Id $ line, but I have noticed that some have the > > wrong filename (I suspect they got copied from another file) and some > > have just $Id $ not no content. I found out that the $Id $ is a > > subversion property and it gets replaced/changed every time somebody > > commits a file. But why do some files have nothing but $Id $ see for > > example BasicUtils/__init__.py > > > > Can the __author__ and __revision__ variables be removed or should > > they be added to the other files eventually? > > > > Raphael > > > > -----------------------------------------------------------------------= -- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gramps-devel mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-devel > > > |