Differences between revisions 1 and 20 (spanning 19 versions)
Revision 1 as of 2008-10-31 18:39:29
Size: 767
Editor: orzel
Comment:
Revision 20 as of 2023-03-31 13:17:46
Size: 1754
Editor: orzel
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Activity extension == #pragma section-numbers 2
= Activity extension =
Try to show how much activity happened on the repository over time.
Line 3: Line 5:
<<TableOfContents>>

== Status ==
Line 5: Line 10:
''Author: '' [http://www.freehackers.org/thomas Thomas Capricelli] ''Author: '' [[https://freehackers.org/thomas|Thomas Capricelli]]
Line 7: Line 12:
Download site: http://labs.freehackers.org/wiki/hgactivity Web page and repository: https://freehackers.org/orzel/hgactivity
Line 9: Line 14:
=== Overview ===
This is an extension for the mercurial source control management, which creates an image file displaying the activity of a repository. The activity is a rough estimates of when did the developement happened ?
== Overview ==
This extension creates an image file displaying the activity of a repository. The activity is a rough estimates to answer the question : "when did the developement happened ?"
Line 14: Line 19:
[http://labs.freehackers.org/attachments/69/activity.png] {{attachment:activity-hg-general.png}}
Line 16: Line 21:
=== Configuration === The same, but split by author:

{{attachment:activity-hg-byauthors.png}}

Zoom in on recent history + displaying tags::

{{attachment:activity-hg-recentandtags.png}}

The extension can be used on desktop (displaying the image) or on server (headless, creating the image file).

There are quite some options to change the display, setting the date range, exluding some revs and such. You can of course use the usual --help approach, but you can also play with the gui : when you change options, the corresponding CLI command is displayed for your convenience. The typical use is to configure what you want on your desktop using the mouse, and then copy/paste the command line on your server cron or whatever.

All of this is explained on the [[https://freehackers.org/orzel/hgactivity|web page]]

== Configuration ==
Line 21: Line 40:
activity=/path/to/activity.py activity=/path/to/hgactivity/activity
Line 23: Line 42:
(with the actual path to the extension, of course)
Line 25: Line 45:
CategoryExtension CategoryExtensionsByOthers CategoryExtensionsByOthers

Activity extension

Try to show how much activity happened on the repository over time.

1. Status

This extension is not distributed with Mercurial.

Author: Thomas Capricelli

Web page and repository: https://freehackers.org/orzel/hgactivity

2. Overview

This extension creates an image file displaying the activity of a repository. The activity is a rough estimates to answer the question : "when did the developement happened ?"

As an example, here is the activity for the mercurial repository itself :

activity-hg-general.png

The same, but split by author:

activity-hg-byauthors.png

Zoom in on recent history + displaying tags::

activity-hg-recentandtags.png

The extension can be used on desktop (displaying the image) or on server (headless, creating the image file).

There are quite some options to change the display, setting the date range, exluding some revs and such. You can of course use the usual --help approach, but you can also play with the gui : when you change options, the corresponding CLI command is displayed for your convenience. The typical use is to configure what you want on your desktop using the mouse, and then copy/paste the command line on your server cron or whatever.

All of this is explained on the web page

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
activity=/path/to/hgactivity/activity

(with the actual path to the extension, of course)


CategoryExtensionsByOthers CategoryExtensionsByOthers

ActivityExtension (last edited 2023-03-31 13:17:46 by orzel)