lp://qastaging/~vila/bzr-update-copyright/506041-copyright-5-first-lines

Created by Vincent Ladeuil and last modified
Get this branch:
bzr branch lp://qastaging/~vila/bzr-update-copyright/506041-copyright-5-first-lines
Only Vincent Ladeuil can upload to this branch. If you are Vincent Ladeuil please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Vincent Ladeuil
Project:
Bazaar Copyright Updater Plugin
Status:
Merged

Recent revisions

14. By Vincent Ladeuil

Merge trunk resolving conflicts.

13. By Vincent Ladeuil

Support copyright line in the 5 first lines of the project. Also fix compatibility with recent bzr versions.

12. By Vincent Ladeuil

Replace deprecated call by its modern equivalent.

11. By John A Meinel

Change the formatter a bit.

If we have more than 3 years continuously, collapse to a range.
So you'll get '2008, 2009, 2010', but '2007-2010'.
I'm trying to decide between collapsing at 3 instead of 2.

10. By John A Meinel

Add a version_info and __version__ string.

9. By John A Meinel

Update the documentation for this plugin.

8. By John A Meinel

Handle newly added files.

Also handle files whose copyright would be correct according to committed
data, but now we have modified the file locally, and thus it needs
this years datestamp. (only currently active for only_changed since
otherwise we need to do a comparison check across every file in the tree.)

7. By John A Meinel

Add a start_commit hook that auto-updates the copyright headers.

Now when you run 'bzr commit', this can scan your tree and tell it to
update any Copyright headers for files that appear as modified.
This way, we only update headers for files that are already modified,
but they are always kept up to date.

6. By John A Meinel

Add an --only-changed flag.

This was a feature request that I ended up liking.
Basically, it means that you can set the code up, such
that you can auto-update files, but only the ones that
you are actually working on. Rather than all files.

The next thing will be a start_commit hook that runs
this automatically.

5. By John A Meinel

Summarize the results.

Also, if a file is locally already updated, count it as 'copyright-correct'.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/bzr-update-copyright
This branch contains Public information 
Everyone can see this information.

Subscribers