Opened 11 years ago

Last modified 10 years ago

#276 new task

make copyright work between branches

Reported by: peter Owned by: jari
Priority: major Milestone: svndigest 0.x+
Component: svncopyright Version: trunk
Keywords: Cc:

Description (last modified by peter)

relates to #275 #158 #367

The problem is rather tricky.

Say that we have file FILE in trunk

  Copyright 2006 MySelf
  Copyright 2007 Me

that we copy to a branch

Then copyright must follow copy between branches because otherwise copyright becomes

   Copyright 2007 Me

And then if MySelf? is working on the file in the branch, update the copyright and merge it into trunk

   Copyright 2006 MySelf
   Copyright 2007 Me, MySelf

However, there is nothing in the trunk history that MySelf? should be included in 2007 copyright statement, so next time copyright is updated he will be wiped away.

One way to solve this is to configure the update to only add (never delete) author/year. This means that svndigest must be able to parse the actual copyright, which implies the format must be somewhat standardized. In case it is not readable, I guess we can barf to the user with a warning and skip updating that file.

Change History (2)

comment:1 Changed 10 years ago by peter

  • Description modified (diff)

ticket:367 was marked as related

comment:2 Changed 10 years ago by peter

This is just an idea, but one way to go here would be to store the info in an svn prop. What would the consequences be?

Note: See TracTickets for help on using tickets.