Skip to main content

Provides a feature like Biff for file in repository

Project description

Notes

TracChangeFileBiffPlugin is useful to query or monitor certain file in the repository when someone will update it.

Note: TracChangeFileBiffPlugin requires Trac 1.0 or higher since it uses the list format of text type. (TracTicketsCustomFields)

Features

  • Provides a feature like Biff for file in repository

Configuration

  • Enable TracChangeFileBiffPlugin in Plugins page.

  • Access to File Biff admin panel

The option of ticket-custom section would be added when you access to File Biff admin page like this.

[ticket-custom]
filebiff = text
filebiff.format = list
filebiff.label = Biff       ; change filed label as you like
filebiff.multiple = true    ; this option is used by TracMultiSelectBoxPlugin
filebiff.options =          ; will be set when you configure File Biff settings
filebiff.size = 3           ; this option is used by TracMultiSelectBoxPlugin
filebiff.matching_pattern = fnmatch ; glob matching pattern (fnmatch or gitignore)
  • Configure a File Biff settings

Specification:

  • White-space is not allowed to include into Name

  • Cc and Filename are configured multiple values separated by comma.

  • The glob pattern for Filename is allowed

  • The glob pattern is configurable in filebiff.matching_pattern of [ticket-custom]. The possible values are (default: fnmatch):

Added [changefilebiff] section after you configured File Biff settings like this.

[changefilebiff]
biff.2e320ca20d1aed6a.cc = user1
biff.2e320ca20d1aed6a.filename = *.txt, *.text
biff.2e320ca20d1aed6a.name = text-files
biff.319ddde3cb437ffc.cc = user2, guest1
biff.319ddde3cb437ffc.filename = *.properties
biff.319ddde3cb437ffc.name = property-files
biff.dd487b83e5e76d08.cc = user1, user2
biff.dd487b83e5e76d08.filename = *.gif, *.png, *.jpg
biff.dd487b83e5e76d08.name = Image-files
biff_keys = dd487b83e5e76d08, 319ddde3cb437ffc, 2e320ca20d1aed6a

Operation Tips

integrate TracMultiSelectBoxPlugin

To integrate TracMultiSelectBoxPlugin is good practice for ticket maintenance like this.

ChangeLog

0.4.0 (2015-03-29)

  • support gitignore style for pattern matching

0.3.0 (2014-04-04)

  • first release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TracChangeFileBiffPlugin-0.4.0.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file TracChangeFileBiffPlugin-0.4.0.tar.gz.

File metadata

File hashes

Hashes for TracChangeFileBiffPlugin-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fa32396b622c9b73b9b4b64a3e8a3b493b0634003caa8e99b2f3f53967fc8e9e
MD5 136c860a8cc1b31d5314555892561596
BLAKE2b-256 b1b5257cec4a533b3a774f9422ed938f917eb6b1a7801d9f03c2df7385c2140f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page