lp:~manishsinha/zeitgeist-datasources/bzr-improvements-subjects
- Get this branch:
- bzr branch lp:~manishsinha/zeitgeist-datasources/bzr-improvements-subjects
Branch merges
- Seif Lotfy: Pending requested
- Michal Hruby: Pending requested
- Jelmer Vernooij: Pending requested
- Zeitgeist Data-Sources Team: Pending requested
-
Diff: 350 lines (+220/-100)3 files modifiedbzr/Makefile.am (+2/-1)
bzr/__init__.py (+13/-99)
bzr/hooks.py (+205/-0)
Branch information
Recent revisions
- 169. By Manish Sinha (मनीष सिन्हा)
-
Fixed the subjects
* Actor is bzr.desktop just so that we are able to fetch the events
* Apart from folder subject, added subject for each file involved in the event
* Used Gio.File to get the mimetype of the file subject
* Subject Interpretation is not being set as it is decided by the mimetype
* File subjects are set only for commit messages as for push and pull, remote URI are
used from which mimetype cannot be found out by Gio.File
* In case of Commit the text is "Revision: 23, Message: commit message"
* In case of Push, commit message is like "Pushed branch from 12 to 14"
* In case of Pull, commit message is like "Updated branch from 12 to 14"------------- This line and the following will be ignored --------------
modified:
bzr/hooks.py - 168. By Manish Sinha (मनीष सिन्हा)
-
Made the post_commit text to be set for subject which was not set till now
- 166. By Manish Sinha (मनीष सिन्हा)
-
Change install_
lazy_named_ hook with install_ lazy_named_ hook and updated Makefile's install and local-install to add hooks.py - 161. By Jelmer Vernooij
-
Various improvements to the bzr plugin:
* use standard functionality for pretty formatting URLs: prevents stripping off first 7 characters off non-local URLs
* track push events
* don't include location information in events - that data is already present in the subject
* factor out branch
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:zeitgeist-datasources/0.8